[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Library Question

Am Mittwoch, 11. Mai 2011 schrieb Paul Wise:
> On Tue, May 10, 2011 at 5:00 AM, Rainer Dorsch <rdorsch@web.de> wrote:
> > Can you give a few hints what I need to change in the
> > freetype/debian/rules file to create a libfreetype6-navit package? I
> > would think:
> > -> for the private directory: changing the prefix in ./configure
> > -> for the package name: dh_strip --dbg-package=libfreetype6 to dh_strip
> > -- dbg-package=libfreetype6-navit
> > Anything else?
> I haven't looked at freetype, but you probably will need to
> modify/rename anything that refers to the libfreetype6 package name,
> including .install files, shlibs/symbols files, control file and more.

Worked well.

> > Hmm....what is the advantage of an rpath compared to a wrapper script
> > with an LD_LIBRARY_PATH?
> The advantage is that you don't need to create a wrapper script and
> adjust the build system for it.

I added

rd@blackbox:/scratchbox/users/rd/home/rd/20110506/navit-0.2.0+dfsg.1$ grep 
freetype debian/rules 
  DEB_MAKE_ENVVARS = LDFLAGS="-rpath=/opt/freetype-navit"

That also worked :-)

Paul, that was excellent mentoring. Thank you.


Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
email: rdorsch@web.de
jabber: rdorsch@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: