Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=efda9a14e6d16a8ff62d9eb63c95d21fe6e35d40

commit efda9a14e6d16a8ff62d9eb63c95d21fe6e35d40
Author: crazy <cr...@frugalware.org>
Date:   Mon Feb 12 01:20:52 2018 +0100

rtkit-0.11-5-x86_64

* rebuild with tc
* drop crapD stuff

diff --git a/source/base-extra/rtkit/FrugalBuild 
b/source/base-extra/rtkit/FrugalBuild
index 677ac42..104745a 100644
--- a/source/base-extra/rtkit/FrugalBuild
+++ b/source/base-extra/rtkit/FrugalBuild
@@ -3,32 +3,35 @@

pkgname=rtkit
pkgver=0.11
-pkgrel=4
+pkgrel=5
pkgdesc="Realtime Policy and Watchdog Daemon"
-archs=('i686' 'x86_64')
-groups=(base-extra)
-depends=(dbus polkit)
+archs=('x86_64')
+groups=('base-extra')
+depends=('dbus' 'polkit')
_F_github_author="heftig"
_F_github_tag_v=y
Finclude github
source+=(0002-Drop-Removed-ControlGroup-stanza.patch \
0001-SECURITY-Pass-uid-of-caller-to-polkit.patch \
-        libsystemd.patch \
-       rtkit-mq_getattr.patch)
+        rtkit-mq_getattr.patch)

-sha1sums=('dc4bcaa898ef3cadb6fff35dcce752bc9f64e435' \
+sha1sums=('6186ac06f63cd8368cb03ff0b145009bdc717cca' \
'13d911b1379de8b885797379234a866d1d35d680' \
'10631452619fa578e72366f6b08e5379de1e6510' \
-          'c8fdac1a4750542bb3399f70a7d2f3c43f864c5a' \
'6d0fa0b1f542e3b1f7cd339b214e0cc4ebc91ae4')

+_Fbuild_no_patch=yes
build(){
-  Fbuild

-  Fmkdir usr/share/dbus-1/interfaces
+       Fcd
+       Fpatchall
+       Fautoreconf
+       Fbuild

-  Fexec ./rtkit-daemon --introspect \
-    > "$Fdestdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
+       Fmkdir usr/share/dbus-1/interfaces
+
+       Fexec ./rtkit-daemon --introspect \
+               > 
"$Fdestdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"

}
# optimization OK
diff --git a/source/base-extra/rtkit/libsystemd.patch 
b/source/base-extra/rtkit/libsystemd.patch
deleted file mode 100644
index 51398a7..0000000
--- a/source/base-extra/rtkit/libsystemd.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -u -r rtkit-0.11/configure.ac rtkit-0.11-sd/configure.ac
---- rtkit-0.11/configure.ac    2012-05-15 15:25:40.000000000 +0200
-+++ rtkit-0.11-sd/configure.ac 2013-05-13 08:12:17.616825455 +0200
-@@ -115,6 +115,7 @@
- AC_SEARCH_LIBS([cap_init], [cap])
-
- PKG_CHECK_MODULES(DBUS, dbus-1)
-+PKG_CHECK_MODULES(LIBSYSTEMD_DAEMON, libsystemd-daemon)
-
- AC_ARG_WITH([systemdsystemunitdir],
-         AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for 
systemd service files]),
-diff -u -r rtkit-0.11/Makefile.am rtkit-0.11-sd/Makefile.am
---- rtkit-0.11/Makefile.am     2012-05-15 15:38:05.000000000 +0200
-+++ rtkit-0.11-sd/Makefile.am  2013-05-13 08:12:18.086822253 +0200
-@@ -56,13 +56,14 @@
- endif
-
- rtkit_daemon_SOURCES = \
--      rtkit-daemon.c rtkit.h \
--      sd-daemon.c sd-daemon.h
-+      rtkit-daemon.c rtkit.h
- rtkit_daemon_LDADD = \
--      $(DBUS_LIBS)
-+      $(DBUS_LIBS) \
-+      $(LIBSYSTEMD_DAEMON_LIBS)
- rtkit_daemon_CFLAGS = \
-       $(AM_CFLAGS) \
--      $(DBUS_CFLAGS)
-+      $(DBUS_CFLAGS) \
-+      $(LIBSYSTEMD_DAEMON_CFLAGS)
-
- rtkitctl_SOURCES = \
-       rtkitctl.c rtkit.h
-@@ -93,7 +94,3 @@
-
- DISTCHECK_CONFIGURE_FLAGS = \
-       --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
--
--update-systemd:
--      curl 
http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c
 > sd-daemon.c
--      curl 
http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h > 
sd-daemon.h
-diff -u -r rtkit-0.11/rtkit-daemon.c rtkit-0.11-sd/rtkit-daemon.c
---- rtkit-0.11/rtkit-daemon.c  2012-05-15 15:25:40.000000000 +0200
-+++ rtkit-0.11-sd/rtkit-daemon.c       2013-05-13 08:13:07.933149359 +0200
-@@ -50,9 +50,9 @@
- #include <dirent.h>
- #include <syslog.h>
- #include <grp.h>
-+#include <systemd/sd-daemon.h>
-
- #include "rtkit.h"
--#include "sd-daemon.h"
-
- #ifndef __linux__
- #error "This stuff only works on Linux!"
-Only in rtkit-0.11: sd-daemon.c
-Only in rtkit-0.11: sd-daemon.h
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to