[Debian GNUstep maintainers] First version of split gnustep-dl2 at mentors
Yavor Doganov
yavor at gnu.org
Sat Feb 20 10:24:05 UTC 2010
Federico Giménez Nieto wrote:
> although the sqlite3 package is installed (is there a missing
> build-dependency here?), any idea of what is happening with this?
Yes, you're missing libsqlite3-dev. You also have to uncomment the
.install file :-)
> > * Please ship EOModeller as a private library
> I've read that setting LD_LIBRARY_PATH could help, don't know how to
> do it.
No. One easy way to do it:
build-stamp:
...
$(MAKE) OPTFLAG=$(OPTFLAG) LDFLAGS="$(LDFLAGS)" messages=yes
# Relink only DBModeler and GDL2Palette to avoid binary-or-shlib-defines-rpath.
for d in DBModeler GDL2Palette; do \
$(RM) $$d/$$d.app/$$d $$d/GDL2.palette/GDL2; \
$(MAKE) -C $$d OPTFLAG=$(OPTFLAG) messages=yes \
LDFLAGS="$(LDFLAGS) -Wl,-rpath,/usr/lib/gnustep-dl2"; \
done
...
install:
...
$(MAKE) install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM DESTDIR=$(DEST_DIR)
$(RM) $(DEST_DIR)/usr/lib/libEOModeler*
$(MAKE) -C EOModeler install DESTDIR=$(DEST_DIR) \
GNUSTEP_SYSTEM_LIBRARIES=/usr/lib/gnustep-dl2 \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
...
(Of course you should amend the .install file accordingly.)
Some more comments:
* Why do you install the shlibs manually? AFAICS this is sufficient:
dh_makeshlibs -V -plibgnustep-dl2-0
* Likewise, why you specify the -n argument to dh_makeshlibs and
manually create postinst/postrm scripts with ldconfig invocation?
Just delete them and let debhelper do its job.
* You don't need any options to dh_shlibdeps.
* There is a circular dependency between libgnustep-dl2-0 and the
adaptor packages. Unfortunately I can't see a way to avoid it.
* The dependency on gorm.app can be relaxed to Recommends, I think.
* The preinst script is broken -- delete "System" from the paths.
More information about the pkg-GNUstep-maintainers
mailing list