From: etrunko Date: Sun, 9 Dec 2007 23:38:02 +0000 (+0000) Subject: Added debian dirs. X-Git-Url: http://git.maemo.org/git/?p=maemo-efl;a=commitdiff_plain;h=eeaf66b8e9b756348d7afcaaeaecb166d64133ed Added debian dirs. --- diff --git a/trunk/e_dbus/debian_chinook/changelog b/trunk/e_dbus/debian_chinook/changelog new file mode 100644 index 0000000..92ea841 --- /dev/null +++ b/trunk/e_dbus/debian_chinook/changelog @@ -0,0 +1,6 @@ +e-dbus (0.1.0.003-maemo.1) unstable; urgency=low + + * Maemo Build. + + -- Eduardo Lima (Etrunko) Sun, 09 Dec 2007 19:58:45 -0200 + diff --git a/trunk/e_dbus/debian_chinook/control b/trunk/e_dbus/debian_chinook/control new file mode 100644 index 0000000..f80fab6 --- /dev/null +++ b/trunk/e_dbus/debian_chinook/control @@ -0,0 +1,28 @@ +Source: e-dbus +Section: libs +Priority: optional +Maintainer: Maemo-EFL Team +Build-Depends: cdbs, debhelper (>= 4), libecore0-dev, libdbus-1-dev +Standards-Version: 3.7.2 + +Package: libedbus0 +Architecture: any +Depends: ${shlibs:Depends}, libecore0, libdbus-1-2 | libdbus-1-3 +Provides: libedbus +Recommends: libe-dbus0-bin | libe-dbus-bin +Description: enlightenment interface to dbus + e-dbus implements some basic convenience wrappers around dbus + to ease integrating dbus with EFL based applications. + . + This package contains the e_dbus library. + +Package: libedbus0-dev +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, libedbus0, libecore0-dev, libdbus-1-dev +Provides: libedbus-dev +Description: enlightenment interface to dbus - develpment files + e-dbus implements some basic convenience wrappers around dbus + to ease integrating dbus with EFL based applications. + . + This package contains the e_dbus headers and static libraries. diff --git a/trunk/e_dbus/debian_chinook/copyright b/trunk/e_dbus/debian_chinook/copyright new file mode 100644 index 0000000..23d7a89 --- /dev/null +++ b/trunk/e_dbus/debian_chinook/copyright @@ -0,0 +1,37 @@ +This package was debianized by E17 Debian Team on +Sun, 24 Jun 2007 09:55:42 +0000. + +It was downloaded from the e17/proto/entrance_edit_gui module of the +enlightenment CVS tree. For more information, see: + +http://www.enlightenment.org/cvs.html + +Upstream Author(s): Brian Mattern + +Copyright: + +Copyright (C) 2007 Brian Mattern + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + + +The Debian packaging is (C) 2007, E17 Debian Team and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/trunk/e_dbus/debian_chinook/libedbus0-dev.install b/trunk/e_dbus/debian_chinook/libedbus0-dev.install new file mode 100644 index 0000000..efd2d2b --- /dev/null +++ b/trunk/e_dbus/debian_chinook/libedbus0-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/*.a +debian/tmp/usr/lib/*.so +debian/tmp/usr/include/*.h +debian/tmp/usr/lib/pkgconfig/*.pc diff --git a/trunk/e_dbus/debian_chinook/libedbus0.install b/trunk/e_dbus/debian_chinook/libedbus0.install new file mode 100644 index 0000000..79bbe2f --- /dev/null +++ b/trunk/e_dbus/debian_chinook/libedbus0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*.so.* diff --git a/trunk/e_dbus/debian_chinook/rules b/trunk/e_dbus/debian_chinook/rules new file mode 100755 index 0000000..17d5aee --- /dev/null +++ b/trunk/e_dbus/debian_chinook/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --disable-build-test-gui + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +CFLAGS += -lpthread + +ifneq (,$(findstring armel,$(DEB_BUILD_ARCH))) + CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant +endif + diff --git a/trunk/e_dbus/debian_gregale/changelog b/trunk/e_dbus/debian_gregale/changelog new file mode 100644 index 0000000..92ea841 --- /dev/null +++ b/trunk/e_dbus/debian_gregale/changelog @@ -0,0 +1,6 @@ +e-dbus (0.1.0.003-maemo.1) unstable; urgency=low + + * Maemo Build. + + -- Eduardo Lima (Etrunko) Sun, 09 Dec 2007 19:58:45 -0200 + diff --git a/trunk/e_dbus/debian_gregale/control b/trunk/e_dbus/debian_gregale/control new file mode 100644 index 0000000..f80fab6 --- /dev/null +++ b/trunk/e_dbus/debian_gregale/control @@ -0,0 +1,28 @@ +Source: e-dbus +Section: libs +Priority: optional +Maintainer: Maemo-EFL Team +Build-Depends: cdbs, debhelper (>= 4), libecore0-dev, libdbus-1-dev +Standards-Version: 3.7.2 + +Package: libedbus0 +Architecture: any +Depends: ${shlibs:Depends}, libecore0, libdbus-1-2 | libdbus-1-3 +Provides: libedbus +Recommends: libe-dbus0-bin | libe-dbus-bin +Description: enlightenment interface to dbus + e-dbus implements some basic convenience wrappers around dbus + to ease integrating dbus with EFL based applications. + . + This package contains the e_dbus library. + +Package: libedbus0-dev +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, libedbus0, libecore0-dev, libdbus-1-dev +Provides: libedbus-dev +Description: enlightenment interface to dbus - develpment files + e-dbus implements some basic convenience wrappers around dbus + to ease integrating dbus with EFL based applications. + . + This package contains the e_dbus headers and static libraries. diff --git a/trunk/e_dbus/debian_gregale/copyright b/trunk/e_dbus/debian_gregale/copyright new file mode 100644 index 0000000..23d7a89 --- /dev/null +++ b/trunk/e_dbus/debian_gregale/copyright @@ -0,0 +1,37 @@ +This package was debianized by E17 Debian Team on +Sun, 24 Jun 2007 09:55:42 +0000. + +It was downloaded from the e17/proto/entrance_edit_gui module of the +enlightenment CVS tree. For more information, see: + +http://www.enlightenment.org/cvs.html + +Upstream Author(s): Brian Mattern + +Copyright: + +Copyright (C) 2007 Brian Mattern + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + + +The Debian packaging is (C) 2007, E17 Debian Team and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/trunk/e_dbus/debian_gregale/libedbus0-dev.install b/trunk/e_dbus/debian_gregale/libedbus0-dev.install new file mode 100644 index 0000000..efd2d2b --- /dev/null +++ b/trunk/e_dbus/debian_gregale/libedbus0-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/*.a +debian/tmp/usr/lib/*.so +debian/tmp/usr/include/*.h +debian/tmp/usr/lib/pkgconfig/*.pc diff --git a/trunk/e_dbus/debian_gregale/libedbus0.install b/trunk/e_dbus/debian_gregale/libedbus0.install new file mode 100644 index 0000000..79bbe2f --- /dev/null +++ b/trunk/e_dbus/debian_gregale/libedbus0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*.so.* diff --git a/trunk/e_dbus/debian_gregale/patches/01-e_dbus-bora-compile-fix.patch b/trunk/e_dbus/debian_gregale/patches/01-e_dbus-bora-compile-fix.patch new file mode 100644 index 0000000..e987563 --- /dev/null +++ b/trunk/e_dbus/debian_gregale/patches/01-e_dbus-bora-compile-fix.patch @@ -0,0 +1,90 @@ +diff -uN --exclude='Makefile*' dbus/dbus-signature.h dbus-dev/dbus-signature.h +--- e_dbus/src/lib/dbus/dbus-signature.h 1969-12-31 21:00:00.000000000 -0300 ++++ e_dbus/src/lib/dbus/dbus-signature.h 2007-09-19 18:16:16.000000000 -0300 +@@ -0,0 +1,74 @@ ++/* -*- mode: C; c-file-style: "gnu" -*- */ ++/* dbus-signatures.h utility functions for D-BUS types ++ * ++ * Copyright (C) 2005 Red Hat Inc. ++ * ++ * Licensed under the Academic Free License version 2.1 ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ++ * ++ */ ++#ifndef DBUS_SIGNATURES_H ++#define DBUS_SIGNATURES_H ++ ++#define DBUS_INSIDE_DBUS_H 1 ++ ++#include ++#include ++#include ++ ++DBUS_BEGIN_DECLS ++ ++/** ++ * DBusSignatureIter struct; contains no public fields ++ */ ++typedef struct ++{ ++ void *dummy1; /**< Don't use this */ ++ void *dummy2; /**< Don't use this */ ++ dbus_uint32_t dummy8; /**< Don't use this */ ++ int dummy12; /**< Don't use this */ ++ int dummy17; /**< Don't use this */ ++} DBusSignatureIter; ++ ++void dbus_signature_iter_init (DBusSignatureIter *iter, ++ const char *signature); ++ ++int dbus_signature_iter_get_current_type (const DBusSignatureIter *iter); ++ ++char * dbus_signature_iter_get_signature (const DBusSignatureIter *iter); ++ ++int dbus_signature_iter_get_element_type (const DBusSignatureIter *iter); ++ ++dbus_bool_t dbus_signature_iter_next (DBusSignatureIter *iter); ++ ++void dbus_signature_iter_recurse (const DBusSignatureIter *iter, ++ DBusSignatureIter *subiter); ++ ++dbus_bool_t dbus_signature_validate (const char *signature, ++ DBusError *error); ++ ++dbus_bool_t dbus_signature_validate_single (const char *signature, ++ DBusError *error); ++ ++dbus_bool_t dbus_type_is_basic (int typecode); ++dbus_bool_t dbus_type_is_container (int typecode); ++dbus_bool_t dbus_type_is_fixed (int typecode); ++ ++DBUS_END_DECLS ++ ++#undef DBUS_INSIDE_DBUS_H ++ ++#endif /* DBUS_MESSAGE_H */ +diff -uN --exclude='Makefile*' dbus/e_dbus_object.c dbus-dev/e_dbus_object.c +--- e_dbus/src/lib/dbus/e_dbus_object.c 2007-09-05 11:40:53.000000000 -0300 ++++ e_dbus/src/lib/dbus/e_dbus_object.c 2007-09-19 18:15:00.000000000 -0300 +@@ -5,6 +5,8 @@ + #include + #include + ++#include "dbus-signature.h" ++ + static E_DBus_Interface *introspectable_interface = NULL; + static E_DBus_Interface *properties_interface = NULL; + diff --git a/trunk/e_dbus/debian_gregale/patches/series b/trunk/e_dbus/debian_gregale/patches/series new file mode 100644 index 0000000..ec66fe2 --- /dev/null +++ b/trunk/e_dbus/debian_gregale/patches/series @@ -0,0 +1 @@ +01-e_dbus-bora-compile-fix.patch diff --git a/trunk/e_dbus/debian_gregale/rules b/trunk/e_dbus/debian_gregale/rules new file mode 100755 index 0000000..3b623ef --- /dev/null +++ b/trunk/e_dbus/debian_gregale/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --disable-build-test-gui + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +CFLAGS += -lpthread + +ifneq (,$(findstring armel,$(DEB_BUILD_ARCH))) + CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -mcpu=arm926ej-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant +endif +