[SCM] gmtk/master: Import the work Brandon Snider

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Mon Jan 2 14:43:20 UTC 2012


The following commit has been merged in the master branch:
commit 893bbd61fdb647bef1b7dfbe1b06b40a43bf18d7
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date:   Mon Jan 2 14:49:29 2012 +0100

    Import the work Brandon Snider

diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..efd0ff9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: gmtk
+Section: libs
+Priority: extra
+Maintainer: Brandon Snider <brandonjsnider at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, intltool, 
+ pkg-config, libgtk2.0-dev, libpulse-dev, libasound2-dev
+Standards-Version: 3.9.1
+Homepage: http://code.google.com/p/gmtk/
+#Vcs-Git: git://git.debian.org/collab-maint/gmtk.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/gmtk.git;a=summary
+
+Package: libgmtk0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: libgmtk0 - gnome-mplayer toolkit
+ libgmtk - a set of gtk widgets to use with gnome-mplayer. This library is needed when 
+ Gnome-Mplayer or Gecko-Mediaplayer are being used.
+
+Package: libgmtk0-dbg
+Section: debug
+Architecture: any
+Depends: libgmtk0, ${shlibs:Depends}, ${misc:Depends}
+Description: Debugging symbols for libgmtk0
+ This package contains debugging symbols for libgmtk0. Use this if you
+ encounter problems and need to provide debugging information to the developer.
+
+Package: libgmlib0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: libgmlib0 - gnome-mplayer toolkit
+ libgmlib - a set of functions that support non-graphical operations. This is
+ one half of the Gnome-Mplayer Toolkit. It is used by 
+ Gnome-Mplayer and Gecko-Mediaplayer.
+
+Package: libgmlib0-dbg
+Section: debug
+Architecture: any
+Depends: libgmlib0, ${shlibs:Depends}, ${misc:Depends}
+Description: Debugging symbols for libgmlib0
+ This package contains debugging symbols for libgmlib0. Use this if you
+ encounter problems and need to provide debugging information to the developer.
+
+Package: libgmtk-dev
+Section: libdevel
+Architecture: any
+Depends: libgmtk0(= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: libgmtk0 development headers
+ This package installs development headers for gmtk.
+
+Package: libgmlib-dev
+Section: libdevel
+Architecture: any
+Depends: libgmlib0(= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: libgmlib0 development headers
+ This package installs development headers for gmlib.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..31bcdf2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: gmtk
+Upstream-Contact: Kevin DeKorte <kdekorte at gmail.com>
+Source: http://code.google.com/p/gmtk/
+
+Files: *
+Copyright: © 2006-2011 Kevin DeKorte
+License: GPL-2+
+
+Files: src/*.[c]
+Copyright: © 2006-2011 Kevin DeKorte
+License: GPL-2+
+
+Files: src/*.[h]
+Copyright: © 2006-2011 Kevin DeKorte
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2011 Brandon Snider <brandonjsnider at gmail.com>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/libgmlib-dev.install b/debian/libgmlib-dev.install
new file mode 100644
index 0000000..0e93fce
--- /dev/null
+++ b/debian/libgmlib-dev.install
@@ -0,0 +1,5 @@
+usr/include/gmtk/gmlib.h
+usr/include/gmtk/gm_*.h
+usr/lib/libgmlib.so
+usr/lib/libgmlib*.a
+usr/lib/pkgconfig/gmlib.pc
diff --git a/debian/libgmlib0.install b/debian/libgmlib0.install
new file mode 100644
index 0000000..d8aa832
--- /dev/null
+++ b/debian/libgmlib0.install
@@ -0,0 +1 @@
+usr/lib/libgmlib.so.*
diff --git a/debian/libgmtk-dev.install b/debian/libgmtk-dev.install
new file mode 100644
index 0000000..694e3eb
--- /dev/null
+++ b/debian/libgmtk-dev.install
@@ -0,0 +1,4 @@
+usr/include/gmtk/gmtk*.h
+usr/lib/libgmtk.so
+usr/lib/libgmtk*.a
+usr/lib/pkgconfig/gmtk.pc
diff --git a/debian/libgmtk0.install b/debian/libgmtk0.install
new file mode 100644
index 0000000..233a2e4
--- /dev/null
+++ b/debian/libgmtk0.install
@@ -0,0 +1 @@
+usr/lib/libgmtk.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a82996f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ 
+
+# Build debug packages.
+.PHONY: override_dh_strip
+override_dh_strip:
+	dh_strip -plibgmtk0 --dbg-package=libgmtk0-dbg
+	dh_strip -plibgmlib0 --dbg-package=libgmlib0-dbg
+
+
+###############################################################################
+# Tarball (get-orig-source & get-current-source)
+
+DEB_REVISION       := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/^.*svn\(.*\)/\1/')
+DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p')
+CCOMP_URL           = http://gmtk.googlecode.com/svn/trunk
+CCOMP_REV           = $(shell svn info $(CCOMP_URL) | grep ^Revision: | cut -d' ' -f2)
+TMP_DIR            := $(DEB_SOURCE_PACKAGE)
+FILE                = configure.ac
+CMD                := sed '/^AC_INIT/{s/.*, //;s/)$$//;p;};d'
+
+get-orig-source: REVISION = $(CCOMP_REV)
+get-orig-source: TAG      = $(NULL)
+ifneq (,$(DEBIAN_TAG))
+get-orig-source: TAG      = $(DEBIAN_TAG)
+else
+ifneq (,$(DEBIAN_REV))
+get-orig-source: REVISION = $(DEBIAN_REV)
+endif
+endif
+get-orig-source: gos-all
+
+get-current-source: TAG      = $(NULL)
+get-current-source: REVISION = $(DEB_REVISION)
+ifneq (,$(DEBIAN_REV))
+get-current-source: REVISION = $(DEBIAN_REV)
+endif
+get-current-source: gos-all
+gos-all: gos-co gos-pack
+gos-co:
+	rm -rf $(TMP_DIR)
+	mkdir -p $(TMP_DIR)
+	cd $(TMP_DIR) && svn co $(CCOMP_URL)@$(REVISION)
+
+ifneq (,$(DEBIAN_TAG))
+gos-pack: VERSION  = $(shell echo $(DEBIAN_TAG) | cut -d= -f2)
+else
+gos-pack: REVISION = $(shell cd $(TMP_DIR)/trunk && svn info | grep ^Revision: | cut -d' ' -f2)
+gos-pack: VERSION  = $(shell cd $(TMP_DIR)/trunk && $(CMD) $(FILE))~svn$(REVISION)
+endif
+gos-pack:
+	# Pack
+	mv $(TMP_DIR)/trunk $(TMP_DIR)/$(DEB_SOURCE_PACKAGE)-$(VERSION)
+	cd $(TMP_DIR) && tar zcf ../$(DEB_SOURCE_PACKAGE)_$(VERSION).orig.tar.gz --exclude=.svn $(DEB_SOURCE_PACKAGE)-$(VERSION)
+	rm -rf $(TMP_DIR)
+	@echo "# Done (created $(DEB_SOURCE_PACKAGE)_$(VERSION).orig.tar.gz)"
+	@ls -l $(DEB_SOURCE_PACKAGE)_$(VERSION).orig.tar.gz
+
+.PHONY: get-orig-source gos-all
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..40ebfd6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=downloadurlmangle=s#.*(gmtk-([\d.]+)\.tar\.gz).*#http://gmtk.googlecode.com/files/$1#,filenamemangle=s#.*(gmtk-([\d.]+)\.tar\.gz).*#$1# \
+    http://code.google.com/p/gmtk/downloads/list ^.*detail\?name=gmtk-([\d.]+)\.tar\.gz.*

-- 
gmtk packaging



More information about the pkg-multimedia-commits mailing list