pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42854: net/libsoup24 without gnome stuff.



>Number:         42854
>Category:       pkg
>Synopsis:       net/libsoup24 without gnome stuff.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 20 20:35:00 +0000 2010
>Originator:     Demelier David
>Release:        NetBSD-5
>Organization:
>Environment:
NetBSD Abricot.malikania.org 5.0_STABLE NetBSD 5.0_STABLE (Abricot 0.2) #1: Fri 
Feb 12 13:38:30 CET 2010  
root%Abricot.malikania.org@localhost:/usr/obj/sys/arch/i386/compile/Abricot i386

>Description:
Because the libsoup24 ./configure script has a --without-gnome options we could 
remove some useless dependencies. 

This prevent packages which uses libsoup24 to prevent installing gnome stuff 
(ie. ario)
>How-To-Repeat:

>Fix:
--- Makefile.orig       2010-02-20 20:36:27.000000000 +0100
+++ Makefile    2010-02-20 21:27:00.000000000 +0100
@@ -18,16 +18,18 @@
 GNU_CONFIGURE=         yes

 PKGCONFIG_OVERRIDE+=   libsoup-2.4.pc.in
+PKGCONFIG_OVERRIDE+=   libsoup-gnome-2.4.pc.in

 TEST_TARGET=   check

-.include "options.mk"
-
 .include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/GConf/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.21.3
 .include "../../devel/glib2/buildlink3.mk"
+.include "../../security/gnome-keyring/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gnutls+= gnutls>=2.1.7
 .include "../../security/gnutls/buildlink3.mk"
+.include "../../textproc/gtk-doc/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../www/libproxy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
--- /dev/null   2010-02-20 21:22:28.000000000 +0100
+++ options.mk  2010-02-20 21:00:47.000000000 +0100
@@ -0,0 +1,20 @@
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libsoup
+PKG_SUPPORTED_OPTIONS= gnome doc
+PKG_SUGGESTED_OPTIONS= gnome
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= gnome
+
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../security/gnome-keyring/buildlink3.mk"
+PKGCONFIG_OVERRIDE+=   libsoup-gnome-2.4.pc.in
+PLIST.gnome=   yes
+.else
+CONFIGURE_ARGS+= --without-gnome
+.endif
+
+.if !empty(PKG_OPTIONS:Mdoc)
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index