Bug#504166: patch for new packages and some corrections

Andreas Tille tillea at rki.de
Thu Nov 6 14:30:26 UTC 2008


On Sat, 1 Nov 2008, Bérci Norbert wrote:

> Attached you can find a patch which does the following:
>
> 2. Improvements in libgtkdatabox-0.9.0-1-dev: The makefile in the examples 
> did not have rules to make the following binaries: basics2 basics_libglade 
> logarithmic markers. In order to be able to build basics_libglade, its source 
> have been modified also.

I have turned your patch to a quilt patch in the debian directory.  However
it actually does not work:

cc -g -O2 -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags`  `pkg-config gtk+-2.0 --libs` -s -lgtkdatabox  basics_libglade.c   -o basics_libglade
basics_libglade.c:32:25: error: glade/glade.h: Datei oder Verzeichnis nicht gefunden
basics_libglade.c: In function ‘create_basics’:
basics_libglade.c:60: error: ‘GladeXML’ undeclared (first use in this function)
basics_libglade.c:60: error: (Each undeclared identifier is reported only once
basics_libglade.c:60: error: for each function it appears in.)
basics_libglade.c:60: error: ‘gxml’ undeclared (first use in this function)
basics_libglade.c:62: warning: implicit declaration of function ‘glade_xml_new’
basics_libglade.c:65: warning: implicit declaration of function ‘glade_xml_signal_autoconnect’
basics_libglade.c:66: warning: implicit declaration of function ‘glade_xml_get_widget’
basics_libglade.c:66: warning: assignment makes pointer from integer without a cast
basics_libglade.c:71: warning: assignment makes pointer from integer without a cast
basics_libglade.c:72: warning: assignment makes pointer from integer without a cast
basics_libglade.c:78: warning: assignment makes pointer from integer without a cast
basics_libglade.c:82: warning: assignment makes pointer from integer without a cast
basics_libglade.c:84: warning: assignment makes pointer from integer without a cast
make: *** [basics_libglade] Fehler 1

Because I have no idea about glade it would be really great if you might
have a look into it.  Perhaps the solution might be to move this example to the
glade package to make sure everything is really installed?

> 5. Have the source build-depend on gtk-doc-utils, libglade2-dev, 
> libgladeui-1-dev

You mean s/gtk-doc-utils/gtk-doc-tools/ or did I missed something?
At least it works with gtk-doc-tools and gtk-doc-utils is not found.

> 6. As the source build-depends on d-shlibs (so it also means that the first 
> sentence in my previous bugreport is wrong, sorry about that!), we do not 
> need d-devlibdeps nor d-shlibmove in the debian directory. Their removal made 
> necessary some modifications in debian/rules also.

You are right here - I removed this despite my last mail.

I commited the current packaging which includes your patch to

    svn://svn.debian.org/svn/debian-science/packages/libgtkdatabox/trunk/

I would have no problems if you use this SVN for further enhancement
(for instance the example problem).  Just tell me your alioth login to
give you write permissions to SVN.

Kind regards

        Andreas.

-- 
http://fam-tille.de


More information about the debian-science-maintainers mailing list