pkgsrc-Bugs archive

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

pkg/41096: x11/ruby-gnome2-panelapplet build fix



>Number:         41096
>Category:       pkg
>Synopsis:       x11/ruby-gnome2-panelapplet build fix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 29 17:25:00 +0000 2009
>Originator:     dieter roelants
>Release:        NetBSD 5.99.7
>Organization:
>Environment:
System: NetBSD simult.amelgem.be 5.99.7 NetBSD 5.99.7 (SIMULT) #21: Mon Feb 23 
22:50:06 CET 2009 
dieter%simult.amelgem.be@localhost:/build/obj.amd64.current/sys/arch/amd64/compile/SIMULT
 amd64
Architecture: x86_64
Machine: amd64
pkgsrc up-to-date as of today
>Description:
        x11/ruby-gnome2-panelapplet fails to build, probably since

        cd x11/ruby-gnome2-panelapplet && make
>Fix:

        cat > meta-pkgs/ruby-gnome2/patches/patch-ae <<'EOF'
$NetBSD$

--- panel-applet/extconf.rb.orig        2008-10-23 13:23:53.000000000 +0000
+++ panel-applet/extconf.rb
@@ -14,6 +14,7 @@ $LOAD_PATH.unshift MKMF_GNOME2_DIR
 require 'mkmf-gnome2'
 
 PKGConfig.have_package(PACKAGE_ID, 2, 6) or exit 1
+PKGConfig.have_package('libgnomeui-2.0') or exit 1
 setup_win32(PACKAGE_NAME)
 
 add_depend_package("glib2", "glib/src", TOPDIR)
EOF
        cat > meta-pkgs/ruby-gnome2/patches/patch-ah <<'EOF'
$NetBSD$

--- panel-applet/rbpanel-applet.c.orig  2008-10-23 13:23:53.000000000 +0000
+++ panel-applet/rbpanel-applet.c
@@ -19,6 +19,8 @@
 #include <orbit/orbit.h>
 #include <panel-applet.h>
 #include <panel-applet-gconf.h>
+#include <libgnomeui/gnome-client.h>
+#include <libgnomeui/gnome-ui-init.h>
 
 #include <panel-applet-enums.h>
 
EOF
        Apply this patch
Index: meta-pkgs/ruby-gnome2/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/meta-pkgs/ruby-gnome2/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- meta-pkgs/ruby-gnome2/distinfo      28 Oct 2008 13:43:57 -0000      1.8
+++ meta-pkgs/ruby-gnome2/distinfo      29 Mar 2009 14:01:06 -0000
@@ -7,8 +7,10 @@
 SHA1 (patch-ab) = 3056c970276c2b6442fb7792a457b356cd1a0cb6
 SHA1 (patch-ac) = 0713a9c0255d7e08769645451ca33282c93e280f
 SHA1 (patch-ad) = c50e2ba5299d48eecfc6d68940efc2562cefa0d0
+SHA1 (patch-ae) = 5a396bbe9ae081403300598554bc4cffb8fdc249
 SHA1 (patch-af) = b45bd1593f9ca2b577ccfa5693507aae6aad3440
 SHA1 (patch-ag) = e46ee6839e9df605b6cdb04c5c2a2a4970563747
+SHA1 (patch-ah) = 36530f6b18deb26afaa02922a918b3bb14829783
 SHA1 (patch-an) = fe2160188643513011c9a2db8d7a21437c1c3516
 SHA1 (patch-ao) = ec787fd91c52f8ecbf4aa6166bb4b288f35b97b5
 SHA1 (patch-ap) = d14bd0b87149d6cf68a22e5b2ad16e86d50b107c
Index: x11/ruby-gnome2-panelapplet/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/ruby-gnome2-panelapplet/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- x11/ruby-gnome2-panelapplet/Makefile        28 Oct 2008 13:43:58 -0000      
1.17
+++ x11/ruby-gnome2-panelapplet/Makefile        29 Mar 2009 14:01:29 -0000
@@ -2,6 +2,7 @@
 #
 
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-panelapplet-${VERSION}
+PKGREVISION=           1
 COMMENT=               Ruby binding of libpanel-applet-2.6.x
 CATEGORIES=            x11 gnome
 
@@ -17,6 +18,7 @@
 
 BUILDLINK_API_DEPENDS.ruby-gnome2-glib+=       
${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}
 BUILDLINK_DEPMETHOD.ruby-gnome2-glib=  build
+.include "../../devel/libgnomeui/buildlink3.mk"
 .include "../../devel/ruby-gnome2-glib/buildlink3.mk"
 .include "../../x11/gnome-panel/buildlink3.mk"
 .include "../../meta-pkgs/ruby-gnome2/Makefile.common"



Home | Main Index | Thread Index | Old Index