dbus-c++ fix dep

This commit is contained in:
Poyraz76
2015-08-20 21:18:49 +03:00
parent ef9555247f
commit 4d7a316829
6 changed files with 155 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get
def setup():
pisitools.dosed("configure.ac", "-O3", "")
shelltools.export("CPPFLAGS", get.CXXFLAGS())
shelltools.system("./autogen.sh")
autotools.configure("--disable-static \
--enable-glib")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "README", "COPYING")
@@ -0,0 +1,11 @@
diff -upNr dbus-c++.orign/src/Makefile.am dbus-c++/src/Makefile.am
--- dbus-c++.orign/src/Makefile.am 2009-01-08 21:58:42.000000000 +0100
+++ dbus-c++/src/Makefile.am 2009-07-31 11:29:22.871072420 +0200
@@ -24,7 +24,6 @@ HEADER_FILES = \
$(HEADER_DIR)/object.h \
$(HEADER_DIR)/pendingcall.h \
$(HEADER_DIR)/server.h \
- $(HEADER_DIR)/debug.h \
$(HEADER_DIR)/util.h \
$(HEADER_DIR)/refptr_impl.h \
$(HEADER_DIR)/introspection.h \
@@ -0,0 +1,12 @@
diff -upNr dbus-c++.orign/src/Makefile.am dbus-c++/src/Makefile.am
--- dbus-c++.orign/src/Makefile.am 2009-01-08 21:58:42.000000000 +0100
+++ dbus-c++/src/Makefile.am 2010-02-13 19:33:37.090109108 +0100
@@ -38,7 +38,7 @@ lib_include_HEADERS = $(HEADER_FILES)
lib_LTLIBRARIES = libdbus-c++-1.la
libdbus_c___1_la_SOURCES = $(HEADER_FILES) interface.cpp object.cpp introspection.cpp debug.cpp types.cpp connection.cpp connection_p.h property.cpp dispatcher.cpp dispatcher_p.h pendingcall.cpp pendingcall_p.h error.cpp internalerror.h message.cpp message_p.h server.cpp server_p.h eventloop.cpp eventloop-integration.cpp $(GLIB_CPP)
-libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS)
+libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS) $(xml_LIBS)
MAINTAINERCLEANFILES = \
Makefile.in
@@ -0,0 +1,24 @@
diff --git a/examples/echo/echo-client.h b/examples/echo/echo-client.h
index 54401ec..3511cc0 100644
--- a/examples/echo/echo-client.h
+++ b/examples/echo/echo-client.h
@@ -3,6 +3,7 @@
#include <dbus-c++/dbus.h>
#include "echo-client-glue.h"
+#include <cstdio>
class EchoClient
: public org::freedesktop::DBus::EchoDemo_proxy,
diff --git a/examples/echo/echo-server.h b/examples/echo/echo-server.h
index 3f0be58..9dfbaec 100644
--- a/examples/echo/echo-server.h
+++ b/examples/echo/echo-server.h
@@ -2,6 +2,7 @@
#define __DEMO_ECHO_SERVER_H
#include <dbus-c++/dbus.h>
+#include <cstdio>
#include "echo-server-glue.h"
class EchoServer
+72
View File
@@ -0,0 +1,72 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>dbus-c++</Name>
<Homepage>http://sourceforge.net/projects/dbus-cplusplus/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>C++ bindings for DBus library</Summary>
<Description>dbus-c++ attempts to provide a C++ API for D-BUS. The library has a glib/gtk and an Ecore mainloop integration. It also offers an optional own main loop.</Description>
<!--http://www.filewatcher.com/m/dbus-c++_0~20090907.orig.tar.gz.855848-0.html-->
<Archive sha1sum="ffb89c619a9cc126a92b319d7ce72cf12e22b4eb" type="targz">http://source.pisilinux.org/1.0/dbus-c++.tar.gz</Archive>
<BuildDependencies>
<Dependency>dbus</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>expat</Dependency>
<Dependency>glib2</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">dbus-c++-build-fix.patch</Patch>
<Patch level="1">dbus-c++-linkfix.patch</Patch>
<Patch level="1">gcc-44.patch</Patch>
</Patches>
</Source>
<Package>
<Name>dbus-c++</Name>
<RuntimeDependencies>
<Dependency>dbus</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>expat</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>dbus-c++-devel</Name>
<RuntimeDependencies>
<Dependency>dbus-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-01-21</Date>
<Version>0.0_20090907</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-03-07</Date>
<Version>0.0_20090907</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>dbus-c++</Name>
<Summary xml:lang="tr">DBus kitaplığı için C++ bağlayıcıları</Summary>
<Description xml:lang="tr">dbus-c++, DBus kitaplığı için C++ programlama arayüzü sunan bir kitaplıktır.</Description>
</Source>
</PISI>