~ubuntu-branches/ubuntu/karmic/motion/karmic-proposed

« back to all changes in this revision

Viewing changes to debian/patches/06_configure_rpath-fix+added-LIBS.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Frederik Dannemare
  • Date: 2005-03-14 01:03:18 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050314010318-d5f9uk8m4lymiite
Tags: 3.1.19-1
* New upstream release (Closes: #297671).
* Add support for ffmpeg (add Build-Depends on libavcodec-dev and
  libavformat-dev).
* Update debian/README.Debian to mention the new support for ffmpeg.
* Remove debian/motion.menu (didn't make much sense really).
* Get rid of direct patching of upstream sources. Instead, apply
  Debian-specific modifications at build-time from patches in debian/patches
  with help from dpatch (add Build-Depends on dpatch).
* Remove Suggests on ucbmpeg (Closes: #279385).
* Add Recommends on ffmpeg.
* Include German po-debconf translation by Jens Nachtigall
  <nachtigall@web.de> (Closes: #283017).
* Patch configure to really remove rpath + add -lvorbis -lvorbisenc -ldts
  -la52 to LIBS. Thanks to Sam Hocevar (ffmpeg maintainer) for hints on
  how to properly build with ffmpeg support.
* Upload sponsored by Ari Pollak <ari@debian.org>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 06_configure_rpath-fix+added-LIBS.dpatch by Frederik Dannemare <frederik@dannemare.net>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Remove use of rpath + Add -lvorbis -lvorbisenc -ldts -la52 to LIBS
 
6
 
 
7
@DPATCH@
 
8
 
 
9
--- motion-3.1.19/configure.orig        2005-03-14 13:10:30.566565768 +0100
 
10
+++ motion-3.1.19/configure     2005-03-14 13:11:46.724987928 +0100
 
11
@@ -2563,10 +2563,10 @@
 
12
                echo ""
 
13
        fi
 
14
        CFLAGS="${CFLAGS} -DHAVE_FFMPEG"
 
15
-       LIBS="$LIBS -L${FFMPEG} -lavformat -lavcodec -lm -lz"
 
16
+       LIBS="$LIBS -L${FFMPEG} -lavformat -lavcodec -lvorbis -lvorbisenc -ldts -la52 -lm -lz"
 
17
        FFMPEG_OBJ="ffmpeg.o"
 
18
 
 
19
-       LDFLAGS="-Wl,-rpath,${FFMPEG}"
 
20
+       LDFLAGS=""
 
21
 fi
 
22
 fi
 
23