summaryrefslogtreecommitdiff
path: root/libre/lirc-libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-10-15 00:31:49 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-10-15 00:31:49 -0300
commit93db7f2fb23cba78cde4343b506a676e376ca4a8 (patch)
tree3fec56215a344b1e01e49a27198f919ac981320b /libre/lirc-libre
parentc162e34d12c6cf76532a7f6b3d538d493a8bf17a (diff)
parent39e9111d76d232d65ca0c43285dea5bd5d58d28e (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/avant-window-navigator/PKGBUILD community/awn-extras-applets/PKGBUILD community/cinnamon-control-center/PKGBUILD community/gnome-menus2/PKGBUILD community/gnome-panel/PKGBUILD community/gpsim/PKGBUILD community/kgraphviewer/PKGBUILD community/kpovmodeler/PKGBUILD community/libdesktop-agnostic/PKGBUILD community/python-basemap/PKGBUILD community/python-mpi4py/PKGBUILD community/python-psutil/PKGBUILD community/qgo/PKGBUILD community/ude/PKGBUILD community/virtkey/PKGBUILD extra/alsaplayer/PKGBUILD extra/aterm/PKGBUILD extra/cups-pdf/PKGBUILD extra/ffmpeg/PKGBUILD extra/gtk2/PKGBUILD extra/kdeplasma-applets-networkmanagement/PKGBUILD extra/libffado/PKGBUILD extra/libtar/PKGBUILD extra/maxima/PKGBUILD extra/php-xcache/PKGBUILD extra/postgresql/PKGBUILD extra/xorg-server/PKGBUILD extra/xorg-xauth/PKGBUILD
Diffstat (limited to 'libre/lirc-libre')
-rw-r--r--libre/lirc-libre/PKGBUILD18
-rw-r--r--libre/lirc-libre/lirc.service5
-rw-r--r--libre/lirc-libre/lircm.service7
3 files changed, 20 insertions, 10 deletions
diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD
index 374a7662b..8b896d031 100644
--- a/libre/lirc-libre/PKGBUILD
+++ b/libre/lirc-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 195936 2013-10-05 19:51:37Z tpowa $
+# $Id: PKGBUILD 196212 2013-10-08 14:19:09Z tpowa $
# Maintainer: Paul Mattal <paul@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,7 +6,7 @@ _pkgbase=lirc
pkgbase=lirc-libre
pkgname=('lirc-libre' 'lirc-utils-libre')
pkgver=0.9.0
-pkgrel=62
+pkgrel=63
epoch=1
_extramodules=extramodules-3.11-LIBRE
arch=('i686' 'x86_64' 'mips64el')
@@ -22,7 +22,9 @@ source=(http://prdownloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar
kernel-2.6.39.patch
linux-3.8.patch
lirc.logrotate
- lirc.service lircm.service irexec.service
+ lirc.service
+ lircm.service
+ irexec.service
lirc.tmpfiles)
build() {
@@ -34,6 +36,12 @@ build() {
patch -Np1 -i "${srcdir}/kernel-2.6.39.patch"
patch -Np1 -i "${srcdir}/linux-3.8.patch"
+ # use fixed instead of Courier w/xmode2, should be more prevalent on linux boxen
+ sed -i -e 's|char.*font1_name.*Courier.*$|char font1_name[]="-misc-fixed-*-r-*-*-12-*-*-*-*-*-iso8859-1";|g' tools/xmode2.c
+
+ # use /dev/lirc0 by default instead of /dev/lirc
+ sed -i -e 's|#define DEV_LIRC "lirc"|#define DEV_LIRC "lirc0"|' config.h.in
+
sed -i '/AC_PATH_XTRA/d' configure.ac
sed -e 's/@X_CFLAGS@//g' \
-e 's/@X_LIBS@//g' \
@@ -108,7 +116,7 @@ md5sums=('b232aef26f23fe33ea8305d276637086'
'087a7d102e1c96bf1179f38db2b0b237'
'9ee196bd03ea44af5a752fb0cc6ca96a'
'3deb02604b37811d41816e9b4385fcc3'
- '1c7ceace42da44f41e5a42b4dd3b3d76'
- '121283a6de274e52ed86522aecd0f6e5'
+ 'a9ab637e7207472e61e55a2fa75dc555'
+ '1847b9997685bc3ad2cf11bea4590a92'
'07131d117fcfe9dcd50c453c3a5e9531'
'febf25c154a7d36f01159e84f26c2d9a')
diff --git a/libre/lirc-libre/lirc.service b/libre/lirc-libre/lirc.service
index 2123348fd..a797d1661 100644
--- a/libre/lirc-libre/lirc.service
+++ b/libre/lirc-libre/lirc.service
@@ -1,11 +1,12 @@
[Unit]
Description=Linux Infrared Remote Control
+After=network.target
[Service]
-ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
-ExecStart=/usr/bin/lircd --pidfile=/run/lirc/lircd.pid
Type=forking
PIDFile=/run/lirc/lircd.pid
+ExecStart=/usr/sbin/lircd --driver=default --device=/dev/lirc0
[Install]
WantedBy=multi-user.target
+
diff --git a/libre/lirc-libre/lircm.service b/libre/lirc-libre/lircm.service
index eedcf5d8f..c0b5e36b7 100644
--- a/libre/lirc-libre/lircm.service
+++ b/libre/lirc-libre/lircm.service
@@ -1,11 +1,12 @@
[Unit]
Description=LIRC Mouse
-After=lirc.service
-Wants=lirc.service
+Requires=lirc.service
+After=network.target lirc.service
[Service]
-ExecStart=/usr/bin/lircmd -u
Type=forking
+ExecStart=/usr/sbin/lircmd
[Install]
WantedBy=multi-user.target
+