[Pkg-cli-apps-commits] r3551 - in /packages/f-spot/trunk/debian: changelog copyright patches/00list patches/99_ltmain_as-needed.dpatch

meebey at users.alioth.debian.org meebey at users.alioth.debian.org
Thu Dec 13 20:32:52 UTC 2007


Author: meebey
Date: Thu Dec 13 20:32:52 2007
New Revision: 3551

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=3551
Log:
- ltmain patch for --as-needed


Added:
    packages/f-spot/trunk/debian/patches/99_ltmain_as-needed.dpatch   (with props)
Modified:
    packages/f-spot/trunk/debian/changelog
    packages/f-spot/trunk/debian/copyright
    packages/f-spot/trunk/debian/patches/00list

Modified: packages/f-spot/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/f-spot/trunk/debian/changelog?rev=3551&op=diff
==============================================================================
--- packages/f-spot/trunk/debian/changelog (original)
+++ packages/f-spot/trunk/debian/changelog Thu Dec 13 20:32:52 2007
@@ -34,7 +34,8 @@
       bundled versions.
   * debian/patches/forward_port_to_flickrnet_2.1.5.dpatch:
     + API forward port for FlickrNet 2.1.5.
-  * debian/rules:
+  * debian/rules
+    debian/patches/99_ltmain_as-needed.dpatch:
     + Pass --as-needed to linker for lesser dependencies.
 
   [ Tim Retout ]

Modified: packages/f-spot/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/f-spot/trunk/debian/copyright?rev=3551&op=diff
==============================================================================
--- packages/f-spot/trunk/debian/copyright (original)
+++ packages/f-spot/trunk/debian/copyright Thu Dec 13 20:32:52 2007
@@ -1,8 +1,8 @@
 This package was debianized by Ondřej Surý <ondrej at debian.org> on
 Sat,  4 Sep 2004 21:32:52 +0200.
 
-The copyright and licenses of the complete source code was checked by
-Mirco Bauer <meebey at debian.org> on Wed, 12 Dec 2007 22:48:15 +0200.
+The copyright and licenses of the complete source code of f-spot 0.4.1 was
+checked by Mirco Bauer <meebey at debian.org> on Wed, 12 Dec 2007 22:48:15 +0200.
 
 The current Debian maintainers are:
 Mirco Bauer <meebey at debian.org>

Modified: packages/f-spot/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/f-spot/trunk/debian/patches/00list?rev=3551&op=diff
==============================================================================
--- packages/f-spot/trunk/debian/patches/00list (original)
+++ packages/f-spot/trunk/debian/patches/00list Thu Dec 13 20:32:52 2007
@@ -5,3 +5,4 @@
 fix_libfspotjpegtran_linkage
 link_system_libs
 forward_port_to_flickrnet_2.1.5
+99_ltmain_as-needed

Added: packages/f-spot/trunk/debian/patches/99_ltmain_as-needed.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/f-spot/trunk/debian/patches/99_ltmain_as-needed.dpatch?rev=3551&op=file
==============================================================================
--- packages/f-spot/trunk/debian/patches/99_ltmain_as-needed.dpatch (added)
+++ packages/f-spot/trunk/debian/patches/99_ltmain_as-needed.dpatch Thu Dec 13 20:32:52 2007
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+ at DPATCH@
+diff -urNad f-spot-0.4.1~/ltmain.sh f-spot-0.4.1/ltmain.sh
+--- f-spot-0.4.1~/ltmain.sh	2007-12-13 21:22:03.000000000 +0100
++++ f-spot-0.4.1/ltmain.sh	2007-12-13 21:23:49.000000000 +0100
+@@ -1794,6 +1794,11 @@
+ 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ 	;;
+ 
++      -Wl,--as-needed)
++	deplibs="$deplibs $arg"
++	continue
++	;;
++      
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+@@ -2134,6 +2139,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++	-Wl,--as-needed)
++	  if test "$linkmode,$pass" = "prog,link"; then
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    deplibs="$deplib $deplibs"
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"

Propchange: packages/f-spot/trunk/debian/patches/99_ltmain_as-needed.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-cli-apps-commits mailing list