Adding debian packaging informations
authorKlaus Ethgen <Klaus@Ethgen.de>
Sat, 11 Apr 2009 18:34:12 +0000 (18:34 +0000)
committerKlaus Ethgen <Klaus@Ethgen.de>
Sat, 11 Apr 2009 18:34:12 +0000 (18:34 +0000)
Adding debian control directory to create a geeqie debian package.

NOTES: (To be fixed in autoconf)
   - LIRC must be explicit _enabled_ instead of disable. This is wrong
     documented.
   - It might be a good idea to derivate the readmedir and the htmldir
     from docdir.

debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/geeqie.doc-base [new file with mode: 0644]
debian/menu [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..d8b3c48
--- /dev/null
@@ -0,0 +1,6 @@
+geeqie (1.0alpha3-0) unstable; urgency=low
+
+  * Initial release
+
+ -- Klaus Ethgen <Klaus@Ethgen.de>  Fri, 10 Apr 2009 18:52:22 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..a113f0d
--- /dev/null
@@ -0,0 +1,15 @@
+Source: geeqie
+Section: graphics
+Priority: optional
+Maintainer: Klaus Ethgen <Klaus@Ethgen.de>
+Build-Depends: debhelper (>= 7), autotools-dev, libpng12-dev, libgtk2.0-dev (>= 2.4), liblcms1-dev, liblircclient-dev, libexiv2-dev, binutils (>= 2.17)
+Standards-Version: 3.7.3
+Homepage: http://geeqie.sourceforge.net/
+
+Package: geeqie
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Graphics file browser utility
+ Geeqie is a fork of GQview to go on with development and maintenance.
+ .
+ Geeqie is a image viewer and collection management system.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..7e67d44
--- /dev/null
@@ -0,0 +1,36 @@
+This package was debianized by Klaus Ethgen <Klaus@Ethgen.de> on
+Fri, 10 Apr 2009 18:52:22 +0100.
+
+It was downloaded from http://geeqie.sourceforge.net/
+
+Upstream Authors:
+
+    The Geeqie Team <geeqie-devel@lists.sourceforge.net>
+    John Ellis <gqview@users.sf.net>
+
+Copyright:
+
+    Copyright (C) 2008 - 2009 The Geeqie Team
+    Copyright (C) 2006 John Ellis
+
+License:
+
+    This package 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 package 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 complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2009, Klaus Ethgen <Klaus@Ethgen.de> and
+is licensed under the GPL, see above.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..e772481
--- /dev/null
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..cc7c842
--- /dev/null
@@ -0,0 +1,5 @@
+BUGS
+NEWS
+README
+README.lirc
+TODO
diff --git a/debian/geeqie.doc-base b/debian/geeqie.doc-base
new file mode 100644 (file)
index 0000000..a029855
--- /dev/null
@@ -0,0 +1,10 @@
+Document: Geeqie
+Title: Geeqie Manual
+Author: The Geeqie Team
+Abstract: The Geeqie User Manual
+Section: unknown
+
+Format: HTML
+Index: /usr/share/doc/geeqie/html/index.html
+Files: /usr/share/doc/geeqie/html/*.html
+
diff --git a/debian/menu b/debian/menu
new file mode 100644 (file)
index 0000000..5c9df65
--- /dev/null
@@ -0,0 +1,3 @@
+?package(geeqie):needs="X11" section="Applications/Viewers"\
+  title="Geeqie" command="/usr/bin/geeqie"\
+  icon="/usr/share/pixmaps/geeqie.png"
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..a3efe54
--- /dev/null
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       ./autogen.sh $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-readmedir=/usr/share/doc/geeqie --with-htmldir=\$${prefix}/share/doc/geeqie/html --enable-lirc CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs -Wl,--as-needed"
+       #./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs -Wl,--as-needed"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #docbook-to-man debian/geeqie.sgml > geeqie.1
+
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       # Add here commands to clean up after the build process.
+       [ ! -f Makefile ] || $(MAKE) distclean
+       rm -f config.sub config.guess
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/geeqie.
+       $(MAKE) DESTDIR=$(CURDIR)/debian/geeqie install
+
+       rm $(CURDIR)/debian/geeqie/usr/share/doc/geeqie/COPYING \
+          $(CURDIR)/debian/geeqie/usr/share/doc/geeqie/ChangeLog
+
+
+# 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 ChangeLog
+       dh_installdocs
+#      dh_install
+       dh_installmenu
+       dh_installmime
+#      dh_installinfo
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress --exclude=README
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..eb22cb1
--- /dev/null
@@ -0,0 +1,6 @@
+# watch control file for uscan
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://sf.net/geeqie/geeqie-(.*)\.tar\.gz