[ease/debian] Debian packaging.



commit 51e004e8f21203da9a8166e07662612ce28c7773
Author: Nate Stedman <natesm gmail com>
Date:   Thu Oct 28 23:44:27 2010 -0400

    Debian packaging.

 .gitignore                          |    3 +
 configure.ac                        |    4 +-
 debian/changelog                    |    6 +++
 debian/compat                       |    1 +
 debian/control.in                   |   85 +++++++++++++++++++++++++++++++++++
 debian/copyright                    |   28 +++++++++++
 debian/ease.install                 |    6 +++
 debian/libease-core-0.4-0.install   |    1 +
 debian/libease-core-0.4-dev.install |    3 +
 debian/libflutter-0.4-0.install     |    1 +
 debian/libflutter-0.4-dev.install   |    3 +
 debian/rules                        |   12 +++++
 debian/shlibs.libease-core-0.4      |    1 +
 ease-core/Makefile.am               |    6 ++-
 ease/Makefile.am                    |    4 +-
 flutter/Makefile.am                 |    5 +-
 16 files changed, 161 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 86469f5..48342fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+# debian
+debian/control
+
 # Mac OS X noise
 *.AppleDouble/
 *DS_Store
diff --git a/configure.ac b/configure.ac
index 2725bee..352737e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,9 +32,9 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AC_PROG_CC
 AC_PROG_CC_STDC
 
-if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
+#if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
   AM_PROG_VALAC([0.9.1])
-fi
+#fi
 
 AM_PROG_CC_C_O
 AC_PROG_INSTALL
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dcfe699
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+ease (0.4-0ppa3lucid0) lucid; urgency=low
+
+  * Initial release as a PPA
+
+ -- Nate Stedman <natesm gmail com>  Sun, 17 Oct 2010 12:03:22 -0400
+
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.in b/debian/control.in
new file mode 100644
index 0000000..8f2c585
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,85 @@
+Source: ease
+Section: gnome
+Priority: optional
+Maintainer: Nate Stedman <natesm gmail com>
+Build-Depends: debhelper (>= 7),
+               pkg-config,
+               valac,
+               cdbs,
+               gnome-pkg-tools,
+               libclutter-gst-1.0-dev,
+               libclutter-gtk-0.10-dev,
+               libgee-dev,
+               libjson-glib-dev,
+               libarchive-dev,
+               libpoppler-glib-dev,
+               librest-dev,
+               librest-extras-dev,
+               libunique-dev
+Standards-Version: 3.9.1
+Homepage: http://ease-project.org
+
+Package: ease
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libease-core-0.4-0 (= ${binary:Version}),
+Section: gnome
+Description: Simple and stylish presentation application
+ Ease is a Clutter-based presentation application for the GNOME Desktop.
+
+Package: libease-core-0.4-0
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libclutter-gst-1.0-0,
+         libclutter-gtk-0.10-0,
+         libgee2,
+         libgmodule-2.0-0,
+         libjson-glib-1.0-0,
+         libarchive1,
+         libpoppler-glib5,
+         librest-0.6-0,
+         librest-extras-0.6-0,
+         libunique-1.0-0,
+         libflutter-0.4-0 (= ${binary:Version})
+Section: libs
+Description: Simple and stylish presentation application (backend library)
+ Ease is a Clutter-based presentation application for the GNOME Desktop.
+ .
+ This package contains Ease's backend library.
+
+Package: libease-core-0.4-dev
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libease-core-0.4-0 (= ${binary:Version})
+Section: libdevel
+Description: Simple and stylish presentation application (backend library dev)
+ Ease is a Clutter-based presentation application for the GNOME Desktop.
+ .
+ This package contains the development files for Ease's backend library.
+
+Package: libflutter-0.4-0
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libclutter-1.0-0
+Section: libs
+Description: Vala foreach iteration for Clutter containers.
+ Flutter is a library to allow iteration of Clutter containers with "foreach"
+ in the Vala programming language.
+
+Package: libflutter-0.4-dev
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libflutter-0.4-0 (= ${binary:Version}),
+         libclutter-1.0-dev
+Section:libdevel
+Description: Vala foreach iteration for Clutter containers.
+ Flutter is a library to allow iteration of Clutter containers with "foreach"
+ in the Vala programming language.
+ .
+ This package contains the development files.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..49a7367
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Nate Stedman <natesm gmail com> on Sun, 17 Oct 2010 12:03:22 -0400
+
+It was downloaded from http://git.gnome.org/browse/ease
+
+Upstream Authors:
+Nate Stedman <natesm gmail com>
+Stéphane Maniaci <stephane maniaci gmail com>
+
+Copyright (C) 2009-2010 Nate Stedman
+
+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 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.  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 <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/ease.install b/debian/ease.install
new file mode 100644
index 0000000..241f18e
--- /dev/null
+++ b/debian/ease.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/bin/ease
+debian/tmp/usr/share/applications/*
+debian/tmp/usr/share/ease/*
+debian/tmp/usr/share/icons/*
+debian/tmp/usr/share/locale/*
+debian/tmp/usr/share/mime/*
diff --git a/debian/libease-core-0.4-0.install b/debian/libease-core-0.4-0.install
new file mode 100644
index 0000000..089e643
--- /dev/null
+++ b/debian/libease-core-0.4-0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libease-core*
diff --git a/debian/libease-core-0.4-dev.install b/debian/libease-core-0.4-dev.install
new file mode 100644
index 0000000..c8d59e8
--- /dev/null
+++ b/debian/libease-core-0.4-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/ease/*
+debian/tmp/usr/lib/pkgconfig/ease-core-0.4.pc
+debian/tmp/usr/share/vala/vapi/ease-core-0.4*
diff --git a/debian/libflutter-0.4-0.install b/debian/libflutter-0.4-0.install
new file mode 100644
index 0000000..bc02f4c
--- /dev/null
+++ b/debian/libflutter-0.4-0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libflutter*
diff --git a/debian/libflutter-0.4-dev.install b/debian/libflutter-0.4-dev.install
new file mode 100644
index 0000000..fef5e3a
--- /dev/null
+++ b/debian/libflutter-0.4-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/flutter
+debian/tmp/usr/lib/pkgconfig/flutter-0.4.pc
+debian/tmp/usr/share/vala/vapi/flutter-0.4*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4be7bb2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+
+common-binary-predeb-arch:: list-missing
diff --git a/debian/shlibs.libease-core-0.4 b/debian/shlibs.libease-core-0.4
new file mode 100644
index 0000000..13585c0
--- /dev/null
+++ b/debian/shlibs.libease-core-0.4
@@ -0,0 +1 @@
+libease-core-0.4 0 libease-core-0.4
diff --git a/ease-core/Makefile.am b/ease-core/Makefile.am
index 177fb1f..758b833 100644
--- a/ease-core/Makefile.am
+++ b/ease-core/Makefile.am
@@ -77,7 +77,9 @@ libease_core_ EASE_CORE_VERSION@_la_VALAFLAGS = \
 	$(NULL)
 
 libease_core_ EASE_CORE_VERSION@_la_LIBADD = \
-	$(top_builddir)/flutter/libflutter- FLUTTER_VERSION@.la
+	$(top_builddir)/flutter/libflutter- FLUTTER_VERSION@.la \
+	-larchive \
+	-lclutter-gst-1.0
 
 libease_core_ EASE_CORE_VERSION@_la_CFLAGS = \
 	$(EASE_CFLAGS) \
@@ -103,7 +105,7 @@ vapi_DATA = \
 	$(top_srcdir)/vapi/ease-core- EASE_CORE_VERSION@.deps
 
 # remove generated files on `make clean`
-CLEANFILES = \
+MAINTAINERCLEANFILES = \
 	$(subst .vala,.c,$(libease_core_ EASE_CORE_VERSION@_la_SOURCES)) \
 	$(top_srcdir)/vapi/ease-core- EASE_CORE_VERSION@.vapi \
 	ease-core.h
diff --git a/ease/Makefile.am b/ease/Makefile.am
index d57a9ac..5b7c44e 100644
--- a/ease/Makefile.am
+++ b/ease/Makefile.am
@@ -53,7 +53,9 @@ ease_LDADD = \
 	$(top_builddir)/ease-core/libease-core- EASE_CORE_VERSION@.la \
 	$(top_builddir)/flutter/libflutter- FLUTTER_VERSION@.la \
 	-lm \
+	-larchive \
+	-lclutter-gst-1.0 \
 	$(NULL)
 
-CLEANFILES = $(subst .vala,.c,$(ease_SOURCES))
+MAINTAINERCLEANFILES = $(subst .vala,.c,$(ease_SOURCES))
 
diff --git a/flutter/Makefile.am b/flutter/Makefile.am
index 5f7c216..290a0af 100644
--- a/flutter/Makefile.am
+++ b/flutter/Makefile.am
@@ -36,11 +36,10 @@ vapi_DATA = \
 	$(top_srcdir)/vapi/flutter- FLUTTER_VERSION@.deps
 
 # remove generated files on `make clean`
-CLEANFILES = \
+MAINTAINERCLEANFILES = \
 	flutter.c \
 	$(top_srcdir)/vapi/flutter- FLUTTER_VERSION@.vapi \
-	flutter.h \
-	libflutter_ FLUTTER_VERSION@_la-flutter.lo
+	flutter.h
 
 EXTRA_DIST = \
 	$(top_srcdir)/vapi/flutter- FLUTTER_VERSION@.vapi \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]