From: Arne Zellentin Date: Wed, 21 Jun 2006 15:15:41 +0000 (+0000) Subject: * a dh_make debian skeleton with only minimal changes, lots to do... X-Git-Tag: git_migration_finished~4557 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=5f1d924c2251a418d82881a9fcd5873dc15b20a1;hp=09f2afede074a54b289ee3aa856bf2081c113334 * a dh_make debian skeleton with only minimal changes, lots to do... pmo-trunk-r302 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3f26487 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +modest (0.0.9-1) unstable; urgency=low + + * Initial Release. + + -- unknown Wed, 21 Jun 2006 13:43:30 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..92b645e --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: modest +Section: unknown +Priority: optional +Maintainer: unknown +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.0 + +Package: modest +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, tinymail +Description: an email client with modest resource-needs + TODO: description diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d1054ab --- /dev/null +++ b/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by unknown on +Wed, 21 Jun 2006 13:43:30 +0200. + +It was downloaded from + +Upstream Author(s): + +Copyright: + + 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..a6f961a --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO.tasks diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..e22655e --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +modest_0.0.9-1_i386.deb unknown optional diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..ef28195 --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(modest):needs=X11|text|vc|wm section=Apps/see-menu-manual\ + title="modest" command="/usr/bin/modest" diff --git a/debian/modest.substvars b/debian/modest.substvars new file mode 100644 index 0000000..2f081fa --- /dev/null +++ b/debian/modest.substvars @@ -0,0 +1 @@ +shlibs:Depends=gtkhtml0, hildon-libs0 (>= 0.12.18-1), libart-2.0-2 (>= 2.3.16), libatk1.0-0 (>= 1.9.0), libaudiofile0 (>= 0.2.3-4), libc6 (>= 2.3.5-1), libdbus-1-2 (>= 0.61), libdbus-glib-1-2 (>= 0.61), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.3.2-1osso7), libfreetype6 (>= 2.1.10-1osso1), libgconf2-6 (>= 2.6.4.14), libglade2-0 (>= 1:2.3.6), libglib2.0-0 (>= 2.8.6-1osso1), libgtk2.0-0 (>= 2:2.6.10-1.osso8), libmatchbox1 (>= 1.7-1), libpango1.0-0 (>= 1.8.1), libpng12-0 (>= 1.2.8rel), libx11-6 | xlibs (>> 4.1.0), libxau0, libxext6 | xlibs (>> 4.1.0), libxft2 (>= 2.1.6-1osso10), libxml2 (>= 2.6.16), libxrender1, osso-esd, zlib1g (>= 1:1.2.1) diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..451ca99 --- /dev/null +++ b/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# 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) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/modest.sgml > modest.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +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 + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/modest. + $(MAKE) install DESTDIR=$(CURDIR)/debian/modest + + +# 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_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# 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