[vdr] Make vdr-i18n-to-gettext more likely to work out of the box.

Ville Skyttä scop at fedoraproject.org
Mon Oct 18 17:29:44 UTC 2010


commit 1e0f2e77648f30cb1a3adc910bc56ecfd984901c
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Oct 17 23:44:46 2010 +0300

    Make vdr-i18n-to-gettext more likely to work out of the box.

 vdr-1.6.0-msgidbugs.patch |   12 ++++++++++++
 vdr.spec                  |    4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/vdr-1.6.0-msgidbugs.patch b/vdr-1.6.0-msgidbugs.patch
new file mode 100644
index 0000000..7d1972e
--- /dev/null
+++ b/vdr-1.6.0-msgidbugs.patch
@@ -0,0 +1,12 @@
+diff -up vdr-1.6.0/i18n-to-gettext.pl~ vdr-1.6.0/i18n-to-gettext.pl
+--- vdr-1.6.0/i18n-to-gettext.pl~	2007-11-04 12:57:36.000000000 +0200
++++ vdr-1.6.0/i18n-to-gettext.pl	2010-09-05 22:30:08.228112298 +0300
+@@ -90,7 +90,7 @@ $TITLE = "VDR plugin language source fil
+ $COPYRIGHT = "2007 Klaus Schmidinger <kls\@cadsoft.de>";
+ $PACKAGE = "VDR";
+ $VERSION = "1.5.7";
+-$MSGIDBUGS = "" || die "enter your email address here"; # escape the '@', as in "user\@domain.tld"
++$MSGIDBUGS = "<vdr\@linuxtv.org>" || die "enter your email address here"; # escape the '@', as in "user\@domain.tld"
+ $LANGUAGETEAM = "<vdr\@linuxtv.org>";
+ 
+ # Gettext environment:
diff --git a/vdr.spec b/vdr.spec
index f7c53df..54c1844 100644
--- a/vdr.spec
+++ b/vdr.spec
@@ -101,6 +101,7 @@ Patch26:        %{name}-jumpplay-1.0-1.6.0-finnish.patch
 Patch27:        %{name}-1.6.0-epgsearch-exttimeredit-0.0.2.diff
 # https://bugzilla.redhat.com/show_bug.cgi?id=538604, upstreamed 2009-11-22
 Patch28:        %{name}-1.6.0-sky-lirc-device.patch
+Patch29:        %{name}-1.6.0-msgidbugs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libjpeg-devel
@@ -144,6 +145,7 @@ is required to run VDR.
 Summary:        Development files for VDR
 Group:          Development/Libraries
 Requires:       pkgconfig
+Requires:       gettext
 Provides:       vdr-devel(api) = %{apiver}
 
 %description    devel
@@ -237,6 +239,7 @@ sed \
 %patch26 -p1
 %patch27 -p1
 %patch28 -p1
+%patch29 -p1
 
 for f in CONTRIBUTORS HISTORY* UPDATE-1.4.0 README.{jumpplay,timer-info} ; do
   iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
@@ -544,6 +547,7 @@ fi
 %changelog
 * Sun Oct 17 2010 Ville Skyttä <ville.skytta at iki.fi>
 - Add vdr user to the cdrom group, drop related console.perms example.
+- Make vdr-i18n-to-gettext more likely to work out of the box.
 - Update VDR_PLUGIN_ORDER in sysconfig.
 - Various minor vdr.pc improvements.
 


More information about the scm-commits mailing list