Bug#750131: SDL2_gfx: patch for pkg-config support

2014-06-18 Thread beuc
Control: tags -1 + fixed-upstream

Hi,

SDL2_gfx 1.0.1 is out with pkg-config support :)
http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-1.0.1.tar.gz

Cheers!
Sylvain


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



Bug#750131: SDL2_gfx: patch for pkg-config support

2014-06-02 Thread Felix Geyer

Hi,

On 2014-06-02 01:01, Andreas Schiffler wrote:

Thanks - added:
http://sourceforge.net/p/sdl2gfx/code/15/

On 6/1/2014 1:54 PM, b...@debian.org wrote:

Hi Andreas,

Here's a patch to add pkg-config support in SDL2_gfx, that is add a
SDL2_gfx.pc on install.  It's mostly a merge being the old one in
SDL_gfx and the new ones in SDL_Mixer  cie.

It is useful for people who use PKG_CHECK_MODULES in their autoconf.
Would you consider including it in SDL2_gfx?

I'm submitting it to Debian too.


We shouldn't apply this as a patch in the Debian package. Otherwise 
projects will start to rely on it but it's not available in other 
distros.


So I'd prefer to wait until upstream releases a new version with the 
pkg-config file.


Cheers,
Felix


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



Bug#750131: SDL2_gfx: patch for pkg-config support

2014-06-01 Thread beuc
Hi Andreas,

Here's a patch to add pkg-config support in SDL2_gfx, that is add a
SDL2_gfx.pc on install.  It's mostly a merge being the old one in
SDL_gfx and the new ones in SDL_Mixer  cie.

It is useful for people who use PKG_CHECK_MODULES in their autoconf.
Would you consider including it in SDL2_gfx?

I'm submitting it to Debian too.

Cheers!
Sylvain
Description: Add pkg-config support to SDL2_gfx
Forwarded: 2014-06-01 to aschiff...@ferzkopp.net
Author: Sylvain Beucler b...@debian.org
Last-Update: 2014-06-01

--- svn/configure.in	(révision 14)
+++ svn/configure.in	(copie de travail)
@@ -140,6 +140,7 @@
 # Finally create all the generated files
 AC_OUTPUT([
 Makefile
+SDL2_gfx.pc
 ])
 
 echo
--- svn/Makefile.am	(révision 14)
+++ svn/Makefile.am	(copie de travail)
@@ -30,6 +30,9 @@
 # Rule to build tar-gzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: distcheck
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = SDL2_gfx.pc
+
 # Additional cleanup rules
 DISTCLEANFILES =		\
 	SDL2_gfx.sdf		\
@@ -38,4 +41,3 @@
 	autom4te.cache/*	\
 	Win32/Debug/*		\
 	Win32/Release/*
-		
\ No newline at end of file
--- svn/SDL2_gfx.pc.in	(révision 0)
+++ svn/SDL2_gfx.pc.in	(copie de travail)
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: SDL2_gfx
+Description: drawing and graphical effects extension for SDL
+Version: @VERSION@
+Requires: sdl2 = @SDL_VERSION@
+Libs: -L${libdir} -lSDL2_gfx
+Cflags: -I${includedir}/SDL2


Bug#750131: SDL2_gfx: patch for pkg-config support

2014-06-01 Thread Andreas Schiffler

Thanks - added:
http://sourceforge.net/p/sdl2gfx/code/15/

On 6/1/2014 1:54 PM, b...@debian.org wrote:

Hi Andreas,

Here's a patch to add pkg-config support in SDL2_gfx, that is add a
SDL2_gfx.pc on install.  It's mostly a merge being the old one in
SDL_gfx and the new ones in SDL_Mixer  cie.

It is useful for people who use PKG_CHECK_MODULES in their autoconf.
Would you consider including it in SDL2_gfx?

I'm submitting it to Debian too.

Cheers!
Sylvain



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