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 <[email protected]>
-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 <[email protected]>  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
 

Reply via email to