[arch-commits] Commit in mate-applets/repos/community-x86_64 (3 files)
Christian Hesse
eworm at archlinux.org
Fri Dec 13 14:22:07 UTC 2019
Date: Friday, December 13, 2019 @ 14:22:07
Author: eworm
Revision: 537549
archrelease: copy trunk to community-x86_64
Added:
mate-applets/repos/community-x86_64/0001-dbus-sys-dir.patch
(from rev 537548, mate-applets/trunk/0001-dbus-sys-dir.patch)
mate-applets/repos/community-x86_64/PKGBUILD
(from rev 537548, mate-applets/trunk/PKGBUILD)
Deleted:
mate-applets/repos/community-x86_64/PKGBUILD
-------------------------+
0001-dbus-sys-dir.patch | 35 ++++++++++++++++++++
PKGBUILD | 79 ++++++++++++++++++++++++++--------------------
2 files changed, 80 insertions(+), 34 deletions(-)
Copied: mate-applets/repos/community-x86_64/0001-dbus-sys-dir.patch (from rev 537548, mate-applets/trunk/0001-dbus-sys-dir.patch)
===================================================================
--- 0001-dbus-sys-dir.patch (rev 0)
+++ 0001-dbus-sys-dir.patch 2019-12-13 14:22:07 UTC (rev 537549)
@@ -0,0 +1,35 @@
+diff --git a/configure.ac b/configure.ac
+index af66e0e..0a0c391 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -133,6 +133,17 @@ fi
+ AC_SUBST(LIBNOTIFY_CFLAGS)
+ AC_SUBST(LIBNOTIFY_LIBS)
+
++dnl -- Check for D-Bus -----------------------------------------
++AC_ARG_WITH(dbus-sys,
++ [AC_HELP_STRING([--with-dbus-sys=<dir>],
++ [where D-BUS system.d directory is])])
++if ! test -z "$with_dbus_sys" ; then
++ DBUS_SYS_DIR="$with_dbus_sys"
++else
++ DBUS_SYS_DIR='${sysconfdir}/dbus-1/system.d'
++fi
++AC_SUBST(DBUS_SYS_DIR)
++
+ dnl -- check for glib/gobject (required) --------------------------------------
+ PKG_CHECK_MODULES(CPUFREQ_SELECTOR, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED)
+ AC_SUBST(CPUFREQ_SELECTOR_CFLAGS)
+diff --git a/cpufreq/src/cpufreq-selector/Makefile.am b/cpufreq/src/cpufreq-selector/Makefile.am
+index 27dfac6..52f2d6e 100644
+--- a/cpufreq/src/cpufreq-selector/Makefile.am
++++ b/cpufreq/src/cpufreq-selector/Makefile.am
+@@ -50,7 +50,7 @@ dbus_services_in_files = org.mate.CPUFreqSelector.service.in
+ polkit_in_files = org.mate.cpufreqselector.policy.in
+
+ dbus_servicesdir = $(datadir)/dbus-1/system-services
+-dbus_confdir = $(sysconfdir)/dbus-1/system.d
++dbus_confdir = $(DBUS_SYS_DIR)
+ polkitdir = $(datadir)/polkit-1/actions
+
+ if HAVE_POLKIT
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-13 14:22:03 UTC (rev 537548)
+++ PKGBUILD 2019-12-13 14:22:07 UTC (rev 537549)
@@ -1,34 +0,0 @@
-# Maintainer: Brad Fanella <cesura at archlinux.org>
-# Contributor: Martin Wimpress <code at flexion.org>
-
-pkgname=mate-applets
-pkgver=1.22.2
-pkgrel=2
-pkgdesc="Applets for MATE panel"
-arch=('x86_64')
-url="https://mate-desktop.org"
-license=('GPL')
-depends=('cpupower' 'gtksourceview3' 'libgtop' 'libnotify' 'mate-panel' 'polkit' 'upower' 'wireless_tools')
-makedepends=('intltool' 'itstool' 'gucharmap')
-optdepends=('fortune-mod: for displaying fortune cookies in the Wanda the Fish applet' 'gucharmap: character picker applet')
-groups=('mate-extra')
-conflicts=('mate-applets-gtk3' 'mate-netspeed' 'mate-netspeed-gtk3')
-replaces=('mate-applets-gtk3' 'mate-netspeed' 'mate-netspeed-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('0c47d69fdecda40231d021cb72594c479e01a4d4b7f49c9550731a9fe7cc62b0')
-
-build() {
- cd "${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/${pkgname} \
- --enable-polkit \
- --enable-ipv6
- make
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: mate-applets/repos/community-x86_64/PKGBUILD (from rev 537548, mate-applets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-13 14:22:07 UTC (rev 537549)
@@ -0,0 +1,45 @@
+# Maintainer: Brad Fanella <cesura at archlinux.org>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=mate-applets
+pkgver=1.22.2
+pkgrel=3
+pkgdesc="Applets for MATE panel"
+arch=('x86_64')
+url="https://mate-desktop.org"
+license=('GPL')
+depends=('cpupower' 'gtksourceview3' 'libgtop' 'libnotify' 'mate-panel' 'polkit' 'upower' 'wireless_tools')
+makedepends=('intltool' 'itstool' 'gucharmap' 'yelp-tools')
+optdepends=('fortune-mod: for displaying fortune cookies in the Wanda the Fish applet' 'gucharmap: character picker applet')
+groups=('mate-extra')
+conflicts=('mate-applets-gtk3' 'mate-netspeed' 'mate-netspeed-gtk3')
+replaces=('mate-applets-gtk3' 'mate-netspeed' 'mate-netspeed-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+ '0001-dbus-sys-dir.patch')
+sha256sums=('0c47d69fdecda40231d021cb72594c479e01a4d4b7f49c9550731a9fe7cc62b0'
+ 'e4812eba493333c688ae431dc0ae35b58f1ff107bbc795ea812dd99a1a1b7283')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ patch -Np1 < ../0001-dbus-sys-dir.patch
+
+ autoreconf -fi
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/${pkgname} \
+ --with-dbus-sys="/usr/share/dbus-1/system.d" \
+ --enable-polkit \
+ --enable-ipv6
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list