Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/gnome
In directory usw-pr-cvs1:/tmp/cvs-serv14200

Added Files:
        gnome-libs-1.4.2-1.info gnome-libs-1.4.2-1.patch 
Log Message:
New upstream version.

--- NEW FILE: gnome-libs-1.4.2-1.info ---
Package: gnome-libs
Version: 1.4.2
Revision: 1
BuildDepends: audiofile, glib, gtk+, libjpeg, libpng, libtiff, netpbm, db3 (>= 
3.3.11-8), gtk-doc
Depends: %N-shlibs (= %v-%r), db3-shlibs
Source: mirror:gnome:stable/sources/%n/%n-%v.tar.bz2
Source-MD5: 6111e91b143a90afb30f7a8c1e6cbbd6
Patch: %f.patch
ConfFiles: <<
  %p/etc/mime-magic
  %p/etc/mime-magic.dat
  %p/etc/paper.config
  %p/etc/sound/events/gnome.soundlist
  %p/etc/sound/events/gtk-events.soundlist
<<
SetCPPFLAGS: -no-cpp-precomp
ConfigureParams: --disable-test-gnome --mandir=%p/share/man
InstallScript: <<
  make install DESTDIR=%d docdir=%p/share/doc/%n
  (cd %i/share/pixmaps; mv gnome-default-dlg.png gnome-default-dlg.png.%n)
  (cd %i/share/pixmaps; mv gnome-error.png gnome-error.png.%n)
  (cd %i/share/pixmaps; mv gnome-info.png gnome-info.png.%n)
  (cd %i/share/pixmaps; mv gnome-question.png gnome-question.png.%n)
  (cd %i/share/pixmaps; mv gnome-warning.png gnome-warning.png.%n)
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: imlib, orbit (>= 0.5.12), esound, passwd (>= 20011007-1)
  Replaces: %N (<= 1.4.1.4-2)
  Files: lib/lib*.*.dylib 
  DocFiles: AUTHORS COPYING* ChangeLog HACKING NEWS README
<<
SplitOff2: <<
  Package: %N-dev
  BuildDependsOnly: True
  Depends: %N-shlibs (= %v-%r)
  Replaces: %N (<= 1.4.1.7-2)
  Files: include lib/lib*.dylib lib/lib*.a lib/lib*.la lib/*.sh share/aclocal
  DocFiles: AUTHORS COPYING* ChangeLog HACKING NEWS README
<<
PostInstScript: <<
  update-alternatives --install %p/share/pixmaps/gnome-default-dlg.png 
gnome-default-dlg.png %p/share/pixmaps/gnome-default-dlg.png.%n 30
  update-alternatives --install %p/share/pixmaps/gnome-error.png gnome-error.png 
%p/share/pixmaps/gnome-error.png.%n 30
  update-alternatives --install %p/share/pixmaps/gnome-info.png gnome-info.png 
%p/share/pixmaps/gnome-info.png.%n 30
  update-alternatives --install %p/share/pixmaps/gnome-question.png gnome-question.png 
%p/share/pixmaps/gnome-question.png.%n 30
  update-alternatives --install %p/share/pixmaps/gnome-warning.png gnome-warning.png 
%p/share/pixmaps/gnome-warning.png.%n 30
<<
PreRmScript: <<
if [ upgrade != "$1" ]; then
  update-alternatives --remove gnome-default-dlg.png 
%p/share/pixmaps/gnome-default-dlg.png.%n
  update-alternatives --remove gnome-error.png %p/share/pixmaps/gnome-error.png.%n
  update-alternatives --remove gnome-info.png %p/share/pixmaps/gnome-info.png.%n
  update-alternatives --remove gnome-question.png 
%p/share/pixmaps/gnome-question.png.%n
  update-alternatives --remove gnome-warning.png %p/share/pixmaps/gnome-warning.png.%n
fi
<<
DocFiles: AUTHORS COPYING* ChangeLog HACKING NEWS README
Description: Base libraries for GNOME
DescPort: <<
Problems solved by the patch:
 - gtkxmhtml uses strtok_r() and needs -lgnomesupport.
 - gnome-pty-helper tries to change resource size in sanity_check().
   when current limit is too small.
 - gnome-config --cflags does not return -I${includedir}.
<<
License: GPL/LGPL
Homepage: http://www.gnome.org/
Maintainer: Masanori Sekino <[EMAIL PROTECTED]>

--- NEW FILE: gnome-libs-1.4.2-1.patch ---
diff -Naur gnome-libs-1.4.2.old/configure gnome-libs-1.4.2.new/configure
--- gnome-libs-1.4.2.old/configure      Fri Aug 16 07:24:44 2002
+++ gnome-libs-1.4.2.new/configure      Tue Sep 17 23:44:09 2002
@@ -3578,11 +3578,11 @@
     ;;
 
   darwin* | rhapsody*)
-    allow_undefined_flag='-undefined suppress'
+    allow_undefined_flag='-undefined suppress -flat_namespace'
     # 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 $(test .$module != .yes && 
+echo -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 -Naur gnome-libs-1.4.2.old/gtk-xmhtml/Makefile.in 
gnome-libs-1.4.2.new/gtk-xmhtml/Makefile.in
--- gnome-libs-1.4.2.old/gtk-xmhtml/Makefile.in Fri Aug 16 07:25:39 2002
+++ gnome-libs-1.4.2.new/gtk-xmhtml/Makefile.in Tue Sep 17 23:35:56 2002
@@ -211,7 +211,7 @@
 
 htmltest_SOURCES = test.c
 
-htmltest_LDADD = libgtkxmhtml.la  $(LIBGTKXMHTML_LIBS) $(INTLLIBS)
+htmltest_LDADD = libgtkxmhtml.la $(LIBSUPPORT) $(LIBGTKXMHTML_LIBS) $(INTLLIBS)
 
 EXTRA_DIST = gtk-xmhtml.c XmHTML-motif.c 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff -Naur gnome-libs-1.4.2.old/libart_lgpl/configure 
gnome-libs-1.4.2.new/libart_lgpl/configure
--- gnome-libs-1.4.2.old/libart_lgpl/configure  Thu Aug  1 23:30:58 2002
+++ gnome-libs-1.4.2.new/libart_lgpl/configure  Tue Sep 17 23:53:36 2002
@@ -3329,11 +3329,11 @@
     ;;
 
   darwin* | rhapsody*)
-    allow_undefined_flag='-undefined suppress'
+    allow_undefined_flag='-undefined suppress -flat_namespace'
     # 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 $(test .$module != .yes && 
+echo -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 -Naur gnome-libs-1.4.2.old/ltmain.sh gnome-libs-1.4.2.new/ltmain.sh
--- gnome-libs-1.4.2.old/ltmain.sh      Thu Aug  1 23:30:57 2002
+++ gnome-libs-1.4.2.new/ltmain.sh      Tue Sep 17 23:44:09 2002
@@ -2862,6 +2862,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='~'
diff -Naur gnome-libs-1.4.2.old/po/Makefile.in.in 
gnome-libs-1.4.2.new/po/Makefile.in.in
--- gnome-libs-1.4.2.old/po/Makefile.in.in      Thu Aug  1 23:30:49 2002
+++ gnome-libs-1.4.2.new/po/Makefile.in.in      Tue Sep 17 23:35:56 2002
@@ -106,7 +106,10 @@
        @catalogs='$(CATALOGS)'; \
        for cat in $$catalogs; do \
          cat=`basename $$cat`; \
-         lang=`echo $$cat | sed 's/\.gmo$$//'`; \
+         case "$$cat" in \
+           *.gmo) lang=`echo $$cat | sed 's/\.gmo$$//'` ;; \
+           *.mo)  lang=`echo $$cat | sed 's/\.mo$$//'` ;; \
+         esac; \
          dir=$(localedir)/$$lang/LC_MESSAGES; \
          $(mkinstalldirs) $(DESTDIR)$$dir; \
          if test -r $$cat; then \
diff -Naur gnome-libs-1.4.2.old/zvt/Makefile.in gnome-libs-1.4.2.new/zvt/Makefile.in
--- gnome-libs-1.4.2.old/zvt/Makefile.in        Fri Aug 16 07:25:41 2002
+++ gnome-libs-1.4.2.new/zvt/Makefile.in        Tue Sep 17 23:35:56 2002
@@ -611,7 +611,7 @@
 
 install-exec-local:
        -file=$(DESTDIR)$(sbindir)/gnome-pty-helper; \
-       chown root $$file && chgrp root $$file && chmod u+s $$file
+       chown root $$file && chgrp admin $$file && chmod u+s $$file
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff -Naur gnome-libs-1.4.2.old/zvt/gnome-pty-helper.c 
gnome-libs-1.4.2.new/zvt/gnome-pty-helper.c
--- gnome-libs-1.4.2.old/zvt/gnome-pty-helper.c Sun Nov 25 19:05:45 2001
+++ gnome-libs-1.4.2.new/zvt/gnome-pty-helper.c Tue Sep 17 23:35:56 2002
@@ -646,10 +646,13 @@
                if (getrlimit (sensible_limits [i].limit, &rlim) != 0)
                        continue;
 
-               if (rlim.rlim_cur != RLIM_INFINITY &&
-                   rlim.rlim_cur < sensible_limits [i].value){
-                       fprintf (stderr, "Living environment not ok\n");
-                       exit (1);
+               if (rlim.rlim_max != RLIM_INFINITY &&
+                   rlim.rlim_max < sensible_limits [i].value){
+                       rlim.rlim_cur = sensible_limits [i].value;
+                       if (setrlimit (sensible_limits [i].limit, &rlim) != 0) {
+                               fprintf (stderr, "Living environment not ok\n");
+                               exit (1);
+                       }
                }
        }
 



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to