[libsoil] 01/01: Update packaging

Christoph Egger christoph at moszumanska.debian.org
Tue Oct 31 13:24:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

christoph pushed a commit to branch master
in repository libsoil.

commit cd156451acd1733a377c3a168e745151d11649c7
Author: Christoph Egger <christoph at debian.org>
Date:   Tue Oct 31 14:24:17 2017 +0100

    Update packaging
    
    * Update packaging
    * Update compat from 6 to 10
    * Use dh-auto style rules
    * Migrate to -dbgsym package
    * Update vcs urls to TLS
    * Update my mailadress
---
 debian/.#control        |  1 +
 debian/changelog        | 19 ++++++++++---
 debian/clean            |  2 ++
 debian/compat           |  2 +-
 debian/control          | 42 +++++++++++++----------------
 debian/copyright        | 10 +++----
 debian/docs             |  2 +-
 debian/libsoil-dev.dirs |  2 +-
 debian/rules            | 72 +++++--------------------------------------------
 debian/source/format    |  1 +
 10 files changed, 52 insertions(+), 101 deletions(-)

diff --git a/debian/.#control b/debian/.#control
new file mode 120000
index 0000000..7ff92fa
--- /dev/null
+++ b/debian/.#control
@@ -0,0 +1 @@
+christoph at kjartansson.2709:1508627905
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
index 835fc4f..f6ed512 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,13 +1,24 @@
+libsoil (1.07~20080707.dfsg-3) unstable; urgency=medium
+
+  * Update packaging
+  * Update compat from 6 to 10
+  * Use dh-auto style rules
+  * Migrate to -dbgsym package
+  * Update vcs urls to TLS
+  * Update my mailadress
+
+ -- Christoph Egger <christoph at debian.org>  Tue, 31 Oct 2017 14:21:47 +0100
+
 libsoil (1.07~20080707.dfsg-2) unstable; urgency=low
 
   * Rewraping long description to fit into 80 chars width
   * Fixing typo in Vcs-Git field
   * Add symbols control file
   * Remove cruft from rules fle
-  * Bump standards Version 
-  * Update my Mailadress 
-  * Force strict Version on dependency of -dbg package 
-  * Improve package description 
+  * Bump standards Version
+  * Update my Mailadress
+  * Force strict Version on dependency of -dbg package
+  * Improve package description
 
  -- Christoph Egger <debian at christoph-egger.org>  Fri, 01 May 2009 19:21:33 +0200
 
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..0bc3b43
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+src/libSOIL.a
+src/libSOIL.so.1.07-20071110
\ No newline at end of file
diff --git a/debian/compat b/debian/compat
index 1e8b314..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+10
diff --git a/debian/control b/debian/control
index 537f7af..8c2b67f 100644
--- a/debian/control
+++ b/debian/control
@@ -1,21 +1,27 @@
 Source: libsoil
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Christoph Egger <debian at christoph-egger.org>
-Build-Depends: debhelper (>= 6), mesa-common-dev, quilt, libgl1-mesa-dev
-Standards-Version: 3.8.1
-Vcs-Git: git://git.debian.org/git/pkg-games/libsoil.git/
-Vcs-Browser: http://git.debian.org/?p=pkg-games/libsoil.git
+Uploaders:
+ Christoph Egger <christoph at debian.org>
+Build-Depends:
+ debhelper (>= 10),
+ libgl1-mesa-dev,
+ mesa-common-dev,
+ quilt
+Standards-Version: 4.1.1
+Vcs-Git: https://anonscm.debian.org/git/pkg-games/libsoil.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/libsoil.git/
 Section: libs
 Homepage: http://www.lonesock.net/soil.html
 
 Package: libsoil-dev
 Section: libdevel
 Architecture: any
-Depends: libsoil1 (= ${binary:Version})
+Depends:
+ ${misc:Depends}
 Description: Simple OpenGL Image Library - development files
- SOIL is a tiny C library used primarily for uploading textures into OpenGL. 
- It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as 
+ SOIL is a tiny C library used primarily for uploading textures into OpenGL.
+ It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as
  saving into TGA, BMP and DDS Files.
  .
  It is also able to perform common functions needed in loading OpenGL textures.
@@ -24,26 +30,14 @@ Description: Simple OpenGL Image Library - development files
 
 Package: libsoil1
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
 Description: Simple OpenGL Image Library
- SOIL is a tiny C library used primarily for uploading textures into OpenGL. 
+ SOIL is a tiny C library used primarily for uploading textures into OpenGL.
  It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as
  saving into TGA, BMP and DDS Files.
  .
  It is also able to perform common functions needed in loading OpenGL textures.
  .
  This is the shared library potentially needed for some other software to work.
-
-Package: libsoil1-dbg
-Section: debug
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libsoil1 (= ${binary:Version})
-Description: Simple OpenGL Image Library - debug files
- SOIL is a tiny C library used primarily for uploading textures into OpenGL. 
- It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as
- saving into TGA, BMP and DDS Files.
- .
- It is also able to perform common functions needed in loading OpenGL textures.
- .
- This package contains debug symbols for libsoil. It may be useful to debug
- troubles in software related to libsoil.
diff --git a/debian/copyright b/debian/copyright
index ddd0843..d46b486 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,21 +6,21 @@ It was downloaded from http://www.lonesock.net/soil.html
 Upstream Author:
 
     Jonathan Dummer <lonesock at gmail.com>
-	
+
 	based on stb_image by Sean Barrett <sean at nothings.org>
 
 Copyright:
 
     this Software is placed in public domain
-	
+
     src/image_helper.c, src/image_helper.h and support/FreeBasic/SOIL.bi are also
-    licensed under the MIT license 
+    licensed under the MIT license
     Copyright © 2007-2008 Jonathan Dummer
-	
+
     debian/ is
     Copyright © 2008 Christoph Egger and under the MIT license
 
-The MIT license:	
+The MIT license:
     Permission is hereby granted, free of charge, to any person obtaining a copy
     of this software and associated documentation files (the "Software"), to deal
     in the Software without restriction, including without limitation the rights
diff --git a/debian/docs b/debian/docs
index 0e4414d..97c2657 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1 @@
-soil.html
\ No newline at end of file
+soil.html
diff --git a/debian/libsoil-dev.dirs b/debian/libsoil-dev.dirs
index 4418816..da07fdd 100644
--- a/debian/libsoil-dev.dirs
+++ b/debian/libsoil-dev.dirs
@@ -1,2 +1,2 @@
-usr/lib
 usr/include
+usr/lib
diff --git a/debian/rules b/debian/rules
index 2990531..20238e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,75 +1,17 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-include /usr/share/quilt/quilt.make
-
-version=1.07
-major=1
-
-configure: configure-stamp
-configure-stamp: patch
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-build-stamp: configure-stamp  
-	dh_testdir
-
-	# Add here commands to compile the package.
+override_dh_auto_build:
 	cd src && $(MAKE) -f ../projects/makefile/alternate\ Makefile.txt
 
-	touch $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
+override_dh_auto_clean:
 	cd src && $(MAKE) -f ../projects/makefile/alternate\ Makefile.txt clean
-	rm -f src/libSOIL.a
-	rm -f src/libSOIL.so.1.07-20071110
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
 
-	# Add here commands to install the package into debian/tmp
+override_dh_auto_install:
 	cd src && $(MAKE) -f ../projects/makefile/alternate\ Makefile.txt DESTDIR=$(CURDIR)/debian/tmp install
 
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_install --sourcedir=debian/tmp
-	dh_installman
-	dh_link
-	dh_strip --dbg-package=libsoil1-dbg
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+override_dh_strip:
+	dh_strip --dbgsym-migration='libsoil1-dbg (<< 1.07~20080707.dfsg-2~)'
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/libsoil.git



More information about the Pkg-games-commits mailing list