[maemo-commits] [maemo-commits] r9157 - in projects/haf/branches/maemo-af-desktop/python-hildon-desktop: . debian libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Jan 17 11:46:10 EET 2007
- Previous message: [maemo-commits] r9156 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r9158 - in projects/haf/branches/maemo-af-desktop: . python-hildondesktop python-hildondesktop/libhildondesktop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart
Date: 2007-01-17 11:46:08 +0200 (Wed, 17 Jan 2007)
New Revision: 9157
Added:
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/changelog
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/compat
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/control
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/copyright
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/debian
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/hildon-desktop-python-loader.install
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/python-hildondesktop.install
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/rules
Modified:
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac
projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am
Log:
* debian/*: Debian packaging.
* configure.ac: name changed to python-hildondesktop
* libhildondesktop/Makefile.am: changed to python-hildondesktop
Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog 2007-01-17 09:46:08 UTC (rev 9157)
@@ -1,3 +1,9 @@
+2007-01-17 Moises Martinez <moises.martinez at nokia.com>
+
+ * debian/*: Debian packaging.
+ * configure.ac: name changed to python-hildondesktop
+ * libhildondesktop/Makefile.am: changed to python-hildondesktop
+
2007-01-10 Lucas Rocha <lucas.rocha at nokia.com>
* libhildondesktop/hildondesktop.defs, libhildondesktop/Makefile.am,
Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac 2007-01-17 09:46:08 UTC (rev 9157)
@@ -1,4 +1,4 @@
-AC_INIT(python-hildon-desktop, 0.0.1)
+AC_INIT(python-hildondesktop, 0.0.1)
AM_INIT_AUTOMAKE
@@ -47,7 +47,7 @@
#++++++++
if test "x$have_python" != "xno"; then
- AM_PATH_PYTHON([2.3],[],[no])
+ AM_PATH_PYTHON([2.4],[],[no])
if test "x$PYTHON" = "x:"; then
have_python=no
fi
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/changelog
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/changelog 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/changelog 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1,6 @@
+python-hildondesktop (0.0.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Moises Martinez <moises.martinez at nokia.com> Tue, 16 Jan 2007 16:40:12 +0200
+
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/compat
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/compat 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/compat 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1 @@
+4
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/control
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/control 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/control 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1,20 @@
+Source: python-hildondesktop
+Section: libs
+Priority: optional
+Maintainer: Moises Martinez <moises.martinez at nokia.com>
+Build-Depends: debhelper (>= 4.0.0), hildon-desktop, python2.4, python2.4-dev, python2.4-gtk2-dev, libhildondesktop
+Standards-Version: 3.6.1
+
+Package: python-hildondesktop
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Python bindings for libhildondesktop
+ Python binding for set of widgets provided by libhildondesktop
+
+Package: hildon-desktop-python-loader
+Section: libs
+Architecture: any
+Depends: hildon-desktop, python2.4-dev, python2.4-gtk2-dev, ${misc:Depends}
+Description: Hildon Desktop Python Plugin Loader
+ Plugin Loader for Hildon Desktop for loading python plugins
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/copyright
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/copyright 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/copyright 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1,12 @@
+This package was debianized by unknown <moises.martinez at nokia.com> on
+Tue, 16 Jan 2007 16:40:12 +0200.
+
+It was downloaded from <fill in ftp site>
+
+Copyright:
+
+Upstream Author(s): <put author(s) name and email here>
+
+License:
+
+<Must follow here>
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/debian
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/debian 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/debian 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1,138 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# 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
+
+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
+
+
+#Architecture
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: config.status
+
+ # Add here commands to compile the arch part of the package.
+ #$(MAKE)
+ touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: config.status
+
+ # Add here commands to compile the indep part of the package.
+ #$(MAKE) doc
+ touch build-indep-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp #CONFIGURE-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: install-indep install-arch
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+
+ # Add here commands to install the indep part of the package into
+ # debian/<package>-doc.
+ #INSTALLDOC#
+
+ dh_install -i
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s
+ dh_installdirs -s
+
+ # Add here commands to install the arch part of the package into
+ # debian/tmp.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/pyhildondesktop
+
+ dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_install --sourcedir=debian/build -v
+ dh_installexamples
+# 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
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
Property changes on: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/debian
___________________________________________________________________
Name: svn:executable
+ *
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/hildon-desktop-python-loader.install
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/hildon-desktop-python-loader.install 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/hildon-desktop-python-loader.install 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1 @@
+usr/lib/hildon-desktop/loaders/libpythonpluginloader*.*
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/python-hildondesktop.install
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/python-hildondesktop.install 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/python-hildondesktop.install 2007-01-17 09:46:08 UTC (rev 9157)
@@ -0,0 +1,3 @@
+usr/lib/python2.4/site-packages/hildondesktop*.*
+usr/share/pygtk/2.0/defs/hildondesktop.defs
+
Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/rules
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/rules 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/debian/rules 2007-01-17 09:46:08 UTC (rev 9157)
@@ -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" --dbg-package="libhildonwm0"
+ 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/python-hildon-desktop/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am 2007-01-17 09:34:52 UTC (rev 9156)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/libhildondesktop/Makefile.am 2007-01-17 09:46:08 UTC (rev 9157)
@@ -1,18 +1,18 @@
-pygtkexec_LTLIBRARIES = hildondesktop.la
+pygtkexec_LTLIBRARIES = python-hildondesktop.la
pygtkdefs_DATA = hildondesktop.defs
-nodist_hildondesktop_la_SOURCES = hildondesktop.c hildondesktopmodule.c
+nodist_python_hildondesktop_la_SOURCES = hildondesktop.c hildondesktopmodule.c
-hildondesktop_la_LDFLAGS = -module -avoid-version
+python_hildondesktop_la_LDFLAGS = -module -avoid-version
-hildondesktop_la_LIBADD = \
+python_hildondesktop_la_LIBADD = \
$(LIBHILDONDESKTOP_LIBS) \
$(PYTHON_LIB_LOC) \
$(PYTHON_LIBS) \
$(PYTHON_EXTRA_LIBS) \
$(PYGTK_LIBS)
-hildondesktop_la_CFLAGS = \
+python_hildondesktop_la_CFLAGS = \
$(LIBHILDONDESKTOP_CFLAGS) \
$(NO_STRICT_ALIASING_CFLAGS) \
$(PYGTK_CFLAGS) \
- Previous message: [maemo-commits] r9156 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r9158 - in projects/haf/branches/maemo-af-desktop: . python-hildondesktop python-hildondesktop/libhildondesktop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
