[arch-commits] Commit in dbus-c++/repos/community-x86_64 (8 files)

David Runge dvzrv at archlinux.org
Sun Nov 24 18:17:49 UTC 2019


    Date: Sunday, November 24, 2019 @ 18:17:48
  Author: dvzrv
Revision: 533086

archrelease: copy trunk to community-x86_64

Added:
  dbus-c++/repos/community-x86_64/PKGBUILD
    (from rev 533085, dbus-c++/trunk/PKGBUILD)
  dbus-c++/repos/community-x86_64/disable-threading.patch
    (from rev 533085, dbus-c++/trunk/disable-threading.patch)
  dbus-c++/repos/community-x86_64/fix-writechar.patch
    (from rev 533085, dbus-c++/trunk/fix-writechar.patch)
  dbus-c++/repos/community-x86_64/gcc47.patch
    (from rev 533085, dbus-c++/trunk/gcc47.patch)
Deleted:
  dbus-c++/repos/community-x86_64/PKGBUILD
  dbus-c++/repos/community-x86_64/disable-threading.patch
  dbus-c++/repos/community-x86_64/fix-writechar.patch
  dbus-c++/repos/community-x86_64/gcc47.patch

-------------------------+
 PKGBUILD                |  108 +++++++++++++++++++++-------------------------
 disable-threading.patch |   90 +++++++++++++++++++-------------------
 fix-writechar.patch     |   18 +++----
 gcc47.patch             |   20 ++++----
 4 files changed, 115 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-24 18:17:36 UTC (rev 533085)
+++ PKGBUILD	2019-11-24 18:17:48 UTC (rev 533086)
@@ -1,57 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Xavier D. <magicrhesus at ouranos.be>
-# Contributor: Zarra <zarraxx at gmail.com>
-
-pkgname=dbus-c++
-_pkgname="lib${pkgname}"
-_upstream="dbus-cplusplus"
-pkgver=0.9.0
-pkgrel=8
-pkgdesc="A C++ API for D-BUS"
-url="http://dbus-cplusplus.sourceforge.net/"
-arch=('x86_64')
-license=('LGPL')
-depends=('dbus' 'glib2')
-source=("https://sourceforge.net/projects/${_upstream}/files/${pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
-        'gcc47.patch'
-        'disable-threading.patch'
-        'fix-writechar.patch')
-sha512sums=('7acebbb4254b2886cc0f05c5ddeeeac0b5863c5552d32249463b89380b0b95b8225c80bd98b8c7fcaada42ab770b5eff41b15390cd0d78bf1ee322ac6c2de319'
-            'd8618e1eafd25be074ffecf958fbc04f1b2a844c865ec2d795565809a5d11e7f60c1a8c3a6d952b1485af6b199753b36c06f1759a5559274eed55cf5e6585e20'
-            '94d95089ea84af1438191285955bf0866a7d7cbe535ac7fb8282ef6fb96c4ee052f439fb8c9d0b18b9ebec65d39cc45754bb48192ffb46c3d0c4ed6b1b6693a6'
-            'df0a3a80d139877eaea5f352da5dfa2bc0407360ddfb59301707c77bd4329ecd986f366f27bbdd7e4ce385125c6ec46fcf115854aa01d97cf11dff905cd9a385')
-
-prepare() {
-    cd "${_pkgname}-${pkgver}"
-    patch -Np0 -i "${srcdir}/gcc47.patch"
-    patch -Np1 -i "${srcdir}/disable-threading.patch"
-    patch -Np1 -i "${srcdir}/fix-writechar.patch"
-    autoreconf -vi
-}
-
-build() {
-    cd "${_pkgname}-${pkgver}"
-
-    export LDFLAGS+=" -lexpat -lpthread" # -lpthread needed for i686
-
-    ./configure --prefix=/usr \
-                --disable-static \
-                --disable-ecore \
-                --enable-glib
-    make
-}
-
-package() {
-  cd "${_pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
-  install -Dm644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog"
-  install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
-  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
-  install -Dm644 TODO "${pkgdir}/usr/share/doc/${pkgname}/TODO"
-
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dbus-c++/repos/community-x86_64/PKGBUILD (from rev 533085, dbus-c++/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-24 18:17:48 UTC (rev 533086)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Xavier D. <magicrhesus at ouranos.be>
+# Contributor: Zarra <zarraxx at gmail.com>
+
+pkgname=dbus-c++
+_pkgname="lib${pkgname}"
+_upstream="dbus-cplusplus"
+pkgver=0.9.0
+pkgrel=9
+pkgdesc="A C++ API for D-BUS"
+url="http://dbus-cplusplus.sourceforge.net/"
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('dbus' 'gcc-libs' 'glib2' 'glibc')
+provides=('libdbus-c++-1.so' 'libdbus-c++-glib-1.so')
+source=("https://sourceforge.net/projects/${_upstream}/files/${pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
+        'gcc47.patch'
+        'disable-threading.patch'
+        'fix-writechar.patch')
+sha512sums=('7acebbb4254b2886cc0f05c5ddeeeac0b5863c5552d32249463b89380b0b95b8225c80bd98b8c7fcaada42ab770b5eff41b15390cd0d78bf1ee322ac6c2de319'
+            'd8618e1eafd25be074ffecf958fbc04f1b2a844c865ec2d795565809a5d11e7f60c1a8c3a6d952b1485af6b199753b36c06f1759a5559274eed55cf5e6585e20'
+            '94d95089ea84af1438191285955bf0866a7d7cbe535ac7fb8282ef6fb96c4ee052f439fb8c9d0b18b9ebec65d39cc45754bb48192ffb46c3d0c4ed6b1b6693a6'
+            'df0a3a80d139877eaea5f352da5dfa2bc0407360ddfb59301707c77bd4329ecd986f366f27bbdd7e4ce385125c6ec46fcf115854aa01d97cf11dff905cd9a385')
+
+prepare() {
+  cd "${_pkgname}-${pkgver}"
+  patch -Np0 -i "${srcdir}/gcc47.patch"
+  patch -Np1 -i "${srcdir}/disable-threading.patch"
+  patch -Np1 -i "${srcdir}/fix-writechar.patch"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${_pkgname}-${pkgver}"
+  # -lpthread needed
+  export LDFLAGS+=" -lpthread"
+  ./configure --prefix=/usr \
+              --disable-static \
+              --disable-ecore \
+              --enable-glib
+  make
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+# vim:set ts=2 sw=2 et:

Deleted: disable-threading.patch
===================================================================
--- disable-threading.patch	2019-11-24 18:17:36 UTC (rev 533085)
+++ disable-threading.patch	2019-11-24 18:17:48 UTC (rev 533086)
@@ -1,45 +0,0 @@
---- libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h.threading	2017-02-15 13:40:53.796004263 +0000
-+++ libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h	2017-02-15 13:40:46.907000493 +0000
-@@ -188,6 +188,7 @@
- /* classes for multithreading support
- */
- 
-+#if 0
- class DXXAPI Mutex
- {
- public:
-@@ -243,9 +244,11 @@
- typedef bool (*CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout);
- typedef void (*CondVarWakeOneFn)(CondVar *cv);
- typedef void (*CondVarWakeAllFn)(CondVar *cv);
-+#endif
- 
- void DXXAPI _init_threading();
- 
-+#if 0
- void DXXAPI _init_threading(
-   MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn,
-   CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn
-@@ -312,6 +315,7 @@
-     cv->wake_all();
-   }
- };
-+#endif
- 
- } /* namespace DBus */
- 
---- libdbus-c++-0.9.0/src/dispatcher.cpp.threading	2017-02-15 13:48:22.627249868 +0000
-+++ libdbus-c++-0.9.0/src/dispatcher.cpp	2017-02-15 13:48:29.164253445 +0000
-@@ -253,6 +253,7 @@
- #endif//DBUS_HAS_THREADS_INIT_DEFAULT
- }
- 
-+#if 0
- void DBus::_init_threading(
-   MutexNewFn m1,
-   MutexFreeFn m2,
-@@ -318,3 +319,4 @@
- #endif//DBUS_HAS_RECURSIVE_MUTEX
-   dbus_threads_init(&functions);
- }
-+#endif

Copied: dbus-c++/repos/community-x86_64/disable-threading.patch (from rev 533085, dbus-c++/trunk/disable-threading.patch)
===================================================================
--- disable-threading.patch	                        (rev 0)
+++ disable-threading.patch	2019-11-24 18:17:48 UTC (rev 533086)
@@ -0,0 +1,45 @@
+--- libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h.threading	2017-02-15 13:40:53.796004263 +0000
++++ libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h	2017-02-15 13:40:46.907000493 +0000
+@@ -188,6 +188,7 @@
+ /* classes for multithreading support
+ */
+ 
++#if 0
+ class DXXAPI Mutex
+ {
+ public:
+@@ -243,9 +244,11 @@
+ typedef bool (*CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout);
+ typedef void (*CondVarWakeOneFn)(CondVar *cv);
+ typedef void (*CondVarWakeAllFn)(CondVar *cv);
++#endif
+ 
+ void DXXAPI _init_threading();
+ 
++#if 0
+ void DXXAPI _init_threading(
+   MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn,
+   CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn
+@@ -312,6 +315,7 @@
+     cv->wake_all();
+   }
+ };
++#endif
+ 
+ } /* namespace DBus */
+ 
+--- libdbus-c++-0.9.0/src/dispatcher.cpp.threading	2017-02-15 13:48:22.627249868 +0000
++++ libdbus-c++-0.9.0/src/dispatcher.cpp	2017-02-15 13:48:29.164253445 +0000
+@@ -253,6 +253,7 @@
+ #endif//DBUS_HAS_THREADS_INIT_DEFAULT
+ }
+ 
++#if 0
+ void DBus::_init_threading(
+   MutexNewFn m1,
+   MutexFreeFn m2,
+@@ -318,3 +319,4 @@
+ #endif//DBUS_HAS_RECURSIVE_MUTEX
+   dbus_threads_init(&functions);
+ }
++#endif

Deleted: fix-writechar.patch
===================================================================
--- fix-writechar.patch	2019-11-24 18:17:36 UTC (rev 533085)
+++ fix-writechar.patch	2019-11-24 18:17:48 UTC (rev 533086)
@@ -1,9 +0,0 @@
---- 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);
- }

Copied: dbus-c++/repos/community-x86_64/fix-writechar.patch (from rev 533085, dbus-c++/trunk/fix-writechar.patch)
===================================================================
--- fix-writechar.patch	                        (rev 0)
+++ fix-writechar.patch	2019-11-24 18:17:48 UTC (rev 533086)
@@ -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);
+ }

Deleted: gcc47.patch
===================================================================
--- gcc47.patch	2019-11-24 18:17:36 UTC (rev 533085)
+++ gcc47.patch	2019-11-24 18:17:48 UTC (rev 533086)
@@ -1,10 +0,0 @@
---- 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;

Copied: dbus-c++/repos/community-x86_64/gcc47.patch (from rev 533085, dbus-c++/trunk/gcc47.patch)
===================================================================
--- gcc47.patch	                        (rev 0)
+++ gcc47.patch	2019-11-24 18:17:48 UTC (rev 533086)
@@ -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;



More information about the arch-commits mailing list