From 3e74af7034dd16d0b0254514d7429c8f8a3a88e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sim=C3=B3n=20Pena?= Date: Sun, 27 Jun 2010 00:48:53 +0200 Subject: [PATCH] Added debian packaging infrastructure * A package containing the DBus service can be generated --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 +++++++++++++++++++ debian/copyright | 35 +++++++++++++++++++++++++++++++++++ debian/rules | 14 ++++++++++++++ src/Makefile.am | 5 ++++- 6 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f5b340a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +maevies (0.1) unstable; urgency=low + + * Initial release. + + -- Simón Pena Placer Sun, 27 Jun 2010 00:37:11 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..156285c --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: maevies +Section: user/utilities +Priority: extra +Maintainer: Simón Pena Placer +Build-Depends: debhelper (>= 5), autotools-dev, libglib2.0-dev, + libsoup2.4-dev, libxml2-dev, libjson-glib-dev, libdbus-glib-1-dev +Standards-Version: 3.7.2 +XB-Homepage: https://garage.maemo.org/projects/maevies/ +XB-Bugtracker: mailto:spenap@gmail.com + +Package: maevies +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +XB-Maemo-Display-Name: Maevies +Description: Maevies is a movie advisor application + Maevies is an application focused on letting the user + get info about a movie, knowing whether it has extra + scenes after or during the credits, and knowing whether, + when and where it is being screened on theaters. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..85a9a9b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Simón Pena Placer on +Sun, 27 Jun 2010 00:27:28 +0200. + +It was downloaded from https://garage.maemo.org/projects/maevies/ + +Upstream Authors: + + Simón Pena Placer + Gervasio Varela + +Copyright: + + 2009-2010 Simón Pena Placer + 2009-2010 Gervasio Varela + +Maevies is licensed under the GNU General Public License v3: + + This program is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 3 as published by the Free Software Foundation. + + This program 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. + + On Debian systems, the complete text of the license can be found + in the file /usr/share/common-licenses/GPL-3 + +The Debian packaging is (C) 2010, Simon Pena Placer and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f50eee3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_INSTALL_DIRS_ALL := usr/bin +DEB_INSTALL_DOCS_ALL := + +makebuilddir/maevies:: configure + +configure: configure.ac Makefile.am src/Makefile.am + NOCONFIGURE=1 ./autogen.sh diff --git a/src/Makefile.am b/src/Makefile.am index 4f3efcd..0c17dd0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,9 @@ -bin_PROGRAMS = mvs \ +bin_PROGRAMS = \ maevies_service +noinst_PROGRAMS = \ + mvs + mvs_SOURCES = \ $(top_srcdir)/src/main.c -- 1.7.9.5