~ubuntu-branches/ubuntu/precise/flac/precise-updates

« back to all changes in this revision

Viewing changes to debian/fixrpath

  • Committer: Bazaar Package Importer
  • Author(s): Joshua Kwan
  • Date: 2007-05-29 22:56:36 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529225636-ljeff8xxip09qaap
Tags: 1.1.4-1
* New upstream release. closes: #405167, #411311
  - libOggFLAC and libOggFLAC++ have been merged into libFLAC, so
    remove their corresponding packages.
  - Because of the API changes required to effect the above, there has
    been yet another soname bump. libflac7 -> libflac8 and
    libflac++5 -> libflac++6. Emails have been dispatched to the
    maintainers of dependent packages.
* Some notes on patches that were removed:
  - 02_stdin_stdout, 06_manpage_mention_utf8_convert: merged upstream
  - 08_manpage_warnings: Upstream has changed the manpage so it defintely
    can't fit in in 80 cols, so just forget about it. We'll live.
  - 05_eof_warnings_are_errors: Upstream decided to add a -w option to
    flac to treat all warnings as errors. I am going to defer to that
    for now, but if people think it's stupid let me know and I'll port
    the patch forward.
  - 04_stack_smasher: was a backport from 1.1.3, so it's obsolete.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# $Id: fixrpath,v 1.1 2004/05/27 10:48:25 kobras Exp $
 
3
# libtool -rpath workaround based on a suggestion by Yann Dirson
 
4
# <dirson@debian.org>
 
5
#
 
6
# It is supposed to be inserted in configure.in, but I didn't want
 
7
# to re-run autoconf (since that bloats the Debian diff unnecessarily),
 
8
# so I just patch libtool after running configure.  -- Richard Braakman
 
9
# <dark@xs4all.nl>
 
10
#
 
11
# The version of libtool included with LessTif unfortunately insists on
 
12
# linking with -rpath, i.e. hardwiring locations. This is not desirable.
 
13
#
 
14
# The dummy define is improbable enough not to conflict with anything; it is
 
15
# just here to fool libtool by making it believe it gave some useful info to
 
16
# gcc.
 
17
#
 
18
# This will also patch the generated libtool to explicitly
 
19
# link libraries against the libraries they depend on.  (particularly libc)
 
20
 
 
21
for i in libtool libtool-disable-static; do
 
22
sed < $i > $i-2 \
 
23
        -e 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \
 
24
        -e '/^archive_cmds="/s/"$/ \$deplibs"/'
 
25
mv $i-2 $i
 
26
chmod 755 $i
 
27
done
 
28