From 8b281cc564d480578866399cdfeaf0e322331186 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 27 Apr 2010 05:41:26 +0000 Subject: [PATCH] Debian package From: Daniel Garcia git-svn-id: https://forja.rediris.es/svn/cusl4-tbo@125 aa302d1f-72b1-406a-902b-8593ca2b2744 --- data/doodle/Makefile.am | 30 +++++++------- debian/README | 6 +++ debian/README.Debian | 6 +++ debian/changelog | 5 +++ debian/compat | 1 + debian/control | 21 ++++++++++ debian/copyright | 42 +++++++++++++++++++ debian/dirs | 2 + debian/docs | 3 ++ debian/rules | 105 ++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 206 insertions(+), 15 deletions(-) create mode 100644 debian/README 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/dirs create mode 100644 debian/docs create mode 100755 debian/rules diff --git a/data/doodle/Makefile.am b/data/doodle/Makefile.am index 93a39f3..5f7cd8e 100644 --- a/data/doodle/Makefile.am +++ b/data/doodle/Makefile.am @@ -71,19 +71,19 @@ guadalinexdir = $(datadir)/tbo/doodle/guadalinex/andatuz guadalinex_DATA = guadalinex/andatuz/*.svg EXTRA_DIST = \ - doodle1/body/*.svg - doodle1/mouth/*.svg - doodle1/eyes/*.svg - bar/body/*.svg - foo/body/*.svg - foo/mouth/*.svg - foo/eyes/*.svg - accesories/pcs/*.svg - accesories/devices/*.svg - accesories/emotes/*.svg - accesories/actions/*.svg - bubble/ellipse/*.svg - bubble/square/*.svg - guadalinex/andatuz/*.svg - dgm/body/*.svg + doodle1/body/*.svg \ + doodle1/mouth/*.svg \ + doodle1/eyes/*.svg \ + bar/body/*.svg \ + foo/body/*.svg \ + foo/mouth/*.svg \ + foo/eyes/*.svg \ + accesories/pcs/*.svg \ + accesories/devices/*.svg \ + accesories/emotes/*.svg \ + accesories/actions/*.svg \ + bubble/ellipse/*.svg \ + bubble/square/*.svg \ + guadalinex/andatuz/*.svg \ + dgm/body/*.svg \ tbo/logo/*.svg diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..f93b6e0 --- /dev/null +++ b/debian/README @@ -0,0 +1,6 @@ +The Debian Package tbo +---------------------------- + +Comments regarding the Package + + -- Daniel Garcia Mon, 26 Apr 2010 09:51:33 +0200 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..1d8c9d9 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +tbo for Debian +-------------- + + + + -- Daniel Garcia Mon, 26 Apr 2010 09:51:33 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1b5a1cb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tbo (0.93.001.git.e250) unstable; urgency=low + + * Initial Release. + + -- Daniel Garcia Mon, 26 Apr 2010 09:51:33 +0200 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..80deaab --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: tbo +Section: gnome +Priority: optional +Maintainer: Daniel Garcia +Build-Depends: debhelper (>= 5), + pkg-config, + libglib2.0-dev (>= 2.18.0), + libgtk2.0-dev (>= 2.16.0), + libgnome2-dev (>= 2.14.0), + gnome-pkg-tools (>= 0.10), + intltool (>= 0.40.0) +Standards-Version: 3.8.1 +Homepage: http://danigm.net/TBO + +Package: tbo +Architecture: any +Depends: ${shlibs:Depends}, + libgtk2.0-0, + ${misc:Depends} +Description: Intuitive GNOME comic creator + TBO is a simple and easy drag and drop comic creator. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3a1738a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by: + + Daniel Garcia on Mon, 26 Apr 2010 09:51:33 +0200 + +It was downloaded from: + + + +Upstream Author(s): + + Daniel Garcia + +Copyright: + + Copyright (C) 2010 Daniel Garcia + +License: + + 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 3 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 program. If not, see . + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + Copyright (C) 2010 Daniel Garcia + +and is licensed under the GPL version 3, see above. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..5502ed8 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..19f45d9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,105 @@ +#!/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 + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/tbo.sgml > tbo.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_prep + dh_installdirs + + # Add here commands to install the package into debian/tbo. + $(MAKE) DESTDIR=$(CURDIR)/debian/tbo install + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# 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 -- 2.1.4