summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-04-05 19:03:02 +0000
committerwiz <wiz@pkgsrc.org>2007-04-05 19:03:02 +0000
commitb9c1fda07cbb3875b226ad6a25be37d03f2c19a2 (patch)
tree338ef69c102b5fc4dfa1ed4a4aa1d52c1e800881
parent23325b7421f58ac66ef478b341066492fbb703e5 (diff)
downloadpkgsrc-b9c1fda07cbb3875b226ad6a25be37d03f2c19a2.tar.gz
Fix build with gnome-doc-utils-0.10.1.
-rw-r--r--x11/gnome2-applets/Makefile20
-rw-r--r--x11/gnome2-applets/distinfo3
-rw-r--r--x11/gnome2-applets/patches/patch-ba18
3 files changed, 39 insertions, 2 deletions
diff --git a/x11/gnome2-applets/Makefile b/x11/gnome2-applets/Makefile
index 540a0cebc94..711a3fc54db 100644
--- a/x11/gnome2-applets/Makefile
+++ b/x11/gnome2-applets/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2007/03/21 12:05:55 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2007/04/05 19:03:02 wiz Exp $
#
DISTNAME= gnome-applets-2.16.2
@@ -20,6 +20,24 @@ USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
+# XXX: only needed in 2.16.x, 2.18.x is fixed.
+SUBST_CLASSES+= gdu
+SUBST_FILES.gdu= mixer/docs/C/mixer_applet2.xml
+SUBST_FILES.gdu+= drivemount/help/C/drivemount.xml
+SUBST_FILES.gdu+= geyes/docs/C/geyes.xml
+SUBST_FILES.gdu+= mini-commander/help/C/command-line.xml
+SUBST_FILES.gdu+= battstat/docs/C/battstat.xml
+SUBST_FILES.gdu+= multiload/docs/C/multiload.xml
+SUBST_FILES.gdu+= gweather/docs/C/gweather.xml
+SUBST_FILES.gdu+= accessx-status/docs/C/accessx-status.xml
+SUBST_FILES.gdu+= stickynotes/docs/C/stickynotes_applet.xml
+SUBST_FILES.gdu+= gswitchit/help/C/gswitchit.xml
+SUBST_FILES.gdu+= trashapplet/docs/C/trashapplet.xml
+SUBST_FILES.gdu+= cpufreq/help/C/cpufreq-applet.xml
+SUBST_SED.gdu= -e 's/<publisher>/<publisher role="maintainer">/g'
+SUBST_STAGE.gdu= pre-configure
+SUBST_MESSAGE.gdu= Fixing for gnome-doc-utils-0.10.1.
+
PKG_OPTIONS_VAR= PKG_OPTIONS.gnome2-applets
PKG_SUPPORTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
diff --git a/x11/gnome2-applets/distinfo b/x11/gnome2-applets/distinfo
index a7710b1876a..ef9eafa76df 100644
--- a/x11/gnome2-applets/distinfo
+++ b/x11/gnome2-applets/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2006/11/28 22:11:57 drochner Exp $
+$NetBSD: distinfo,v 1.22 2007/04/05 19:03:02 wiz Exp $
SHA1 (gnome-applets-2.16.2.tar.bz2) = 8b912c21e7c390c9aae96bb81fe017fa1f9bf006
RMD160 (gnome-applets-2.16.2.tar.bz2) = b8706c57b37702b0bfc64cb549fc594b05da5e5b
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = d4683f2d1273c4202ee336be436b9fd237610b7b
SHA1 (patch-ab) = f880abec6df2254b6541d4e5a894559763ef674b
SHA1 (patch-ac) = 8244d73dd62973fdc022947a62e9ce6211a3561b
SHA1 (patch-ad) = 42fb64b30a031a1ea8f57f47cabdf63475b7987e
+SHA1 (patch-ba) = 326aaacd55fa6644882a2888e3c43ba7dbee4f19
diff --git a/x11/gnome2-applets/patches/patch-ba b/x11/gnome2-applets/patches/patch-ba
new file mode 100644
index 00000000000..d9ecb3e8cfe
--- /dev/null
+++ b/x11/gnome2-applets/patches/patch-ba
@@ -0,0 +1,18 @@
+$NetBSD: patch-ba,v 1.1 2007/04/05 19:03:02 wiz Exp $
+
+--- gswitchit/help/C/gswitchit.xml.orig 2007-04-05 18:06:35.000000000 +0000
++++ gswitchit/help/C/gswitchit.xml
+@@ -45,6 +45,13 @@ Template last modified Feb 12, 2002
+ <publishername>GNOME Documentation Project</publishername>
+ </publisher>
+
++ <revhistory>
++ <revision>
++ <revnumber>2.8</revnumber>
++ <date>2004-08</date>
++ </revision>
++ </revhistory>
++
+ &legal;
+ <!-- This file contains link to license for the documentation (GNU FDL), and
+ other legal stuff such as "NO WARRANTY" statement. Please do not change