Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/base
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv832

Added Files:
        libgettext8-shlibs.info libgettext8-shlibs.patch 
Log Message:
Welcome to new libintl! Only tested on 10.4 so far...


--- NEW FILE: libgettext8-shlibs.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: libgettext8-shlibs.info ---
Package: libgettext8-shlibs
Version: 0.17
Revision: 17
Distribution: 10.4
Source: mirror:gnu:gettext/gettext-%v.tar.gz
#Source: mirror:sourceforge:fink/gettext-%v.tar.gz
#Source: http://ftp.gnu.org/pub/gnu/gettext/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
<<
# not yet used by fink core or bootstrap packages
#Essential: yes
Depends: libiconv, libiconv-bin, base-files
BuildDepends: libiconv-dev, fink (>= 0.24.12)
BuildConflicts: ccache-default, distcc-default
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
SetCFLAGS: -Os
ConfigureParams: --mandir='%p/share/man' --with-included-gettext 
--disable-csharp --disable-rpath --disable-libasprintf --disable-static
CompileScript: cd gettext-runtime; env EMACS=no CCACHE_DISABLE=1 ./configure %c 
; make
InstallScript: <<
 cd gettext-runtime; make install DESTDIR=%d
 rm %i/lib/charset.alias
 #No need for dependency_libs in .la files if not building static libs
 perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/%lib/libintl.la
<<
DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog* 
Description: GNU Internationalization utils (shared libs)

Splitoff: <<
  Package: libgettext8-dev
  Conflicts: gettext-dev, libgettext3-dev
  Replaces: gettext-dev, libgettext3-dev
  Suggests: gettext-doc
  Depends: %N (= %v-%r), gettext-bin (>= %v-%r)
  BuildDependsOnly: true
  DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog*
  Description: GNU Internationalization utilities (Development Files)
  Files: include lib/libintl.la lib/libintl.dylib 
<<

Splitoff2: <<
  Package: gettext-bin
  Depends: %N (>= %v-%r)
  Replaces: gettext-tools (<< 0.14.5-1), libgettext3-shlibs (<< 0.14.5-1)
  DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog*
  Description: GNU Internationalization utilities
  Files: bin share/gettext share/locale share/man
<<

Splitoff3: <<
  Package: gettext-doc
  DocFiles: README* AUTHORS gettext-runtime/BUGS 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.
<<

Shlibs: <<
  %p/lib/libintl.8.dylib 9.0.0 %n (>= 0.17-1)
<<
InfoTest: <<
        TestScript: cd gettext-runtime; make check || exit 2
<<
License: GPL/LGPL
Maintainer: Fink Core Group <fink-c...@lists.sourceforge.net>
Homepage: http://www.gnu.org/software/gettext/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to