Date: Sunday, March 6, 2022 @ 16:05:50 Author: foutrelis Revision: 1142705
archrelease: copy trunk to community-staging-x86_64 Added: bamf/repos/community-staging-x86_64/ bamf/repos/community-staging-x86_64/PKGBUILD (from rev 1142704, bamf/trunk/PKGBUILD) bamf/repos/community-staging-x86_64/bamf-no-gtester2xunit.patch (from rev 1142704, bamf/trunk/bamf-no-gtester2xunit.patch) bamf/repos/community-staging-x86_64/bamf-no-werror.patch (from rev 1142704, bamf/trunk/bamf-no-werror.patch) -----------------------------+ PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++ bamf-no-gtester2xunit.patch | 24 +++++++++++++++++++ bamf-no-werror.patch | 14 +++++++++++ 3 files changed, 90 insertions(+) Copied: bamf/repos/community-staging-x86_64/PKGBUILD (from rev 1142704, bamf/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-06 16:05:50 UTC (rev 1142705) @@ -0,0 +1,52 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Balló György <ballogyor+a...@gmail.com> + +pkgname=bamf +pkgver=0.5.5 +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 +) +_tag=d677ea004428e4d34214b0f27881918b7192de12 +source=(git+https://git.launchpad.net/bamf?signed#tag=${_tag}) +validpgpkeys=(D4C501DA48EB797A081750939449C2F50996635F) # Marco Trevisan (Treviño) <m...@3v1n0.net> +b2sums=(SKIP) + +pkgver() { + cd bamf + git describe --tags +} + +prepare() { + cd bamf + 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-staging-x86_64/bamf-no-gtester2xunit.patch (from rev 1142704, bamf/trunk/bamf-no-gtester2xunit.patch) =================================================================== --- community-staging-x86_64/bamf-no-gtester2xunit.patch (rev 0) +++ community-staging-x86_64/bamf-no-gtester2xunit.patch 2022-03-06 16:05:50 UTC (rev 1142705) @@ -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-staging-x86_64/bamf-no-werror.patch (from rev 1142704, bamf/trunk/bamf-no-werror.patch) =================================================================== --- community-staging-x86_64/bamf-no-werror.patch (rev 0) +++ community-staging-x86_64/bamf-no-werror.patch 2022-03-06 16:05:50 UTC (rev 1142705) @@ -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) + +