Date: Sunday, February 13, 2022 @ 07:18:37 Author: arojas Revision: 437064
archrelease: copy trunk to extra-x86_64 Added: lirc/repos/extra-x86_64/PKGBUILD (from rev 437063, lirc/trunk/PKGBUILD) lirc/repos/extra-x86_64/lirc-0.10-build-fix.patch (from rev 437063, lirc/trunk/lirc-0.10-build-fix.patch) lirc/repos/extra-x86_64/lirc.logrotate (from rev 437063, lirc/trunk/lirc.logrotate) lirc/repos/extra-x86_64/lirc.tmpfiles (from rev 437063, lirc/trunk/lirc.tmpfiles) Deleted: lirc/repos/extra-x86_64/PKGBUILD lirc/repos/extra-x86_64/lirc-0.10-build-fix.patch lirc/repos/extra-x86_64/lirc.logrotate lirc/repos/extra-x86_64/lirc.tmpfiles ---------------------------+ PKGBUILD | 120 +++++++++++++++++++++++--------------------- lirc-0.10-build-fix.patch | 60 +++++++++++----------- lirc.logrotate | 10 +-- lirc.tmpfiles | 2 4 files changed, 100 insertions(+), 92 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-13 07:18:14 UTC (rev 437063) +++ PKGBUILD 2022-02-13 07:18:37 UTC (rev 437064) @@ -1,56 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Paul Mattal <p...@archlinux.org> - -pkgname=lirc -_pkgver=0.10.1 -[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver" -pkgrel=10 -epoch=1 -pkgdesc="Linux Infrared Remote Control utilities" -arch=('x86_64') -url="https://www.lirc.org/" -license=('GPL') -depends=('alsa-lib' 'libx11' 'libftdi' 'libusb-compat') -makedepends=('help2man' 'alsa-lib' 'libx11' 'libxslt' 'python' 'python-setuptools' - 'systemd') -optdepends=('python: for lirc-setup, irdb-get and pronto2lirc') -provides=('lirc-utils') -conflicts=('lirc-utils') -replaces=('lirc-utils') -backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf') -source=("https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2" - lirc-0.10-build-fix.patch - lirc.logrotate - lirc.tmpfiles) -sha1sums=('9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a' - '952ce902c94d822b0113d8e74bc6fda6a551ad7e' - '4342b004eb53d51fcbb9af2cf136bb4990874608' - '5cd3f206e6e60632d9bea2ce9d22dbe5283eb129') - -prepare() { - cd "${srcdir}/lirc-${_pkgver}" - - patch -p1 -i ../lirc-0.10-build-fix.patch - - autoreconf -fi - automake -ac -} - -build() { - cd "${srcdir}/lirc-${_pkgver}" - - HAVE_UINPUT=1 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd "${srcdir}/lirc-${_pkgver}" - - make DESTDIR="${pkgdir}" -j1 install - - install -Dm644 "${srcdir}"/lirc.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lirc.conf - install -Dm644 "${srcdir}"/lirc.logrotate "${pkgdir}"/etc/logrotate.d/lirc - - rmdir "${pkgdir}"/var/{run/lirc/,run/} -} Copied: lirc/repos/extra-x86_64/PKGBUILD (from rev 437063, lirc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-13 07:18:37 UTC (rev 437064) @@ -0,0 +1,64 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> + +pkgname=lirc +_pkgver=0.10.1 +[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver" +pkgrel=11 +epoch=1 +pkgdesc="Linux Infrared Remote Control utilities" +arch=('x86_64') +url="https://www.lirc.org/" +license=('GPL') +depends=('alsa-lib' 'libx11' 'libftdi' 'libusb-compat') +makedepends=('help2man' 'alsa-lib' 'libx11' 'libxslt' 'python' 'python-setuptools' + 'python-yaml' 'systemd') +optdepends=('python: for lirc-setup, irdb-get and pronto2lirc' + 'python-gobject: for lirc-setup and irdb-get' + 'python-yaml: for lirc-setup and irdb-get') +provides=('lirc-utils') +conflicts=('lirc-utils') +replaces=('lirc-utils') +backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf') +source=("https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2" + lirc-0.10-build-fix.patch + lirc.logrotate + lirc.tmpfiles) +sha1sums=('9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a' + '952ce902c94d822b0113d8e74bc6fda6a551ad7e' + '4342b004eb53d51fcbb9af2cf136bb4990874608' + '5cd3f206e6e60632d9bea2ce9d22dbe5283eb129') + +prepare() { + cd "${srcdir}/lirc-${_pkgver}" + + patch -p1 -i ../lirc-0.10-build-fix.patch + + autoreconf -fi + automake -ac +} + +build() { + cd "${srcdir}/lirc-${_pkgver}" + + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-devinput \ + --enable-uinput + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd "${srcdir}/lirc-${_pkgver}" + + make DESTDIR="${pkgdir}" -j1 install + + install -Dm644 "${srcdir}"/lirc.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lirc.conf + install -Dm644 "${srcdir}"/lirc.logrotate "${pkgdir}"/etc/logrotate.d/lirc + + rmdir "${pkgdir}"/var/{run/lirc/,run/} +} Deleted: lirc-0.10-build-fix.patch =================================================================== --- lirc-0.10-build-fix.patch 2022-02-13 07:18:14 UTC (rev 437063) +++ lirc-0.10-build-fix.patch 2022-02-13 07:18:37 UTC (rev 437064) @@ -1,30 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 58347d8..8c7fca2 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -77,15 +77,10 @@ AC_TYPE_UINT64_T - - dnl AC_TYPE_GETGROUPS seems broken on recent MacOS, so: - AC_MSG_CHECKING([Figure out if getgrouplist() needs gid_t or int]) --oldcflags="$CFLAGS" --export CFLAGS=-Werror - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include <unistd.h> --#include <grp.h> -- ]], [[ --gid_t groups[32]; int ngroups; const char* user = "root"; --getgrouplist(user, 1, groups, &ngroups); -- ]])],[ -+int getgroups(int gidsetsize, gid_t grouplist[]); -+ ]], [[ ]])],[ - AC_MSG_RESULT(gid_t) - AC_DEFINE(GETGROUPS_T,[gid_t]) - ],[ -@@ -93,7 +88,6 @@ getgrouplist(user, 1, groups, &ngroups); - AC_DEFINE(GETGROUPS_T,[int]) - ] - ) --export CFLAGS="$oldcflags" - - dnl Checks for library functions. - AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \ Copied: lirc/repos/extra-x86_64/lirc-0.10-build-fix.patch (from rev 437063, lirc/trunk/lirc-0.10-build-fix.patch) =================================================================== --- lirc-0.10-build-fix.patch (rev 0) +++ lirc-0.10-build-fix.patch 2022-02-13 07:18:37 UTC (rev 437064) @@ -0,0 +1,30 @@ +diff --git a/configure.ac b/configure.ac +index 58347d8..8c7fca2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -77,15 +77,10 @@ AC_TYPE_UINT64_T + + dnl AC_TYPE_GETGROUPS seems broken on recent MacOS, so: + AC_MSG_CHECKING([Figure out if getgrouplist() needs gid_t or int]) +-oldcflags="$CFLAGS" +-export CFLAGS=-Werror + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include <unistd.h> +-#include <grp.h> +- ]], [[ +-gid_t groups[32]; int ngroups; const char* user = "root"; +-getgrouplist(user, 1, groups, &ngroups); +- ]])],[ ++int getgroups(int gidsetsize, gid_t grouplist[]); ++ ]], [[ ]])],[ + AC_MSG_RESULT(gid_t) + AC_DEFINE(GETGROUPS_T,[gid_t]) + ],[ +@@ -93,7 +88,6 @@ getgrouplist(user, 1, groups, &ngroups); + AC_DEFINE(GETGROUPS_T,[int]) + ] + ) +-export CFLAGS="$oldcflags" + + dnl Checks for library functions. + AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \ Deleted: lirc.logrotate =================================================================== --- lirc.logrotate 2022-02-13 07:18:14 UTC (rev 437063) +++ lirc.logrotate 2022-02-13 07:18:37 UTC (rev 437064) @@ -1,5 +0,0 @@ -/var/log/lircd { - missingok - notifempty - delaycompress -} Copied: lirc/repos/extra-x86_64/lirc.logrotate (from rev 437063, lirc/trunk/lirc.logrotate) =================================================================== --- lirc.logrotate (rev 0) +++ lirc.logrotate 2022-02-13 07:18:37 UTC (rev 437064) @@ -0,0 +1,5 @@ +/var/log/lircd { + missingok + notifempty + delaycompress +} Deleted: lirc.tmpfiles =================================================================== --- lirc.tmpfiles 2022-02-13 07:18:14 UTC (rev 437063) +++ lirc.tmpfiles 2022-02-13 07:18:37 UTC (rev 437064) @@ -1 +0,0 @@ -d /run/lirc 0755 root root - Copied: lirc/repos/extra-x86_64/lirc.tmpfiles (from rev 437063, lirc/trunk/lirc.tmpfiles) =================================================================== --- lirc.tmpfiles (rev 0) +++ lirc.tmpfiles 2022-02-13 07:18:37 UTC (rev 437064) @@ -0,0 +1 @@ +d /run/lirc 0755 root root -