[arch-commits] Commit in bamf/repos/community-x86_64 (5 files)
Maxime Gauduin
alucryd at archlinux.org
Mon Feb 3 18:02:14 UTC 2020
Date: Monday, February 3, 2020 @ 18:02:13
Author: alucryd
Revision: 561962
archrelease: copy trunk to community-x86_64
Added:
bamf/repos/community-x86_64/PKGBUILD
(from rev 561961, bamf/trunk/PKGBUILD)
bamf/repos/community-x86_64/bamf-no-gtester2xunit.patch
(from rev 561961, bamf/trunk/bamf-no-gtester2xunit.patch)
bamf/repos/community-x86_64/bamf-no-werror.patch
(from rev 561961, bamf/trunk/bamf-no-werror.patch)
Deleted:
bamf/repos/community-x86_64/PKGBUILD
bamf/repos/community-x86_64/fix-legacy-window-test.patch
------------------------------+
PKGBUILD | 103 ++++++++++++++++++++++++-----------------
bamf-no-gtester2xunit.patch | 24 +++++++++
bamf-no-werror.patch | 14 +++++
fix-legacy-window-test.patch | 24 ---------
4 files changed, 100 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-03 18:02:07 UTC (rev 561961)
+++ PKGBUILD 2020-02-03 18:02:13 UTC (rev 561962)
@@ -1,41 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Balló György <ballogyor+arch at gmail.com>
-
-pkgname=bamf
-pkgver=0.5.4
-pkgrel=1
-pkgdesc='Application matching framework'
-arch=('x86_64')
-url='https://launchpad.net/bamf'
-license=('GPL')
-depends=('libgtop' 'libwnck3')
-makedepends=('gobject-introspection' 'python2-lxml' 'vala')
-source=("https://launchpad.net/bamf/${pkgver%.*}/${pkgver}/+download/bamf-${pkgver}.tar.gz"{,.asc})
-validpgpkeys=('45B1103FB93ACBD90296DBCAE83D089481836EBF') # Marco Trevisan
-sha256sums=('5bb87a5bf46ab1fc9a229a851c0ee4f610d943716a7c83d318f6a8f50d76beb3'
- 'SKIP')
-
-build() {
- cd bamf-${pkgver}
-
- export PYTHON='/usr/bin/python2'
- export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
-
- ./configure \
- --prefix='/usr' \
- --libexecdir='/usr/lib' \
- --localstatedir='/var' \
- --sysconfdir='/etc' \
- --disable-static \
- --disable-webapps
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package() {
- cd bamf-${pkgver}
-
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: bamf/repos/community-x86_64/PKGBUILD (from rev 561961, bamf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-03 18:02:13 UTC (rev 561962)
@@ -0,0 +1,62 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail.com>
+
+pkgname=bamf
+pkgver=0.5.4
+pkgrel=2
+pkgdesc='Application matching framework'
+arch=(x86_64)
+url=https://launchpad.net/bamf
+license=(GPL)
+depends=(
+ libgtop
+ libwnck3
+)
+makedepends=(
+ git
+ gnome-common
+ gobject-introspection
+ vala
+)
+source=(
+ git+https://git.launchpad.net/bamf?signed#tag=75326c28cd519891dbd9d6f1e96be9e528746052
+ bamf-no-gtester2xunit.patch
+ bamf-no-werror.patch
+)
+validpgpkeys=(45B1103FB93ACBD90296DBCAE83D089481836EBF) # Marco Trevisan
+sha256sums=('SKIP'
+ 'a330601f7bd332e96088b318374ca35515b6687b5bbe2c9c51f483bb7286a59b'
+ '3e93850927e2f70bc8af96587307dfa38759c850bf89ef9d2775c7432e7f2041')
+
+pkgver() {
+ cd bamf
+
+ git describe --tags
+}
+
+prepare() {
+ cd bamf
+
+ patch -Np1 -i ../bamf-no-gtester2xunit.patch
+ patch -Np1 -i ../bamf-no-werror.patch
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd bamf
+
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --enable-gtk-doc
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C bamf install
+}
+
+# vim: ts=2 sw=2 et:
Copied: bamf/repos/community-x86_64/bamf-no-gtester2xunit.patch (from rev 561961, bamf/trunk/bamf-no-gtester2xunit.patch)
===================================================================
--- bamf-no-gtester2xunit.patch (rev 0)
+++ bamf-no-gtester2xunit.patch 2020-02-03 18:02:13 UTC (rev 561962)
@@ -0,0 +1,24 @@
+diff -rupN bamf.orig/configure.ac bamf/configure.ac
+--- bamf.orig/configure.ac 2020-02-03 18:51:04.813711221 +0100
++++ bamf/configure.ac 2020-02-03 18:52:11.374267203 +0100
+@@ -110,18 +110,6 @@ fi
+ GTK_DOC_CHECK(1.0)
+
+ ###########################
+-# gtester2xunit checks #
+-###########################
+-
+-AC_PATH_PROG([PYTHON],[python])
+-AC_MSG_CHECKING(for gtester2xunit dependencies)
+-if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null); then
+- AC_MSG_RESULT([no])
+- AC_MSG_ERROR([You need to install python-libxslt1 and python-libxml2]);
+-fi
+-AC_MSG_RESULT([yes])
+-
+-###########################
+ # Headless tests
+ ###########################
+ AC_ARG_ENABLE([headless-tests],
+
+
Copied: bamf/repos/community-x86_64/bamf-no-werror.patch (from rev 561961, bamf/trunk/bamf-no-werror.patch)
===================================================================
--- bamf-no-werror.patch (rev 0)
+++ bamf-no-werror.patch 2020-02-03 18:02:13 UTC (rev 561962)
@@ -0,0 +1,14 @@
+diff -rupN bamf.orig/configure.ac bamf/configure.ac
+--- bamf.orig/configure.ac 2020-02-03 18:55:29.602584778 +0100
++++ bamf/configure.ac 2020-02-03 18:55:45.776052493 +0100
+@@ -143,7 +143,7 @@ AC_SUBST(COVERAGE_LDFLAGS)
+ AM_PATH_GTK_3_0
+
+ dnl CFLAGS
+-CFLAGS="$CFLAGS -Wall -Werror -Wno-error=deprecated-declarations -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm"
++CFLAGS="$CFLAGS -Wall -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm"
+
+ AC_SUBST(BAMFDAEMON_CFLAGS)
+ AC_SUBST(BAMFDAEMON_LIBS)
+
+
Deleted: fix-legacy-window-test.patch
===================================================================
--- fix-legacy-window-test.patch 2020-02-03 18:02:07 UTC (rev 561961)
+++ fix-legacy-window-test.patch 2020-02-03 18:02:13 UTC (rev 561962)
@@ -1,24 +0,0 @@
---- src/bamf-legacy-window-test.c 2013-08-08 12:32:39 +0000
-+++ src/bamf-legacy-window-test.c 2014-01-07 19:15:14 +0000
-@@ -427,7 +427,7 @@
- g_return_if_fail (BAMF_IS_LEGACY_WINDOW_TEST (window));
- BamfLegacyWindowTest *self = BAMF_LEGACY_WINDOW_TEST (window);
-
-- return g_hash_table_insert (self->hints, g_strdup (name), g_strdup (value));
-+ g_hash_table_insert (self->hints, g_strdup (name), g_strdup (value));
- }
-
- static char *
-
-=== modified file 'src/bamf-view.c'
---- src/bamf-view.c 2013-07-31 00:11:27 +0000
-+++ src/bamf-view.c 2014-01-09 16:24:53 +0000
-@@ -88,6 +88,7 @@
- gboolean active = bamf_view_is_active (self);
-
- g_signal_emit_by_name (self, "active-changed", active);
-+ self->priv->active_changed_idle = 0;
-
- return FALSE;
- }
-
More information about the arch-commits
mailing list