Re: gnomemeeting-1.2.2: surprise dependencies
- From: "Joseph E. Sacco, PhD" <joseph_sacco comcast net>
- To: garnome-list gnome org
- Cc: Paul Drain <pd cipherfunk org>
- Subject: Re: gnomemeeting-1.2.2: surprise dependencies
- Date: Sat, 01 Oct 2005 11:56:12 -0400
Having a bad day already ...
(1) the correct Makefile is attached to this email
(2) Pondering over the e-d-s / firefox LD_LIBRARY_PATH problem I think
that changing libedataserver-1.2.pc is a bad idea [guenther concurs :-)]
What might be better is a post-install target in firefox that links a
select list of libs from $(libdir)/firefox-1.x.y to $(libdir)
The list of libs to be linked:
* libnspr4.so
* libnss3.so
* libnsskbi.so
* libplc4.so
* libsmime3.so
* libsoftokn3.so
* libssl3
-Joseph
==================================================================================
On Sat, 2005-10-01 at 08:22 -0400, Joseph E. Sacco, PhD wrote:
> gnomemeeting-1.2.2 depends on:
> * dbus
>
> * evolution-data-server
> through libebook, which requires libedataserver
>
> Linking against libedataserver requires that the firefox/mozilla
> libraries be in the library search path.
>
> A new Makefile, patched to add the firefox libs to LD_LIBRARY_PATH
> during the build, is attached to this message.
>
> This is the second app that has required this hack. I think we should
> investigate patching libedataserver-1.2.pc instead.
>
> What I have in mind is something like:
>
> Libs: -L${libdir} -L${libdir}/firefox-1.07 -ledataserver-1.2
>
> which can be accomplished "cleanly" through some post-install scripting
> foo when e-d-s is built.
>
> -Joseph
>
--
joseph_sacco [at] comcast [dot] net
GARNAME = gnomemeeting
GARVERSION = 1.2.2
CATEGORIES = geektoys
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
LIBDEPS = desktop/evolution-data-server freedesktop/dbus platform/libgnomeui bootstrap/pwlib bootstrap/openh323 bootstrap/howl
DESCRIPTION = gnomemeeting
define BLURB
#FIXME: blurb goes here
endef
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = custom
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
CONFIGURE_ARGS = $(DIRPATHS) --with-pwlib-dir=$(prefix) --with-openh323-dir=$(prefix)
include ../category.mk
CFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
CXXFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
CPPFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
FF_LIBRARY_PATH := `pkg-config --variable=libdir firefox-nss`:$(LD_LIBRARY_PATH)
build-custom:
LD_LIBRARY_PATH=$(FF_LIBRARY_PATH) $(MAKE) -C $(WORKSRC)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]