dbus-c++ 0.9.0

This commit is contained in:
idriskalp
2020-01-12 00:55:39 +03:00
parent 91ad78039c
commit 24f3baee19
4 changed files with 35 additions and 6 deletions
+6 -2
View File
@@ -12,10 +12,14 @@ from pisi.actionsapi import get
def setup():
pisitools.dosed("configure.ac", "-O3", "")
shelltools.export("CPPFLAGS", get.CXXFLAGS())
shelltools.export("LDFLAGS", "%s -lpthread" % get.LDFLAGS())
shelltools.system("./autogen.sh")
#shelltools.system("./autogen.sh")
autotools.configure("--disable-static \
--enable-glib")
--enable-glib \
--disable-ecore \
--disable-examples")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -0,0 +1,9 @@
--- libdbus-c++-0.9.0/src/pipe.cpp.writechar 2017-02-16 11:07:13.591950169 +0000
+++ libdbus-c++-0.9.0/src/pipe.cpp 2017-02-16 11:04:17.158796092 +0000
@@ -83,5 +83,5 @@
void Pipe::signal()
{
// TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work...
- ::write(_fd_write, '\0', 1);
+ ::write(_fd_write, "", 1);
}
@@ -0,0 +1,10 @@
--- src/eventloop-integration.cpp.orig 2012-05-09 11:22:09.683290763 +0200
+++ src/eventloop-integration.cpp 2012-05-09 11:22:44.313288912 +0200
@@ -38,6 +38,7 @@
#include <cassert>
#include <sys/poll.h>
#include <fcntl.h>
+#include <unistd.h>
using namespace DBus;
using namespace std;
+10 -4
View File
@@ -13,17 +13,16 @@
<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>
<Archive sha1sum="105bc04c9ad03c69e612a41e83acd04b7dfd3a41" type="targz">https://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%2B/0.9.0/libdbus-c%2B%2B-0.9.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>dbus-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>glib2-devel</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>
<Patch level="1">disable-threading.patch</Patch>
<Patch level="1">fix-writechar.patch</Patch>
<Patch level="0">gcc47.patch</Patch>
</Patches>
</Source>
@@ -57,6 +56,13 @@
</Package>
<History>
<Update release="5">
<Date>2020-01-12</Date>
<Version>0.9.0</Version>
<Comment>Rebuild.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-08-03</Date>
<Version>0.0_20090907</Version>