pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-base gst-plugins0.10-base: ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc7b9773be5f
branches: trunk
changeset: 768406:fc7b9773be5f
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Oct 21 16:11:11 2021 +0000
description:
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.
diffstat:
multimedia/gst-plugins0.10-base/Makefile | 8 +-------
multimedia/gst-plugins0.10-base/distinfo | 3 ++-
multimedia/gst-plugins0.10-base/patches/patch-po_Makevars | 15 +++++++++++++++
3 files changed, 18 insertions(+), 8 deletions(-)
diffs (53 lines):
diff -r a30aed2bb1f1 -r fc7b9773be5f multimedia/gst-plugins0.10-base/Makefile
--- a/multimedia/gst-plugins0.10-base/Makefile Thu Oct 21 15:16:25 2021 +0000
+++ b/multimedia/gst-plugins0.10-base/Makefile Thu Oct 21 16:11:11 2021 +0000
@@ -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 @@
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"
diff -r a30aed2bb1f1 -r fc7b9773be5f multimedia/gst-plugins0.10-base/distinfo
--- a/multimedia/gst-plugins0.10-base/distinfo Thu Oct 21 15:16:25 2021 +0000
+++ b/multimedia/gst-plugins0.10-base/distinfo Thu Oct 21 16:11:11 2021 +0000
@@ -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-configure.ac) = e104b84f2f3c51dafee57c40b5b903de0fc37578
SHA1 (patch-gst-libs_gst_video_video.h) = ba07c80ab91a0086234073c3fcbf28315502449b
SHA1 (patch-gst_audioresample_resample.c) = 77a88286c74df80f5f724c922a5ecec0341d4788
+SHA1 (patch-po_Makevars) = b72f7ea7f5557b4cbb6040a9b3788ababcb0a82a
diff -r a30aed2bb1f1 -r fc7b9773be5f multimedia/gst-plugins0.10-base/patches/patch-po_Makevars
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins0.10-base/patches/patch-po_Makevars Thu Oct 21 16:11:11 2021 +0000
@@ -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