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 532606 - Include support
Include support
Status: RESOLVED FIXED
Product: gnome-lirc-properties
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Mathias Hasselmann (IRC: tbf)
Mathias Hasselmann (IRC: tbf)
Depends on:
Blocks: 530359 536811
 
 
Reported: 2008-05-11 12:03 UTC by Bastien Nocera
Modified: 2008-06-30 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glp-include-statements.patch (1022 bytes, patch)
2008-05-11 12:04 UTC, Bastien Nocera
none Details | Review
g-l-p-include-directive.patch (7.45 KB, patch)
2008-05-14 10:15 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2008-05-11 12:03:53 UTC
+++ This bug was initially created as a clone of Bug #530359 +++

Small patch to make gnome-lirc-properties work with the current CVS. My guess is that you should break compatibility with older versions of lirc, otherwise you'll end having to support whether or not include support works, and which type of include it supports.
Comment 1 Bastien Nocera 2008-05-11 12:04:26 UTC
Created attachment 110715 [details] [review]
glp-include-statements.patch
Comment 2 Murray Cumming 2008-05-12 20:57:26 UTC
Thanks, and thanks for pushing this into lirc.

Let's commit this with a configure check when it is available in a particular tarball version.
Comment 3 Bastien Nocera 2008-05-14 10:13:14 UTC
With an error:
checking for lircd... /usr/sbin/lircd
configure: WARNING: lircd >= 0.8.4 is required, you have 0.8.3pre2
checking new enough lircd daemon... configure: error: no
make: *** [config.status] Error 1

Without an error:
checking for lircd... /usr/sbin/lircd
checking new enough lircd daemon... yes
Comment 4 Bastien Nocera 2008-05-14 10:15:52 UTC
Created attachment 110893 [details] [review]
g-l-p-include-directive.patch

- Checks for lircd include support (works as expected with current lircd CVS)
- Remove unused LSB support
- Update include syntax
- Simplify code that used can_include (as we can always include now)
Comment 5 Mathias Hasselmann (IRC: tbf) 2008-05-18 22:42:20 UTC
I don't think that I want to require include support.
Comment 6 Murray Cumming 2008-06-30 11:42:07 UTC
I think it would be nice to keep the code simple, unless some new version of some distro is likely to use an old lirc for some reason. The old versions of distros won't take g-l-p anyway.
Comment 7 Bastien Nocera 2008-06-30 14:14:58 UTC
2008-06-30  Bastien Nocera  <hadess@hadess.net>

	* configure.ac: Check for lirc 0.8.4 and require it
	* gnome_lirc_properties/backend.py: Fix include statement's
	syntax, it's enclosed in "<>" now
	* gnome_lirc_properties/lirc.py: Remove can_include check,
	all the lircs past 0.8.4 can support it

	* gnome_lirc_properties/Makefile.am:
	* gnome_lirc_properties/config.py.in:
	* gnome_lirc_properties/lsb.py: Remove use of lsb version checks,
	as we now require include support with a new enough lirc

	(Closes: #532606)