Re: 0.8.1.0



Hi,

Attached are two patches for Makefile.am and examples/Makefile.am which
allow you to run the basics_glade example without doing make install
first. However I noted that during linking of the examples I get a warning
about linking against non-portable libraries, but all seems to work ok.
Does someone have an idea about this (I tried -fPIC and -DPIC, but that
didn't work)?

For your gtkdatabox.pc.in, if you add a AC_SUBST(databox_version)
somewhere in configure.ac, autoconf should be able to substitute all
instances of @databox_version@ in all files specified in the AC_OUTPUT()
statement. You might add databox.spec to that list too so it will be
handled correctly too.

HTH,

Hans

On Tue, 04 Dec 2007 21:05:34 +0100
Roland Bock <box2OO6 eudoxos de> wrote:

> Hello everyone,
> 
> the new version is online, containing Hans' patch for glade support.
> Also, the configure script now checks for pango and cairo, based on
> Brian's input.
> 
> Some more input is needed from the auto* gurus :-)
> 
> *) Running glade example:
> After configure & make, I can run any of the examples by calling
> ./examples/<name of the example>
> With one exception: basics_libglade.
> 
> In order for this example to run properly, I have to cd examples and
> export LD_LIBRARY_PATH=../glade/.libs/.
> 
> Any ideas?
> 
> *) Information for package managers:
> The following files are included for package managers (Debian and
> Fedora, if I remember correctly):
> 
> gtkdatabox.pc
> gtkdatabox.pc.in
> gtkdatabox.spec
> 
> They require the correct version information to be included. Until
> recently (see 0.8.0.2, for instance) I had a script called
> pack/package.sh which created configure.ac plus the files listed above
> from preliminary versions of these files. The script wrote the right
> numbers in the right places.
> 
> I am confident that instead of my old script, there is another more
> elegant and more "standard" way to handle this. This must be a typical
> problem for libraries which are included in Linux distribution.
> 
> Thank you very much in advance,
> 
> Roland
> _______________________________________________
> gtkdatabox-list mailing list
> gtkdatabox-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkdatabox-list
> 


-- 

$ cat .sig /dev/null
--- gtkdatabox-0.8.1.0/examples/Makefile.am	2007-12-04 19:52:39.000000000 +0100
+++ gtkdatabox-0.8.1.0-auto/examples/Makefile.am	2007-12-04 23:05:40.000000000 +0100
@@ -51,7 +51,12 @@
 			`pkg-config gtk+-2.0 --cflags`
 
 
+if BUILD_LIBGLADE
 LDADD 			= $(top_builddir)/gtk/libgtkdatabox.la\
+			$(top_builddir)/glade/libdatabox.la \
 		 	@GTK_LIBS@ \
 			@LIBGLADE_LIBS@
-
+else
+LDADD 			= $(top_builddir)/gtk/libgtkdatabox.la\
+		 	@GTK_LIBS@ 
+endif
--- gtkdatabox-0.8.1.0/Makefile.am	2007-12-04 20:31:00.000000000 +0100
+++ gtkdatabox-0.8.1.0-auto/Makefile.am	2007-12-04 23:10:48.000000000 +0100
@@ -1,6 +1,6 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gtkdatabox.pc
 
-SUBDIRS = gtk examples glade
+SUBDIRS = gtk glade examples
 
 EXTRA_DIST = m4 depcomp scripts gtkdatabox.pc.in gtkdatabox.spec glade/gtkdatabox.xml


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