From: etrunko Date: Tue, 9 Jun 2009 14:39:17 +0000 (+0000) Subject: Added maemo-cflags-cdbs-rules as dependency X-Git-Url: http://git.maemo.org/git/?p=maemo-efl;a=commitdiff_plain;h=0c6456357d145a3c67931a77660ed4f73b3f2531 Added maemo-cflags-cdbs-rules as dependency --- diff --git a/trunk/e_dbus/debian/control.in b/trunk/e_dbus/debian/control.in index 2d5cb29..37e0ca0 100644 --- a/trunk/e_dbus/debian/control.in +++ b/trunk/e_dbus/debian/control.in @@ -2,8 +2,10 @@ Source: e-dbus Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, debhelper (>= 4), libecore0-dev (>= @ECORE_VERSION@), libdbus-1-dev, libeina-dev (>= @EINA_VERSION@) +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, libecore0-dev (>= @ECORE_VERSION@), libdbus-1-dev, libeina-dev (>= @EINA_VERSION@) Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libedbus0-dev Section: libdevel @@ -16,6 +18,7 @@ Description: D-Bus and HAL wrapper libraries for use with the EFL - Development This package contains the e_dbus headers and static libraries. Package: libedbus0 +Section: libs Architecture: any Depends: ${shlibs:Depends}, libecore0 (>= @ECORE_VERSION@), libdbus-1-2 | libdbus-1-3 Provides: libedbus diff --git a/trunk/ecore/debian/control.in b/trunk/ecore/debian/control.in index 50e328a..2cdf63d 100644 --- a/trunk/ecore/debian/control.in +++ b/trunk/ecore/debian/control.in @@ -2,8 +2,10 @@ Source: ecore Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, debhelper (>= 4), libeina-dev (>= @EINA_VERSION@), libeet1-dev (>= @EET_VERSION@), libevas0-dev (>= @EVAS_VERSION@), libssl-dev, libcurl3-dev, libcurl3-openssl-dev, libxcursor-dev, x-dev | libx11-dev, libxrender-dev, libxrandr-dev, libxext-dev, libfreetype6-dev, libjpeg62-dev +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, libeina-dev (>= @EINA_VERSION@), libeet1-dev (>= @EET_VERSION@), libevas0-dev (>= @EVAS_VERSION@), libssl-dev, libcurl3-dev, libcurl3-openssl-dev, libxcursor-dev, x-dev | libx11-dev, libxrender-dev, libxrandr-dev, libxext-dev, libfreetype6-dev, libjpeg62-dev Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libecore0 Architecture: any @@ -103,7 +105,6 @@ Description: Ecore File Library Package: libecore0-imf Architecture: any Section: libs -Architecture: any Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}) Provides: libecore-imf Description: Ecore Input Method Framework @@ -118,7 +119,6 @@ Description: Ecore Input Method Framework Package: libecore0-imf-evas Architecture: any Section: libs -Architecture: any Depends: ${shlibs:Depends}, libecore0 (= ${Source-Version}), libecore0-evas (= ${Source-Version}), libecore0-imf (= ${Source-Version}) Provides: libecore-imf-evas Description: Ecore Evas Input Method Framework @@ -205,7 +205,6 @@ Description: Virtual package providing all available Ecore modules. Package: libecore0-dev Architecture: any Section: libdevel -Architecture: any Depends: libecore0 (= ${Source-Version}), libevas0-dev (>= @EVAS_VERSION@), libecore0-all (= ${Source-Version}), libssl-dev, libcurl3-openssl-dev, libxcursor-dev, libxrender-dev, libxrandr-dev Provides: libecore-dev Description: Ecore headers, static libraries and documentation diff --git a/trunk/ecore/debian/rules b/trunk/ecore/debian/rules index 49312e6..2239164 100755 --- a/trunk/ecore/debian/rules +++ b/trunk/ecore/debian/rules @@ -3,8 +3,10 @@ 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/maemo-cflags.mk -DEB_CONFIGURE_EXTRA_FLAGS := --enable-ecore-evas-software-16-x11 \ +DEB_CONFIGURE_SCRIPT := ./autogen.sh +DEB_CONFIGURE_EXTRA_FLAGS := --enable-ecore-evas-software-16-x11 \ --disable-ecore-fb \ --disable-ecore-directfb \ --disable-ecore-evas-gl \ @@ -18,43 +20,3 @@ DEB_CONFIGURE_SCRIPT_ENV += CURL_LIBS="-lcurl" CFLAGS += -I/usr/X11R6/include -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - diff --git a/trunk/edje/debian/control.in b/trunk/edje/debian/control.in index 7533a21..9ac4ddd 100644 --- a/trunk/edje/debian/control.in +++ b/trunk/edje/debian/control.in @@ -2,9 +2,11 @@ Source: edje Section: libs Priority: optional Maintainer: Maemo-EFL Team +Uploaders: Eduardo Lima (Etrunko) Suggests: edje0-bin -Build-Depends: debhelper (>> 4.0.0), cdbs (>= 0.4.3-1.1), automake1.7 | automaken, libtool, libeet1-dev (>= @EET_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libevas0-dev (>= @EVAS_VERSION@), libembryo0-dev (>= @EMBRYO_VERSION@), libeina-dev (>= @EINA_VERSION@) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, automake1.7 | automaken, libtool, libeet1-dev (>= @EET_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libevas0-dev (>= @EVAS_VERSION@), libembryo0-dev (>= @EMBRYO_VERSION@), libeina-dev (>= @EINA_VERSION@) Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: edje0-bin Architecture: any diff --git a/trunk/edje/debian/rules b/trunk/edje/debian/rules index 7c79469..1f9de3c 100755 --- a/trunk/edje/debian/rules +++ b/trunk/edje/debian/rules @@ -2,44 +2,6 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - +DEB_CONFIGURE_SCRIPT := ./autogen.sh diff --git a/trunk/eet/debian/control.in b/trunk/eet/debian/control.in index e19193b..7c9b33f 100644 --- a/trunk/eet/debian/control.in +++ b/trunk/eet/debian/control.in @@ -2,14 +2,15 @@ Source: eet Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23-1.1), automake1.7 | automaken | libtool, zlib1g-dev, libjpeg62-dev, libeina-dev (>= @EINA_VERSION@) -Standards-Version: 3.6.2.2 -#Homepage: http://www.enlightenment.org +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, automake1.7 | automaken | libtool, zlib1g-dev, libjpeg62-dev, libeina-dev (>= @EINA_VERSION@) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libeet1-dev Section: libdevel Architecture: any -Depends: libeet1 (= ${Source-Version}), zlib1g-dev, libjpeg-dev +Depends: ${shlibs:Depends}, libeet1 (= ${Source-Version}), zlib1g-dev, libjpeg-dev Replaces: libeet0-dev Provides: libeet-dev Description: Enlightenment DR17 file chunk reading/writing library development files @@ -52,7 +53,7 @@ Description: Enlightenment DR17 file chunk reading/writing library Package: eet1-bin Architecture: any -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, libeet1 (= ${Source-Version}) Replaces: eet0-bin Provides: eet-bin Description: Enlightenment DR17 file chunk reading/writing utility @@ -71,7 +72,7 @@ Description: Enlightenment DR17 file chunk reading/writing utility #Priority: extra #Provides: libeet-dbg #Replaces: libeet0-dbg -#Depends: libeet1 (= ${Source-Version}) +#Depends: ${shlibs:Depends}, libeet1 (= ${Source-Version}) #Description: Enlightenment DR17 file chunk reading/writing library - debug symbols # Eet is a tiny library designed to write an arbitary set of chunks of data to a # file and optionally compress each chunk (very much like a zip file) and allow diff --git a/trunk/eet/debian/rules b/trunk/eet/debian/rules index abc99d1..1f9de3c 100755 --- a/trunk/eet/debian/rules +++ b/trunk/eet/debian/rules @@ -2,45 +2,6 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk - -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - +DEB_CONFIGURE_SCRIPT := ./autogen.sh diff --git a/trunk/efl-core/debian/control.in b/trunk/efl-core/debian/control.in index 602ebca..f8aea54 100644 --- a/trunk/efl-core/debian/control.in +++ b/trunk/efl-core/debian/control.in @@ -1,8 +1,11 @@ Source: efl-core +Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper, cdbs -Standards-Version: 3.6.1 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: cdbs +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: efl-core Priority: optional diff --git a/trunk/eina/debian/control b/trunk/eina/debian/control index fd25b64..28f7b45 100644 --- a/trunk/eina/debian/control +++ b/trunk/eina/debian/control @@ -2,15 +2,16 @@ Source: eina Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>= 5), cdbs, automake1.7 | automaken, libtool, pkg-config -Standards-Version: 3.7.3 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, automake1.7 | automaken, libtool, pkg-config +Standards-Version: 3.7.2 Homepage: http://www.enlightenment.org -Package: libeina-dev -Section: libdevel +Package: libeina0 Architecture: any -Depends: libeina0 (= ${Source-Version}) -Description: Enlightenment DR17 file chunk reading/writing library development files +Depends: ${shlibs:Depends} +Provides: libeina +Description: Enlightenment DR17 file chunk reading/writing library Eina is a multi-platform library that provides optimized data types and a few tools. It supports the following data types: Containers: @@ -21,48 +22,64 @@ Description: Enlightenment DR17 file chunk reading/writing library development f o Red-Black Tree: a tree o Access Content types + Accessor: can access items of a container randomly - + Iterator: can access items of a container sequentially - Stringshare. - . - This package contains headers and static libraries for development with - libeina. + + Iterator: can access items of a container sequentially -Package: libeina0 +Package: libeina-dev +Section: libdevel Architecture: any -Depends: ${shlibs:Depends} -Provides: libeina -Description: Enlightenment DR17 file chunk reading/writing library +Depends: ${misc:Depends}, libeina-svn-01 (= ${binary:Version}), pkg-config +#Recommends: libeina-doc +Description: Development files for libeina Eina is a multi-platform library that provides optimized data types and a few tools. It supports the following data types: - Containers: - o Array: an array - o Hash Table: a hash table - o Inlined List: an list with functions inlined - o List: a single-linked list - o Red-Black Tree: a tree + o Array + o Hash Table + o Double-linked list + o Red-black tree + o Shared string o Access Content types + Accessor: can access items of a container randomly - + Iterator: can access items of a container sequentially - Stringshare. + + Iterator: can access items of a container sequentially + . + This package contains headers and static libraries for development with + libeina. +#Package: libeina-doc +#Architecture: all +#Depends: ${misc:Depends} +#Enhances: libeina-dev +#Section: doc +#Description: Documentation for use with libeina +# Eina is a multi-platform library that provides optimized data types and a few +# tools. It supports the following data types: +# o Array +# o Hash Table +# o Double-linked list +# o Red-black tree +# o Shared string +# o Access Content types +# + Accessor: can access items of a container randomly +# + Iterator: can access items of a container sequentially +# . +# This package contains documentation for libeina. +# +# #Package: libeina-dbg #Architecture: any -#Section: libdevel +#Section: debug +#Depends: ${misc:Depends}, libeina-svn-01 (= ${binary:Version}) #Priority: extra -#Depends: libeina0 (= ${binary:Version}) -#Description: Enlightenment DR17 file chunk reading/writing library - debug symbols +#Description: debugging symbols for use with libeina # Eina is a multi-platform library that provides optimized data types and a few # tools. It supports the following data types: -# Containers: -# o Array: an array -# o Hash Table: a hash table -# o Inlined List: an list with functions inlined -# o List: a single-linked list -# o Red-Black Tree: a tree +# o Array +# o Hash Table +# o Double-linked list +# o Red-black tree +# o Shared string # o Access Content types # + Accessor: can access items of a container randomly -# + Iterator: can access items of a container sequentially -# Stringshare. +# + Iterator: can access items of a container sequentially # . # This package contains unstripped shared libraries. It is provided primarily # to provide a backtrace with names in a debugger, this makes it somewhat easier diff --git a/trunk/eina/debian/rules b/trunk/eina/debian/rules index 87913ef..19b9d4f 100755 --- a/trunk/eina/debian/rules +++ b/trunk/eina/debian/rules @@ -2,47 +2,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk +DEB_CONFIGURE_SCRIPT := ./autogen.sh DEB_CONFIGURE_EXTRA_FLAGS := --disable-magic-debug -#DEB_MAKE_CLEAN_TARGET := clean -#DEB_DH_STRIP_ARGS := --dbg-package=libeina-dbg -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - diff --git a/trunk/embryo/debian/control b/trunk/embryo/debian/control index 7255570..709b751 100644 --- a/trunk/embryo/debian/control +++ b/trunk/embryo/debian/control @@ -2,8 +2,10 @@ Source: embryo Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, debhelper (>= 4.0.0), automake1.7 | automaken, libtool +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, automake1.7 | automaken, libtool Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libembryo0-dev Section: libdevel diff --git a/trunk/embryo/debian/rules b/trunk/embryo/debian/rules index 7c79469..1f9de3c 100755 --- a/trunk/embryo/debian/rules +++ b/trunk/embryo/debian/rules @@ -2,44 +2,6 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - +DEB_CONFIGURE_SCRIPT := ./autogen.sh diff --git a/trunk/epeg/debian/control b/trunk/epeg/debian/control index 3a4bd57..abecab5 100644 --- a/trunk/epeg/debian/control +++ b/trunk/epeg/debian/control @@ -2,8 +2,10 @@ Source: epeg Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, quilt, debhelper (>= 4), libjpeg62-dev +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, libjpeg62-dev Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libepeg0-dev Section: libdevel diff --git a/trunk/epeg/debian/rules b/trunk/epeg/debian/rules index 31698d2..1f9de3c 100755 --- a/trunk/epeg/debian/rules +++ b/trunk/epeg/debian/rules @@ -2,45 +2,6 @@ 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 - -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) +include /usr/share/cdbs/1/rules/maemo-cflags.mk +DEB_CONFIGURE_SCRIPT := ./autogen.sh diff --git a/trunk/epsilon/debian/control.in b/trunk/epsilon/debian/control.in index ed74fbc..f63f9f2 100644 --- a/trunk/epsilon/debian/control.in +++ b/trunk/epsilon/debian/control.in @@ -2,8 +2,10 @@ Source: epsilon Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, quilt, debhelper, zlib1g-dev, libeina-dev (>= @EINA_VERSION@), libevas0-dev (>= @EVAS_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libedje0-dev (>= @EDJE_VERSION@), libpng12-dev +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, zlib1g-dev, libeina-dev (>= @EINA_VERSION@), libevas0-dev (>= @EVAS_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libedje0-dev (>= @EDJE_VERSION@), libpng12-dev Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libepsilon0-dev Section: libdevel diff --git a/trunk/epsilon/debian/rules b/trunk/epsilon/debian/rules index 31698d2..e02d57c 100755 --- a/trunk/epsilon/debian/rules +++ b/trunk/epsilon/debian/rules @@ -3,44 +3,6 @@ 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/maemo-cflags.mk -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - +DEB_CONFIGURE_SCRIPT := ./autogen.sh diff --git a/trunk/etk/debian/control.in b/trunk/etk/debian/control.in index 151451c..1fdd294 100644 --- a/trunk/etk/debian/control.in +++ b/trunk/etk/debian/control.in @@ -2,8 +2,10 @@ Source: etk Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, quilt, debhelper (>= 4.0.0), autotools-dev, libevas0-dev (>= @EVAS_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libedje0-dev (>= @EDJE_VERSION@), edje0-bin (>= @EDJE_VERSION@), libeina-dev (>= @EINA_VERSION@) +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, autotools-dev, libevas0-dev (>= @EVAS_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libedje0-dev (>= @EDJE_VERSION@), edje0-bin (>= @EDJE_VERSION@), libeina-dev (>= @EINA_VERSION@) Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: libetk0 Architecture: any diff --git a/trunk/etk/debian/rules b/trunk/etk/debian/rules index 304f0e5..c323caf 100755 --- a/trunk/etk/debian/rules +++ b/trunk/etk/debian/rules @@ -3,46 +3,7 @@ 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/maemo-cflags.mk +DEB_CONFIGURE_SCRIPT := ./autogen.sh DEB_CONFIGURE_EXTRA_FLAGS := --disable-ecore-fb-x11-support - -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - diff --git a/trunk/evas/debian/control.in b/trunk/evas/debian/control.in index 1662ed8..d8dde93 100644 --- a/trunk/evas/debian/control.in +++ b/trunk/evas/debian/control.in @@ -2,9 +2,10 @@ Source: evas Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>= 4.2.0), cdbs (>= 0.4.3-1.1), quilt, automake1.7 | automaken, libtool, libeet1-dev (>= @EET_VERSION@), libfreetype6-dev, libpng12-dev | libpng-dev, libx11-dev | xlibs-dev, zlib1g, libjpeg62-dev, libungif4-dev, autotools-dev, x11proto-xext-dev, libxext-dev, libfontconfig1-dev, libeina-dev (>= @EINA_VERSION@) +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, automake1.7 | automaken, libtool, libeet1-dev (>= @EET_VERSION@), libfreetype6-dev, libpng12-dev | libpng-dev, libx11-dev | xlibs-dev, zlib1g, libjpeg62-dev, libungif4-dev, autotools-dev, x11proto-xext-dev, libxext-dev, libfontconfig1-dev, libeina-dev (>= @EINA_VERSION@) Standards-Version: 3.7.2 -#Homepage: http://www.enlightenment.org +Homepage: http://www.enlightenment.org Package: libevas0 Architecture: any diff --git a/trunk/evas/debian/rules b/trunk/evas/debian/rules index b925664..74c218f 100755 --- a/trunk/evas/debian/rules +++ b/trunk/evas/debian/rules @@ -2,7 +2,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk +DEB_CONFIGURE_SCRIPT := ./autogen.sh DEB_CONFIGURE_EXTRA_FLAGS := --enable-software-16-x11 \ --enable-software-x11 \ --disable-scale-smooth \ @@ -39,46 +41,4 @@ DEB_CONFIGURE_EXTRA_FLAGS := --enable-software-16-x11 \ --disable-convert-32-rgb-rot-90 \ --disable-sdl - CFLAGS+=-I/usr/X11R6/include - -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - diff --git a/trunk/expedite/debian/control b/trunk/expedite/debian/control deleted file mode 100644 index e07cff9..0000000 --- a/trunk/expedite/debian/control +++ /dev/null @@ -1,14 +0,0 @@ -Source: expedite -Section: user/accessories -Priority: optional -Maintainer: Maemo-EFL Team -Build-Depends: pkg-config, cdbs, debhelper, libevas0-dev (>= 0.9.9.042-maemo6) -Standards-Version: 3.7.2 - -Package: expedite -Priority: optional -Architecture: any -Depends: ${shlibs:Depends}, libevas0-engine-software-x11-16 (>= 0.9.9.042-maemo6), libevas0-engine-software-x11 (>= 0.9.9.042-maemo6), efl-core (>= 0.9.1.042-maemo6) -Description: Expedite - Evas Benchmark suite - Expedite - Evas Benchmark suite - Homepage: http://www.enlightenment.org/ diff --git a/trunk/expedite/debian/control.in b/trunk/expedite/debian/control.in new file mode 100644 index 0000000..f2eaa40 --- /dev/null +++ b/trunk/expedite/debian/control.in @@ -0,0 +1,17 @@ +Source: expedite +Section: user/accessories +Priority: optional +Maintainer: Maemo-EFL Team +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, pkg-config, libevas0-dev (>= @EVAS_VERSION@) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org + +Package: expedite +Section: user/accessories +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, efl-core (>= @EFL-CORE_VERSION@) +Description: Expedite - Evas Benchmark suite + Expedite - Evas Benchmark suite + Homepage: http://www.enlightenment.org/ diff --git a/trunk/expedite/debian/rules b/trunk/expedite/debian/rules index e711224..1f9de3c 100755 --- a/trunk/expedite/debian/rules +++ b/trunk/expedite/debian/rules @@ -2,17 +2,6 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifneq (,$(findstring armel,$(DEB_BUILD_ARCH))) - CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - endif - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - CFLAGS += -mcpu=arm926ej-s - endif -endif - - +DEB_CONFIGURE_SCRIPT := ./autogen.sh diff --git a/trunk/imlib2/debian/control b/trunk/imlib2/debian/control index 22a7088..de1c69e 100644 --- a/trunk/imlib2/debian/control +++ b/trunk/imlib2/debian/control @@ -2,8 +2,10 @@ Source: imlib2 Section: libs Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: cdbs, libjpeg62-dev, libpng3-dev | libpng2-dev | libpng-dev, libtiff4-dev | libtiff-dev, zlib1g-dev, x11proto-core-dev | xlibs-dev, x11proto-xext-dev | xlibs-dev, libfreetype6-dev | freetype2-dev, libbz2-dev, automake1.7 | automaken, libtool, debhelper (>= 4.0), libx11-dev, libxext-dev -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, libjpeg62-dev, libpng3-dev | libpng2-dev | libpng-dev, libtiff4-dev | libtiff-dev, zlib1g-dev, x11proto-core-dev | xlibs-dev, x11proto-xext-dev | xlibs-dev, libfreetype6-dev | freetype2-dev, libbz2-dev, automake1.7 | automaken, libtool, debhelper (>= 4.0), libx11-dev, libxext-dev +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org #Package: imlib2-demo #Architecture: any diff --git a/trunk/imlib2/debian/rules b/trunk/imlib2/debian/rules index 495c7c5..8404411 100755 --- a/trunk/imlib2/debian/rules +++ b/trunk/imlib2/debian/rules @@ -2,51 +2,12 @@ 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/maemo-cflags.mk +DEB_CONFIGURE_SCRIPT := ./autogen.sh DEB_CONFIGURE_EXTRA_FLAGS := --disable-mmx \ --disable-amd64 \ --without-gif \ --without-id3 CFLAGS += -I/usr/X11R6/include - -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) diff --git a/trunk/python-dispatcher/debian/control b/trunk/python-dispatcher/debian/control index 597ad73..d957e10 100644 --- a/trunk/python-dispatcher/debian/control +++ b/trunk/python-dispatcher/debian/control @@ -2,8 +2,10 @@ Source: python-dispatcher Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python-setuptools (>= 0.6c3) | python2.5-setuptools (>= 0.6c3) -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, python2.5-dev (>= 2.5.1-1osso6), python-setuptools (>= 0.6c3) | python2.5-setuptools (>= 0.6c3) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-dispatcher Section: python @@ -13,6 +15,3 @@ Depends: python2.5 (>= 2.5.1-1osso6) Description: Python bindings for Ecore This packages contains modules that allow you to use Ecore(enlightenment core library) in Python programs. - - - diff --git a/trunk/python-e_dbus/debian/control.in b/trunk/python-e_dbus/debian/control.in index 3ea9f95..5f2fffa 100644 --- a/trunk/python-e_dbus/debian/control.in +++ b/trunk/python-e_dbus/debian/control.in @@ -2,8 +2,10 @@ Source: python-edbus Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), python2.5-dbus, libeina-dev (>= @EINA_VERSION@), libedbus0-dev (>= @E_DBUS_VERSION@), libecore0-dev (>= @ECORE_VERSION@) -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), python2.5-dbus, libeina-dev (>= @EINA_VERSION@), libedbus0-dev (>= @E_DBUS_VERSION@), libecore0-dev (>= @ECORE_VERSION@) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-edbus Section: python diff --git a/trunk/python-e_dbus/debian/rules b/trunk/python-e_dbus/debian/rules index 9cbc896..78ccbb2 100755 --- a/trunk/python-e_dbus/debian/rules +++ b/trunk/python-e_dbus/debian/rules @@ -1,50 +1,12 @@ #!/usr/bin/make -f +include /usr/share/cdbs/1/rules/maemo-cflags.mk + DEB_DESTDIR=$(CURDIR)/debian/tmp PYVER=2.5 PYTHON=python$(PYVER) -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - build: build-stamp build-stamp: dh_testdir diff --git a/trunk/python-e_dbus/debian_chinook/control.in b/trunk/python-e_dbus/debian_chinook/control.in index 27c0935..863fa8f 100644 --- a/trunk/python-e_dbus/debian_chinook/control.in +++ b/trunk/python-e_dbus/debian_chinook/control.in @@ -2,8 +2,10 @@ Source: python-edbus Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python-setuptools (>= 0.6c3) | python2.5-setuptools (>= 0.6c3), python2.5-pyrex (>= 0.9.5.1), python2.5-dbus, libedbus0-dev (>= @E_DBUS_VERSION@), libecore0-dev (>= @ECORE_VERSION@) -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python-setuptools (>= 0.6c3) | python2.5-setuptools (>= 0.6c3), python2.5-pyrex (>= 0.9.5.1), python2.5-dbus, libedbus0-dev (>= @E_DBUS_VERSION@), libecore0-dev (>= @ECORE_VERSION@) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-edbus Section: python diff --git a/trunk/python-ecore/debian/control.in b/trunk/python-ecore/debian/control.in index 82892a0..fd23495 100644 --- a/trunk/python-ecore/debian/control.in +++ b/trunk/python-ecore/debian/control.in @@ -2,8 +2,10 @@ Source: python-ecore Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libecore0-dev (>= @ECORE_VERSION@), python2.5-cython-dev, python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@) -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libecore0-dev (>= @ECORE_VERSION@), python2.5-cython-dev, python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-ecore Section: python diff --git a/trunk/python-ecore/debian/rules b/trunk/python-ecore/debian/rules index 6fcc390..2fc4b7d 100755 --- a/trunk/python-ecore/debian/rules +++ b/trunk/python-ecore/debian/rules @@ -1,50 +1,12 @@ #!/usr/bin/make -f +include /usr/share/cdbs/1/rules/maemo-cflags.mk + DEB_DESTDIR=$(CURDIR)/debian/tmp PYVER=2.5 PYTHON=python$(PYVER) -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - build: build-stamp build-stamp: dh_testdir diff --git a/trunk/python-edje/debian/control.in b/trunk/python-edje/debian/control.in index 944bf96..e677bbe 100644 --- a/trunk/python-edje/debian/control.in +++ b/trunk/python-edje/debian/control.in @@ -2,8 +2,10 @@ Source: python-edje Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libedje0-dev (>= @EDJE_VERSION@), edje0-bin (>= @EDJE_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), python2.5-cython-dev -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libedje0-dev (>= @EDJE_VERSION@), edje0-bin (>= @EDJE_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), python2.5-cython-dev +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-edje Section: python diff --git a/trunk/python-edje/debian/rules b/trunk/python-edje/debian/rules index 0050a0d..faa46e3 100755 --- a/trunk/python-edje/debian/rules +++ b/trunk/python-edje/debian/rules @@ -1,50 +1,12 @@ #!/usr/bin/make -f +include /usr/share/cdbs/1/rules/maemo-cflags.mk + DEB_DESTDIR=$(CURDIR)/debian/tmp PYVER=2.5 PYTHON=python$(PYVER) -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - build: build-stamp build-stamp: dh_testdir diff --git a/trunk/python-efl-core/debian/control.in b/trunk/python-efl-core/debian/control.in index 4b1aa77..77a7b13 100644 --- a/trunk/python-efl-core/debian/control.in +++ b/trunk/python-efl-core/debian/control.in @@ -1,10 +1,14 @@ Source: python-efl-core +Section: python Priority: optional Maintainer: Maemo-EFL Team +Uploaders: Eduardo Lima (Etrunko) Build-Depends: cdbs -Standards-Version: 3.6.1 +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-efl-core +Section: python Priority: optional Architecture: all Depends: efl-core (>= @EFL-CORE_VERSION@), python2.5 (>= 2.5.1-1osso6), python2.5-evas (>= @PYTHON-EVAS_VERSION@), python2.5-ecore (>= @PYTHON-ECORE_VERSION@), python2.5-edje (>= @PYTHON-EDJE_VERSION@), python2.5-epsilon (>= @PYTHON-EPSILON_VERSION@), diff --git a/trunk/python-efl_utils/debian/control.in b/trunk/python-efl_utils/debian/control.in index 0813b52..ac48bfb 100644 --- a/trunk/python-efl_utils/debian/control.in +++ b/trunk/python-efl_utils/debian/control.in @@ -2,8 +2,10 @@ Source: python-efl-utils Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6) -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-efl-utils Section: python diff --git a/trunk/python-epsilon/debian/control.in b/trunk/python-epsilon/debian/control.in index 7b78f35..25823f6 100644 --- a/trunk/python-epsilon/debian/control.in +++ b/trunk/python-epsilon/debian/control.in @@ -2,8 +2,10 @@ Source: python-epsilon Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libepsilon0-dev (>= @EPSILON_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), python2.5-cython-dev, python2.5-ecore (>= @PYTHON-ECORE_VERSION@) -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libepsilon0-dev (>= @EPSILON_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), python2.5-cython-dev, python2.5-ecore (>= @PYTHON-ECORE_VERSION@) +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-epsilon Section: python diff --git a/trunk/python-epsilon/debian/rules b/trunk/python-epsilon/debian/rules index 84a7eb9..5ce1f55 100755 --- a/trunk/python-epsilon/debian/rules +++ b/trunk/python-epsilon/debian/rules @@ -1,52 +1,13 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk DEB_DESTDIR=$(CURDIR)/debian/tmp PYVER=2.5 PYTHON=python$(PYVER) -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - -CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) - build: build-stamp build-stamp: dh_testdir diff --git a/trunk/python-etk/debian/control.in b/trunk/python-etk/debian/control.in index 3d06cd5..6b0015a 100644 --- a/trunk/python-etk/debian/control.in +++ b/trunk/python-etk/debian/control.in @@ -2,16 +2,16 @@ Source: python-etk Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libetk0-dev (>= @ETK_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), python2.5-ecore (>= @PYTHON-ECORE_VERSION@), python2.5-cython-dev -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libetk0-dev (>= @ETK_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), python2.5-ecore (>= @PYTHON-ECORE_VERSION@), python2.5-cython-dev +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-etk Section: python Architecture: any Provides: python-etk Depends: ${shlibs:Depends}, python2.5 (>= 2.5.1-1osso6), libetk0 (>= @ETK_VERSION@), libetk0-engine-all (>= @ETK_VERSION@), python2.5-evas (>= @PYTHON-EVAS_VERSION@), python2.5-ecore (>= @PYTHON-ECORE_VERSION@) -Description: Python bindings for Ecore +Description: Python bindings for ETK This packages contains modules that allow you to use - Ecore(enlightenment core library) in Python programs. - - + ETK (enlightenment tookit) in Python programs. diff --git a/trunk/python-etk/debian/rules b/trunk/python-etk/debian/rules index dba8c27..cd2092e 100755 --- a/trunk/python-etk/debian/rules +++ b/trunk/python-etk/debian/rules @@ -1,48 +1,12 @@ #!/usr/bin/make -f +include /usr/share/cdbs/1/rules/maemo-cflags.mk + DEB_DESTDIR=$(CURDIR)/debian/tmp PYVER=2.5 PYTHON=python$(PYVER) -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) build: build-stamp diff --git a/trunk/python-evas/debian/control.in b/trunk/python-evas/debian/control.in index 48c9d46..3661301 100644 --- a/trunk/python-evas/debian/control.in +++ b/trunk/python-evas/debian/control.in @@ -2,8 +2,10 @@ Source: python-evas Section: python Priority: optional Maintainer: Maemo-EFL Team -Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libevas0-dev (>= @EVAS_VERSION@), python2.5-numeric-dev (>= 24.2-1osso4), python2.5-cython-dev -Standards-Version: 3.6.2.2 +Uploaders: Eduardo Lima (Etrunko) +Build-Depends: debhelper (>= 4), cdbs, maemo-cflags-cdbs-rules, python2.5-dev (>= 2.5.1-1osso6), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6), python2.5-pyrex (>= 0.9.5.1), libeina-dev (>= @EINA_VERSION@), libevas0-dev (>= @EVAS_VERSION@), python2.5-numeric-dev (>= 24.2-1osso4), python2.5-cython-dev +Standards-Version: 3.7.2 +Homepage: http://www.enlightenment.org Package: python2.5-evas Section: python diff --git a/trunk/python-evas/debian/rules b/trunk/python-evas/debian/rules index b8c607b..eb748ba 100755 --- a/trunk/python-evas/debian/rules +++ b/trunk/python-evas/debian/rules @@ -1,48 +1,12 @@ #!/usr/bin/make -f +include /usr/share/cdbs/1/rules/maemo-cflags.mk + DEB_DESTDIR=$(CURDIR)/debian/tmp PYVER=2.5 PYTHON=python$(PYVER) -DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifeq ($(DEB_BUILD_ARCH),armel) - COMMON_CFLAGS=-DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - N770_CFLAGS=-mcpu=arm926ej-s - N8x0_CFLAGS=-mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - ifneq ($(DEB_BUILD_OPTIONS),) - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - else - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - endif - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - ifeq (0,$(shell test -e /etc/osso_software_version; echo $$?)) - SW_VERSION?=$(shell cat /etc/osso_software_version|cut -d_ -f2) - ifneq (,$(findstring $(SW_VERSION),OSSO1.1 2008SE DIABLO)) - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - endif - ifeq ($(SPECIFIC_CFLAGS),) - # Our last hope is to look at the value returned by `sb-conf current` - SB_CURRENT?=$(shell sb-conf current|cut -d_ -f1) - ifneq (,$(findstring $(SB_CURRENT),GREGALE BORA CHINOOK DIABLO)) - ifeq ($(SB_CURRENT),GREGALE) - SPECIFIC_CFLAGS=$(N770_CFLAGS) - else - SPECIFIC_CFLAGS=$(N8x0_CFLAGS) - endif - else - COMMON_CFLAGS= - endif - endif - endif -endif - CFLAGS+=$(COMMON_CFLAGS) $(SPECIFIC_CFLAGS) build: build-stamp diff --git a/trunk/scripts/gen-deb-src.sh b/trunk/scripts/gen-deb-src.sh new file mode 100755 index 0000000..eecfde3 --- /dev/null +++ b/trunk/scripts/gen-deb-src.sh @@ -0,0 +1,135 @@ +#!/bin/bash + +E_BASE_REPO="http://svn.enlightenment.org/svn/e/trunk" +E_PYTHON_REPO="$E_BASE_REPO/BINDINGS/python" +E_SVN_REV="40978" + +TMP_DIR="maemo-efl-deb-src-$E_SVN_REV" +VERSIONS_DIR="$TMP_DIR/versions" + +ALL_MODULES="eina eet evas ecore embryo edje epsilon etk e_dbus efl-core python-evas python-ecore python-edje python-epsilon python-etk python-e_dbus python-efl_utils python-efl-core" + +MAEMO_REV="maemo1" +MAEMO_REPO="extras-devel" + +MAEMO_EFL_BASE_REPO="https://garage.maemo.org/svn/maemo-efl/trunk/" + +exit_error(){ + echo " ERROR" && exit 1 +} + +init(){ + if [ -d $TMP_DIR ]; then + echo -n "Cleaning up ..." + rm -rf $TMP_DIR || exit_error + echo " OK" + fi + + echo -n "Creating build dir ..." + mkdir -p $TMP_DIR || exit_error + echo " OK" +} + +checkout_repositories(){ + echo "Checking out repositories ..." + for module in $ALL_MODULES;do + echo -n " $module" + + REPO=$E_BASE_REPO + REV="-r$E_SVN_REV " + echo -n $module | grep python > /dev/null 2>&1 && REPO=$E_PYTHON_REPO + echo -n $module | grep efl-core > /dev/null 2>&1 && REPO=$MAEMO_EFL_BASE_REPO && REV="" + + echo -n " ." + svn co $REV $REPO/$module $TMP_DIR/$module > /dev/null 2>&1 || exit_error + echo -n "." + rm -rf $TMP_DIR/$module/debian + echo -n "." + svn co $MAEMO_EFL_BASE_REPO/$module/debian $TMP_DIR/$module/debian > /dev/null 2>&1 || exit_error + echo " OK" + done + + echo -n "Cleaning up repositories ..." + rm -rf `find $TMP_DIR -name .svn -type d` + echo " OK" +} + +update_changelogs(){ + echo "Updating changelogs ..." + for module in $ALL_MODULES;do + echo -n " $module " + + echo -n $module | grep -v python | grep -v efl-core > /dev/null 2>&1 && VERSION=`grep AC_INIT $TMP_DIR/$module/configure.ac | cut -d[ -f3 | cut -d] -f1 || exit_error` + echo -n "." + echo -n $module | grep python | grep -v efl-core > /dev/null 2>&1 && VERSION=`grep version $TMP_DIR/$module/setup.py | cut -d\' -f2 || exit_error` + echo -n "." + echo -n $module | grep efl-core > /dev/null 2>&1 && VERSION=`grep AC_INIT $TMP_DIR/evas/configure.ac | cut -d[ -f3 | cut -d] -f1 || exit_error` + + echo -n "." + dch --force-distribution -b -c $TMP_DIR/$module/debian/changelog -v $VERSION+svn$E_SVN_REV-$MAEMO_REV -D $MAEMO_REPO "SVN snapshot release $E_SVN_REV" > /dev/null 2>&1 || exit_error + echo " `head -n1 $TMP_DIR/$module/debian/changelog`" + done +} + +gen_versions(){ + if [ ! -d $VERSIONS_DIR ]; then + echo -n "Creating versions dir $VERSIONS_DIR ..." + mkdir -p $VERSIONS_DIR || exit_error + echo " OK" + fi + + echo "Generating version files ..." + for module in $ALL_MODULES;do + VERSION=`dpkg-parsechangelog -l$TMP_DIR/$module/debian/changelog | grep Version: | cut -d" " -f2 || exit_error` + echo " $module ... $VERSION" + echo "$VERSION" > $VERSIONS_DIR/"$module"_version + done +} + +gen_control(){ + echo "Generating control files ..." + for module in $ALL_MODULES; do + echo -n " $module ..." + if [ -e $TMP_DIR/$module/debian/control.in ]; then + TO_REPLACE=`grep -o -E '@([A-Z]|[0-9])+((-|_)*([A-Z]|[0-9]))*_VERSION@' $TMP_DIR/$module/debian/control.in | cut -d @ -f 2 | sort -u` + cp $TMP_DIR/$module/debian/control.in $TMP_DIR/$module/debian/control.temp + + for replacement in $TO_REPLACE; do + replacement_lowercase=`echo $replacement | tr "[:upper:]" "[:lower:]"` + version_file=$VERSIONS_DIR/$replacement_lowercase + if [ ! -e $version_file ]; then + echo -n " Could not find a replacement for $replacement" && exit_error + fi + version_number=`cat $version_file` + echo -n " $replacement: $version_number" + sed -i s/@$replacement@/$version_number/g $TMP_DIR/$module/debian/control.temp + done + + mv $TMP_DIR/$module/debian/control.temp $TMP_DIR/$module/debian/control + fi + + echo " OK" + done +} + +gen_src_packages(){ + echo "Generating source packages ..." + for module in $ALL_MODULES; do + echo -n " $module ." + cd $TMP_DIR/$module || exit_error + echo -n "." + dpkg-buildpackage -rfakeroot -us -uc -D -sa -S -I.git -I.gitignore -I.svn -I.svnignore -ICVS -I.cvsignore > /dev/null 2>&1|| exit_error + echo -n "." + cd - > /dev/null 2>&1 || exit_error + echo " OK" + done +} + +init +checkout_repositories +update_changelogs +gen_versions +gen_control +gen_src_packages +echo "All done. Packages in $TMP_DIR" +exit 0