~ubuntu-branches/ubuntu/vivid/libnotify/vivid

« back to all changes in this revision

Viewing changes to debian/patches/99_ltmain_as-needed.patch

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Michael Biebl, Josselin Mouette
  • Date: 2012-03-27 22:24:42 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120327222442-itjikyuzqrfe2dwm
Tags: 0.7.5-1
[ Michael Biebl ]
* Change section of gir1.2-notify-0.7 to introspection.
* debian/watch: Track .xz tarballs.

[ Josselin Mouette ]
* Update repository URL.

[ Michael Biebl ]
* New upstream release.
* debian/patches/99_ltmain_as-needed.patch: Removed, no longer necessary.
* debian/rules: Remove clean-la.mk since we don't install any libtool .la
  files anymore.
* Drop Depends on libdbus-glib-1-dev from libnotify-dev.
* Add explicit Build-Depends on libgdk-pixbuf2.0-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: libnotify-0.5.0/ltmain.sh
2
 
===================================================================
3
 
--- libnotify-0.5.0.orig/build-aux/ltmain.sh    2010-06-24 10:01:38.000000000 +0200
4
 
+++ libnotify-0.5.0/build-aux/ltmain.sh 2010-06-29 07:27:27.202952725 +0200
5
 
@@ -4716,6 +4716,11 @@
6
 
        arg=$func_stripname_result
7
 
        ;;
8
 
 
9
 
+      -Wl,--as-needed)
10
 
+       deplibs="$deplibs $arg"
11
 
+       continue
12
 
+       ;;
13
 
+
14
 
       -Wl,*)
15
 
        func_stripname '-Wl,' '' "$arg"
16
 
        args=$func_stripname_result
17
 
@@ -5067,6 +5072,15 @@
18
 
        lib=
19
 
        found=no
20
 
        case $deplib in
21
 
+       -Wl,--as-needed)
22
 
+         if test "$linkmode,$pass" = "prog,link"; then
23
 
+           compile_deplibs="$deplib $compile_deplibs"
24
 
+           finalize_deplibs="$deplib $finalize_deplibs"
25
 
+         else
26
 
+           deplibs="$deplib $deplibs"
27
 
+         fi
28
 
+         continue
29
 
+         ;;
30
 
        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
31
 
          if test "$linkmode,$pass" = "prog,link"; then
32
 
            compile_deplibs="$deplib $compile_deplibs"