Re: Building redundant X11 libs



Peter,

It's not that garnome is failing to find the packages with pkg-config; it's that it doesn't exactly care. If you look at the Makefile for one of the individual packages, for example:

________________________________

keemun $ cd gamin/
keemun $ cat Makefile
GARNAME = gamin
GARVERSION = 0.1.8
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = gamin-0.1.7-fix-polling.patch gamin-conditional-poll.patch

MASTER_SITES = http://www.gnome.org/~veillard/gamin/sources/

LIBDEPS = platform/glib

DESCRIPTION = gamin
define BLURB
Gamin is a file and directory monitoring system defined to be
a subset of the FAM (File Alteration Monitor) system.
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --with-python

include ../category.mk

check:
        @cd $(WORKSRC) && $(MAKE) check

________________________

you'll see that it has a LIBDEPS line in it that tells it which other garnome packages it depends on. If you know that you already have glib built elsewhere, you can remove "platform/glib" from the LIBDEPS line.

- dave


Peter B. Steiger wrote:
Howdy!  After spending a frustrating couple of weeks trying to build
Gnome 2.18.3 the Linux From Scratch way, I thought I'd "cheat" and let
Garnome do the work for me.

It's great, but I notice it's building some packages that I already have
installed, such as Xft and Xrender.  It seems to be finding and using
the other X.org packages OK.

Now, I'm old-school and I still build my major platforms (X11, Gnome,
KDE) in their own separate branches of the /usr hierarchy, so I have Xft
and the like in /usr/X11R7/lib.  pkg-config knows to look
in /usr/X11R7/lib/pkgconfig, and that directory is included
in /etc/ld.so.conf, so I know those libraries are visible.

What would cause garnome to miss the fact that those programs already
exist, and try to install its own copy of them locally?

I'm sure I will have more stupid questions as the project continues, but
that's the only one so far.





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