[maemo-commits] [maemo-commits] r8633 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Dec 5 15:21:47 EET 2006
Author: jobi
Date: 2006-12-05 15:21:46 +0200 (Tue, 05 Dec 2006)
New Revision: 8633

Added:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/changelog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/conffiles
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/control
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/hildon-desktop.install
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop-dev.install
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop0.install
   projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/rules
Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
Log:

2006-12-05  Johan Bilien  <johan.bilien at nokia.com>

	* debian/:
	- added
	- first version of the Debian packaging



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-12-05 13:21:46 UTC (rev 8633)
@@ -1,3 +1,9 @@
+2006-12-05  Johan Bilien  <johan.bilien at nokia.com>
+
+	* debian/:
+	- added
+	- first version of the Debian packaging
+
 2006-12-05  Moises Martinez  <moises.martinzes at nokia.com>
 
 	* libhildonwm/hd-wm.[ch]: Added a signal for requesting appswitchers

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/changelog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/changelog	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/changelog	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1,7 @@
+hildon-desktop (0.0.0-1) unstable; urgency=low
+
+  * First version of the packaging
+
+ -- Johan Bilien <johan.bilien at nokia.com>  Tue,  5 Dec 2006 14:25:43 +0200
+
+

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/conffiles
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/conffiles	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/conffiles	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1,4 @@
+etc/hildon-desktop/desktop.conf
+etc/hildon-desktop/tasknavigator.conf
+etc/hildon-desktop/home.conf
+etc/hildon-desktop/hildon-home-layout.conf

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/control
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/control	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/control	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1,46 @@
+Source: hildon-desktop
+Section: x11
+Priority: optional
+Maintainer: Johan Bilien <johan.bilien at nokia.com>
+Build-Depends: debhelper (>= 4.0.0), hildon-libs-dev (>= 0.14.9), pkg-config, libosso-dev (>= 0.9.19), libosso-gnomevfs2-dev, osso-af-settings, hildon-fm-dev (>= 0.15), libosso-help-dev, libxtst-dev, libxml2-dev, osso-esd-dev
+Standards-Version: 3.6.0
+ 
+Package: hildon-desktop
+Section: x11
+Architecture: any
+Depends:  ${shlibs:Depends}, ${misc:Depends}, ${launcher:Depends}
+Conflicts: maemo-af-desktop
+Replaces: maemo-af-desktop
+Provides: maemo-af-desktop
+Description: Desktop environment for embedded devices
+  Hildon Desktop is a desktop environment for embedded devices. It
+  is based on the GNOME platform
+
+Package: hildon-desktop-dbg
+Section: devel
+Architecture: any
+Depends: hildon-desktop (=${Source-Version})
+Description: Debug symbols for hildon-desktop
+  Debug symbols for hildon-desktop
+
+Package: libhildondesktop0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: libhildondesktop shared library
+  Set of widgets to build desktop elements in the Hildon Desktop
+  environment
+
+Package: libhildondesktop-dev
+Section: devel
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libhildondesktop0 (=${Source-Version})
+Description: libhildonmenu development files
+  Development headers and static libraries for the libhildondesktop
+
+Package: libhildondesktop0-dbg
+Section: devel
+Architecture: all
+Depends: libhildondesktop0 (=${Source-Version})
+Description: libhildondesktop debug symbols
+  Debugging symbols for libhildondesktop0

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/hildon-desktop.install
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/hildon-desktop.install	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/hildon-desktop.install	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1,3 @@
+usr/bin/hildon-desktop*
+usr/bin/hn-hung-app-handler*
+etc/hildon-desktop

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop-dev.install
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop-dev.install	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop-dev.install	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1,3 @@
+usr/lib/libhildondesktop.so
+usr/lib/libhildondesktop.a
+usr/lib/pkgconfig/libhildondesktop.pc

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop0.install
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop0.install	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/libhildondesktop0.install	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1 @@
+usr/lib/libhildondesktop*.so.*

Added: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/rules
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/rules	2006-12-05 12:47:04 UTC (rev 8632)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/rules	2006-12-05 13:21:46 UTC (rev 8633)
@@ -0,0 +1,142 @@
+#!/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 maemo-launcher,$(DEB_BUILD_OPTIONS)))
+   LAUNCHER = yes
+endif
+
+ifeq "$(strip $(LAUNCHER))" "yes"
+   LAUNCHER_DEPENDS = -Vlauncher:Depends="maemo-launcher"
+   LAUNCHER_LDFLAGS = -shared
+endif
+
+# Use soft-float and thumb mode if it enabled.
+ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -mthumb -fPIC
+endif
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -ggdb -DDEBUG
+endif
+
+# shared library versions, option 1
+version=0.0.0
+major=0
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+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 --sysconfdir=/etc --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-dependency-tracking
+
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+# Add here commands to compile the package.
+	$(MAKE) LAUNCHER_LDFLAGS="$(LAUNCHER_LDFLAGS)"
+	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/build
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/build
+ifeq "$(strip $(LAUNCHER))" "yes"
+	mv debian/build/usr/bin/hildon-desktop debian/build/usr/bin/hildon-desktop.launch
+	ln -s maemo-invoker debian/build/usr/bin/hildon-desktop
+endif
+
+configure: configure-stamp
+
+configure-stamp:
+	dh_testdir
+	./autogen.sh
+	touch configure-stamp
+
+# 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 
+#	dh_installexamples
+	dh_installdocs
+	dh_install --sourcedir=debian/build -v
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip --dbg-package="hildon-desktop" --dbg-package="libhildondesktop0"
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol -- $(LAUNCHER_DEPENDS)
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: projects/haf/branches/maemo-af-desktop/hildon-desktop/debian/rules
___________________________________________________________________
Name: svn:executable
   + *


More information about the maemo-commits mailing list