]> git.pld-linux.org Git - packages/mplayer.git/commitdiff
include charseet spec in generated po files which appears mandatory now
authorJan Palus <atler@pld-linux.org>
Sun, 1 Oct 2023 19:49:48 +0000 (21:49 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 1 Oct 2023 19:49:48 +0000 (21:49 +0200)
mplayer.spec
po-charset.patch [new file with mode: 0644]

index f44ca9bfd0511f6eb1569c72cd40ace876e468f1..9b2ae54c6085d6c86958e4a5d4b6d55f394a44c6 100644 (file)
@@ -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 (file)
index 0000000..e7aa8a8
--- /dev/null
@@ -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)
+ {
This page took 0.074762 seconds and 4 git commands to generate.