aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorHolger Schroeder <holger.schroeder.ext@basyskom.de>2010-09-03 16:57:32 +0200
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-09-08 08:56:49 +0300
commitfda18b0113f136ca340ea074ebb14f293606ab3d (patch)
tree311a11ace4ca1dda48591b4d5ccd224662d48cce /debian
parent902d7142dd9485714ebbacfcf81f3cbb1188a8ed (diff)
Changes: package the examples into an own debian package
RevBy: Armin, John Details: Jani Mikkonen requested to package the parts of the chaining example in libmeegotouch, so that he can then use these programs for some tests where he is using fakemail and fakegallery right now. he wanted to get rid of that duplicated code. when i looked a bit deeper into the build system i found that the examples could not be built and not be packaged in the current version. so i added that possibility to the build system. some other examples do not have install rules in their .pro files yet, and perhaps the debian/meegotouch-examples.install would then need to be expanded for the other examples too. i verified that the chaining example does work, when installed from the created .deb package. please test and comment.
Diffstat (limited to 'debian')
-rw-r--r--debian/control12
-rw-r--r--debian/libmeegotouch-dev.install2
-rw-r--r--debian/meegotouch-demos-widgetsgallery.install3
-rw-r--r--debian/meegotouch-dev-tools.install1
-rw-r--r--debian/meegotouch-examples.install40
-rwxr-xr-xdebian/rules2
6 files changed, 57 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index e295d11f..50f7c012 100644
--- a/debian/control
+++ b/debian/control
@@ -356,3 +356,15 @@ Section: devel
Architecture: any
Enhances: meegotouch-demos-widgetsgallery
Description: Simplified Chinese translations for widgetsgallery
+
+Package: meegotouch-examples
+Section: devel
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Example applications
+
+Package: meegotouch-examples-dbg
+Section: devel
+Architecture: any
+Depends: meegotouch-examples (= ${Source-Version})
+Description: Debug symbols of the example applications
diff --git a/debian/libmeegotouch-dev.install b/debian/libmeegotouch-dev.install
index 48dd7028..b97e16a7 100644
--- a/debian/libmeegotouch-dev.install
+++ b/debian/libmeegotouch-dev.install
@@ -1,4 +1,4 @@
usr/lib/libmeegotouch*.so
-usr/include/*
+usr/include/meegotouch/*
usr/lib/pkgconfig/*
usr/share/qt4/mkspecs/features/meegotouch*
diff --git a/debian/meegotouch-demos-widgetsgallery.install b/debian/meegotouch-demos-widgetsgallery.install
index 1f5e8e0c..414c052a 100644
--- a/debian/meegotouch-demos-widgetsgallery.install
+++ b/debian/meegotouch-demos-widgetsgallery.install
@@ -1,5 +1,6 @@
usr/bin/widgetsgallery
-usr/share/themes/*
+usr/share/themes/base/meegotouch/icons/*
+usr/share/themes/base/meegotouch/widgetsgallery/*
usr/share/applications/*widgetsgallery.desktop
usr/share/applications/hildon/*widgetsgallery.desktop
usr/share/dbus-1/services/com.nokia.widgetsgallery.service
diff --git a/debian/meegotouch-dev-tools.install b/debian/meegotouch-dev-tools.install
index 2807e627..664e0fdf 100644
--- a/debian/meegotouch-dev-tools.install
+++ b/debian/meegotouch-dev-tools.install
@@ -8,3 +8,4 @@ usr/bin/mnotificationtool
usr/bin/mnotificationstresstest
usr/bin/dui-rename-files
usr/bin/dui-rename-symbols
+usr/share/themes/base/meegotouch/mapplettester/style/mapplettester.css
diff --git a/debian/meegotouch-examples.install b/debian/meegotouch-examples.install
new file mode 100644
index 00000000..bd15e8ec
--- /dev/null
+++ b/debian/meegotouch-examples.install
@@ -0,0 +1,40 @@
+usr/bin/animatedlayout
+usr/bin/chainingexampleapp1
+usr/bin/chainingexampleapp2
+usr/bin/com.nokia.textprocessor
+usr/bin/lifecycle
+usr/bin/org.maemo.textprocessor
+usr/bin/user
+usr/lib/libchainingexampleinterface.so.1
+usr/lib/libchainingexampleinterface.so.1.0
+usr/lib/libchainingexampleinterface.so.1.0.0
+usr/lib/libtextprocessor.so.1
+usr/lib/libtextprocessor.so.1.0
+usr/lib/libtextprocessor.so.1.0.0
+usr/share/animatedlayout/themes/animatedlayout.conf
+usr/share/animatedlayout/themes/images/background.png
+usr/share/animatedlayout/themes/images/dui-logo-blue.png
+usr/share/animatedlayout/themes/images/dui-logo-red.png
+usr/share/animatedlayout/themes/images/dui-logo.png
+usr/share/animatedlayout/themes/images/flow.png
+usr/share/animatedlayout/themes/images/horizontal.png
+usr/share/animatedlayout/themes/images/tile.png
+usr/share/animatedlayout/themes/images/vertical.png
+usr/share/animatedlayout/themes/style/animatedlayout.css
+usr/share/applications/chainingexampleapp1.desktop
+usr/share/applications/chainingexampleapp2.desktop
+usr/share/applications/lifecycle.desktop
+usr/share/dbus-1/interfaces/com.nokia.ChainingExampleInterface.xml
+usr/share/dbus-1/interfaces/com.nokia.TextProcessorInterface.xml
+usr/share/dbus-1/services/com.nokia.chainingexampleapp1.service
+usr/share/dbus-1/services/com.nokia.chainingexampleapp2.service
+usr/share/dbus-1/services/com.nokia.lifecycle.service
+usr/share/dbus-1/services/com.nokia.textprocessor.service
+usr/share/dbus-1/services/org.maemo.textprocessor.service
+usr/share/l10n/meegotouch/animatedlayout.qm
+usr/share/l10n/meegotouch/animatedlayout_de.qm
+usr/share/l10n/meegotouch/animatedlayout_en.qm
+usr/share/l10n/meegotouch/animatedlayout_ja.qm
+usr/share/meegotouch/imtoolbars/toolbar1.xml
+usr/share/meegotouch/imtoolbars/toolbar2.xml
+usr/share/themes/base/meegotouch/SeparatorTest/style/SeparatorTest.css
diff --git a/debian/rules b/debian/rules
index 62ed5cc8..ae77c0cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,7 +66,7 @@ endif
# Perform a minimal build by setting DEB_BUILD_OPTION=minimal,...
ifeq (,$(findstring minimal,$(DEB_BUILD_OPTIONS)))
- OPTIONS += -make "tests benchmarks"
+ OPTIONS += -make "tests benchmarks examples"
else
OPTIONS += -minimal
MAKEDOCS = 0