Bug 442328 - Remote database should be more easily findable
Remote database should be more easily findable
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: lirc (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
: FutureFeature
: 451441 (view as bug list)
Depends On:
Blocks: 442329
  Show dependency treegraph
 
Reported: 2008-04-14 08:43 EDT by Bastien Nocera
Modified: 2008-06-30 06:31 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-30 06:31:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
lirc-separate-remotes.patch (1.49 KB, patch)
2008-05-12 10:09 EDT, Bastien Nocera
no flags Details | Diff

  None (edit)
Description Bastien Nocera 2008-04-14 08:43:55 EDT
Currently, the remotes database lives in
/usr/share/doc/lirc-doc-%{lirc_version}/remotes

gnome-lirc-properties would need to hardcode the version number in the spec file
to be able to find it. It would be better if the remotes database was:
- in the main package
- in an unchanging location (/usr/share/lirc/remotes would be a good one)
Comment 1 Ville Skyttä 2008-04-14 14:00:46 EDT
Once upon a time, my lirc package included in addition to the remote configs
shipped in lirc tarballs everything from http://www.lirc.org/remotes/ which adds
quite a bit to the package payload which is not very welcome in trimmed down
setups.  That data is usually only needed in the configuration phase and not in
"production runtime".  Shipping them somewhere else than the main package is a
relic of that.

Now, if only the remote configs in the main lirc package are shipped, we're
talking only about 750kB of installed data which isn't a huge deal in just about
any setup, but I'd rather keep them in a separate package nevertheless.

So I'd be fine with let's say a lirc-remotes subpackage, using
/usr/share/lirc/remotes.  Or perhaps even a completely separate source rpm from
which the remotes package is built from, that way it'd be independent of main
lirc package updates, could be noarch, and if someone wants to bundle everything
from http://www.lirc.org/remotes/ in it again, it wouldn't bloat even the lirc
source package.

Thoughts?
Comment 2 Bastien Nocera 2008-04-14 18:27:10 EDT
An lirc-remotes package with a better path would be just great for me. I don't
think that a separate source rpm would be warranted, unless we wanted to pull a
lot more data from upstream.
Comment 3 Bastien Nocera 2008-05-12 10:09:09 EDT
Created attachment 305132 [details]
lirc-separate-remotes.patch

Patch to separate the remotes definitions (might not apply cleanly, as I've
already modified the .spec for the patches in bug 442248).
Comment 4 Jarod Wilson 2008-06-02 14:59:19 EDT
For the time being, yeah, I think just a separate sub-package with the existing
remote defs is enough. I've gone ahead and done something similar to the patch
provided in comment #3.
Comment 5 Ville Skyttä 2008-06-15 03:07:23 EDT
*** Bug 451441 has been marked as a duplicate of this bug. ***
Comment 6 Bastien Nocera 2008-06-30 06:31:16 EDT
Works fine for me, closing.

Note You need to log in before you can comment on or make changes to this bug.