pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gst-plugins0.10-base
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Oct 21 16:11:11 UTC 2021
Modified Files:
pkgsrc/multimedia/gst-plugins0.10-base: Makefile distinfo
Added Files:
pkgsrc/multimedia/gst-plugins0.10-base/patches: patch-po_Makevars
Log Message:
gst-plugins0.10-base: Improved hack for .mo files.
The find(1) hack was broken for at least two reasons (-execdir is not portable
and share/locale was hardcoded instead of using PKGLOCALEDIR). Explicitly
setting the DOMAIN variable is at least a working improvement, if not ideal.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/multimedia/gst-plugins0.10-base/Makefile
cvs rdiff -u -r1.39 -r1.40 pkgsrc/multimedia/gst-plugins0.10-base/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/gst-plugins0.10-base/patches/patch-po_Makevars
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gst-plugins0.10-base/Makefile
diff -u pkgsrc/multimedia/gst-plugins0.10-base/Makefile:1.44 pkgsrc/multimedia/gst-plugins0.10-base/Makefile:1.45
--- pkgsrc/multimedia/gst-plugins0.10-base/Makefile:1.44 Mon May 24 19:53:12 2021
+++ pkgsrc/multimedia/gst-plugins0.10-base/Makefile Thu Oct 21 16:11:11 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2021/05/24 19:53:12 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2021/10/21 16:11:11 jperkin Exp $
#
.include "Makefile.common"
@@ -42,10 +42,4 @@ CONFIGURE_ARGS+= --disable-introspection
pre-configure:
cd ${WRKSRC} && autoreconf -fiv
-# XXX: hack
-# autoreconf some breaks the file names of the .mo files
-# manually fix this here instead of debugging generated Makefiles
-post-install:
- find ${DESTDIR}${PREFIX}/share/locale -name .mo -execdir mv .mo gst-plugins-base-0.10.mo \;
-
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/gst-plugins0.10-base/distinfo
diff -u pkgsrc/multimedia/gst-plugins0.10-base/distinfo:1.39 pkgsrc/multimedia/gst-plugins0.10-base/distinfo:1.40
--- pkgsrc/multimedia/gst-plugins0.10-base/distinfo:1.39 Thu Oct 7 14:32:06 2021
+++ pkgsrc/multimedia/gst-plugins0.10-base/distinfo Thu Oct 21 16:11:11 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.39 2021/10/07 14:32:06 nia Exp $
+$NetBSD: distinfo,v 1.40 2021/10/21 16:11:11 jperkin Exp $
RMD160 (gst-plugins-base-0.10.36.tar.bz2) = b601372b3a1c04de63f69ba350c5010c99dbc6ae
SHA512 (gst-plugins-base-0.10.36.tar.bz2) = 881845d3e3cca18028904ac724d529aa3e12b682dba024df1ab6824abcdfaa1c09827809a2df4cb7c3a7908807a3da24b29f29ed6baf85371143c035ce65a1d5
@@ -9,3 +9,4 @@ SHA1 (patch-common_gst-glib-gen.mak) = 1
SHA1 (patch-configure.ac) = e104b84f2f3c51dafee57c40b5b903de0fc37578
SHA1 (patch-gst-libs_gst_video_video.h) = ba07c80ab91a0086234073c3fcbf28315502449b
SHA1 (patch-gst_audioresample_resample.c) = 77a88286c74df80f5f724c922a5ecec0341d4788
+SHA1 (patch-po_Makevars) = b72f7ea7f5557b4cbb6040a9b3788ababcb0a82a
Added files:
Index: pkgsrc/multimedia/gst-plugins0.10-base/patches/patch-po_Makevars
diff -u /dev/null pkgsrc/multimedia/gst-plugins0.10-base/patches/patch-po_Makevars:1.1
--- /dev/null Thu Oct 21 16:11:11 2021
+++ pkgsrc/multimedia/gst-plugins0.10-base/patches/patch-po_Makevars Thu Oct 21 16:11:11 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-po_Makevars,v 1.1 2021/10/21 16:11:11 jperkin Exp $
+
+Hardcode DOMAIN as it's not being set correctly.
+
+--- po/Makevars.orig 2011-12-11 18:47:13.000000000 +0000
++++ po/Makevars
+@@ -1,7 +1,7 @@
+ # Makefile variables for PO directory in any package using GNU gettext.
+
+ # Usually the message domain is the same as the package name.
+-DOMAIN = $(GETTEXT_PACKAGE)
++DOMAIN = gst-plugins-base-0.10
+
+ # These two variables depend on the location of this directory.
+ subdir = po
Home |
Main Index |
Thread Index |
Old Index