Ola Lundqvist wrote:
Hi Barry

Thanks a lot for the patch. However after applying it I get the following
error.

checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: gled requires GTK+ 1.2.0 or higher.
make: *** [configure-stamp] Fel 1

I'm building on a lenny box so that could be the issue.

Feel free to NMU if you want.

Best regards,

// Ola

On Thu, Mar 12, 2009 at 12:42:53PM -0400, Barry deFreese wrote:
tags 515324 + patch

thank you

Hi,

Here is a patch that seems to work for me. I don't know the package super well so I couldn't do a lot of in-depth testing but everything I did try seems to work. I filtered out all of the autoconf cruft so you obviously need to autoreconf after applying this.

Hope it helps.

Thanks,

Barry deFreese



diff -u ledcontrol-0.5.2/debian/control ledcontrol-0.5.2/debian/control
--- ledcontrol-0.5.2/debian/control
+++ ledcontrol-0.5.2/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Ola Lundqvist <o...@debian.org>
-Build-Depends: debhelper (>> 4.0.0), libglib1.2-dev, libgtk1.2-dev
+Build-Depends: debhelper (>> 4.0.0), libglib2.0-dev, libgtk2.0-dev
 Standards-Version: 3.7.2
Package: ledcontrol
diff -u ledcontrol-0.5.2/debian/changelog ledcontrol-0.5.2/debian/changelog
--- ledcontrol-0.5.2/debian/changelog
+++ ledcontrol-0.5.2/debian/changelog
@@ -1,3 +1,10 @@
+ledcontrol (0.5.2-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build with Gtk2.
+
+ -- Barry deFreese <bdefre...@debian.org>  Wed, 11 Mar 2009 14:51:32 -0400
+
 ledcontrol (0.5.2-11) unstable; urgency=low
* Correction of bashism in netload.sh script, closes: #489623.
--- ledcontrol-0.5.2.orig/ledd/Makefile.am
+++ ledcontrol-0.5.2/ledd/Makefile.am
@@ -4,5 +4,5 @@
                config.c startup.c log.c
 ledd_LDADD = $(GLIB_LIBS)
 EXTRA_DIST = LOGICS
-CFLAGS += $(GLIB_CFLAGS) -Wall @CFLAGS@ $(EXTRACFLAGS)
+AM_CFLAGS = $(GLIB_CFLAGS) -Wall @CFLAGS@ $(EXTRACFLAGS)
--- ledcontrol-0.5.2.orig/gled/Makefile.am
+++ ledcontrol-0.5.2/gled/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
-CFLAGS += $(GTK_CFLAGS) -Wall @CFLAGS@
+AM_CFLAGS = $(GTK_CFLAGS) -Wall @CFLAGS@
bin_PROGRAMS = gled


Ola,

Let me take a look again. That doesn't look like enough so maybe I didn't send the whole patch or something.

Thanks,

Barry



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to