After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530646 - Support different name for hardware.conf
Support different name for hardware.conf
Status: RESOLVED FIXED
Product: gnome-lirc-properties
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Mathias Hasselmann (IRC: tbf)
gnome-lirc-properties-maint
Depends on:
Blocks: 530359
 
 
Reported: 2008-04-29 23:11 UTC by Bastien Nocera
Modified: 2010-05-14 17:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-04-29 23:11:58 UTC
+++ This bug was initially created as a clone of Bug #530359 +++

In the patch of the original bug:
-LIRC_HARDWARE_CONF    = path.join(LIRC_CONFDIR, 'hardware.conf')
+LIRC_HARDWARE_CONF    = path.join('@sysconfdir@', 'sysconfig', 'lirc')
Comment 1 Murray Cumming 2008-04-30 07:47:28 UTC
Just so I understand, is it really 
  /etc/sysconfig/lirc
instead of 
  /etc/lirc/hardware.conf
on Fedora, and is it the same file format?

If so, then a simple configure option should make this possible.
Comment 2 Mathias Hasselmann (IRC: tbf) 2008-04-30 08:03:27 UTC
The file name is different, but it also is a shell script fragment. Just some few options have different names. See #530648 (and also #530647).
Comment 3 Bastien Nocera 2010-05-14 17:42:25 UTC
commit 7f3317ecdab106556a5c978e2b055c49f9960b07
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri May 14 18:40:05 2010 +0100

    Make lirc hardware.conf location configurable
    
    By default /etc/lirc/hardware.conf on all distros but Fedora
    (for which we have /etc/sysconfig/lirc).
    
    Override by passing --with-lirc-conf=[location]
    
    https://bugzilla.gnome.org/show_bug.cgi?id=530648