diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:07:42 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:07:42 +0200 |
commit | 8b32b1132dd028eb502cc670932070dcd1e527c3 (patch) | |
tree | e76784303515379935179aa5bbe4d990bb3619e3 /redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch | |
parent | 2d6a8dc02b9bd60ae9c083dfb61fc097184ec436 (diff) | |
download | tde-packaging-8b32b1132dd028eb502cc670932070dcd1e527c3.tar.gz tde-packaging-8b32b1132dd028eb502cc670932070dcd1e527c3.zip |
RHEL/Fedora: updates kaffeine
Diffstat (limited to 'redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch')
-rw-r--r-- | redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch new file mode 100644 index 000000000..175998916 --- /dev/null +++ b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch @@ -0,0 +1,28 @@ +diff -aruN kaffeine-trinity-3.5.13.orig/admin/am_edit kaffeine-trinity-3.5.13/admin/am_edit +--- kaffeine-trinity-3.5.13.orig/admin/am_edit 2011-05-28 07:48:53.000000000 +0200 ++++ kaffeine-trinity-3.5.13/admin/am_edit 2012-02-26 19:05:36.000000000 +0100 +@@ -1643,6 +1643,10 @@ + + $target_adds{"install-data-am"} .= "install-nls "; + ++ if (!$lang) { ++ $tmp = "PACKAGE_BASE=`echo \"\$(PACKAGE)\" | sed \"s|-trinity-.*||\"`\n"; ++ appendLines ($tmp); ++ } + $tmp = "install-nls:\n"; + if ($lang) { + $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES\n"; +@@ -1661,10 +1665,10 @@ + $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n"; + $tmp .= "\t fi ;\\\n"; + } else { +- $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; ++ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE_BASE).mo ;\\\n"; + $tmp .= "\t \$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES ; \\\n"; +- $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; +- $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; ++ $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE_BASE).mo ;\\\n"; ++ $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE_BASE).mo ;\\\n"; + $tmp .= "\t fi ;\\\n"; + } + $tmp .= "\tdone\n\n"; |