[Pkg-sdl-commits] [SCM] Debian packaging of SDL 1.3 branch, master, updated. debian/1.3.0_20111204-1-6-g4ec5acd

Sam Hocevar sam at hocevar.net
Thu May 17 21:22:21 UTC 2012


The following commit has been merged in the master branch:
commit 4ec5acd8d8dc1268b11f753365d938c2770485b9
Author: Sam Hocevar <sam at hocevar.net>
Date:   Thu May 17 22:29:36 2012 +0200

    Rename source package to libsdl2 instead of libsdl-2.0.

diff --git a/debian/changelog b/debian/changelog
index cf02f71..758520d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libsdl-2.0 (2.0~20120220b-1) UNRELEASED; urgency=low
+libsdl2 (2.0~20120220-1) UNRELEASED; urgency=low
 
   * Upstream version was renamed to 2.0 (Closes: #669367).
   * New upstream snapshot (Closes: #671506).
diff --git a/debian/control b/debian/control
index 2ea9576..a62d969 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,9 @@
-Source: libsdl-2.0
+Source: libsdl2
 Priority: optional
 Section: libs
 Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.debian.org>
 Uploaders: Barry deFreese <bdefreese at debian.org>, Sam Hocevar <sho at debian.org>
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Build-Depends: dpkg (>= 1.13.2),
                debhelper (>= 5.0),
                quilt,
@@ -19,11 +19,11 @@ Build-Depends: dpkg (>= 1.13.2),
                libdirectfb-dev (>= 1.0) [!hurd-i386],
                libusbhid-dev [kfreebsd-any],
                libglu1-mesa-dev
-Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/libsdl-2.0.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl-2.0.git
+Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/libsdl2.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl2.git
 Homepage: http://www.libsdl.org/
 
-Package: libsdl-2.0-0
+Package: libsdl2-2.0-0
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Conflicts: libsdl-1.3-0
@@ -35,7 +35,7 @@ Description: Simple DirectMedia Layer
  This version of SDL is compiled with X11, caca and DirectFB graphics
  drivers and OSS, ALSA, NAS and PulseAudio sound drivers.
 
-Package: libsdl-2.0-0-udeb
+Package: libsdl2-2.0-0-udeb
 XC-Package-Type: udeb
 Architecture: any
 Section: debian-installer
@@ -47,11 +47,11 @@ Description: Simple DirectMedia Layer (with directfb graphics and no sound)
  .
  This version of SDL is compiled with directfb graphics and no sound.
 
-Package: libsdl-2.0-dev
+Package: libsdl2-dev
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends},
-         libsdl-2.0-0 (= ${binary:Version}),
+         libsdl2-2.0-0 (= ${binary:Version}),
          libx11-dev,
          libglu1-mesa-dev,
          libasound2-dev [linux-any],
@@ -63,7 +63,6 @@ Depends: ${misc:Depends},
          libxext-dev
 Conflicts: libsdl-1.3-dev
 Replaces: libsdl-1.3-dev
-Provides: libsdl-dev
 Description: Simple DirectMedia Layer development files
  SDL is a library that allows programs portable low level access to a video
  framebuffer, audio output, mouse, and keyboard.
diff --git a/debian/libsdl-2.0-0.install b/debian/libsdl2-2.0-0.install
similarity index 100%
rename from debian/libsdl-2.0-0.install
rename to debian/libsdl2-2.0-0.install
diff --git a/debian/libsdl-2.0-dev.install b/debian/libsdl2-dev.install
similarity index 100%
rename from debian/libsdl-2.0-dev.install
rename to debian/libsdl2-dev.install
diff --git a/debian/rules b/debian/rules
index 1d50777..d5f0954 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ else
 NJOBS := 1
 endif
 
-export SHLIBVER=2.0~20120220-1
+export SHLIBVER=2.0~20120220b-1
 
 DEB_HOST_ARCH		?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_ARCH_OS	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
@@ -117,24 +117,24 @@ binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs -A BUGS CREDITS README README-SDL.txt
-	dh_installexamples -plibsdl-2.0-dev test
-	rm debian/libsdl-2.0-dev/usr/share/doc/libsdl-2.0-dev/examples/test/COPYING
-	cd debian/libsdl-2.0-dev/usr/share/doc/libsdl-2.0-dev/examples; \
+	dh_installexamples -plibsdl2-dev test
+	rm debian/libsdl2-dev/usr/share/doc/libsdl2-dev/examples/test/COPYING
+	cd debian/libsdl2-dev/usr/share/doc/libsdl2-dev/examples; \
 	  tar cf examples.tar test; \
 	  rm -rf test
-	#mkdir -p debian/libsdl-2.0-dev/usr/share/man/man3
-	#cd debian/libsdl-2.0-dev/usr/share/doc/libsdl-2.0-dev/docs; \
+	#mkdir -p debian/libsdl2-dev/usr/share/man/man3
+	#cd debian/libsdl2-dev/usr/share/doc/libsdl2-dev/docs; \
 	#  mv man3/* ../../../man/man3/; rmdir man3
-	dh_installman -plibsdl-2.0-dev debian/sdl2-config.1
+	dh_installman -plibsdl2-dev debian/sdl2-config.1
 	dh_installchangelogs
 	dh_install --sourcedir=debian/tmp
-	sed -i -e "s/^dependency_libs=.*/dependency_libs=''/" debian/libsdl-2.0-dev/usr/lib/libSDL2.la
-	dh_install --sourcedir=builddir/udeb/ -plibsdl-2.0-0-udeb build/.libs/*.so.* usr/lib/;
-	rm -rf debian/libsdl-2.0-0/usr/include
+	sed -i -e "s/^dependency_libs=.*/dependency_libs=''/" debian/libsdl2-dev/usr/lib/libSDL2.la
+	dh_install --sourcedir=builddir/udeb/ -plibsdl2-2.0-0-udeb build/.libs/*.so.* usr/lib/;
+	rm -rf debian/libsdl2-2.0-0/usr/include
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_makeshlibs -V"libsdl-2.0-0 (>= $(SHLIBVER))" --add-udeb=libsdl-2.0-0-udeb
+	dh_makeshlibs -V"libsdl2-2.0-0 (>= $(SHLIBVER))" --add-udeb=libsdl2-2.0-0-udeb
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol

-- 
Debian packaging of SDL 1.3



More information about the pkg-sdl-commits mailing list