gettext stable port information

Package: gettext
Version: 0.10.40
Revision: 25
#Source: mirror:gnu:gettext/gettext-%v.tar.gz
Source: mirror:sourceforge:fink/gettext-%v.tar.gz
Source-MD5: 6a17767b47ffb45b4866cec9fb0a39b0
Essential: no
Depends: libiconv, libiconv-bin, base-files
BuildDepends: libiconv-dev, fink (>= 0.13.6)
BuildConflicts: ccache-default, distcc-default
Shlibs: %p/lib/libintl.1.dylib 2.0.0 %n (>= 0.10.40-5)
DescPackaging: <<
Shared libraries are in gettext for backward compatibility, to avoid
breaking dpkg during an update.

Previous versions by Christoph Pfisterer.

This version of gettext contains the old gettext shared libraries, and
has a corresponding gettext-dev splitoff. The gettext-bin and gettext-tools
splitoffs have been moved to the libgettext3-shlibs package. (Note that
gettext-bin no longer depends on gettext-tools.)
<<
Patch: %n.patch
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --with-included-gettext
SetLDFLAGS: -L%b/intl/.libs
CompileScript: env ac_cv_path_EMACS=no ./configure %c ; make
InstallScript: <<
make install DESTDIR=%d docdir=%p/share/doc/%n
sed 's;-L%b/intl/.libs;;' <%i/lib/libintl.la >%i/lib/libintl.la.tmp
mv -f %i/lib/libintl.la.tmp %i/lib/libintl.la
rm -f %i/lib/charset.alias
rm -f %i/share/emacs/site-lisp/po-mode.elc

rm %i/bin/gettext
rm %i/bin/ngettext
rm -R %i/share/aclocal
rm %i/share/doc/gettext/*.html
rm -Rf %i/share/emacs
rm -R %i/share/gettext
rm -R %i/share/info
rm -R %i/share/locale
rm -R %i/share/man
rm %i/bin/gettextize
rm %i/bin/m*
rm %i/bin/xgettext
<<
DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
SplitOff2: <<
Package: gettext-dev
Depends: gettext (= %v-%r)
Replaces: gettext (<= 0.10.40-4), libgettext3-dev
Conflicts: libgettext3-dev
BuildDependsOnly: true
Files: include lib/libintl.dylib lib/*.a lib/*.la
Description: Developer files for gettext package
DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
<<
#
PostInstScript: <<
if [ -L %p/etc/alternatives/charset.alias ]; then
update-alternatives --remove charset.alias %p/lib/charset.alias.gettext
fi
<<
#
Description: Message localization support
DescDetail: <<
The gettext package provides some of the i18n and l10n support used by
many GNU programs but missing from the Darwin C library.
<<
DescPort: <<
Uses libtool 1.4; needs a minimal patch for Mac OS X 10.1.

Needs help to link against the right copy of the library. Afterwards,
we remove the used flag from the .la file as it refers to the
temporary build directory.

charset.alias is deleted because it is empty on Darwin anyway and
causes unnecessary conflicts between packages.
<<
License: GPL/LGPL
Maintainer: Fink Core Group
Homepage: http://www.gnu.org/software/gettext/

gettext stable port .patch

diff -ru gettext-0.10.40/configure gettext-0.10.40-patched/configure
--- gettext-0.10.40/configure 2001-09-14 20:47:29.000000000 -0400
+++ gettext-0.10.40-patched/configure 2002-06-13 11:52:03.000000000 -0400
@@ -3782,11 +3782,11 @@
;;

darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag=''
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -ru gettext-0.10.40/ltmain.sh gettext-0.10.40-patched/ltmain.sh
--- gettext-0.10.40/ltmain.sh 2001-04-24 19:35:10.000000000 -0400
+++ gettext-0.10.40-patched/ltmain.sh 2002-06-13 11:52:54.000000000 -0400
@@ -2858,6 +2858,11 @@
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
eval cmds=\"$archive_expsym_cmds\"
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval cmds=\"$archive_cmds\"
fi
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'

gettext _unstable_ port information

Package: gettext
Version: 0.10.40
Revision: 25
#Source: mirror:gnu:gettext/gettext-%v.tar.gz
Source: mirror:sourceforge:fink/gettext-%v.tar.gz
Source-MD5: 6a17767b47ffb45b4866cec9fb0a39b0
Essential: no
Depends: libiconv, libiconv-bin, base-files
BuildDepends: libiconv-dev, fink (>= 0.13.6)
BuildConflicts: ccache-default, distcc-default
Shlibs: %p/lib/libintl.1.dylib 2.0.0 %n (>= 0.10.40-5)
DescPackaging: <<
Shared libraries are in gettext for backward compatibility, to avoid
breaking dpkg during an update.

Previous versions by Christoph Pfisterer.

This version of gettext contains the old gettext shared libraries, and
has a corresponding gettext-dev splitoff. The gettext-bin and gettext-tools
splitoffs have been moved to the libgettext3-shlibs package. (Note that
gettext-bin no longer depends on gettext-tools.)
<<
Patch: %n.patch
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --with-included-gettext
SetLDFLAGS: -L%b/intl/.libs
CompileScript: env ac_cv_path_EMACS=no ./configure %c ; make
InstallScript: <<
make install DESTDIR=%d docdir=%p/share/doc/%n
sed 's;-L%b/intl/.libs;;' <%i/lib/libintl.la >%i/lib/libintl.la.tmp
mv -f %i/lib/libintl.la.tmp %i/lib/libintl.la
rm -f %i/lib/charset.alias
rm -f %i/share/emacs/site-lisp/po-mode.elc

rm %i/bin/gettext
rm %i/bin/ngettext
rm -R %i/share/aclocal
rm %i/share/doc/gettext/*.html
rm -Rf %i/share/emacs
rm -R %i/share/gettext
rm -R %i/share/info
rm -R %i/share/locale
rm -R %i/share/man
rm %i/bin/gettextize
rm %i/bin/m*
rm %i/bin/xgettext
<<
DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
SplitOff2: <<
Package: gettext-dev
Depends: gettext (= %v-%r)
Replaces: gettext (<= 0.10.40-4), libgettext3-dev
Conflicts: libgettext3-dev
BuildDependsOnly: true
Files: include lib/libintl.dylib lib/*.a lib/*.la
Description: Developer files for gettext package
DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
<<
#
PostInstScript: <<
if [ -L %p/etc/alternatives/charset.alias ]; then
update-alternatives --remove charset.alias %p/lib/charset.alias.gettext
fi
<<
#
Description: Message localization support
DescDetail: <<
The gettext package provides some of the i18n and l10n support used by
many GNU programs but missing from the Darwin C library.
<<
DescPort: <<
Uses libtool 1.4; needs a minimal patch for Mac OS X 10.1.

Needs help to link against the right copy of the library. Afterwards,
we remove the used flag from the .la file as it refers to the
temporary build directory.

charset.alias is deleted because it is empty on Darwin anyway and
causes unnecessary conflicts between packages.
<<
License: GPL/LGPL
Maintainer: Fink Core Group
Homepage: http://www.gnu.org/software/gettext/

gettext _unstable_ port .patch

diff -ru gettext-0.10.40/configure gettext-0.10.40-patched/configure
--- gettext-0.10.40/configure 2001-09-14 20:47:29.000000000 -0400
+++ gettext-0.10.40-patched/configure 2002-06-13 11:52:03.000000000 -0400
@@ -3782,11 +3782,11 @@
;;

darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag=''
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -ru gettext-0.10.40/ltmain.sh gettext-0.10.40-patched/ltmain.sh
--- gettext-0.10.40/ltmain.sh 2001-04-24 19:35:10.000000000 -0400
+++ gettext-0.10.40-patched/ltmain.sh 2002-06-13 11:52:54.000000000 -0400
@@ -2858,6 +2858,11 @@
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
eval cmds=\"$archive_expsym_cmds\"
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval cmds=\"$archive_cmds\"
fi
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'