From 00025c3127899e6de388292615ab900eac0cda89 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 23 Dec 2013 05:08:35 +0100 Subject: [PATCH] Add initial debian packaging info Signed-off-by: Petr Baudis --- debian/README.Debian | 5 ++++ debian/changelog | 6 +++++ debian/compat | 1 + debian/control | 55 +++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 22 +++++++++++++++++ debian/libgfxprim-dev.dirs | 2 ++ debian/libgfxprim-dev.install | 3 +++ debian/libgfxprim-doc.dirs | 1 + debian/libgfxprim-doc.install | 1 + debian/libgfxprim1.dirs | 2 ++ debian/libgfxprim1.docs | 1 + debian/libgfxprim1.install | 2 ++ debian/rules | 23 ++++++++++++++++++ debian/source/format | 1 + debian/spiv.dirs | 1 + debian/spiv.install | 1 + debian/spiv.menu | 2 ++ 17 files changed, 129 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libgfxprim-dev.dirs create mode 100644 debian/libgfxprim-dev.install create mode 100644 debian/libgfxprim-doc.dirs create mode 100644 debian/libgfxprim-doc.install create mode 100644 debian/libgfxprim1.dirs create mode 100644 debian/libgfxprim1.docs create mode 100644 debian/libgfxprim1.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/spiv.dirs create mode 100644 debian/spiv.install create mode 100644 debian/spiv.menu diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 00000000..113e9709 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +gfxprim for Debian +------------------ + +We currently do not package the Python bindings, this remains a TODO +as I don't know anything about Python packaging in Debian yet. -- pasky diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..7ba6b0ac --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +gfxprim (1.0.0-rc0-1) unstable; urgency=low + + * Initial release (based on the commit 38c6f4, not including + the Python bindings) + + -- Petr Baudis Mon, 23 Dec 2013 02:11:26 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..45a4fb75 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..117e91c4 --- /dev/null +++ b/debian/control @@ -0,0 +1,55 @@ +Source: gfxprim +Priority: extra +Maintainer: Petr Baudis +Build-Depends: debhelper (>= 8.0.0), python-jinja2, libjpeg-dev, libpng-dev, libgif-dev, + libtiff-dev, libfreetype6-dev, libx11-dev, libxext-dev, + asciidoc, source-highlight, dvipng +Standards-Version: 3.9.3 +Section: libs +Homepage: http://gfxprim.ucw.cz/ + +Package: libgfxprim-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Open-source modular 2D bitmap graphics library + GFXprim is open-source modular 2D bitmap graphics library with + emphasis on speed and correctness. + . + This package contains the documentation. + +Package: libgfxprim-dev +Section: libdevel +Architecture: any +Depends: libgfxprim1 (= ${binary:Version}) +Description: Open-source modular 2D bitmap graphics library + GFXprim is open-source modular 2D bitmap graphics library with + emphasis on speed and correctness. + . + This package contains the header and development files which are + needed for building gfxprim applications. + +Package: libgfxprim1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: spiv +Description: Open-source modular 2D bitmap graphics library + GFXprim is open-source modular 2D bitmap graphics library with + emphasis on speed and correctness. + . + This package contains the shared libraries. + +Package: spiv +Section: graphics +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libgfxprim1 (= ${binary:Version}) +Description: Simple yet Powerful Image Viewer + Spiv is a fast, lightweight and minimalistic image viewer build + on the top of the GFXprim library. + . + Spiv supports wide range of image formats, implements image caches, + can also crawl a directory, supports variety of video backends, and + implements feh-like image actions, which are short shell scripts with + printf-like modifiers. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..24a98551 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gfxprim +Source: http://gfxprim.ucw.cz/ + +Files: * +Copyright: 2013 Cyril Hrubis +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU Lesser General + Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/debian/libgfxprim-dev.dirs b/debian/libgfxprim-dev.dirs new file mode 100644 index 00000000..44188162 --- /dev/null +++ b/debian/libgfxprim-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libgfxprim-dev.install b/debian/libgfxprim-dev.install new file mode 100644 index 00000000..d1bffed0 --- /dev/null +++ b/debian/libgfxprim-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so diff --git a/debian/libgfxprim-doc.dirs b/debian/libgfxprim-doc.dirs new file mode 100644 index 00000000..7276ecde --- /dev/null +++ b/debian/libgfxprim-doc.dirs @@ -0,0 +1 @@ +usr/share/doc diff --git a/debian/libgfxprim-doc.install b/debian/libgfxprim-doc.install new file mode 100644 index 00000000..79f7ac8a --- /dev/null +++ b/debian/libgfxprim-doc.install @@ -0,0 +1 @@ +usr/share/doc/libgfxprim-doc/* diff --git a/debian/libgfxprim1.dirs b/debian/libgfxprim1.dirs new file mode 100644 index 00000000..527b78f2 --- /dev/null +++ b/debian/libgfxprim1.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib diff --git a/debian/libgfxprim1.docs b/debian/libgfxprim1.docs new file mode 100644 index 00000000..e845566c --- /dev/null +++ b/debian/libgfxprim1.docs @@ -0,0 +1 @@ +README diff --git a/debian/libgfxprim1.install b/debian/libgfxprim1.install new file mode 100644 index 00000000..f8acb67e --- /dev/null +++ b/debian/libgfxprim1.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* +usr/bin/gfxprim-config diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..24cb9372 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/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 + +%: + dh $@ + +override_dh_auto_configure: + ./configure --prefix=/usr + +override_dh_auto_build-indep: + $(MAKE) doc + +override_dh_auto_install-indep: + install -m 755 -d $(CURDIR)/debian/tmp/usr/share/doc/libgfxprim-doc + install -m 644 doc/*.html $(CURDIR)/debian/tmp/usr/share/doc/libgfxprim-doc/ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..af745b31 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (git) diff --git a/debian/spiv.dirs b/debian/spiv.dirs new file mode 100644 index 00000000..e7724817 --- /dev/null +++ b/debian/spiv.dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/spiv.install b/debian/spiv.install new file mode 100644 index 00000000..a2677140 --- /dev/null +++ b/debian/spiv.install @@ -0,0 +1 @@ +usr/bin/spiv diff --git a/debian/spiv.menu b/debian/spiv.menu new file mode 100644 index 00000000..675fa09e --- /dev/null +++ b/debian/spiv.menu @@ -0,0 +1,2 @@ +?package(spiv):needs="X11|vc|wm" section="Applications/Graphics"\ + title="spiv (GFXPrim image viewer)" command="/usr/bin/spiv" -- 2.11.4.GIT