summaryrefslogtreecommitdiff
path: root/multimedia/totem
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-03-22 19:01:37 +0000
committerwiz <wiz@pkgsrc.org>2009-03-22 19:01:37 +0000
commitb1076bb7657e4a5b0609e27afb24b9e841f99668 (patch)
tree0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /multimedia/totem
parent199b1f0ecaa0fa4f7144200486984816129b4319 (diff)
downloadpkgsrc-b1076bb7657e4a5b0609e27afb24b9e841f99668.tar.gz
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'multimedia/totem')
-rw-r--r--multimedia/totem/Makefile.common19
-rw-r--r--multimedia/totem/files/msgfmtstrip18
2 files changed, 5 insertions, 32 deletions
diff --git a/multimedia/totem/Makefile.common b/multimedia/totem/Makefile.common
index 52d261349f2..0fa07e02692 100644
--- a/multimedia/totem/Makefile.common
+++ b/multimedia/totem/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2009/03/16 12:13:31 jmcneill Exp $
+# $NetBSD: Makefile.common,v 1.45 2009/03/22 19:01:40 wiz Exp $
#
# used by multimedia/totem-nautilus/Makefile
# used by multimedia/totem-xine/Makefile
@@ -27,31 +27,21 @@ GCONF_SCHEMAS= totem.schemas
GCONF_SCHEMAS+= totem-handlers.schemas
GCONF_SCHEMAS+= totem-video-thumbnail.schemas
-BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.0
-BUILDLINK_API_DEPENDS.gnome-icon-theme+= gnome-icon-theme>=2.10.0
-BUILDLINK_API_DEPENDS.gnome-vfs+= gnome-vfs>=2.8.2
-BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
-
-# The gettext version in pkgsrc cannot handle the .po files, so
-# we strip out usage of the newer features (context and fuzzy matches)
-post-patch:
- for f in ${WRKSRC}/po/*.po ${WRKSRC}/help/*/*.po ; do \
- mv $$f $$f.original ; \
- ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
- done
-
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../www/py-gdata/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gnome-icon-theme+= gnome-icon-theme>=2.10.0
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+BUILDLINK_API_DEPENDS.gnome-vfs+= gnome-vfs>=2.8.2
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
@@ -61,5 +51,6 @@ post-patch:
.include "../../mk/omf-scrollkeeper.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../multimedia/totem-pl-parser/buildlink3.mk"
diff --git a/multimedia/totem/files/msgfmtstrip b/multimedia/totem/files/msgfmtstrip
deleted file mode 100644
index 660f4a7bb36..00000000000
--- a/multimedia/totem/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1 2009/03/16 12:13:31 jmcneill Exp $
-# Simple awk script to strip out .po entries with "msgctxt" or "#~|", so the
-# resultant file can be handled by the msgfmt 0.14.4 in NetBSD 4.0
-{
-if (/^$/) { entry_end(); }
-else if ($1 == "msgctxt" || $2 == "msgctxt") { skip = 1; }
-else if ($1 == "#~|") { skip = 1; }
-else { entry = entry $0 "\n" }
-}
-
-END { entry_end(); }
-
-function entry_end() {
- if (!skip)
- print entry;
- entry = "";
- skip = 0;
-}