pkgsrc-Bugs archive

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

Re: pkg/32278 (Please add fllogbook to pkgsrc/ham)



In the developer's Makefile, the linker flags are set using this command:

LDFLAGS = -pipe -s `fltk-config --ldstaticflags --use-images`

This results in the link command (from .work.log):

[*] /usr/pkgsrc/foo/bar/work/.wrapper/bin/c++ -o fl_logbook adif_io.o calendar.o combo.o date.o fl_logbook.o ipcdata.o lgbook.o multipsklog.o qso_db.o support.o table.o -Lsrc/lib -lhamlib -pipe -s -L/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/ pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib /usr/pkg/lib/libflt k_images.a -lpng -lz -ljpeg /usr/pkg/lib/libfltk.a -lpthread -lm -lXext -lX11 <.> /usr/pkgsrc/foo/bar/work/.gcc/bin/g++ -o fl_logbook adif_io.o calendar.o com bo.o date.o fl_logbook.o ipcdata.o lgbook.o multipsklog.o qso_db.o support.o tab le.o -Lsrc/lib -pipe -s -L/usr/pkgsrc/foo/bar/work/.x11-buildlink/lib -L/usr/pkg src/foo/bar/work/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib /usr/pkg /lib/libfltk_images.a /usr/pkg/lib/libfltk.a -I/usr/pkgsrc/foo/bar/work/.buildli
nk/include -lhamlib -lpng -lz -ljpeg -lpthread -lm -lXext -lX11

Without those dependencies, the -lpng and -ljpeg cause the link to fail.

Are libpng and libjpeg really needed? I saw some image files in the source distribution and assumed they were used. Is hamlib really needed? I don't know. I am not the developer. Basically, I did what was needed to make it build and install successfully under pkgsrc. I did not dig into the code to fix potential bugs.

I assume png and jpeg are required by fltk and therefore linking in fltk should automatically include those dependencies. But that doesn't appear to be true. Is this a bug in the fltk package?

OBATA Akio wrote:

The following reply was made to PR pkg/32278; it has been noted by GNATS.

From: OBATA Akio <obache%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Subject: Re: pkg/32278 (Please add fllogbook to pkgsrc/ham)
Date: Sun, 21 Jan 2007 01:10:41 +0900

On Sat, 20 Jan 2007 09:05:03 +0000 (UTC), david wrote:
>  A newer package is attached.

Why does this package depend on graphics/png and graphics/jpeg ?
It seems not using png nor jpeg directly and indirectry.




Home | Main Index | Thread Index | Old Index