Re: change glib-config to pkgconfig in configure.in

2009-05-19 Thread Yavor Doganov
В Fri, 15 May 2009 14:10:40 -0300, Eduardo M KALINOWSKI написа: There is an easier way, you can use the PKG_CHECK_MODULES macro: Even easier: use AM_PATH_GLIB_2_0. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: change glib-config to pkgconfig in configure.in

2009-05-19 Thread Francesco Namuri
Il giorno mar, 19/05/2009 alle 08.57 +, Yavor Doganov ha scritto: В Fri, 15 May 2009 14:10:40 -0300, Eduardo M KALINOWSKI написа: There is an easier way, you can use the PKG_CHECK_MODULES macro: Even easier: use AM_PATH_GLIB_2_0. Thanks very much for the answers... Cheers, francesco

change glib-config to pkgconfig in configure.in

2009-05-15 Thread Francesco Namuri
Hi, I'm trying to solve bug #523713, it regards pmidi package, the problem is that the build depends on glib 1.2 that is going to be removed from unstable. I've seen that the program compiles fine with glib 2.0, but the configure look only to 1.2 version using the glib-config tool. Now, I've

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Neil Williams
On Fri, 15 May 2009 16:24:03 +0200 Francesco Namuri france...@namuri.it wrote: Hi, I'm trying to solve bug #523713, it regards pmidi package, the problem is that the build depends on glib 1.2 that is going to be removed from unstable. I've seen that the program compiles fine with glib 2.0,

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Francesco Namuri
Hi Neil, Il giorno ven, 15/05/2009 alle 16.11 +0100, Neil Williams ha scritto: On Fri, 15 May 2009 16:24:03 +0200 Francesco Namuri france...@namuri.it wrote: Hi, I'm trying to solve bug #523713, it regards pmidi package, the problem is that the build depends on glib 1.2 that is going to

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Neil Williams
On Fri, 15 May 2009 18:07:32 +0200 Francesco Namuri france...@namuri.it wrote: Once configure.in is modified, the configure script needs to be regenerated. That can cause problems with packages that haven't had an upstream release in a while. This is a rather worrying snippet:

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Eduardo M KALINOWSKI
On Sex, 15 Mai 2009, Francesco Namuri wrote: Hi, I'm trying to solve bug #523713, it regards pmidi package, the problem is that the build depends on glib 1.2 that is going to be removed from unstable. I've seen that the program compiles fine with glib 2.0, but the configure look only to 1.2

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Francesco Namuri
Il giorno ven, 15/05/2009 alle 17.37 +0100, Neil Williams ha scritto: It's more about how this is going to pan out in the future. Are you intending to maintain pmidi for the foreseeable future or is this a QA upload? No, Neil, I maintain this program, but it's a program that now I don't use

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Neil Williams
On Fri, 15 May 2009 22:32:30 +0200 Francesco Namuri france...@namuri.it wrote: Il giorno ven, 15/05/2009 alle 17.37 +0100, Neil Williams ha scritto: It's more about how this is going to pan out in the future. Are you intending to maintain pmidi for the foreseeable future or is this a QA

Re: change glib-config to pkgconfig in configure.in

2009-05-15 Thread Russ Allbery
Eduardo M KALINOWSKI edua...@kalinowski.com.br writes: There is an easier way, you can use the PKG_CHECK_MODULES macro: PKG_CHECK_MODULES(PKGNAME, glib) This checks for pkg-config, checks that glib is installed, and sets the variables PKGNAME_CFLAGS and PKGNAME_LIBS to the necessary flags