[packages/mplayer] include charseet spec in generated po files which appears mandatory now
atler
atler at pld-linux.org
Sun Oct 1 21:59:42 CEST 2023
commit 0859151b86a43ae26daa0c39eb03962e820264b5
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Oct 1 21:49:48 2023 +0200
include charseet spec in generated po files which appears mandatory now
mplayer.spec | 2 ++
po-charset.patch | 12 ++++++++++++
2 files changed, 14 insertions(+)
---
diff --git a/mplayer.spec b/mplayer.spec
index f44ca9b..9b2ae54 100644
--- a/mplayer.spec
+++ b/mplayer.spec
@@ -172,6 +172,7 @@ Patch31: %{name}-350.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=579430
#Patch32: %{name}-gnome-screensaver.patch
Patch33: binutils2.41.patch
+Patch34: po-charset.patch
Patch101: %{name}-link.patch
@@ -440,6 +441,7 @@ cp -f etc/codecs.conf etc/codecs.win32.conf
%patch31 -p1
#%{with_gnomess:%patch32 -p1}
%patch33 -p1 -d ffmpeg
+%patch34 -p1
%patch101 -p1
diff --git a/po-charset.patch b/po-charset.patch
new file mode 100644
index 0000000..e7aa8a8
--- /dev/null
+++ b/po-charset.patch
@@ -0,0 +1,12 @@
+--- MPlayer-1.5/help/help_create_po.pl.orig 2021-03-04 15:43:07.000000000 +0100
++++ MPlayer-1.5/help/help_create_po.pl 2023-10-01 21:35:19.055900995 +0200
+@@ -56,6 +56,9 @@
+ open(po, "> $ARGV[1]") or die "Cannot open $ARGV[1]";
+
+ print po "# DO NOT EDIT - this file is generated from $ARGV[0]\n";
++print po "msgid \"\"\n";
++print po "msgstr \"\"\n";
++print po '"Content-Type: text/plain; charset=UTF-8\n"';
+
+ foreach my $id (keys %podefs)
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mplayer.git/commitdiff/0859151b86a43ae26daa0c39eb03962e820264b5
More information about the pld-cvs-commit
mailing list