- Set up tools to use /dev/lirc0 instead of /dev/lirc by default

- Set a default font for xmode2 most people actually have (#467339)
epel8
Jarod Wilson 16 years ago
parent aaf95ca122
commit eb63a0bfd2

@ -18,7 +18,7 @@
Name: lirc
Version: 0.8.6
Release: 0.2%{?pre:.%{pre}}%{?dist}
Release: 0.3%{?pre:.%{pre}}%{?dist}
Summary: The Linux Infrared Remote Control package
Group: System Environment/Daemons
@ -136,6 +136,12 @@ for f in remotes/chronos/lircd.conf.chronos \
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
# use /dev/lirc0 by default instead of /dev/lirc
sed -i -e 's|#define DEV_LIRC "lirc"|#define DEV_LIRC "lirc0"|' config.h.in
# 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
sed -i -e 's|"/lib /usr/lib |"/%{_lib} %{_libdir} |' configure # lib64 rpath
# *cough* I wish there was a good way to disable alsa/portaudio/svgalib...
@ -267,6 +273,10 @@ fi
%changelog
* Tue Jul 21 2009 Jarod Wilson <jarod@redhat.com> 0.8.6-0.3.pre1
- Set up tools to use /dev/lirc0 instead of /dev/lirc by default
- Set a default font for xmode2 most people actually have (#467339)
* Wed Jun 24 2009 Jarod Wilson <jarod@redhat.com> 0.8.6-0.2.pre1
- Fix things up so the relocated socket actually works out of the box

Loading…
Cancel
Save