pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42878: chat/libpurple without GConf/Gnome.
>Number: 42878
>Category: pkg
>Synopsis: chat/libpurple without GConf/Gnome.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 23 21:25: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:
You can use chat/libpurple without GConf, it only needed for the GConf schemas.
I made this patch for using finch or centerim 5 (will works with libpurple) so
installing gnome stuff is painful.
>How-To-Repeat:
>Fix:
--- Makefile.orig 2010-02-23 22:18:06.000000000 +0100
+++ Makefile 2010-02-23 22:02:11.000000000 +0100
@@ -14,8 +14,6 @@
USE_TOOLS+= msgfmt intltool
-GCONF_SCHEMAS+= purple.schemas
-
PKGCONFIG_OVERRIDE+= gaim.pc.in
PKGCONFIG_OVERRIDE+= libpurple/purple.pc.in
@@ -29,7 +27,6 @@
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/GConf/schemas.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
--- PLIST.orig 2010-02-23 22:18:06.000000000 +0100
+++ PLIST 2010-02-23 22:00:44.000000000 +0100
@@ -94,7 +94,7 @@
lib/purple-2/statenotify.la
${PLIST.tcl}lib/purple-2/tcl.la
share/aclocal/purple.m4
-share/gconf/schemas/purple.schemas
+${PLIST.gnome}share/gconf/schemas/purple.schemas
share/locale/af/LC_MESSAGES/pidgin.mo
share/locale/am/LC_MESSAGES/pidgin.mo
share/locale/ar/LC_MESSAGES/pidgin.mo
--- buildlink3.mk.orig 2010-02-23 22:18:06.000000000 +0100
+++ buildlink3.mk 2010-02-23 22:03:21.000000000 +0100
@@ -20,6 +20,9 @@
.if !empty(PKG_BUILD_OPTIONS.libpurple:Mfarsight)
. include "../../multimedia/farsight2/buildlink3.mk"
.endif
+.if !empty(PKG_BUILD_OPTIONS.libpurple:Mgnome)
+. include "../../devel/GConf/buildlink3.mk"
+.endif
.endif # LIBPURPLE_BUILDLINK3_MK
BUILDLINK_TREE+= -libpurple
--- options.mk.orig 2010-02-23 22:18:06.000000000 +0100
+++ options.mk 2010-02-23 22:02:09.000000000 +0100
@@ -2,12 +2,12 @@
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
PKG_SUPPORTED_OPTIONS+= gnutls perl tcl debug dbus sasl avahi
-PKG_SUPPORTED_OPTIONS+= farsight gstreamer
-PKG_SUGGESTED_OPTIONS+= gnutls dbus avahi farsight gstreamer
+PKG_SUPPORTED_OPTIONS+= farsight gstreamer gnome
+PKG_SUGGESTED_OPTIONS+= gnutls dbus avahi farsight gstreamer
gnome
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= avahi dbus gnutls nss perl tcl
+PLIST_VARS+= avahi dbus gnutls nss perl tcl gnome
.if !empty(PKG_OPTIONS:Mavahi)
PLIST.avahi= yes
@@ -15,6 +15,12 @@
. include "../../net/avahi/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Mgnome)
+PLIST.gnome= yes
+. include "../../devel/GConf/buildlink3.mk"
+GCONF_SCHEMAS+= purple.schemas
+.endif
+
.if !empty(PKG_OPTIONS:Mgnutls)
PLIST.gnutls= yes
CONFIGURE_ARGS+= --enable-gnutls
Home |
Main Index |
Thread Index |
Old Index