forked from pool/gettext-runtime
This commit is contained in:
commit
a9cbfbbba2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
23
gettext-0.12.1-gettextize.patch
Normal file
23
gettext-0.12.1-gettextize.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- gettext-tools/misc/gettextize.in
|
||||
+++ gettext-tools/misc/gettextize.in
|
||||
@@ -1070,20 +1070,6 @@
|
||||
echo "It is a wrapper around <libintl.h> that implements the configure --disable-nls"
|
||||
echo "option."
|
||||
echo
|
||||
- count=`echo "$please" | grep '^$' | wc -l`
|
||||
- count=`echo "$count" | sed -e 's/[ ]//g'`
|
||||
- case "$count" in
|
||||
- 1) count="paragraph";;
|
||||
- 2) count="two paragraphs";;
|
||||
- 3) count="three paragraphs";;
|
||||
- 4) count="four paragraphs";;
|
||||
- 5) count="five paragraphs";;
|
||||
- *) count="$count paragraphs";;
|
||||
- esac
|
||||
- echo "Press Return to acknowledge the previous $count."
|
||||
- # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
|
||||
- # non-interactive tools.
|
||||
- read dummy < /dev/tty
|
||||
fi
|
||||
|
||||
exit 0
|
43
gettext-0.12.1-sigfpe.patch
Normal file
43
gettext-0.12.1-sigfpe.patch
Normal file
@ -0,0 +1,43 @@
|
||||
--- gettext-runtime/intl/dcigettext.c
|
||||
+++ gettext-runtime/intl/dcigettext.c 2002/08/08 10:27:59
|
||||
@@ -63,20 +63,7 @@
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
-
|
||||
-#ifdef _LIBC
|
||||
- /* Guess whether integer division by zero raises signal SIGFPE.
|
||||
- Set to 1 only if you know for sure. In case of doubt, set to 0. */
|
||||
-# if defined __alpha__ || defined __arm__ || defined __i386__ \
|
||||
- || defined __m68k__ || defined __s390__
|
||||
-# define INTDIV0_RAISES_SIGFPE 1
|
||||
-# else
|
||||
-# define INTDIV0_RAISES_SIGFPE 0
|
||||
-# endif
|
||||
-#endif
|
||||
-#if !INTDIV0_RAISES_SIGFPE
|
||||
-# include <signal.h>
|
||||
-#endif
|
||||
+#include <signal.h>
|
||||
|
||||
#if defined HAVE_SYS_PARAM_H || defined _LIBC
|
||||
# include <sys/param.h>
|
||||
--- gettext-runtime/intl/eval-plural.h
|
||||
+++ gettext-runtime/intl/eval-plural.h 2002/08/08 10:27:59
|
||||
@@ -68,16 +68,12 @@
|
||||
case mult:
|
||||
return leftarg * rightarg;
|
||||
case divide:
|
||||
-#if !INTDIV0_RAISES_SIGFPE
|
||||
if (rightarg == 0)
|
||||
raise (SIGFPE);
|
||||
-#endif
|
||||
return leftarg / rightarg;
|
||||
case module:
|
||||
-#if !INTDIV0_RAISES_SIGFPE
|
||||
if (rightarg == 0)
|
||||
raise (SIGFPE);
|
||||
-#endif
|
||||
return leftarg % rightarg;
|
||||
case plus:
|
||||
return leftarg + rightarg;
|
10
gettext-0.15-docdir.diff
Normal file
10
gettext-0.15-docdir.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- gettext-0.16/gettext-tools/doc/Makefile.am
|
||||
+++ gettext-0.16/gettext-tools/doc/Makefile.am
|
||||
@@ -40,6 +40,7 @@
|
||||
$(top_srcdir)/../gettext-runtime/doc/rt-ngettext.texi \
|
||||
$(top_srcdir)/../gettext-runtime/doc/rt-envsubst.texi
|
||||
|
||||
+docdir=@docdir@
|
||||
# The FAQ. To be edited with Mozilla.
|
||||
# The tutorial. To be edited by hand.
|
||||
doc_DATA = FAQ.html tutorial.html
|
3
gettext-0.17.tar.bz2
Normal file
3
gettext-0.17.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6c2240e9f00fc75c3202a9abe6e1dde86f46da656d2afbfa64efbd9379d4bd9
|
||||
size 8236593
|
10
gettext-autotools.patch
Normal file
10
gettext-autotools.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- gettext-runtime/configure.ac
|
||||
+++ gettext-runtime/configure.ac
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
+AM_PROG_CC_C_O
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_YACC
|
||||
|
14
gettext-codecleanup.patch
Normal file
14
gettext-codecleanup.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- gettext-runtime/intl/eval-plural.h
|
||||
+++ gettext-runtime/intl/eval-plural.h
|
||||
@@ -16,6 +16,8 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
USA. */
|
||||
|
||||
+#include <signal.h>
|
||||
+
|
||||
#ifndef STATIC
|
||||
#define STATIC static
|
||||
#endif
|
||||
/* -------------------------- gl_list_t Data Type -------------------------- */
|
||||
|
||||
static gl_list_t
|
92
gettext-csharp.changes
Normal file
92
gettext-csharp.changes
Normal file
@ -0,0 +1,92 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 16 13:59:43 CET 2007 - pth@suse.de
|
||||
|
||||
- Don't run the testsuite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 15 12:51:17 CET 2007 - pth@suse.de
|
||||
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 16:58:36 CET 2007 - mrueckert@suse.de
|
||||
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 19:40:37 CEST 2007 - bk@suse.de
|
||||
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 18:04:26 CEST 2007 - bk@suse.de
|
||||
|
||||
- re-enable make check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 10 17:25:43 CEST 2007 - pth@suse.de
|
||||
|
||||
- Split .NET/Mono support into a package with its own spec
|
||||
to avoid making the base gettext package dependent on mono(-devel).
|
||||
|
196
gettext-csharp.spec
Normal file
196
gettext-csharp.spec
Normal file
@ -0,0 +1,196 @@
|
||||
#
|
||||
# spec file for package gettext-csharp (Version 0.17)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: gettext-csharp
|
||||
BuildRequires: fdupes mono-devel perl-libintl-perl tcl
|
||||
Requires: mono
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.17
|
||||
Release: 1
|
||||
Summary: Native Language Support (NLS) for C#
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: gettext-%{version}.tar.bz2
|
||||
Source1: gettext-rpmlintrc
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch3: gettext-codecleanup.patch
|
||||
Patch4: po-mode.diff
|
||||
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-disable_test.patch
|
||||
|
||||
%description
|
||||
Mono with its 'resgen' program uses a design that Microsoft created and
|
||||
that gives the power to the software vendor and not to the user: it
|
||||
doesn't allow the end-user to create his own localisations for existing
|
||||
programs. As documented in the gettext manual:
|
||||
|
||||
The advantages of the .dll' format over the .resources' format are:
|
||||
|
||||
1. 1. Freedom to localize: Users can add their own translations to an
|
||||
application after it has been built and distributed. Whereas
|
||||
when the programmer uses a ResourceManager' constructor provided
|
||||
by the system, the set of .resources' files for an application
|
||||
must be specified when the application is built and cannot be
|
||||
extended afterwards.
|
||||
|
||||
2., 3., 4. ...
|
||||
|
||||
The included GNU.Gettext.dll gives the user this freedom back and the
|
||||
also included msgfmt.net.exe and msgunfmt.net.exe handle PO files more
|
||||
reliably than 'resgen'.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n gettext-%{version}
|
||||
%patch
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
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"
|
||||
%configure --enable-shared --enable-csharp
|
||||
make GMSGFMT=../src/msgfmt
|
||||
|
||||
%install
|
||||
export LC_CTYPE=ISO-8859-15
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir examples
|
||||
mv $RPM_BUILD_ROOT/%{_datadir}/doc/gettext/examples/*csharp* examples
|
||||
mv $RPM_BUILD_ROOT/%{_datadir}/doc/gettext/csharpdoc csharpdoc
|
||||
cd examples
|
||||
fdupes -r *|while read dupe; do
|
||||
if [ -z "$dupe" ]; then
|
||||
startlink=
|
||||
elif [ -z "$startlink" ]; then
|
||||
startlink="$dupe"
|
||||
else
|
||||
ln -f "$startlink" "$dupe"
|
||||
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}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
%exclude %_bindir
|
||||
%exclude %_libdir/lib*
|
||||
%exclude %_libdir/gettext/hostname
|
||||
%exclude %_libdir/gettext/project-id
|
||||
%exclude %_libdir/gettext/urlget
|
||||
%exclude %_libdir/gettext/user-email
|
||||
%exclude %_includedir
|
||||
%exclude %_libdir/preloadable_libintl.so
|
||||
%_libdir/GNU.Gettext.dll
|
||||
%_libdir/gettext/msgfmt.net.exe
|
||||
%_libdir/gettext/msgunfmt.net.exe
|
||||
|
||||
%changelog
|
||||
* Fri Nov 16 2007 - pth@suse.de
|
||||
- Don't run the testsuite.
|
||||
* Thu Nov 15 2007 - pth@suse.de
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
* Wed Oct 31 2007 - mrueckert@suse.de
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
* Fri Aug 10 2007 - bk@suse.de
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
* Thu Aug 09 2007 - bk@suse.de
|
||||
- re-enable make check
|
||||
* Tue Jul 10 2007 - pth@suse.de
|
||||
- Split .NET/Mono support into a package with its own spec
|
||||
to avoid making the base gettext package dependent on mono(-devel).
|
11
gettext-disable_test.patch
Normal file
11
gettext-disable_test.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- gettext-tools/tests/Makefile.am
|
||||
+++ gettext-tools/tests/Makefile.am
|
||||
@@ -55,7 +55,7 @@
|
||||
msgmerge-13 msgmerge-14 msgmerge-15 msgmerge-16 msgmerge-17 \
|
||||
msgmerge-18 msgmerge-19 msgmerge-20 msgmerge-21 msgmerge-22 \
|
||||
msgmerge-compendium-1 msgmerge-compendium-2 msgmerge-compendium-3 \
|
||||
- msgmerge-compendium-4 msgmerge-compendium-5 msgmerge-compendium-6 \
|
||||
+ msgmerge-compendium-4 msgmerge-compendium-6 \
|
||||
msgmerge-properties-1 msgmerge-properties-2 \
|
||||
msgmerge-update-1 msgmerge-update-2 msgmerge-update-3 \
|
||||
msgunfmt-1 msgunfmt-2 \
|
11
gettext-gl_AC_TYPE_LONG_LONG.patch
Normal file
11
gettext-gl_AC_TYPE_LONG_LONG.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- gettext-runtime/libasprintf/configure.ac
|
||||
+++ gettext-runtime/libasprintf/configure.ac
|
||||
@@ -54,7 +54,7 @@
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_INLINE
|
||||
AC_TYPE_SIZE_T
|
||||
-gl_AC_TYPE_LONG_LONG
|
||||
+AC_TYPE_LONG_LONG_INT
|
||||
gt_TYPE_LONGDOUBLE
|
||||
gt_TYPE_WCHAR_T
|
||||
gt_TYPE_WINT_T
|
15
gettext-initialize_vars.patch
Normal file
15
gettext-initialize_vars.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- gettext-tools/gnulib-lib/gl_anylinked_list2.h
|
||||
+++ gettext-tools/gnulib-lib/gl_anylinked_list2.h
|
||||
@@ -35,6 +35,12 @@
|
||||
# define ASYNCSAFE(type)
|
||||
#endif
|
||||
|
||||
+#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 3) || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)
|
||||
+# ifndef lint
|
||||
+# define lint
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
/* -------------------------- gl_list_t Data Type -------------------------- */
|
||||
|
||||
static gl_list_t
|
131
gettext-java.changes
Normal file
131
gettext-java.changes
Normal file
@ -0,0 +1,131 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 16 14:00:51 CET 2007 - pth@suse.de
|
||||
|
||||
- Don't run the testsuite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 15 12:53:24 CET 2007 - pth@suse.de
|
||||
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
|
||||
- Reorder installation flow because libgettextlib is needed for the
|
||||
gettext-tools stuf.
|
||||
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 16:58:36 CET 2007 - mrueckert@suse.de
|
||||
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 13:51:10 CEST 2007 - pth@suse.de
|
||||
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 19:40:37 CEST 2007 - bk@suse.de
|
||||
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 18:04:26 CEST 2007 - bk@suse.de
|
||||
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java documentation from gettext to this package
|
||||
- hardlink duplicate example files in documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 14:43:28 CEST 2007 - pth@suse.de
|
||||
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 15:18:31 CEST 2007 - pth@suse.de
|
||||
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- Sync .spec files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 17:54:57 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Remove unused expat BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 13:05:29 CET 2007 - pth@suse.de
|
||||
|
||||
- Reference 0.16 .spec file
|
||||
- fix spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 17:09:50 CET 2007 - pth@suse.de
|
||||
|
||||
- Update to gettext 0.16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 13:45:31 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- New package to host gettext java tools GetURL and DumpResource.
|
||||
|
220
gettext-java.spec
Normal file
220
gettext-java.spec
Normal file
@ -0,0 +1,220 @@
|
||||
#
|
||||
# spec file for package gettext-java (Version 0.17)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: gettext-java
|
||||
BuildRequires: fdupes gcc-c++ gcc-java perl-libintl-perl tcl
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.17
|
||||
Release: 1
|
||||
Summary: Java Support for Native Language Support (NLS)
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: gettext-%{version}.tar.bz2
|
||||
Source1: gettext-rpmlintrc
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch3: gettext-codecleanup.patch
|
||||
Patch4: po-mode.diff
|
||||
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-disable_test.patch
|
||||
|
||||
%description
|
||||
This package includes the tools needed to support message catalogs in
|
||||
Java applications. It also includes example code for java, java+awt and
|
||||
java+swing.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ulrich Drepper <drepper@cygnus.com>
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n gettext-%{version}
|
||||
%patch
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
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"
|
||||
%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-runtime/intl-java install DESTDIR=$PWD docdir=/docs
|
||||
make -C gettext-tools/examples install DESTDIR=$PWD docdir=/allexamples
|
||||
mkdir -p docs/examples
|
||||
mv allexamples/examples/*java* docs/examples
|
||||
cd docs/examples
|
||||
fdupes -r *|while read dupe; do
|
||||
if [ -z "$dupe" ]; then
|
||||
startlink=
|
||||
elif [ -z "$startlink" ]; then
|
||||
startlink="$dupe"
|
||||
else
|
||||
ln -f "$startlink" "$dupe"
|
||||
fi
|
||||
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}
|
||||
cd ../allexamples/examples
|
||||
rm -rf *csharp*
|
||||
fdupes -r * | while read dupe; do
|
||||
if [ -z "$dupe" ]; then
|
||||
startlink=
|
||||
elif [ -z "$startlink" ]; then
|
||||
startlink="$dupe"
|
||||
else
|
||||
echo "ln -f '$startlink' '$dupe'" >>../../gettext-linkdupes.sh
|
||||
fi
|
||||
done
|
||||
diff %{SOURCE3} . || {
|
||||
cat <<END
|
||||
######################################################
|
||||
######################################################
|
||||
## Updated gettext-linkdupes.sh in $PWD ##
|
||||
######################################################
|
||||
######################################################
|
||||
END
|
||||
}
|
||||
ls -l $RPM_BUILD_ROOT/%_datadir
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_defaultdocdir}/%{name}
|
||||
%exclude %_prefix/bin
|
||||
%exclude %_libdir/lib*
|
||||
%exclude %_libdir/gettext/hostname
|
||||
%exclude %_libdir/gettext/project-id
|
||||
%exclude %_libdir/gettext/urlget
|
||||
%exclude %_libdir/gettext/user-email
|
||||
%_libdir/gettext/gnu.gettext.DumpResource
|
||||
%_libdir/gettext/gnu.gettext.GetURL
|
||||
|
||||
%changelog
|
||||
* Fri Nov 16 2007 - pth@suse.de
|
||||
- Don't run the testsuite.
|
||||
* Thu Nov 15 2007 - pth@suse.de
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
- Reorder installation flow because libgettextlib is needed for the
|
||||
gettext-tools stuf.
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
* Wed Oct 31 2007 - mrueckert@suse.de
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
* Mon Sep 03 2007 - pth@suse.de
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
* Fri Aug 10 2007 - bk@suse.de
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
* Thu Aug 09 2007 - bk@suse.de
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java documentation from gettext to this package
|
||||
- hardlink duplicate example files in documentation
|
||||
* Fri Apr 20 2007 - pth@suse.de
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
* Fri Mar 30 2007 - pth@suse.de
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- Sync .spec files
|
||||
* Tue Mar 20 2007 - rguenther@suse.de
|
||||
- Remove unused expat BuildRequires.
|
||||
* Wed Jan 31 2007 - pth@suse.de
|
||||
- Reference 0.16 .spec file
|
||||
- fix spec file
|
||||
* Tue Jan 16 2007 - pth@suse.de
|
||||
- Update to gettext 0.16
|
||||
* Mon Sep 18 2006 - rguenther@suse.de
|
||||
- New package to host gettext java tools GetURL and DumpResource.
|
85
gettext-linkdupes.sh
Normal file
85
gettext-linkdupes.sh
Normal file
@ -0,0 +1,85 @@
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c++/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c++-gnome/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c++-kde/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c++-qt/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c++-wxwidgets/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-c-gnome/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-clisp/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-gawk/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-guile/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-librep/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-objc/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-objc-gnome/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-objc-gnustep/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-pascal/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-perl/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-php/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-python/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-sh/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-smalltalk/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-tcl/po/LINGUAS'
|
||||
ln -f 'hello-ycp/po/LINGUAS' 'hello-tcl-tk/po/LINGUAS'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-clisp/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-gawk/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-guile/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-librep/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-pascal/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-perl/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-php/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-python/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-sh/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-smalltalk/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-tcl/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/m4/Makefile.am' 'hello-tcl-tk/m4/Makefile.am'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-clisp/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-gawk/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-guile/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-librep/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-pascal/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-perl/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-php/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-python/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-sh/autogen.sh'
|
||||
ln -f 'hello-ycp/autogen.sh' 'hello-smalltalk/autogen.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-clisp/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-gawk/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-guile/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-librep/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-pascal/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-perl/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-php/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-python/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-sh/autoclean.sh'
|
||||
ln -f 'hello-ycp/autoclean.sh' 'hello-smalltalk/autoclean.sh'
|
||||
ln -f 'hello-tcl-tk/po/Makefile.am' 'hello-tcl/po/Makefile.am'
|
||||
ln -f 'hello-tcl-tk/Makefile.am' 'hello-gawk/Makefile.am'
|
||||
ln -f 'hello-tcl-tk/Makefile.am' 'hello-guile/Makefile.am'
|
||||
ln -f 'hello-tcl-tk/Makefile.am' 'hello-php/Makefile.am'
|
||||
ln -f 'hello-tcl-tk/Makefile.am' 'hello-sh/Makefile.am'
|
||||
ln -f 'hello-tcl-tk/Makefile.am' 'hello-tcl/Makefile.am'
|
||||
ln -f 'hello-tcl-tk/autogen.sh' 'hello-tcl/autogen.sh'
|
||||
ln -f 'hello-tcl-tk/autoclean.sh' 'hello-tcl/autoclean.sh'
|
||||
ln -f 'hello-objc-gnome/po/POTFILES.in' 'hello-objc/po/POTFILES.in'
|
||||
ln -f 'hello-objc-gnome/po/Makevars' 'hello-c++-gnome/po/Makevars'
|
||||
ln -f 'hello-objc-gnome/po/Makevars' 'hello-c-gnome/po/Makevars'
|
||||
ln -f 'hello-objc-gnome/m4/gnome-orbit-check.m4' 'hello-c++-gnome/m4/gnome-orbit-check.m4'
|
||||
ln -f 'hello-objc-gnome/m4/gnome-orbit-check.m4' 'hello-c-gnome/m4/gnome-orbit-check.m4'
|
||||
ln -f 'hello-objc-gnome/m4/gnome-gnorba-check.m4' 'hello-c++-gnome/m4/gnome-gnorba-check.m4'
|
||||
ln -f 'hello-objc-gnome/m4/gnome-gnorba-check.m4' 'hello-c-gnome/m4/gnome-gnorba-check.m4'
|
||||
ln -f 'hello-objc-gnome/m4/gnome.m4' 'hello-c++-gnome/m4/gnome.m4'
|
||||
ln -f 'hello-objc-gnome/m4/gnome.m4' 'hello-c-gnome/m4/gnome.m4'
|
||||
ln -f 'hello-objc-gnome/m4/Makefile.am' 'hello-c-gnome/m4/Makefile.am'
|
||||
ln -f 'hello-objc-gnome/autogen.sh' 'hello-c++-gnome/autogen.sh'
|
||||
ln -f 'hello-objc-gnome/autogen.sh' 'hello-c-gnome/autogen.sh'
|
||||
ln -f 'hello-objc-gnome/autoclean.sh' 'hello-c++-gnome/autoclean.sh'
|
||||
ln -f 'hello-objc-gnome/autoclean.sh' 'hello-c-gnome/autoclean.sh'
|
||||
ln -f 'hello-objc/po/Makevars' 'hello-c/po/Makevars'
|
||||
ln -f 'hello-objc/m4/Makefile.am' 'hello-c/m4/Makefile.am'
|
||||
ln -f 'hello-objc/m4/Makefile.am' 'hello-c++/m4/Makefile.am'
|
||||
ln -f 'hello-objc/m4/Makefile.am' 'hello-c++-kde/m4/Makefile.am'
|
||||
ln -f 'hello-objc/autogen.sh' 'hello-c/autogen.sh'
|
||||
ln -f 'hello-objc/autoclean.sh' 'hello-c/autoclean.sh'
|
||||
ln -f 'hello-objc/autoclean.sh' 'hello-c++/autoclean.sh'
|
||||
ln -f 'hello-c-gnome/po/POTFILES.in' 'hello-c/po/POTFILES.in'
|
||||
ln -f 'hello-c++-gnome/po/POTFILES.in' 'hello-c++/po/POTFILES.in'
|
20
gettext-needlessly_init_vars.patch
Normal file
20
gettext-needlessly_init_vars.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- gettext-tools/gnulib-lib/gl_array_list.c
|
||||
+++ gettext-tools/gnulib-lib/gl_array_list.c
|
||||
@@ -421,7 +421,7 @@
|
||||
result.count = list->count;
|
||||
result.p = list->elements + 0;
|
||||
result.q = list->elements + list->count;
|
||||
-#ifdef lint
|
||||
+#if defined(lint) || defined(gcc_is_lint)
|
||||
result.i = 0;
|
||||
result.j = 0;
|
||||
#endif
|
||||
@@ -442,7 +442,7 @@
|
||||
result.count = list->count;
|
||||
result.p = list->elements + start_index;
|
||||
result.q = list->elements + end_index;
|
||||
-#ifdef lint
|
||||
+#if defined(lint) || defined(gcc_is_lint)
|
||||
result.i = 0;
|
||||
result.j = 0;
|
||||
#endif
|
7
gettext-rpmlintrc
Normal file
7
gettext-rpmlintrc
Normal file
@ -0,0 +1,7 @@
|
||||
# This line is mandatory to access the configuration functions
|
||||
from Config import *
|
||||
|
||||
addFilter("gettext-tools.* postun-without-ldconfig")
|
||||
addFilter("gettext-tools.* postin-without-ldconfig")
|
||||
addFilter("gettext.* shlib-policy-missing-suffix")
|
||||
addFilter("gettext-tools.* devel-file-in-non-devel-package")
|
666
gettext-runtime.changes
Normal file
666
gettext-runtime.changes
Normal file
@ -0,0 +1,666 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 15 12:51:17 CET 2007 - pth@suse.de
|
||||
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 5 17:26:27 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Fix ordering of gettext.changes entries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 16:58:36 CET 2007 - mrueckert@suse.de
|
||||
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 13:51:10 CEST 2007 - pth@suse.de
|
||||
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 21:14:29 CEST 2007 - coolo@suse.de
|
||||
|
||||
- do not set the version to 0.16.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 19:40:37 CEST 2007 - bk@suse.de
|
||||
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 18:04:26 CEST 2007 - bk@suse.de
|
||||
|
||||
- apply the fixes from gettext-0.16.1, noticeable changes:
|
||||
* gettext.m4: changequote instead of pairs of brackets
|
||||
* add a few function protoypes and update polish translations
|
||||
- extract missing ycp comments (fix from upstream maintainer, #287150)
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java and csharp documentation to gettext-{java,csharp}
|
||||
- hardlink duplicate example files in documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 26 00:01:35 CEST 2007 - ro@suse.de
|
||||
|
||||
- added rpmlintrc for gettext-devel (examples executable)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 14:43:28 CEST 2007 - pth@suse.de
|
||||
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 15:18:31 CEST 2007 - pth@suse.de
|
||||
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- sync .spec files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 11:25:05 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- Add site-lisp directories to package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 17:54:36 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Remove unused expat BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 7 23:34:03 CET 2007 - rguenther@suse.de
|
||||
|
||||
- Add cvs Requires to gettext-devel as autopoint requires it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 17:09:35 CET 2007 - pth@suse.de
|
||||
|
||||
- Update to gettext 0.16
|
||||
|
||||
* Interoperability with automake-1.10.
|
||||
* msgmerge has a new option --previous that has the effect of saving the
|
||||
previous msgid of message when making them fuzzy.
|
||||
* msgcmp now ignores fuzzy and untranslated messages in the PO file.
|
||||
* gettextize, when invoked without --intl option, now installs only the .m4
|
||||
files that are needed.
|
||||
* gettextize no longer creates symbolic links by default; it makes file copies
|
||||
instead.
|
||||
|
||||
* Autoconf macros:
|
||||
- The gettext autoconf macros now require autoconf 2.52 or newer.
|
||||
- New autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR
|
||||
- A new autoconf macro AM_GNU_GETTEXT_NEED is added.
|
||||
|
||||
* The libgettextpo library no longer exports symbols that could clash with
|
||||
symbols of the application that uses it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 13:45:05 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Build java tools from a separate spec file gettext-java.
|
||||
- Remove gcc-java and gcc-objc build dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 16:58:56 CEST 2006 - rguenther@suse.de
|
||||
|
||||
- Remove build dependency on emacs.
|
||||
- Remove install dependency on libstdc++-devel for gettext-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 08:59:35 CEST 2006 - ke@suse.de
|
||||
|
||||
- Version 0.15:
|
||||
* Enhance PO file format. Messages constrained to a certain context
|
||||
are possible. The syntax is:
|
||||
msgctxt "context"
|
||||
msgid "original"
|
||||
msgstr "translation"
|
||||
The xgettext program can be told through the --keyword flag which
|
||||
function/macro argument has the role of a context. It also supports
|
||||
the GNOME glib convention to specify the context and original string
|
||||
in the same string literal: "context|original".
|
||||
The (non-public) include file gettext.h defines macros pgettext, dpgettext
|
||||
etc. that take a context argument.
|
||||
For more information, see the node "Contexts" in the manual.
|
||||
* msgfmt's format string checking is now stricter in the presence of plural
|
||||
forms.
|
||||
* Enhancements to msggrep, xgettext, msgmerge (much faster now!).
|
||||
* New program recode-sr-latin, that converts Serbian text from
|
||||
the Cyrillic script to the Latin script.
|
||||
* Programming languages support:
|
||||
- C++ with Boost:
|
||||
- Python: xgettext now recognizes the source encoding from a
|
||||
"coding:" comment among the first two lines. The default encoding
|
||||
is now ASCII, no longer ISO-8859-1.
|
||||
* libgettextpo library: Incompatible change with the error handler
|
||||
type passed to functions.
|
||||
- Remove strict aliasing patch which seems to be obsolete because of
|
||||
code changes.
|
||||
- Require expat, but still no-op?
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:17 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 13:51:53 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Fixed info installation scriptlets (#141183).
|
||||
- Use %doc, where appropriate.
|
||||
- Moved autosprintf.info to devel subpackage.
|
||||
- Move emacs-lisp files to main package.
|
||||
- Fixed devel splitting and requirements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 13:13:49 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Update to 0.14.5
|
||||
- Fix strict aliasing issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 14:28:46 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Move libgettextsrc-*.so and libgettextlib-*.so to main package as needed
|
||||
by msgfmt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 11:28:06 CEST 2005 - kukuk@suse.de
|
||||
|
||||
- Move msgfmt into main package for LSB support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 23:05:15 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Fix documentation packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 22:43:48 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Remove the stupid casts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 19:39:41 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Introduce incredibly gross hack to make sure (int) casts are
|
||||
changed to (long)
|
||||
- Update to gettext-0.14.3
|
||||
- Move many files to the -devel package, trying to conform with
|
||||
gettext authors recommendation of split runtime/tools [#66614]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 9 16:38:13 CET 2005 - mmj@suse.de
|
||||
|
||||
- Revise the tmp file race patch:
|
||||
- Make umask not so strict [#50437]
|
||||
- Use mktemp in more places
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 18:20:32 CET 2005 - schwab@suse.de
|
||||
|
||||
- Fix placement of po-mode-line-entry in mode-line-format for CVS Emacs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 25 11:01:34 CET 2004 - mmj@suse.de
|
||||
|
||||
- add fixes for tmp file races [#47724]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 00:28:00 CEST 2004 - ro@suse.de
|
||||
|
||||
- locale-rename: no -> nb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 19:28:30 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Add autoreconf -fi
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 2 17:37:54 CET 2004 - mmj@suse.de
|
||||
|
||||
- Update to 0.14.1 [#34491] including:
|
||||
- C#: xgettext now also supports C#.
|
||||
- Bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 10:30:31 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 21:45:35 CET 2004 - schwab@suse.de
|
||||
|
||||
- Fix makefiles.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 19 14:20:35 CET 2003 - pthomas@suse.de
|
||||
|
||||
- Update to 0.13
|
||||
- New languages support: shell, Perl, PHP ObjectiveC,
|
||||
the special format strings used in the gcc sources and
|
||||
C++ with Qt.
|
||||
- Complete examples for all supported programing languages
|
||||
added to the documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 9 10:09:00 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Don't build PDF docu
|
||||
- Remove lots of obsolete packages from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 12:30:58 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Update to 0.12.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 18:32:39 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Use install-info macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 13:56:08 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Update to 0.11.5
|
||||
From NEWS: Bug fixes in the gettext.m4 autoconf macros.
|
||||
|
||||
- Remove patches obsoleted by the update and adapt those
|
||||
still needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 22:27:59 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix filelist.
|
||||
- Install missing m4 macros.
|
||||
- Remove interaction in gettextize.
|
||||
- Fix unwanted expansion in AM_PO_SUBDIRS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 13:44:32 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Update to gettext 0.11.4
|
||||
|
||||
- The tools now know about the ISO C 99 <inttypes.h> format
|
||||
string directive macros PRId64, PRIxMAX etc.
|
||||
|
||||
- remove patches obsoleted by this new version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 11:57:21 CEST 2002 - ke@suse.de
|
||||
|
||||
- Remove texinfo.tex from source files and make use of texinfo.tex
|
||||
provided by the system.
|
||||
- Install gettext.pdf under $RPM_BUILD_ROOT.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 11:33:14 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Update to gettext 0.11.3.
|
||||
- Force checking for division by zero.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 9 16:34:37 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix autoload for po-mode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 16:13:38 CEST 2002 - meissner@suse.de
|
||||
|
||||
- mark msgfmt-6 as SKIP, division by 0 is not exactly well defined.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 14:47:28 CEST 2002 - ke@suse.de
|
||||
|
||||
- suse-start-po-mode.el: Load po-compat if "po-find-file-coding-system"
|
||||
doesn't come with stock Emacs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 16:07:32 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Update to 0.11.2.
|
||||
From NEWS:
|
||||
- Bug fixes in the gettext.m4 autoconf macros.
|
||||
- New documentation section: Preparing Translatable Strings.
|
||||
- xgettext now also supports Python, Tcl, Awk and Glade.
|
||||
- msgfmt can create (and msgunfmt can dump) Tcl message catalogs.
|
||||
- msggrep has a new option -C that allows to search for strings
|
||||
in translator comments.
|
||||
- Run gettext testsuite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 15:59:28 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Move suse-start-po-mode.el here from po-utils.
|
||||
- Remove ia64 workaround.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 18:14:53 CET 2002 - pthomas@suse.de
|
||||
|
||||
- Use %{_libdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 18 15:10:16 CET 2002 - pthomas@suse.de
|
||||
|
||||
- Update %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 13:25 CET 2002 - pthomas@suse.de
|
||||
|
||||
- Update to 0.11
|
||||
This is a major update with lots of new features and new tools.
|
||||
- Integrate a patch from Bruno Haible to make libtool regard
|
||||
DESTDIR when installing.
|
||||
- Don't use the included libintl but rather the one in libc.
|
||||
- Build dynamically linked binaries.
|
||||
- Added the current texinfo.tex as otherwise gettext.pdf won't build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 00:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 13:37:55 CET 2001 - kukuk@suse.de
|
||||
|
||||
- Include manual pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 30 20:32:21 CET 2001 - kukuk@suse.de
|
||||
|
||||
- Update to 0.10.40
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 18:10:09 CEST 2001 - ke@suse.de
|
||||
|
||||
- Update German translation from UMontreal Translation Project.
|
||||
- Make sure to compile and install 'po-mode'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 11 09:59:44 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Update to 0.10.37.
|
||||
Remove manual.diff as most of the fixes have been incorporated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 18:40:53 CEST 2001 - cstein@suse.de
|
||||
|
||||
- repacked sources with bzip2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 14:34:00 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Don't list directories shared with other packages in
|
||||
spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 05:59:00 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Update to 0.10.36
|
||||
- Drop msghack patch
|
||||
- Improve gettext manual ( hopefully :)
|
||||
- Now provides po-mode.el
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 08:56:17 CET 2001 - ke@suse.de
|
||||
|
||||
- Use more rpm macros.
|
||||
- Build and install a printable manual (PDF).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 19:20:48 CET 2001 - schwab@suse.de
|
||||
|
||||
- Compile with -O1 on ia64 to work around compiler bug.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 17:43:21 MEST 2000 - pthomas@suse.de
|
||||
|
||||
- add patch from Bruno Haible. This allows statically linking
|
||||
programs with libintl.a on glibc systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 14:05:05 MEST 2000 - pthomas@suse.de
|
||||
|
||||
- xgettext.c: format YCP automatically set for .ycp extension
|
||||
- gettext.spec: allow building on systems where gettext.m4 etc.
|
||||
are installed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 17:05:23 CEST 2000 - pthomas@suse.de
|
||||
|
||||
- add patches from Paul Eggert needed for NLS in gcc
|
||||
- add patch from Martin v. Loewis to allow searching
|
||||
inside of #define
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 10:16:17 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Fix Bug 2812
|
||||
- Add DESTDIR to intl/Makefile.in and po/Makefile.in.in
|
||||
- Use BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 1 21:05:29 CEST 2000 - ke@suse.de
|
||||
|
||||
- Add msghack from RH's package: gettext-0.10.35-hacks.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 17:29:43 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Fix configure call (add %{_target_cpu} macro)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 10:51:38 EDT 2000 - bk@suse.de
|
||||
|
||||
- replace config.{guess,sub} against config update macro for s390
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 17:35:26 CET 2000 - schwab@suse.de
|
||||
|
||||
- Update config.{guess,sub} to latest version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 28 16:55:57 CET 2000 - schwab@suse.de
|
||||
|
||||
- Do not even try to install po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 18:43:18 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Fix permissions of locale dirs.
|
||||
- Move /usr/info -> /usr/share/info.
|
||||
- Remove po-mode, now in extra package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 12:02:54 CET 1999 - schwab@suse.de
|
||||
|
||||
- Remove libintl.a from file list, everything is in libc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 10:56:10 CET 1999 - schwab@suse.de
|
||||
|
||||
- Add format checking for YCP strings.
|
||||
- Don't declare getline and getdelim.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 13 14:46:46 MET 1999 - kukuk@suse.de
|
||||
|
||||
- Clean up spec file and old, obsolete patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 11:51:03 CEST 1999 - aj@suse.de
|
||||
|
||||
- Handle \v.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 12 10:32:52 MEST 1999 - kettner@suse.de
|
||||
|
||||
- patched for use with YaST2 YCP scripts, new option
|
||||
--language=YCP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 9 14:46:38 CEST 1999 - ro@suse.de
|
||||
|
||||
- fixed to build on any arch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 15 17:16:03 MEST 1999 - ke@suse.de
|
||||
|
||||
- update po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 18:52:25 MET 1999 - kukuk@suse.de
|
||||
|
||||
- don't link against libintl.a on glibc systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 14 14:39:32 MET 1999 - ke@suse.de
|
||||
|
||||
- update po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 17:51:27 MET 1999 - ro@suse.de
|
||||
|
||||
- respect alpha in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 17:49:02 MET 1999 - ro@suse.de
|
||||
|
||||
- don't redeclare getline
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 16:02:41 MET 1998 - florian@suse.de
|
||||
|
||||
- update to gettext 0.10.35
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 14:00:49 MET 1998 - bs@suse.de
|
||||
|
||||
- added locale.alias to file list for libc5 systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 15:31:55 MET 1998 - bs@suse.de
|
||||
|
||||
- skipped /usr/share/locale/locale.alias from file list (is in localedb)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 13:49:40 MEST 1998 - ro@suse.de
|
||||
|
||||
- switch detection of GLIBC to automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 11:57:46 MEST 1998 - bs@suse.de
|
||||
|
||||
- added export LC_CTYPE to build an install section in spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 09:32:43 MEST 1998 - ke@suse.de
|
||||
|
||||
- new po-mode.el from
|
||||
http://www.iro.umontreal.ca/contrib/po/po-mode/po-mode.el
|
||||
- and install po-mode.el.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 19:36:31 MEST 1998 - ro@suse.de
|
||||
|
||||
- dirty hack should at least work now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 10:04:32 MEST 1998 - bs@suse.de
|
||||
|
||||
- don't include libintl.h if glibc is used.
|
||||
did it with a dirty hack. Will be done better in a while.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 19:31:18 MET 1998 - ro@suse.de
|
||||
|
||||
- added some documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 10:28:07 MET 1998 - florian@suse.de
|
||||
|
||||
- add missing m4 macro files in /usr/share/aclocal
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 12:48:23 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.10.32
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.10.26
|
615
gettext-runtime.spec
Normal file
615
gettext-runtime.spec
Normal file
@ -0,0 +1,615 @@
|
||||
#
|
||||
# spec file for package gettext-runtime (Version 0.17)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: gettext-runtime
|
||||
%define pacname gettext
|
||||
BuildRequires: gcc-c++ perl-libintl-perl tcl
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
License: GPL v3 or later; LGPL v2.0 or later
|
||||
Group: Development/Tools/Other
|
||||
Provides: gettext < 0.17
|
||||
Obsoletes: gettext < 0.17
|
||||
Version: 0.17
|
||||
Release: 1
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: %pacname-%version.tar.bz2
|
||||
Source1: gettext-rpmlintrc
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch3: gettext-codecleanup.patch
|
||||
Patch4: po-mode.diff
|
||||
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-disable_test.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
creation and maintenance of message catalogs. It allows you to extract
|
||||
strings from source code. The supplied Emacs mode (po-mode.el) helps
|
||||
editing these catalogs (called PO files, for portable object) and
|
||||
adding translations. A special compiler turns these PO files into
|
||||
binary catalogs.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ulrich Drepper <drepper@cygnus.com>
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
|
||||
%package -n gettext-tools
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
Group: Development/Tools/Other
|
||||
Requires: %{name} = %{version} cvs
|
||||
Provides: gettext-devel < 0.17
|
||||
Obsoletes: gettext-devel < 0.17
|
||||
|
||||
%description -n gettext-tools
|
||||
This package contains the `intl' library as well as tools that ease the
|
||||
creation and maintenance of message catalogs. With it you can extract
|
||||
strings from source code. The supplied Emacs mode (po-mode.el) will aid
|
||||
in editing these catalogs (called PO files, for portable object) and
|
||||
add translations. A special compiler will turn these PO files into
|
||||
binary catalogs.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ulrich Drepper <drepper@cygnus.com>
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pacname}-%{version}
|
||||
%patch
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
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
|
||||
|
||||
%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 CXXFLAGS="$CFLAGS -Dgcc_is_lint"
|
||||
%configure --enable-shared
|
||||
make GMSGFMT=../src/msgfmt
|
||||
# use texinfo.tex supplied by the system (texinfo)
|
||||
# make -C gettext-tools/doc gettext.pdf
|
||||
|
||||
%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
|
||||
fi
|
||||
# fix rpmlint invalid-lc-messages-dir:
|
||||
rm -rf $RPM_BUILD_ROOT/%_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 %_datadir/%name/gettext.jar
|
||||
#find $RPM_BUILD_ROOT -maxdepth 2 -name '*html' | xargs rm -f
|
||||
# hardlink the dupes in the documentation:
|
||||
cd $RPM_BUILD_ROOT/%{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
|
||||
|
||||
%check
|
||||
# s390s fails this test,
|
||||
# Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
|
||||
%if %{?__debug_package:1}0
|
||||
make check || {
|
||||
%ifarch s390x
|
||||
echo "got this during mbuild testing on s390x (on both times which make check ran):"
|
||||
echo "Starting test_recursive_lock ...test-lock: pthread_mutex_lock.c:66: __pthread_mutex_lock: Assertion mutex->__data.__owner == 0 failed."
|
||||
echo "s390x needs kernel/glibc/gcc fix, but let it continue bootstrap for now!"
|
||||
%else
|
||||
echo "make check failed, check it!"
|
||||
exit 5
|
||||
%endif
|
||||
}
|
||||
%endif
|
||||
cd $RPM_BUILD_ROOT/%{_mandir}/man3
|
||||
ln -f dngettext.3.gz dcngettext.3.gz
|
||||
ln -f dgettext.3.gz dcgettext.3.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%post -n gettext-tools
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/gettext.info.gz
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/autosprintf.info.gz
|
||||
|
||||
%postun -n gettext-tools
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gettext.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autosprintf.info.gz
|
||||
|
||||
%files -f gettext-runtime.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %_prefix/share/gettext
|
||||
%doc %dir %_defaultdocdir/%name
|
||||
%doc %_defaultdocdir/%name/gettext.1.html
|
||||
%doc %_defaultdocdir/%name/ngettext.1.html
|
||||
%doc %_defaultdocdir/%name/envsubst.1.html
|
||||
%doc %_defaultdocdir/%name/*.3.html
|
||||
%doc %_defaultdocdir/%name/AUTHORS
|
||||
%doc %_defaultdocdir/%name/COPYING
|
||||
%doc %_defaultdocdir/%name/NEWS
|
||||
%doc %_defaultdocdir/%name/README
|
||||
%doc %_defaultdocdir/%name/FAQ.html
|
||||
%_bindir/gettext
|
||||
%_bindir/ngettext
|
||||
%_bindir/envsubst
|
||||
%_bindir/gettext.sh
|
||||
%_bindir/msgfmt
|
||||
%_libdir/libgettextlib-*.so
|
||||
%_libdir/libgettextsrc-*.so
|
||||
%_libdir/libasprintf.so.*
|
||||
%doc %_mandir/man1/gettext.1.gz
|
||||
%doc %_mandir/man1/ngettext.1.gz
|
||||
%doc %_mandir/man1/envsubst.1.gz
|
||||
%doc %_mandir/man1/msgfmt.1.gz
|
||||
%doc %_mandir/man3/*
|
||||
%_datadir/gettext/ABOUT-NLS
|
||||
%dir %_prefix/share/emacs
|
||||
%dir %_prefix/share/emacs/site-lisp
|
||||
%_prefix/share/emacs/site-lisp/po-compat.*
|
||||
%_prefix/share/emacs/site-lisp/po-mode.*
|
||||
%_prefix/share/emacs/site-lisp/start-po.*
|
||||
%_prefix/share/emacs/site-lisp/suse-start-po-mode.el
|
||||
|
||||
%files -n gettext-tools -f gettext-tools.lang
|
||||
%defattr(-,root,root)
|
||||
%doc %_defaultdocdir/%name/examples
|
||||
%doc %_defaultdocdir/%name/auto*.html
|
||||
%doc %_defaultdocdir/%name/gettext_*.html
|
||||
%doc %_defaultdocdir/%name/gettextize*.html
|
||||
%doc %_defaultdocdir/%name/msg*.html
|
||||
%doc %_defaultdocdir/%name/tutorial*.html
|
||||
%doc %_defaultdocdir/%name/xgettext*.html
|
||||
%doc %_defaultdocdir/%name/recode-sr-latin.1.html
|
||||
%_bindir/msg[a-eg-u]*
|
||||
%_bindir/msgfilter
|
||||
%_bindir/xgettext
|
||||
%_bindir/gettextize
|
||||
%_bindir/autopoint
|
||||
%_bindir/recode-sr-latin
|
||||
%doc %_mandir/man1/msg[a-eg-u]*.1.gz
|
||||
%doc %_mandir/man1/msgfilter.1.gz
|
||||
%doc %_mandir/man1/xgettext.1.gz
|
||||
%doc %_mandir/man1/gettextize.1.gz
|
||||
%doc %_mandir/man1/autopoint.1.gz
|
||||
%doc %_mandir/man1/recode-sr-latin.1.gz
|
||||
%doc %_infodir/gettext.info*
|
||||
%doc %_infodir/autosprintf.info*
|
||||
%_includedir/gettext-po.h
|
||||
%_includedir/autosprintf.h
|
||||
%_libdir/libasprintf.*a
|
||||
%_libdir/libasprintf.so
|
||||
%_libdir/libgettextlib.*
|
||||
%_libdir/libgettextsrc.*
|
||||
%_libdir/libgettextpo*
|
||||
%_libdir/preloadable_libintl.so
|
||||
%_libdir/gettext
|
||||
%_datadir/%pacname/config.rpath
|
||||
%_datadir/%pacname/intl
|
||||
%_datadir/%pacname/po
|
||||
%_datadir/%pacname/projects
|
||||
%_datadir/%pacname/gettext.h
|
||||
%_datadir/%pacname/msgunfmt.tcl
|
||||
%_datadir/%pacname/javaversion.class
|
||||
%_datadir/%pacname/archive.tar.gz
|
||||
%_datadir/%pacname/styles
|
||||
%_datadir/aclocal/*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 15 2007 - pth@suse.de
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
* Mon Nov 05 2007 - rguenther@suse.de
|
||||
- Fix ordering of gettext.changes entries.
|
||||
* Wed Oct 31 2007 - mrueckert@suse.de
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
* Mon Sep 03 2007 - pth@suse.de
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
* Wed Aug 15 2007 - coolo@suse.de
|
||||
- do not set the version to 0.16.1
|
||||
* Fri Aug 10 2007 - bk@suse.de
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
* Thu Aug 09 2007 - bk@suse.de
|
||||
- apply the fixes from gettext-0.16.1, noticeable changes:
|
||||
* gettext.m4: changequote instead of pairs of brackets
|
||||
* add a few function protoypes and update polish translations
|
||||
- extract missing ycp comments (fix from upstream maintainer, #287150)
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java and csharp documentation to gettext-{java,csharp}
|
||||
- hardlink duplicate example files in documentation
|
||||
* Sat May 26 2007 - ro@suse.de
|
||||
- added rpmlintrc for gettext-devel (examples executable)
|
||||
* Fri Apr 20 2007 - pth@suse.de
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
* Fri Mar 30 2007 - pth@suse.de
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- sync .spec files
|
||||
* Thu Mar 29 2007 - rguenther@suse.de
|
||||
- Add site-lisp directories to package.
|
||||
* Tue Mar 20 2007 - rguenther@suse.de
|
||||
- Remove unused expat BuildRequires.
|
||||
* Wed Mar 07 2007 - rguenther@suse.de
|
||||
- Add cvs Requires to gettext-devel as autopoint requires it.
|
||||
* Tue Jan 16 2007 - pth@suse.de
|
||||
- Update to gettext 0.16
|
||||
* Interoperability with automake-1.10.
|
||||
* msgmerge has a new option --previous that has the effect of saving the
|
||||
previous msgid of message when making them fuzzy.
|
||||
* msgcmp now ignores fuzzy and untranslated messages in the PO file.
|
||||
* gettextize, when invoked without --intl option, now installs only the .m4
|
||||
files that are needed.
|
||||
* gettextize no longer creates symbolic links by default; it makes file copies
|
||||
instead.
|
||||
* Autoconf macros:
|
||||
- The gettext autoconf macros now require autoconf 2.52 or newer.
|
||||
- New autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR
|
||||
- A new autoconf macro AM_GNU_GETTEXT_NEED is added.
|
||||
* The libgettextpo library no longer exports symbols that could clash with
|
||||
symbols of the application that uses it.
|
||||
* Mon Sep 18 2006 - rguenther@suse.de
|
||||
- Build java tools from a separate spec file gettext-java.
|
||||
- Remove gcc-java and gcc-objc build dependencies.
|
||||
* Tue Sep 05 2006 - rguenther@suse.de
|
||||
- Remove build dependency on emacs.
|
||||
- Remove install dependency on libstdc++-devel for gettext-devel.
|
||||
* Wed Jul 26 2006 - ke@suse.de
|
||||
- Version 0.15:
|
||||
* Enhance PO file format. Messages constrained to a certain context
|
||||
are possible. The syntax is:
|
||||
msgctxt "context"
|
||||
msgid "original"
|
||||
msgstr "translation"
|
||||
The xgettext program can be told through the --keyword flag which
|
||||
function/macro argument has the role of a context. It also supports
|
||||
the GNOME glib convention to specify the context and original string
|
||||
in the same string literal: "context|original".
|
||||
The (non-public) include file gettext.h defines macros pgettext, dpgettext
|
||||
etc. that take a context argument.
|
||||
For more information, see the node "Contexts" in the manual.
|
||||
* msgfmt's format string checking is now stricter in the presence of plural
|
||||
forms.
|
||||
* Enhancements to msggrep, xgettext, msgmerge (much faster now!).
|
||||
* New program recode-sr-latin, that converts Serbian text from
|
||||
the Cyrillic script to the Latin script.
|
||||
* Programming languages support:
|
||||
- C++ with Boost:
|
||||
- Python: xgettext now recognizes the source encoding from a
|
||||
"coding:" comment among the first two lines. The default encoding
|
||||
is now ASCII, no longer ISO-8859-1.
|
||||
* libgettextpo library: Incompatible change with the error handler
|
||||
type passed to functions.
|
||||
- Remove strict aliasing patch which seems to be obsolete because of
|
||||
code changes.
|
||||
- Require expat, but still no-op?
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue Jan 03 2006 - sbrabec@suse.cz
|
||||
- Fixed info installation scriptlets (#141183).
|
||||
- Use %%doc, where appropriate.
|
||||
- Moved autosprintf.info to devel subpackage.
|
||||
- Move emacs-lisp files to main package.
|
||||
- Fixed devel splitting and requirements.
|
||||
* Mon Sep 19 2005 - mmj@suse.de
|
||||
- Update to 0.14.5
|
||||
- Fix strict aliasing issues
|
||||
* Sat Apr 16 2005 - schwab@suse.de
|
||||
- Move libgettextsrc-*.so and libgettextlib-*.so to main package as needed
|
||||
by msgfmt.
|
||||
* Thu Apr 14 2005 - kukuk@suse.de
|
||||
- Move msgfmt into main package for LSB support
|
||||
* Tue Apr 05 2005 - mmj@suse.de
|
||||
- Fix documentation packaging
|
||||
* Mon Apr 04 2005 - schwab@suse.de
|
||||
- Remove the stupid casts.
|
||||
* Mon Apr 04 2005 - mmj@suse.de
|
||||
- Introduce incredibly gross hack to make sure (int) casts are
|
||||
changed to (long)
|
||||
- Update to gettext-0.14.3
|
||||
- Move many files to the -devel package, trying to conform with
|
||||
gettext authors recommendation of split runtime/tools [#66614]
|
||||
* Wed Feb 09 2005 - mmj@suse.de
|
||||
- Revise the tmp file race patch:
|
||||
- Make umask not so strict [#50437]
|
||||
- Use mktemp in more places
|
||||
* Tue Jan 11 2005 - schwab@suse.de
|
||||
- Fix placement of po-mode-line-entry in mode-line-format for CVS Emacs.
|
||||
* Thu Nov 25 2004 - mmj@suse.de
|
||||
- add fixes for tmp file races [#47724]
|
||||
* Tue Oct 19 2004 - ro@suse.de
|
||||
- locale-rename: no -> nb
|
||||
* Tue Apr 20 2004 - mmj@suse.de
|
||||
- Add autoreconf -fi
|
||||
* Tue Mar 02 2004 - mmj@suse.de
|
||||
- Update to 0.14.1 [#34491] including:
|
||||
- C#: xgettext now also supports C#.
|
||||
- Bugfixes
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- add %%run_ldconfig
|
||||
* Fri Jan 09 2004 - schwab@suse.de
|
||||
- Fix makefiles.
|
||||
* Fri Dec 19 2003 - pthomas@suse.de
|
||||
- Update to 0.13
|
||||
- New languages support: shell, Perl, PHP ObjectiveC,
|
||||
the special format strings used in the gcc sources and
|
||||
C++ with Qt.
|
||||
- Complete examples for all supported programing languages
|
||||
added to the documentation.
|
||||
* Tue Dec 09 2003 - kukuk@suse.de
|
||||
- Don't build PDF docu
|
||||
- Remove lots of obsolete packages from neededforbuild
|
||||
* Tue Jun 17 2003 - pthomas@suse.de
|
||||
- Update to 0.12.1
|
||||
* Thu Apr 24 2003 - ro@suse.de
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
* Thu Feb 06 2003 - kukuk@suse.de
|
||||
- Use install-info macros
|
||||
* Thu Aug 08 2002 - pthomas@suse.de
|
||||
- Update to 0.11.5
|
||||
From NEWS: Bug fixes in the gettext.m4 autoconf macros.
|
||||
- Remove patches obsoleted by the update and adapt those
|
||||
still needed.
|
||||
* Fri Jul 26 2002 - schwab@suse.de
|
||||
- Fix filelist.
|
||||
- Install missing m4 macros.
|
||||
- Remove interaction in gettextize.
|
||||
- Fix unwanted expansion in AM_PO_SUBDIRS.
|
||||
* Fri Jul 26 2002 - pthomas@suse.de
|
||||
- Update to gettext 0.11.4
|
||||
- The tools now know about the ISO C 99 <inttypes.h> format
|
||||
string directive macros PRId64, PRIxMAX etc.
|
||||
- remove patches obsoleted by this new version
|
||||
* Wed Jul 24 2002 - ke@suse.de
|
||||
- Remove texinfo.tex from source files and make use of texinfo.tex
|
||||
provided by the system.
|
||||
- Install gettext.pdf under $RPM_BUILD_ROOT.
|
||||
* Tue Jul 23 2002 - schwab@suse.de
|
||||
- Update to gettext 0.11.3.
|
||||
- Force checking for division by zero.
|
||||
* Tue Jul 09 2002 - schwab@suse.de
|
||||
- Fix autoload for po-mode.
|
||||
* Thu Jun 13 2002 - meissner@suse.de
|
||||
- mark msgfmt-6 as SKIP, division by 0 is not exactly well defined.
|
||||
* Tue May 21 2002 - ke@suse.de
|
||||
- suse-start-po-mode.el: Load po-compat if "po-find-file-coding-system"
|
||||
doesn't come with stock Emacs.
|
||||
* Thu Apr 25 2002 - pthomas@suse.de
|
||||
- Update to 0.11.2.
|
||||
From NEWS:
|
||||
- Bug fixes in the gettext.m4 autoconf macros.
|
||||
- New documentation section: Preparing Translatable Strings.
|
||||
- xgettext now also supports Python, Tcl, Awk and Glade.
|
||||
- msgfmt can create (and msgunfmt can dump) Tcl message catalogs.
|
||||
- msggrep has a new option -C that allows to search for strings
|
||||
in translator comments.
|
||||
- Run gettext testsuite.
|
||||
* Wed Apr 03 2002 - schwab@suse.de
|
||||
- Move suse-start-po-mode.el here from po-utils.
|
||||
- Remove ia64 workaround.
|
||||
* Thu Mar 28 2002 - pthomas@suse.de
|
||||
- Use %%{_libdir}
|
||||
* Mon Feb 18 2002 - pthomas@suse.de
|
||||
- Update %%files.
|
||||
* Mon Feb 04 2002 - pthomas@suse.de
|
||||
- Update to 0.11
|
||||
This is a major update with lots of new features and new tools.
|
||||
- Integrate a patch from Bruno Haible to make libtool regard
|
||||
DESTDIR when installing.
|
||||
- Don't use the included libintl but rather the one in libc.
|
||||
- Build dynamically linked binaries.
|
||||
- Added the current texinfo.tex as otherwise gettext.pdf won't build.
|
||||
* Fri Feb 01 2002 - ro@suse.de
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
* Wed Oct 31 2001 - kukuk@suse.de
|
||||
- Include manual pages
|
||||
* Tue Oct 30 2001 - kukuk@suse.de
|
||||
- Update to 0.10.40
|
||||
* Mon Aug 27 2001 - ke@suse.de
|
||||
- Update German translation from UMontreal Translation Project.
|
||||
- Make sure to compile and install 'po-mode'.
|
||||
* Fri May 11 2001 - pthomas@suse.de
|
||||
- Update to 0.10.37.
|
||||
Remove manual.diff as most of the fixes have been incorporated.
|
||||
* Wed May 09 2001 - cstein@suse.de
|
||||
- repacked sources with bzip2
|
||||
* Thu Apr 12 2001 - pthomas@suse.de
|
||||
- Don't list directories shared with other packages in
|
||||
spec file.
|
||||
* Mon Apr 09 2001 - pthomas@suse.de
|
||||
- Update to 0.10.36
|
||||
- Drop msghack patch
|
||||
- Improve gettext manual ( hopefully :)
|
||||
- Now provides po-mode.el
|
||||
* Thu Mar 08 2001 - ke@suse.de
|
||||
- Use more rpm macros.
|
||||
- Build and install a printable manual (PDF).
|
||||
* Fri Mar 02 2001 - schwab@suse.de
|
||||
- Compile with -O1 on ia64 to work around compiler bug.
|
||||
* Tue Sep 19 2000 - pthomas@suse.de
|
||||
- add patch from Bruno Haible. This allows statically linking
|
||||
programs with libintl.a on glibc systems.
|
||||
* Tue Jun 20 2000 - pthomas@suse.de
|
||||
- xgettext.c: format YCP automatically set for .ycp extension
|
||||
- gettext.spec: allow building on systems where gettext.m4 etc.
|
||||
are installed.
|
||||
* Thu Jun 15 2000 - pthomas@suse.de
|
||||
- add patches from Paul Eggert needed for NLS in gcc
|
||||
- add patch from Martin v. Loewis to allow searching
|
||||
inside of #define
|
||||
* Fri May 05 2000 - kukuk@suse.de
|
||||
- Fix Bug 2812
|
||||
- Add DESTDIR to intl/Makefile.in and po/Makefile.in.in
|
||||
- Use BuildRoot
|
||||
* Mon May 01 2000 - ke@suse.de
|
||||
- Add msghack from RH's package: gettext-0.10.35-hacks.patch
|
||||
* Wed Apr 26 2000 - kukuk@suse.de
|
||||
- Fix configure call (add %%{_target_cpu} macro)
|
||||
* Thu Apr 06 2000 - bk@suse.de
|
||||
- replace config.{guess,sub} against config update macro for s390
|
||||
* Thu Feb 03 2000 - schwab@suse.de
|
||||
- Update config.{guess,sub} to latest version.
|
||||
* Fri Jan 28 2000 - schwab@suse.de
|
||||
- Do not even try to install po-mode.el.
|
||||
* Tue Jan 25 2000 - kukuk@suse.de
|
||||
- Fix permissions of locale dirs.
|
||||
- Move /usr/info -> /usr/share/info.
|
||||
- Remove po-mode, now in extra package.
|
||||
* Mon Dec 13 1999 - schwab@suse.de
|
||||
- Remove libintl.a from file list, everything is in libc.
|
||||
* Tue Nov 30 1999 - schwab@suse.de
|
||||
- Add format checking for YCP strings.
|
||||
- Don't declare getline and getdelim.
|
||||
* Sat Nov 13 1999 - kukuk@suse.de
|
||||
- Clean up spec file and old, obsolete patches
|
||||
* Fri Oct 15 1999 - aj@suse.de
|
||||
- Handle \v.
|
||||
* Tue Oct 12 1999 - kettner@suse.de
|
||||
- patched for use with YaST2 YCP scripts, new option
|
||||
--language=YCP
|
||||
* Sat Oct 09 1999 - ro@suse.de
|
||||
- fixed to build on any arch
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Sun Aug 15 1999 - ke@suse.de
|
||||
- update po-mode.el.
|
||||
* Thu Mar 11 1999 - kukuk@suse.de
|
||||
- don't link against libintl.a on glibc systems
|
||||
* Sun Feb 14 1999 - ke@suse.de
|
||||
- update po-mode.el.
|
||||
* Thu Jan 07 1999 - ro@suse.de
|
||||
- respect alpha in specfile
|
||||
* Thu Jan 07 1999 - ro@suse.de
|
||||
- don't redeclare getline
|
||||
* Mon Dec 07 1998 - florian@suse.de
|
||||
- update to gettext 0.10.35
|
||||
* Mon Dec 07 1998 - bs@suse.de
|
||||
- added locale.alias to file list for libc5 systems.
|
||||
* Thu Nov 26 1998 - bs@suse.de
|
||||
- skipped /usr/share/locale/locale.alias from file list (is in localedb)
|
||||
* Fri Sep 11 1998 - ro@suse.de
|
||||
- switch detection of GLIBC to automake
|
||||
* Thu Aug 13 1998 - bs@suse.de
|
||||
- added export LC_CTYPE to build an install section in spec file.
|
||||
* Wed Aug 12 1998 - ke@suse.de
|
||||
- new po-mode.el from
|
||||
http://www.iro.umontreal.ca/contrib/po/po-mode/po-mode.el
|
||||
- and install po-mode.el.
|
||||
* Fri Jun 19 1998 - ro@suse.de
|
||||
- dirty hack should at least work now
|
||||
* Fri Jun 19 1998 - bs@suse.de
|
||||
- don't include libintl.h if glibc is used.
|
||||
did it with a dirty hack. Will be done better in a while.
|
||||
* Mon Mar 09 1998 - ro@suse.de
|
||||
- added some documentation
|
||||
* Thu Feb 05 1998 - florian@suse.de
|
||||
- add missing m4 macro files in /usr/share/aclocal
|
||||
* Fri Oct 10 1997 - florian@suse.de
|
||||
- update to version 0.10.32
|
||||
* Wed Jan 22 1997 - florian@suse.de
|
||||
- update to version 0.10.26
|
10
po-mode.diff
Normal file
10
po-mode.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- gettext-tools/misc/po-mode.el
|
||||
+++ gettext-tools/misc/po-mode.el
|
||||
@@ -1110,6 +1110,7 @@
|
||||
;; mode-line-format usually contains global-mode-string, but some
|
||||
;; people customize this variable. As a last resort, append at the end.
|
||||
(let ((prev-entry (or (member 'global-mode-string mode-line-format)
|
||||
+ (member 'mode-line-position mode-line-format)
|
||||
(member " " mode-line-format)
|
||||
(last mode-line-format))))
|
||||
(setcdr prev-entry (cons po-mode-line-entry (cdr prev-entry)))))
|
23
suse-start-po-mode.el
Normal file
23
suse-start-po-mode.el
Normal file
@ -0,0 +1,23 @@
|
||||
;; /usr/share/emacs/site-lisp/suse-start-po-mode.el
|
||||
|
||||
(autoload 'po-mode "po-mode"
|
||||
"Major mode for translators when they edit PO files.
|
||||
|
||||
Special commands:
|
||||
\\{po-mode-map}
|
||||
Turning on PO mode calls the value of the variable 'po-mode-hook',
|
||||
if that value is non-nil. Behaviour may be adjusted through some variables,
|
||||
all reachable through 'M-x customize', in group 'Emacs.Editing.I18n.Po'." t)
|
||||
(setq auto-mode-alist (cons '("\\.po[tx]?\\'" . po-mode)
|
||||
auto-mode-alist))
|
||||
|
||||
;; To automatically use proper fonts under Emacs 20, also add:
|
||||
|
||||
(unless (fboundp 'po-find-file-coding-system)
|
||||
(autoload 'po-find-file-coding-system "po-compat" "\
|
||||
Return a Mule (DECODING . ENCODING) pair, according to PO file charset.
|
||||
Called through file-coding-system-alist, before the file is visited for real."))
|
||||
(modify-coding-system-alist 'file "\\.po[tx]?\\'"
|
||||
'po-find-file-coding-system)
|
||||
|
||||
;; /usr/share/emacs/site-lisp/suse-start-po-mode.el ends here
|
Loading…
Reference in New Issue
Block a user