Hello community,
here is the log from the commit of package gettext-runtime for openSUSE:Factory
checked in at Wed Dec 22 09:40:46 CET 2010.
--------
--- gettext-runtime/gettext-csharp.changes 2010-03-28 11:07:38.000000000 +0200
+++ /mounts/work_src_done/STABLE/gettext-runtime/gettext-csharp.changes 2010-12-21 13:53:59.000000000 +0100
@@ -1,0 +2,100 @@
+Tue Dec 21 13:43:49 CET 2010 - pth@suse.de
+
+- Update to 0.18.1. Changes since 0.17:
+ Version 0.18.1 - June 2010
+
+ * msggrep: A '$' anchor in a regular expression now also matches
+ the end of the string, even if it does not end in a newline.
+
+ * Dependencies:
+ The libraries and programs are now linked with libunistring if
+ this library is already installed.
+
+ * Installation options:
+ The configure option --with-cvs is deprecated. The 'autopoint'
+ program will now use the 'git' program by default to compress its
+ archive. If the configure option --without-git is specified,
+ 'autopoint' will not rely on 'git', but will instead rely on a
+ locally installed 3 MB large archive.
+
+ Version 0.18 - May 2010
+
+ * PO file format:
+ There is a new field 'Language' in the header entry. It denotes
+ the language code (plus optional country code) for the PO file.
+ This field can be used by automated tools, such as spell
+ checkers. It is expected to be more reliable than looking at the
+ file name or at the 'Language-Team' field in the header entry.
+
+ msgmerge, msgcat, msgen have a new option --lang that allows to
+ specify this field. Additionally, msgmerge fills in this new
+ field by looking at the 'Language-Team' field (if the --lang
+ option is not given).
+
+ * xgettext and PO file format:
+
+ For messages with plural forms, programmers can inform the
+ translators about the range of possible values of the numeric
+ argument, like this:
+ /* xgettext: range: 0..15 */
+ This information 'range: 0..15' is stored in the PO file as a
+ flag attached to the message. Translators can produce better
+ translations when they know that the numeric argument is small.
+
+ * Colorized PO files:
+ msgattrib, msgcomm, msgconv, msgen, msgfilter, msggrep, msginit,
+ msgmerge, msgunfmt, msguniq, xgettext now have options --color
+ and --style, like msgcat has since version 0.17.
+
+ * msgmerge is up to 10 times faster when the PO and POT files are
+ large. This speedup was contributed by Ralf Wildenhues.
+
+ * msgcmp has a new option -N/--no-fuzzy-matching, like msgmerge has
+ since version 0.12.
+
+ * msgfilter now sets environment variables during the invocation of
+ the filter, indicating the msgid and location of the messge being
+ processed.
+
+ * xgettext now can extract plural forms from Qt 4 programs. The
+ recommended xgettext command-line options for this case are:
+ --qt --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t
+
+ * xgettext --language=GCC-source now recognizes also the format
+ strings used in the Fortran front-end of the GCC compiler, and
+ marks them as 'gfc-internal-format'.
+
+ * autopoint can now be used to update several PO directories all
+ together.
+
+ * PO mode changes:
+ - PO files with plural entries are now correctly handled.
+ - Editing a message with previous msgid (in comments) removes these
+ comments. Contributed by Noritada Kobayashi.
+
+ * The po/Makevars file has a new field MSGMERGE_OPTIONS, that can
+ be used to adjust msgmerge's operation.
+
+ * The use of the macro AM_GNU_GETTEXT without 'external' argument
+ and the --intl option of the gettextize program are deprecated
+ and will be removed in the next release. Instead of including
+ the intl sources in your package, we suggest making the libintl
+ library an (optional) prerequisite of your package.
+
+ * Updated the meaning of 'gcc-internal-format' to match GCC 4.3.
+
+ * Installation options:
+ The configure options --without-cvs and --with-git can be used to
+ specify whether 'autopoint' will use the 'cvs' program, or the
+ 'git' program, or none at all. These options allow to trade
+ dependencies against installed package size: If --without-cvs is
+ specified and --with-git is not specified, 'autopoint' will not
+ rely on 'cvs' or 'git', but will instead rely on a locally
+ installed a 3 MB large archive.
+
+ * Portability: The msgfilter program now also works on native Woe32
+ - platforms. Compiled C# message catalogs now also work with
+ - 'mono' versions from 2009
+ or newer.
+
+-------------------------------------------------------------------
gettext-java.changes: same change
gettext-runtime.changes: same change
calling whatdependson for head-i586
Old:
----
gettext-0.17-no-autoconf-tests.diff
gettext-0.17.tar.bz2
gettext-gl_AC_TYPE_LONG_LONG.patch
gettext-open_missing_mode.patch
gettext-typo_to_segfault.patch
po-mode-cvs-2009-07-23.patch
New:
----
gettext-0.18.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gettext-csharp.spec ++++++
--- /var/tmp/diff_new_pack.nYD7TL/_old 2010-12-22 09:31:01.000000000 +0100
+++ /var/tmp/diff_new_pack.nYD7TL/_new 2010-12-22 09:31:01.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package gettext-csharp (Version 0.17)
+# spec file for package gettext-csharp (Version 0.18.1.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -25,8 +25,8 @@
License: LGPLv2.1+
Group: Development/Tools/Other
AutoReqProv: on
-Version: 0.17
-Release: 101
+Version: 0.18.1.1
+Release: 1
Summary: Native Language Support (NLS) for C#
PreReq: %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -41,11 +41,7 @@
Patch5: gettext-initialize_vars.patch
Patch6: gettext-0.15-docdir.diff
Patch7: gettext-autotools.patch
-Patch8: gettext-gl_AC_TYPE_LONG_LONG.patch
Patch9: gettext-needlessly_init_vars.patch
-Patch10: gettext-open_missing_mode.patch
-Patch11: gettext-typo_to_segfault.patch
-Patch12: gettext-0.17-no-autoconf-tests.diff
%description
Mono with its 'resgen' program uses a design that Microsoft created and
@@ -81,36 +77,23 @@
%patch3
%patch4
%patch5
-%patch6 -p1
+%patch6
%patch7
-%patch8
%patch9
-%patch10
-%patch11
-%patch12
-# fix build with new autoconf
-# see comments in the file and
-# http://www.mail-archive.com/bug-gnulib@gnu.org/msg12384.html
-rm -f gettext-tools/gnulib-m4/openmp.m4
-pushd gettext-tools/misc
-tar xfz archive.tar.gz
-find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
-tar cfz archive.tar.gz archive/
-popd
-autoreconf -fiv
%build
-export CFLAGS="$RPM_OPT_FLAGS -pipe -W -Wall -Dgcc_is_lint"
-export CXXFLAGS="$RPM_OPT_FLAGS -pipe -W -Wall -Dgcc_is_lint"
+export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
+export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
+autoreconf -fiv
%configure --enable-shared --enable-csharp
make GMSGFMT=../src/msgfmt
%install
export LC_CTYPE=ISO-8859-15
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=%{buildroot}
mkdir examples
-mv $RPM_BUILD_ROOT/%{_datadir}/doc/gettext/examples/*csharp* examples
-mv $RPM_BUILD_ROOT/%{_datadir}/doc/gettext/csharpdoc csharpdoc
+mv %{buildroot}/%{_datadir}/doc/gettext/examples/*csharp* examples
+mv %{buildroot}/%{_datadir}/doc/gettext/csharpdoc csharpdoc
cd examples
fdupes -r *|while read dupe; do
if [ -z "$dupe" ]; then
@@ -122,22 +105,22 @@
fi
done
cd ..
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/*
-mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
-mv examples $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
-mv csharpdoc $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+rm -rf %{buildroot}/%{_datadir}/*
+mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
+mv examples %{buildroot}/%{_defaultdocdir}/%{name}
+mv csharpdoc %{buildroot}/%{_defaultdocdir}/%{name}
# exclude files packaged via other spec files
-rm -Rf $RPM_BUILD_ROOT/%_bindir
-rm -f $RPM_BUILD_ROOT/%_libdir/lib*
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/hostname
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/project-id
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/urlget
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/user-email
-rm -Rf $RPM_BUILD_ROOT/%_includedir
-rm -f $RPM_BUILD_ROOT/%_libdir/preloadable_libintl.so
+rm -Rf %{buildroot}/%_bindir
+rm -f %{buildroot}/%_libdir/lib*
+rm -f %{buildroot}/%_libdir/gettext/hostname
+rm -f %{buildroot}/%_libdir/gettext/project-id
+rm -f %{buildroot}/%_libdir/gettext/urlget
+rm -f %{buildroot}/%_libdir/gettext/user-email
+rm -Rf %{buildroot}/%_includedir
+rm -f %{buildroot}/%_libdir/preloadable_libintl.so
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
++++++ gettext-java.spec ++++++
--- /var/tmp/diff_new_pack.nYD7TL/_old 2010-12-22 09:31:01.000000000 +0100
+++ /var/tmp/diff_new_pack.nYD7TL/_new 2010-12-22 09:31:01.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package gettext-java (Version 0.17)
+# spec file for package gettext-java (Version 0.18.1.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,8 +24,8 @@
License: LGPLv2.1+
Group: Development/Tools/Other
AutoReqProv: on
-Version: 0.17
-Release: 113
+Version: 0.18.1.1
+Release: 1
Summary: Java Support for Native Language Support (NLS)
PreReq: %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,11 +40,7 @@
Patch5: gettext-initialize_vars.patch
Patch6: gettext-0.15-docdir.diff
Patch7: gettext-autotools.patch
-Patch8: gettext-gl_AC_TYPE_LONG_LONG.patch
Patch9: gettext-needlessly_init_vars.patch
-Patch10: gettext-open_missing_mode.patch
-Patch11: gettext-typo_to_segfault.patch
-Patch12: gettext-0.17-no-autoconf-tests.diff
%description
This package includes the tools needed to support message catalogs in
@@ -58,34 +54,21 @@
%patch3
%patch4
%patch5
-%patch6 -p1
+%patch6
%patch7
-%patch8
%patch9
-%patch10
-%patch11
-%patch12
-# fix build with new autoconf
-# see comments in the file and
-# http://www.mail-archive.com/bug-gnulib@gnu.org/msg12384.html
-rm -f gettext-tools/gnulib-m4/openmp.m4
-pushd gettext-tools/misc
-tar xfz archive.tar.gz
-find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
-tar cfz archive.tar.gz archive/
-popd
-autoreconf -fiv
%build
-export CFLAGS="$RPM_OPT_FLAGS -pipe -W -Wall -Dgcc_is_lint"
-export CXXFLAGS="$RPM_OPT_FLAGS -pipe -W -Wall -Dgcc_is_lint"
+export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
+export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
+autoreconf -fiv
%configure --enable-shared
make GMSGFMT=../src/msgfmt
%install
export LC_CTYPE=ISO-8859-15
-make -C gettext-tools/gnulib-lib install DESTDIR=$RPM_BUILD_ROOT
-make -C gettext-tools/src install DESTDIR=$RPM_BUILD_ROOT
+make -C gettext-tools/gnulib-lib install DESTDIR=%{buildroot}
+make -C gettext-tools/src install DESTDIR=%{buildroot}
make -C gettext-runtime/intl-java install DESTDIR=$PWD docdir=/docs
make -C gettext-tools/examples install DESTDIR=$PWD docdir=/allexamples
mkdir -p docs/examples
@@ -102,9 +85,9 @@
done
cd ..
find -size 0 -print0 | xargs -0 --no-run-if-empty rm
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/*
-mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
-cp -av * $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+rm -rf %{buildroot}/%{_datadir}/*
+mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
+cp -av * %{buildroot}/%{_defaultdocdir}/%{name}
cd ../allexamples/examples
rm -rf *csharp*
fdupes -r * | while read dupe; do
@@ -125,17 +108,17 @@
######################################################
END
}
-ls -l $RPM_BUILD_ROOT/%_datadir
+ls -l %{buildroot}/%_datadir
# exclude files packaged via other spec files
-rm -rf $RPM_BUILD_ROOT/%_prefix/bin
-rm -f $RPM_BUILD_ROOT/%_libdir/lib*
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/hostname
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/project-id
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/urlget
-rm -f $RPM_BUILD_ROOT/%_libdir/gettext/user-email
+rm -rf %{buildroot}/%_prefix/bin
+rm -f %{buildroot}/%_libdir/lib*
+rm -f %{buildroot}/%_libdir/gettext/hostname
+rm -f %{buildroot}/%_libdir/gettext/project-id
+rm -f %{buildroot}/%_libdir/gettext/urlget
+rm -f %{buildroot}/%_libdir/gettext/user-email
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
++++++ gettext-runtime.spec ++++++
--- /var/tmp/diff_new_pack.nYD7TL/_old 2010-12-22 09:31:01.000000000 +0100
+++ /var/tmp/diff_new_pack.nYD7TL/_new 2010-12-22 09:31:01.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package gettext-runtime (Version 0.17)
+# spec file for package gettext-runtime (Version 0.18.1.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,11 +17,11 @@
# norootforbuild
+%define pacname gettext
Name: gettext-runtime
-%define pacname gettext
-Version: 0.17
-Release: 68
+Version: 0.18.1.1
+Release: 1
BuildRequires: gcc-c++ perl-libintl-perl tcl
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
#BuildRequires: fdupes
@@ -39,7 +39,7 @@
Summary: Tools for Native Language Support (NLS)
PreReq: %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source: %pacname-%version.tar.bz2
+Source: gettext-%{version}.tar.bz2
Source1: gettext-rpmlintrc
Source2: suse-start-po-mode.el
Source3: gettext-linkdupes.sh
@@ -51,12 +51,7 @@
Patch5: gettext-initialize_vars.patch
Patch6: gettext-0.15-docdir.diff
Patch7: gettext-autotools.patch
-Patch8: gettext-gl_AC_TYPE_LONG_LONG.patch
Patch9: gettext-needlessly_init_vars.patch
-Patch10: gettext-open_missing_mode.patch
-Patch11: gettext-typo_to_segfault.patch
-Patch12: gettext-0.17-no-autoconf-tests.diff
-Patch13: po-mode-cvs-2009-07-23.patch
%description
This package contains the intl library as well as tools that ease the
@@ -109,31 +104,15 @@
%patch3
%patch4
%patch5
-%patch6 -p1
+%patch6
%patch7
-%patch8
%patch9
-%patch10
-%patch11
-%patch12
-%patch13 -p1
-# fix build with new autoconf
-# see comments in the file and
-# http://www.mail-archive.com/bug-gnulib@gnu.org/msg12384.html
-rm -f gettext-tools/gnulib-m4/openmp.m4
-pushd gettext-tools/misc
-tar xfz archive.tar.gz
-find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
-tar cfz archive.tar.gz archive/
-popd
-# force rebuild with non-broken makeinfo
-rm -f gettext-tools/doc/*.info
%build
# expect a couple "You should update your `aclocal.m4' by running aclocal."
autoreconf -fiv
#sh autogen.sh
-export CFLAGS="$RPM_OPT_FLAGS -pipe -W -Wall -Dgcc_is_lint"
+export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
export CXXFLAGS="$CFLAGS -Dgcc_is_lint"
%configure --enable-shared
make %{?_smp_mflags} GMSGFMT=../src/msgfmt
@@ -143,32 +122,32 @@
%install
%define my_docdir %{_defaultdocdir}/%{name}
export LC_CTYPE=ISO-8859-15
-make install DESTDIR=$RPM_BUILD_ROOT docdir=%{my_docdir}
-cp -pr AUTHORS COPYING NEWS README* $RPM_BUILD_ROOT/%{my_docdir}
-mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
-install -m 644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
-install -m 644 gettext-tools/misc/po-compat.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
-install -m 644 gettext-tools/misc/po-mode.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
-install -m 644 gettext-tools/misc/start-po.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
-#make -C gettext-tools/doc docdir=$RPM_BUILD_ROOT/%{my_docdir} install-pdf
-if [ -e $RPM_BUILD_ROOT/%{_libdir}/preloadable_libintl.so ];then
- chmod 755 $RPM_BUILD_ROOT/%{_libdir}/preloadable_libintl.so
+make install DESTDIR=%{buildroot} docdir=%{my_docdir}
+cp -pr AUTHORS COPYING NEWS README* %{buildroot}/%{my_docdir}
+mkdir -p %{buildroot}/usr/share/emacs/site-lisp
+install -m 644 %SOURCE2 %{buildroot}/usr/share/emacs/site-lisp
+install -m 644 gettext-tools/misc/po-compat.el %{buildroot}/usr/share/emacs/site-lisp
+install -m 644 gettext-tools/misc/po-mode.el %{buildroot}/usr/share/emacs/site-lisp
+install -m 644 gettext-tools/misc/start-po.el %{buildroot}/usr/share/emacs/site-lisp
+#make -C gettext-tools/doc docdir=%{buildroot}/%{my_docdir} install-pdf
+if [ -e %{buildroot}/%{_libdir}/preloadable_libintl.so ];then
+ chmod 755 %{buildroot}/%{_libdir}/preloadable_libintl.so
fi
# fix rpmlint invalid-lc-messages-dir:
-rm -rf $RPM_BUILD_ROOT/%_datadir/locale/en@{bold,}quot
+rm -rf %{buildroot}/%_datadir/locale/en@{bold,}quot
%{find_lang} gettext-tools
%{find_lang} gettext-runtime
#remove unwanted stuff
-rm -f $RPM_BUILD_ROOT/usr/share/doc/packages/gettext/README.{mingw,vms,woe32}
+rm -f %{buildroot}/usr/share/doc/packages/gettext/README.{mingw,vms,woe32}
rm -f %_datadir/%name/gettext.jar
-#find $RPM_BUILD_ROOT -maxdepth 2 -name '*html' | xargs rm -f
+#find %{buildroot} -maxdepth 2 -name '*html' | xargs rm -f
# hardlink the dupes in the documentation:
-cd $RPM_BUILD_ROOT/%{my_docdir}/examples
+cd %{buildroot}/%{my_docdir}/examples
sh %{SOURCE3}
# moved to gettext-java and gettext-csharp:
rm -rf *csharp* *java* ../javadoc* ../csharpdoc*
rm -f %{buildroot}%{_defaultdocdir}/%name/README.woe32
-cd $RPM_BUILD_ROOT/%{_mandir}/man3
+cd %{buildroot}/%{_mandir}/man3
echo ".so man3/dngettext.3" > dcngettext.3
echo ".so man3/dgettext.3" > dcgettext.3
@@ -187,7 +166,7 @@
}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post -p /sbin/ldconfig
@@ -275,8 +254,8 @@
%_datadir/%pacname/gettext.h
%_datadir/%pacname/msgunfmt.tcl
%_datadir/%pacname/javaversion.class
-%_datadir/%pacname/archive.tar.gz
%_datadir/%pacname/styles
+%_datadir/%pacname/archive.dir.tar.gz
%_datadir/aclocal/*
%changelog
++++++ gettext-0.12.1-gettextize.patch ++++++
--- /var/tmp/diff_new_pack.nYD7TL/_old 2010-12-22 09:31:01.000000000 +0100
+++ /var/tmp/diff_new_pack.nYD7TL/_new 2010-12-22 09:31:01.000000000 +0100
@@ -1,6 +1,8 @@
---- gettext-tools/misc/gettextize.in
-+++ gettext-tools/misc/gettextize.in
-@@ -1070,20 +1070,6 @@
+Index: gettext-tools/misc/gettextize.in
+===================================================================
+--- gettext-tools/misc/gettextize.in.orig 2010-06-06 14:49:57.000000000 +0200
++++ gettext-tools/misc/gettextize.in 2010-12-20 18:47:11.932132562 +0100
+@@ -1262,20 +1262,6 @@ if $doit; then
echo "It is a wrapper around