Mercurial > geeqie
changeset 1538:a310abd44894
Adding debian packaging informations
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.
author | mow |
---|---|
date | Sat, 11 Apr 2009 18:34:12 +0000 |
parents | d9e918eb917c |
children | 4df9f4712d1a |
files | debian/changelog debian/compat debian/control debian/copyright debian/dirs debian/docs debian/geeqie.doc-base debian/menu debian/rules debian/watch |
diffstat | 10 files changed, 182 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Sat Apr 11 18:34:12 2009 +0000 @@ -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 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Sat Apr 11 18:34:12 2009 +0000 @@ -0,0 +1,1 @@ +7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Sat Apr 11 18:34:12 2009 +0000 @@ -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.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Sat Apr 11 18:34:12 2009 +0000 @@ -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.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dirs Sat Apr 11 18:34:12 2009 +0000 @@ -0,0 +1,1 @@ +usr/bin
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/docs Sat Apr 11 18:34:12 2009 +0000 @@ -0,0 +1,5 @@ +BUGS +NEWS +README +README.lirc +TODO
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/geeqie.doc-base Sat Apr 11 18:34:12 2009 +0000 @@ -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 +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/menu Sat Apr 11 18:34:12 2009 +0000 @@ -0,0 +1,3 @@ +?package(geeqie):needs="X11" section="Applications/Viewers"\ + title="Geeqie" command="/usr/bin/geeqie"\ + icon="/usr/share/pixmaps/geeqie.png"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Sat Apr 11 18:34:12 2009 +0000 @@ -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