From 8908b527982ed600b62f3c5f39e748d6a0f6556dadd5c4f7d1220632d635e001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 13:46:06 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main intltool revision ed7c1d07bf0aac03aa240be214de0fe8 --- .gitattributes | 23 ++ fixrace.patch | 43 +++ intltool-0.51.0.tar.gz | 3 + intltool-no-guess-builddir.patch | 29 ++ intltool-perl-5.22.patch | 52 ++++ intltool.changes | 485 +++++++++++++++++++++++++++++++ intltool.spec | 73 +++++ 7 files changed, 708 insertions(+) create mode 100644 .gitattributes create mode 100644 fixrace.patch create mode 100644 intltool-0.51.0.tar.gz create mode 100644 intltool-no-guess-builddir.patch create mode 100644 intltool-perl-5.22.patch create mode 100644 intltool.changes create mode 100644 intltool.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/fixrace.patch b/fixrace.patch new file mode 100644 index 0000000..8eb2438 --- /dev/null +++ b/fixrace.patch @@ -0,0 +1,43 @@ +From: Bernhard M. Wiedemann + +avoid a race where some processes try to use a partial cache file +that is still being written to. +Note that we release the lock before load_cache, +because if we got the lock, the cache is already completely written +and it is OK to have multiple parallel readers + +Index: intltool-0.51.0/intltool-merge.in +=================================================================== +--- intltool-0.51.0.orig/intltool-merge.in ++++ intltool-0.51.0/intltool-merge.in +@@ -43,6 +43,7 @@ use Getopt::Long; + use Text::Wrap; + use File::Basename; + use Encode; ++use Fcntl qw(:flock); + + my $must_end_tag = -1; + my $last_depth = -1; +@@ -392,11 +393,14 @@ sub load_cache + + sub get_cached_translation_database + { ++ open(my $lockfh, ">", "$cache_file.lock") or die $!; ++ flock($lockfh, LOCK_EX) or die "Could not lock '$cache_file.lock' - $!"; + my $cache_file_age = -M $cache_file; + if (defined $cache_file_age) + { + if ($cache_file_age <= &get_newest_po_age) + { ++ close($lockfh); + &load_cache; + return; + } +@@ -404,6 +408,7 @@ sub get_cached_translation_database + } + + &create_cache; ++ close($lockfh); + } + + sub add_translation diff --git a/intltool-0.51.0.tar.gz b/intltool-0.51.0.tar.gz new file mode 100644 index 0000000..b75dd75 --- /dev/null +++ b/intltool-0.51.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd +size 162286 diff --git a/intltool-no-guess-builddir.patch b/intltool-no-guess-builddir.patch new file mode 100644 index 0000000..5fbaa14 --- /dev/null +++ b/intltool-no-guess-builddir.patch @@ -0,0 +1,29 @@ +--- intltool-0.51.0-orig/intltool-update.in 2015-03-09 02:39:54.000000000 +0100 ++++ intltool-0.51.0/intltool-update.in 2018-05-13 21:44:00.561217678 +0200 +@@ -620,6 +620,14 @@ + + my @result; + ++ # If the builddir is a subdir of srcdir, the list of files found will be prefixed with ++ # an additional prefix (e.g. "_build/sub" for automake 1.15 make distcheck). Try to ++ # handle that, by removing those matches as well. ++ my $absbuilddir = Cwd::abs_path("..\/"); ++ my $abssrcdir = Cwd::abs_path("$SRCDIR/.."); ++ # Check if builddir is a subdir of srcdir ++ my ($abspath,$relpath) = split /\s*$abssrcdir\/\s*/, $absbuilddir, 2; ++ + foreach (@buf_allfiles_sorted) + { + my $dummy = $_; +@@ -628,7 +636,10 @@ + $srcdir =~ s#^../##; + $dummy =~ s#^$srcdir/../##; + $dummy =~ s#^$srcdir/##; +- $dummy =~ s#_build/##; ++ if ($relpath) ++ { ++ $dummy =~ s#^$relpath/##; ++ } + if (!exists($in2{$dummy})) + { + push @result, $dummy diff --git a/intltool-perl-5.22.patch b/intltool-perl-5.22.patch new file mode 100644 index 0000000..089eeeb --- /dev/null +++ b/intltool-perl-5.22.patch @@ -0,0 +1,52 @@ +Index: intltool-update.in +=================================================================== +--- intltool-update.in.orig ++++ intltool-update.in +@@ -1062,13 +1062,13 @@ sub SubstituteVariable + } + } + +- if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) ++ if ($str =~ /^(.*)\$\{?([A-Z_]+)}?(.*)$/) + { + my $rest = $3; + my $untouched = $1; + my $sub = ""; + # Ignore recursive definitions of variables +- $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; ++ $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\$\{?$2}?/; + + return SubstituteVariable ("$untouched$sub$rest"); + } +@@ -1190,10 +1190,10 @@ sub FindPackageName + $name =~ s/\(+$//g; + $version =~ s/\(+$//g; + +- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); +- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); +- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); +- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); ++ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/); ++ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/); ++ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/); ++ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/); + } + + if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m) +@@ -1219,11 +1219,11 @@ sub FindPackageName + $version =~ s/\(+$//g; + $bugurl =~ s/\(+$//g if (defined $bugurl); + +- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); +- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); +- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); +- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); +- $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/); ++ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/); ++ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/); ++ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/); ++ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/); ++ $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+}?/); + } + + # \s makes this not work, why? diff --git a/intltool.changes b/intltool.changes new file mode 100644 index 0000000..a9c272d --- /dev/null +++ b/intltool.changes @@ -0,0 +1,485 @@ +------------------------------------------------------------------- +Sun May 13 19:47:44 UTC 2018 - bjorn.lie@gmail.com + +- Add intltool-no-guess-builddir.patch: Fix out of tree builds with + automake 1.15 and newer, patch taken from Ubuntu (lp#1117944). + +------------------------------------------------------------------- +Wed Feb 28 16:33:35 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Sun Sep 24 07:18:06 UTC 2017 - coolo@suse.com + +- extend intltool-perl-5.22.patch to fix one more perl 5.26 issue + +------------------------------------------------------------------- +Tue May 2 15:22:35 UTC 2017 - bwiedemann@suse.com + +- Add fixrace.patch to fix random desktop file corruptions + (lp#1687644 boo#1021335) + +------------------------------------------------------------------- +Fri Apr 15 22:26:26 UTC 2016 - mgorse@suse.com + +- Update to GNOME 3.20 Fate#318572 + +------------------------------------------------------------------- +Tue Sep 1 09:46:20 UTC 2015 - dimstar@opensuse.org + +- Add intltool-perl-5.22.patch: Fix execution with perl 5.22. + +------------------------------------------------------------------- +Wed Mar 25 22:28:10 UTC 2015 - zaitor@opensuse.org + +- Update to version 0.51.0: + + Don't write $SRCDIR to the pot file. + + Fixed incorrect handling of spaces around = in .ini files. + + Add support for QT designer .UI files. + + Add missing files to Makefile.am EXTRA_DIST definitions. + + Use plain localedir to install mo files to, rather than trying + to guess one. + + Fix makefile rule to build .pox files properly. + + Fix incorrect usage of hyphens and dashes in man pages. + + Update .bzrignore with some new generated files. + + Use autoreconf instead of gnome-autogen scripts. + + Remove obsolete AM_GNU_GETTEXT information from docs. + + Support single quotes in glade/gtkuibuilder files (lp#1034153). + +------------------------------------------------------------------- +Thu Mar 28 10:03:51 UTC 2013 - mmeister@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Mon Feb 27 08:07:15 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.50.2: + + Use --no-translations only if intltool >= 0.50 is available + (lp#903340). + +------------------------------------------------------------------- +Sun Feb 5 18:36:54 CET 2012 - zaitor@opensuse.org + +- Update to version 0.50.1: + + Support AM_SILENT_RULES (lp#402516). + + Improve support for extracting messages from GSettings files + (lp#922685). + + Support attribute tag extraction for Glade/GtkBuilder files + (lp#923841). + + Start including a ChangeLog in tarballs and provide a NEWS file + (lp#924386). + +------------------------------------------------------------------- +Thu Jan 5 15:01:57 UTC 2012 - vuntz@opensuse.org + +- Fix Source to not use a non-existing URL. + +------------------------------------------------------------------- +Thu Dec 22 09:59:40 UTC 2011 - vuntz@opensuse.org + +- Own %{_datadir}/aclocal to fix build without automake/autoconf. +- Run "make check" in %check. + +------------------------------------------------------------------- +Mon Oct 17 21:23:20 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.50.0: + + Add support for gsettings gschema.xml files (lp#580526) + + Let xgettext extract Scheme strings out (lp#790574) + + Improve handling of quotes in 'intltool-update -m' (lp#806006) + + Messages are extracted in the order they appear in original + files now (lp#520986) + + Other bugs fixed: lp#398576, lp#613003, lp#639857, lp#860192. + +------------------------------------------------------------------- +Thu Mar 25 11:05:43 CET 2010 - vuntz@opensuse.org + +- Update to version 0.41.1: + + For the detailed list of changes, see: + https://edge.launchpad.net/intltool/+milestone/0.41.1 + + intltool-update doesn't call intltool-extract correctly on MS + Windows + + Support gtkbuilder format for contexts + + Patch of intltool-update to fix a bug when intltool-update is + called with a srcdir env var different from "." + + Support py.in for intltool-update -m + + intltool-update thinks __import__('') is a translation + + Fixes in README + +------------------------------------------------------------------- +Sun Mar 21 14:57:59 CET 2010 - meissner@suse.de + +- Update to version 0.41.0: + + Upstream moved to launchpad + + Small bugfixes. + + For details: https://edge.launchpad.net/intltool/trunk/0.41.0 + +------------------------------------------------------------------- +Sat Mar 14 22:31:20 CET 2009 - mboman@suse.de + +- Update to version 0.40.6: + + Update for new usage style and to refer to server files instead + of oaf + + Don't hardcode /bin/sh as the shell + + Add basic support for PACKAGE_BUGREPORT specified by packages + + Check for at least perl 5.8.1, and print the found version + + Replace iconv usage with perl's internal Encode::from_to() + + Quote the grep arguments that use ^ + + Add support for extracting string data from Bioware Aurora Talk + Table format files, along with the extra metadata associated + with the strings + + Redirect grep output to /dev/null +- Don't run autoreconf + +------------------------------------------------------------------- +Fri Jan 30 15:06:58 CET 2009 - vuntz@novell.com + +- Requires gettext-tools instead of gettext-devel. Fix bnc#459088. +- Drop intltool-extract-check-hack.patch: it shouldn't be needed + anymore since upstream now ships intltool-extract with intltool + instead of shipping it with each tarballs. So it's always + available. + +------------------------------------------------------------------- +Sun Oct 12 04:36:14 EST 2008 - mboman@suse.de + +- Update to version 0.40.5: + + Fixed bug bgo#554280 + +------------------------------------------------------------------- +Sun Sep 21 11:40:39 EST 2008 - mboman@suse.de + +- Update to version 0.40.4: + + Add extract13.desktop to EXTRA_DIST + + Bugs fixed: bgo#550044, bgo#550727, bgo#549243 + + Require the AM_NLS macro, so USE_NLS gets defined + + Add a check for gmsgfmt that falls back to $MSGFMT + This change removes the need for using AM_GLIB_GNU_GETTEXT or + AM_GNU_GETTEXT for some projects. + +------------------------------------------------------------------- +Sun Aug 24 13:13:16 CEST 2008 - mboman@novell.com + +- Update to version 0.40.3: + * Bugs fixed; bgo#544574, bgo#458794, bgo#544574, bgo#323968, + bgo#543665, bgo#531894, bgo#536970 + * Add new test cases to EXTRA_DIST and CLEANFILES as appropriate + * intltoolize.in: Check for symlinks to intltool scripts and remove them + * intltool-update.in (GenerateHeaders): If running under ActiveState + Perl then prefix the intltool-extract command with the Perl + interpreter pathname, as the system() function has no clue about + Unixish executable scripts indicated by just a hashbang line. + +------------------------------------------------------------------- +Fri Jul 18 13:13:16 CEST 2008 - rodrigo@suse.de + +- Use PATCH-*-OPENSUSE, not SUSE, in patch tags + +------------------------------------------------------------------- +Wed Jun 11 16:43:07 CEST 2008 - maw@suse.de + +- Update to version 0.40.0: + + Bugs fixed: bgo#436241, bgo#377573, bgo#489135, bgo#490620, + bgo#517559, bgo#508320, bgo#516501, bgo#518257, and bgo#509411 +- Respin intltool-extract-check-hack.patch. + +------------------------------------------------------------------- +Tue Mar 4 01:40:52 CET 2008 - maw@suse.de + +- Update to version 0.37.1: + + Bugs fixed: bgo#508320, bgo#516501, bgo#518257, bgo#487818, + bgo#487666, bgo#499590, bgo#493267, bgo#487817, bgo#499179, + bgo#491408, bgo#481833, bgo#490845, bgo#488724, bgo#464846, + bgo#438178, bgo#464846, bgo#464474, bgo#464474, bgo#464121, + bgo#301364, bgo#311936, bgo#349560, bgo#462312, bgo#449938, + bgo#411698, bgo#438722, bgo#449938, bgo#430093, bgo#448200, + bgo#417659, and bgo#413461 + + Note that packages using intltool that also run autoreconf + (these should be limited to packages that patch + configure.{in,ac} or Makefile.am files) may need to follow + autoreconf with intltoolize --force, as some files generated + by intltool are not compatible across intltool versions +- Respin intltool-extract-check-hack.patch, and annotate it. + +------------------------------------------------------------------- +Thu Mar 22 18:15:38 CET 2007 - sbrabec@suse.cz + +- Worked around bad intltool-extract check. + +------------------------------------------------------------------- +Wed Mar 21 13:37:06 CST 2007 - maw@suse.de + +- Update to version 0.35.5. + * Don't hardcode fallback path to intltool-extract -- bug #399476 + * Fix mkdir race in inltool-merge.in.in -- bug #400788 + * Update an additional check to use $SRCDIR properly for POTFILES.skip + -- bug #391892 + * Handle extracting comments from ini-style files -- bug #390271 + +------------------------------------------------------------------- +Fri Feb 16 13:27:21 CST 2007 - maw@suse.de + +- Update to version 0.35.4. + * Fix logic of checking for leftout files in builddir or srcdir + +------------------------------------------------------------------- +Fri Dec 22 00:25:55 CET 2006 - sreeves@suse.de + +- ver 0.35 of intltool is needed for Fate#301648. + The menu editor we will use is alacarte which requires >=0.35 version + of intltool. Talked with dobey, jpr and gekker and this rev (0.35.2) was + approved for submision. + +------------------------------------------------------------------- +Fri Jul 21 22:10:15 CEST 2006 - gekker@suse.de + +- Update to version 0.35.0 + * Support for MSGID_BUGS_ADDRESS variable in Makevars and for xgettext + -- bug #329346 (Dwayne Bailey, Rodney Dawes) + * Support for po/LINGUAS file being preferred over ALL_LINGUAS variable + -- bugs #341508 #339770 (Rodney Dawes) + * Support micro-version when validating version requirements + -- bug #339627 (Rodney Dawes) + * Clean up Makefile.in.in to remove useless bits + -- bug #338817 (Rodney Dawes) + * Change WARNING to NOTICE for non-UTF-8 po file encodings + -- bug #331046 (Rodney Dawes) + * Add MAINTAINERS file + -- bug #335025 (Danilo Segan) + * Work around recursive variable resolution in intltool-update + -- bug #321785 (Danilo Segan) + * Work around variable stripping in Makefile.in.in substitution + -- bug #330509 (Rodney Dawes) +- Update to version 0.34.2 + * We require automake >= 1.5 now, so check that we aren't on something older + -- bug #323282 (Rodney Dawes) + * Add support for translating DBus service files + -- bug #322629 (Carlos Garcia Campos) + * Preserve encoding of XML comments + -- bug #320721 (Simos Xenitellis) + * Improve interaction with use of AM_GNU_GETTEXT + -- bug #312217 (Stepan Kasal) + * Fix two small issues with srcdir != builddir + (Stepan Kasal) + * Remove unused variables from configure.in + -- bug #312214 (Stepan Kasal) + * Use $(install_sh) -d instead of $(top_srcdir)/mkinstalldirs + -- bug #311874 (Stepan Kasal) + * Don't substitute some variables in the intltool build + -- bug #315021 (Stepan Kasal) + * Use POSIX sh syntax for Solaris + -- bug #322263 (Laszlo Peter) + * Set the prefix from $0 on win32 systems + (Tor Lillqvist) + * Remove unneeded compatibility code for autoconf 2.13 + -- bug #311870 (Stepan Kasal) + * Remove deprecated INSTOBJEXT variable use + -- bug #312333 (Stepan Kasal) + * Remove use of deprecated GENCAT variable + -- bug #212332 (Stepan Kasal) + * Use AU_ALIAS instead of AC_DEFUN for autoconf and autoupdate + -- bug #312334 (Stepan Kasal) + * Use PACKAGE_NAME instead of AC_PACKAGE_NAME + -- bug #311523 (Peter Moulder) + + + +------------------------------------------------------------------- +Mon Feb 6 16:00:14 CET 2006 - sbrabec@suse.cz + +- Fixed Requires (intltool-update requires gettext-devel). + +------------------------------------------------------------------- +Fri Feb 3 15:18:11 CET 2006 - sbrabec@suse.cz + +- Simplified BuildRequires. +- Fixed Requires (intltool-merge requires perl-XML-Parser). + +------------------------------------------------------------------- +Wed Jan 25 21:45:17 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Aug 11 00:45:57 CEST 2005 - gekker@suse.de + +- Update to version 0.34.1 + +------------------------------------------------------------------- +Mon Aug 1 20:02:15 CEST 2005 - gekker@suse.de + +- Update to version 0.34 + +------------------------------------------------------------------- +Mon Feb 7 09:29:00 CET 2005 - ke@suse.de + +- Updated to version 0.33: + * Various bug fixes, mostly XML related. + +------------------------------------------------------------------- +Mon Jan 17 12:01:18 CET 2005 - clahey@suse.de + +- Updated to version 0.32.1. + +------------------------------------------------------------------- +Fri Nov 5 10:30:56 CET 2004 - ke@suse.de + +- Update to version 0.32: + * Bug fixes. + * Deprecate AC_PROG_INTLTOOL for IT_PROG_INTLTOOL. + * Allow use of either AM_GNU_GETTEXT or AM_GLIB_GNU_GETTEXT and use our + own Makefile.in.in instead of trying to patch one. + * Documentation enhancement. +- Drop obsolete patch. + +------------------------------------------------------------------- +Thu Jul 15 15:45:26 CEST 2004 - ke@suse.de + +- Update to version 0.31 (from the announcement): + * Support for C#. + * New XML merging; entity decoding and encoding is not done anymore + for XML. + * Multiple-output XML merging now produces simpler files, and sets + "xml:lang" only when translation is used + * Support for passing comments to translators from XML and GConf + schema files. + * Bugfixes. +- Enable all tests (stop applying intltool-0.30-selftest.pl.in.patch). + +------------------------------------------------------------------- +Wed Feb 4 14:00:10 CET 2004 - ke@suse.de + +- Update to version 0.30. +- Disable unreliable tests (intltool-0.30-selftest.pl.in.patch; the + order of attributes isn't static). + +------------------------------------------------------------------- +Wed Dec 10 09:41:15 CET 2003 - ke@suse.de + +- Update to version 0.28; it now depends on the Perl module XML::Parser. +- Adjust neededforbuild: Add perl-XML-Parser and expat. +- intltool-0.28-selftest.pl.in.patch: Disable trouble causing tests. + +------------------------------------------------------------------- +Mon Aug 18 18:39:29 CEST 2003 - sbrabec@suse.cz + +- Updated to version 0.27.2. + +------------------------------------------------------------------- +Thu Jun 12 15:37:06 CEST 2003 - sbrabec@suse.cz + +- Updated to version 0.26. +- Fixed directory packaging. + +------------------------------------------------------------------- +Thu Jan 23 15:57:56 CET 2003 - ke@suse.de + +- Update to version 0.25; NEWS since 0.21: + * Support Makefile.in.in from glib-gettextize from glib >= 2.1.5. + * Strip the hints from POTFILES.in in -M mode. + * Don't generate .h.h lines in the POTFILES.in for xgettext when the + input file line is from a known type and also has the [type: + gettext/..] hint. + * Fix xml-i18n-tools part to work with new gettext 4. + * Add a new .theme.in -> .theme rule. + * gettextize 4.x work. + * Recognise the "xml:space" attribute and preserve whitespace if set + to "preserve". + * GConf schemas handling changes. + * Use charset.alias if available. + * Add support for 'default' tags. + * Added support for translation of descriptions used by ATK in glade + files. + * Made schemas extraction code more bulletproof. + * Force intltool-update to exit if POTFILES.in is not found. + * Add detection of glade2 files in -m mode. + * Other bugfixes. + +------------------------------------------------------------------- +Thu Sep 5 11:50:45 CEST 2002 - ro@suse.de + +- removed libxml2 requires and from neededforbuild + +------------------------------------------------------------------- +Mon Aug 12 18:40:41 CEST 2002 - ro@suse.de + +- fixed permissions of intltool dir + +------------------------------------------------------------------- +Thu Jun 6 09:37:00 CEST 2002 - ke@suse.de + +- Update to version 0.21: + * Add detection of glade2 files in -m mode. + * Force intltool-update to exit if POTFILES.in is not found. + * Make schemas extraction code more bulletproof. + * Add support for translation of descriptions used by ATK in glade + files. + +------------------------------------------------------------------- +Thu May 23 10:57:52 CEST 2002 - ke@suse.de + +- Update to version 0.21: + * Add support for .schemas files. + * Some .m4 fixes. + * Perform variable substitutions when determining package name. + * Add HOWTO on adding i18n support to an application. + * Fix Glade XML decoding. + * Better error reporting. + +------------------------------------------------------------------- +Fri May 3 14:29:15 CEST 2002 - ke@suse.de + +- Update to version 0.18: bug fixes, enhancements (e.g., recognize + directories starting with po- as being translation directories, glade2 + support, take POTFILES.skip and POTFILES.ignore into account), update + documentation. + +------------------------------------------------------------------- +Wed Nov 21 11:07:10 CET 2001 - ke@suse.de + +- Update to version 0.12. +- Rename package: xml-i18n-tools -> intltool. +- Enable check. +- Numerous bug fixes. +- Heavily improved UTF-8 support. +- Support more input formats (e.g, Dia's .sheet files). + +------------------------------------------------------------------- +Wed Aug 8 14:59:12 CEST 2001 - hhetter@suse.de + +- update to version 0.9 + +------------------------------------------------------------------- +Mon May 28 10:23:18 CEST 2001 - ke@suse.de + +- Apply xml-i18n-tools-prepare.diff to fix typo. + +------------------------------------------------------------------- +Fri May 18 14:13:09 CEST 2001 - ke@suse.de + +- Update to version 0.8.4. + +------------------------------------------------------------------- +Fri Mar 2 01:28:04 MET 2001 - egger@suse.de + +- Updated to version 0.8.1. + +------------------------------------------------------------------- +Fri Feb 16 12:48:54 CET 2001 - hhetter@suse.de + +- Updated to version 0.8. + +------------------------------------------------------------------- +Thu Feb 15 19:12:50 MET 2001 - egger@suse.de + +- Updated to version 0.6. + +------------------------------------------------------------------- +Tue Jan 23 17:55:34 CET 2001 - ke@suse.de + +- New package: initial version 0.5. + + diff --git a/intltool.spec b/intltool.spec new file mode 100644 index 0000000..d7580fb --- /dev/null +++ b/intltool.spec @@ -0,0 +1,73 @@ +# +# spec file for package intltool +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: intltool +Version: 0.51.0 +Release: 0 +Summary: Internationalization Tool Collection +License: GPL-2.0-or-later +Group: Development/Tools/Other +URL: https://edge.launchpad.net/intltool/ +Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM intltool-perl-5.22.patch lp#1490906 dimstar@opensuse.org -- Fix execution with perl 5.22 +Patch0: intltool-perl-5.22.patch +# PATCH-FIX-UPSTREAM fixrace.patch lp#1687644 boo#1021335 +Patch1: fixrace.patch +# PATCH-FIX-UPSTREAM intltool-no-guess-builddir.patch lp#1117944 -- Fix out of tree builds with automake 1.15 +Patch2: intltool-no-guess-builddir.patch +BuildRequires: perl-XML-Parser +Requires: gettext-tools +Requires: perl-XML-Parser +Provides: xml-i18n-tools +Obsoletes: xml-i18n-tools +BuildArch: noarch + +%description +Some scripts to support translators working on GNOME and similar +programs. Data available in XML files (.oaf, .desktop, .sheet, and +more) can be extracted into PO files. After translation, the new +information is written back into the XML files. + +%prep +%setup -q +%patch0 +%patch1 -p1 +%patch2 -p1 + +%build +%configure +make %{?_smp_mflags} + +%check +make %{?_smp_mflags} check + +%install +%make_install + +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README TODO +%{_bindir}/intltool-* +%{_bindir}/intltoolize +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/intltool.m4 +%{_datadir}/%{name}/ +%{_mandir}/man8/intltool-*.8%{?ext_man} +%{_mandir}/man8/intltoolize.8%{?ext_man} + +%changelog