Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/base
In directory
fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4828/unstable/main/finkinfo/base
Added Files:
gettext-tools-0.17.info gettext-tools-0.17.patch
Log Message:
phear
--- NEW FILE: gettext-tools-0.17.patch ---
diff -uNr gettext-0.17/gettext-runtime/gnulib-lib/setenv.c
gettext-0.17-new/gettext-runtime/gnulib-lib/setenv.c
--- gettext-0.17/gettext-runtime/gnulib-lib/setenv.c 2007-10-07
16:28:16.000000000 -0400
+++ gettext-0.17-new/gettext-runtime/gnulib-lib/setenv.c 2007-12-06
16:31:05.000000000 -0500
@@ -37,9 +37,14 @@
#endif
#if !_LIBC
-# define __environ environ
-# ifndef HAVE_ENVIRON_DECL
-extern char **environ;
+# define __environ environ
+# if ! HAVE_ENVIRON_DECL
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
# endif
#endif
diff -uNr gettext-0.17/gettext-runtime/libasprintf/Makefile.in
gettext-0.17-new/gettext-runtime/libasprintf/Makefile.in
--- gettext-0.17/gettext-runtime/libasprintf/Makefile.in 2007-11-06
18:35:22.000000000 -0500
+++ gettext-0.17-new/gettext-runtime/libasprintf/Makefile.in 2007-12-06
16:31:05.000000000 -0500
@@ -290,7 +290,7 @@
# How to build libasprintf.
# With libtool 1.5.14, on some platforms, like BeOS, "libtool --tag=CXX" fails
# to create a shared library, however "libtool --tag=CC" succeeds.
-libasprintf_la_LDFLAGS = @LTNOUNDEF@
+libasprintf_la_LDFLAGS = @LTNOUNDEF@ -static
MAKEINFOFLAGS = --no-split
info_TEXINFOS = autosprintf.texi
CLEANFILES = autosprintf.pdf
diff -uNr gettext-0.17/gettext-tools/doc/gettext.info
gettext-0.17-new/gettext-tools/doc/gettext.info
--- gettext-0.17/gettext-tools/doc/gettext.info 2007-11-01 22:23:13.000000000
-0400
+++ gettext-0.17-new/gettext-tools/doc/gettext.info 2007-12-06
16:30:28.000000000 -0500
@@ -1,7 +1,7 @@
-INFO-DIR-SECTION GNU Gettext Utilities
-START-INFO-DIR-ENTRY
This is gettext.info, produced by makeinfo version 4.11 from gettext.texi.
+INFO-DIR-SECTION GNU Gettext Utilities
+START-INFO-DIR-ENTRY
* gettext: (gettext). GNU gettext utilities.
* autopoint: (gettext)autopoint Invocation. Copy gettext infrastructure.
* envsubst: (gettext)envsubst Invocation. Expand environment variables.
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/execute.c
gettext-0.17-new/gettext-tools/gnulib-lib/execute.c
--- gettext-0.17/gettext-tools/gnulib-lib/execute.c 2007-10-07
16:29:19.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/execute.c 2007-12-06
16:31:05.000000000 -0500
@@ -55,7 +55,12 @@
#endif
#if ! HAVE_ENVIRON_DECL
-extern char **environ;
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
#endif
#ifndef STDIN_FILENO
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/pipe.c
gettext-0.17-new/gettext-tools/gnulib-lib/pipe.c
--- gettext-0.17/gettext-tools/gnulib-lib/pipe.c 2007-10-07
16:29:34.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/pipe.c 2007-12-06
16:31:05.000000000 -0500
@@ -54,7 +54,12 @@
#endif
#if ! HAVE_ENVIRON_DECL
-extern char **environ;
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
#endif
#ifndef STDIN_FILENO
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/setenv.c
gettext-0.17-new/gettext-tools/gnulib-lib/setenv.c
--- gettext-0.17/gettext-tools/gnulib-lib/setenv.c 2007-10-07
16:29:34.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/setenv.c 2007-12-06
16:31:05.000000000 -0500
@@ -38,8 +38,13 @@
#if !_LIBC
# define __environ environ
-# ifndef HAVE_ENVIRON_DECL
-extern char **environ;
+# if ! HAVE_ENVIRON_DECL
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
# endif
#endif
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/unsetenv.c
gettext-0.17-new/gettext-tools/gnulib-lib/unsetenv.c
--- gettext-0.17/gettext-tools/gnulib-lib/unsetenv.c 2007-10-07
16:29:39.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/unsetenv.c 2007-12-06
16:31:05.000000000 -0500
@@ -27,8 +27,13 @@
#if !_LIBC
# define __environ environ
-# ifndef HAVE_ENVIRON_DECL
-extern char **environ;
+# if ! HAVE_ENVIRON_DECL
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
# endif
#endif
--- NEW FILE: gettext-tools-0.17.info ---
Package: gettext-tools-0.17
Version: 0.17
Revision: 2
Source: mirror:gnu:gettext/gettext-%v.tar.gz
#Source: mirror:sourceforge:fink/gettext-%v.tar.gz
Source-MD5: 58a2bc6d39c0ba57823034d55d65d606
PatchFile: %n.patch
PatchFile-MD5: 42fbd9f488285f3b3917f153f1f780b3
PatchScript: <<
patch -p1 < %{PatchFile}
cd build-aux; perl -pi -e 's/.*chmod.*777.*$//g' ltmain.sh
<<
Depends: libgettextpo2-shlibs (>= %v-%r), expat1-shlibs, libgettext3-shlibs (>=
0.14.5-1)
Suggests: gettext-doc
BuildDepends: libiconv-dev, fink (>= 0.28.0), expat1, libgettext3-dev (>=
0.14.5-1)
BuildConflicts: ccache-default, distcc-default
Replaces: gettext-dev (<= 0.10.40-20), gettext (<= 0.10.40-4), gettext-bin (<=
0.10.40-20), libgettext3-shlibs (<< 0.14.5-1), libgettextpo2-shlibs (<<
0.14.5-2), gettext-tools
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --infodir='${prefix}/share/info'
--mandir='${prefix}/share/man' --with-included-gettext --disable-csharp
--disable-rpath
CompileScript: cd gettext-tools; env EMACS=no ./configure %c ; make
InstallScript: <<
cd gettext-tools; make install prefix=%i
rm %i/lib/libgettextlib.*
rm %i/lib/libgettextsrc.*
rm %i/lib/charset.alias
rm %i/lib/libintl*
rm %i/include/libintl.h
rm %i/share/locale/locale.alias
<<
DocFiles: README* AUTHORS COPYING* NEWS THANKS ChangeLog*
InfoDocs: gettext.info
Shlibs: <<
!%p/lib/libgettextlib-0.14.5.dylib
!%p/lib/libgettextsrc-0.14.5.dylib
<<
Description: GNU Internationalization utils (shared libs)
Splitoff: <<
Package: libgettextpo2-dev
Replaces: libgettext3-dev (<< 0.14.5-1)
Depends: libgettextpo2-shlibs (= %v-%r), gettext-bin (>= 0.14-1),
gettext-tools
BuildDependsOnly: true
DocFiles: README* AUTHORS COPYING* NEWS THANKS ChangeLog*
Description: GNU Internationalization utilities (Development Files)
Files: include lib/*.a lib/*.la lib/libgettextpo.dylib
<<
SplitOff2: <<
Package: libgettextpo2-shlibs
Essential: no
Depends: libiconv, libiconv-bin, base-files, libgettext3-shlibs (>= 0.14.5-1)
Conflicts: libgettext3
Replaces: gettext-bin (<< 0.14-1), libgettext3, libgettext3-shlibs (<<
0.14.5-1)
Files: lib/libgettextpo.*.dylib
DocFiles: README* AUTHORS COPYING* NEWS THANKS ChangeLog*
Shlibs: <<
%p/lib/libgettextpo.0.dylib 2.0.0 %n (>= 0.14-1)
<<
<<
#Splitoff3: <<
# Package: gettext-tools-doc
# DocFiles: README* AUTHORS COPYING* NEWS THANKS ChangeLog*
# Description: GNU Internationalization utilities (Documentation)
# Files: share/doc/gettext
#<<
DescDetail: <<
The gettext packages provides some of the i18n and l10n support used by
many GNU programs but missing from the Darwin C library.
<<
DescPort: <<
charset.alias is deleted because it is empty on Darwin anyway and
causes unnecessary conflicts between packages.
The emacs files have been moved to a separate gettext-emacs package
(EMACS=no prevents them from being compiled here).
<<
DescPackaging: <<
We now follow the packaging advice from the upstream authors, and have
separated gettext-tools into its own package (a separate build from
the same source). The libraries from that portion have gone into
libgettextpo2-*.
However, we have retained the idea of a gettext-doc splitoff from
the previous version of libgettext3-shlibs, which was prepared by
Chris Zubrzycki.
The two shared libraries libgettextlib-%v.dylib and libgettextsrc-%v.dylib
are intended to only be used by binaries in the gettext-tools package
(to avoid duplication of code in those binaries, apparently). They
are thus private shared libraries in the package with the binaries.
The files used to link against them are removed so that nothing else
can link to those libraries.
We also remove a few stray files related to libintl which 'make install'
installs for us.
<<
License: GPL/LGPL
Maintainer: Fink Core Group <[email protected]>
Homepage: http://www.gnu.org/software/gettext/
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs