Added debian dirs.
authoretrunko <eblima@gmail.com>
Sun, 9 Dec 2007 23:36:14 +0000 (23:36 +0000)
committeretrunko <eblima@gmail.com>
Sun, 9 Dec 2007 23:36:14 +0000 (23:36 +0000)
trunk/e_dbus/debian/changelog [new file with mode: 0644]
trunk/e_dbus/debian/control [new file with mode: 0644]
trunk/e_dbus/debian/copyright [new file with mode: 0644]
trunk/e_dbus/debian/libedbus0-dev.install [new file with mode: 0644]
trunk/e_dbus/debian/libedbus0.install [new file with mode: 0644]
trunk/e_dbus/debian/patches/01-e_dbus-bora-compile-fix.patch [new file with mode: 0644]
trunk/e_dbus/debian/patches/series [new file with mode: 0644]
trunk/e_dbus/debian/rules [new file with mode: 0755]

diff --git a/trunk/e_dbus/debian/changelog b/trunk/e_dbus/debian/changelog
new file mode 100644 (file)
index 0000000..92ea841
--- /dev/null
@@ -0,0 +1,6 @@
+e-dbus (0.1.0.003-maemo.1) unstable; urgency=low
+
+  * Maemo Build.
+
+ -- Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>  Sun, 09 Dec 2007 19:58:45 -0200
+
diff --git a/trunk/e_dbus/debian/control b/trunk/e_dbus/debian/control
new file mode 100644 (file)
index 0000000..f80fab6
--- /dev/null
@@ -0,0 +1,28 @@
+Source: e-dbus
+Section: libs
+Priority: optional
+Maintainer: Maemo-EFL Team <maemo-efl-devel@garage.maemo.org>
+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/copyright b/trunk/e_dbus/debian/copyright
new file mode 100644 (file)
index 0000000..23d7a89
--- /dev/null
@@ -0,0 +1,37 @@
+This package was debianized by E17 Debian Team <debian@edevelop.org> 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 <rephorm@rephorm.com>
+
+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 <debian@edevelop.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/trunk/e_dbus/debian/libedbus0-dev.install b/trunk/e_dbus/debian/libedbus0-dev.install
new file mode 100644 (file)
index 0000000..efd2d2b
--- /dev/null
@@ -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/libedbus0.install b/trunk/e_dbus/debian/libedbus0.install
new file mode 100644 (file)
index 0000000..79bbe2f
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.*
diff --git a/trunk/e_dbus/debian/patches/01-e_dbus-bora-compile-fix.patch b/trunk/e_dbus/debian/patches/01-e_dbus-bora-compile-fix.patch
new file mode 100644 (file)
index 0000000..e987563
--- /dev/null
@@ -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 <dbus/dbus-macros.h>
++#include <dbus/dbus-types.h>
++#include <dbus/dbus-errors.h>
++
++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 <stdlib.h>
+ #include <string.h>
++#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/patches/series b/trunk/e_dbus/debian/patches/series
new file mode 100644 (file)
index 0000000..ec66fe2
--- /dev/null
@@ -0,0 +1 @@
+01-e_dbus-bora-compile-fix.patch
diff --git a/trunk/e_dbus/debian/rules b/trunk/e_dbus/debian/rules
new file mode 100755 (executable)
index 0000000..03d420d
--- /dev/null
@@ -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 -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
+endif
+