Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185553 - sys-power/acpid-1.0.6 version bump
Summary: sys-power/acpid-1.0.6 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Mobile Herd (OBSOLETE)
URL: http://sourceforge.net/project/showno...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-16 16:22 UTC by Matěj Laitl
Modified: 2007-07-22 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
acpid-1.0.6.ebuild (acpid-1.0.6.ebuild,1.77 KB, text/plain)
2007-07-16 20:06 UTC, Matěj Laitl
Details
acpid-1.0.6-examples-and-logrotate.diff (acpid-1.0.6-examples-and-logrotate.diff,4.04 KB, patch)
2007-07-16 20:09 UTC, Matěj Laitl
Details | Diff
acpid-1.0.6-init.d (acpid-1.0.6-init.d,683 bytes, text/plain)
2007-07-16 20:10 UTC, Matěj Laitl
Details
acpid-1.0.6-conf.d (acpid-1.0.6-conf.d,156 bytes, text/plain)
2007-07-16 20:12 UTC, Matěj Laitl
Details
acpid-1.0.6-init.d (acpid-1.0.6-init.d,695 bytes, text/plain)
2007-07-17 17:53 UTC, Matěj Laitl
Details
acpid-1.0.6.ebuild (acpid-1.0.6.ebuild,1.65 KB, text/plain)
2007-07-17 19:31 UTC, Matěj Laitl
Details
acpid-1.0.6-examples.diff (acpid-1.0.6-examples.diff,3.64 KB, patch)
2007-07-17 19:33 UTC, Matěj Laitl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matěj Laitl 2007-07-16 16:22:24 UTC
acpid-1.0.6 was released on June 30, including some minor fixes, most important one is switching to logging via syslog.

Note that version 1.0.5 was somehow skipped by upstream.


Reproducible: Always

Steps to Reproduce:
Comment 1 Matěj Laitl 2007-07-16 20:06:26 UTC
Created attachment 125091 [details]
acpid-1.0.6.ebuild

Changes relative to acpid-1.0.4-r5.ebuild:

* dropped debian patch from SRC_URI, we'll provide light version of that patch
* changed KEYWORDS to testing
* patch with our own patch, which is an extract from the big debian patch for 1.0.4 (all source code changes are ignored, not needed for 1.0.6)
* dodir /usr/bin is not needed as acpid Makefile has been fixed
* we install sample conf.d file. (this file was already in portage tree but not used in any recent ebuild)
* add elog comment about changed logging system
Comment 2 Matěj Laitl 2007-07-16 20:09:15 UTC
Created attachment 125097 [details, diff]
acpid-1.0.6-examples-and-logrotate.diff

already mentioned patch, just adds some example and logrotate files used in src_install. No source code changes. Extracted from debian patch for 1.0.4.
Comment 3 Matěj Laitl 2007-07-16 20:10:40 UTC
Created attachment 125099 [details]
acpid-1.0.6-init.d

This file is identical to acpid-1.0.4-init.d. Posted for convenience.
Comment 4 Matěj Laitl 2007-07-16 20:12:01 UTC
Created attachment 125106 [details]
acpid-1.0.6-conf.d

conf.d file for acpid. Cosmetical changes to in-tree acpid-conf.d file.
Comment 5 Matěj Laitl 2007-07-17 17:53:27 UTC
Created attachment 125184 [details]
acpid-1.0.6-init.d

Reflect the fact that acpid uses system logger.
This fixes acpid emitting messages to console if sytem log is neither in runlevel or pulled by other init script.
Comment 6 Matěj Laitl 2007-07-17 19:31:29 UTC
Created attachment 125201 [details]
acpid-1.0.6.ebuild

New ebuild version, changes from previous:
* kill doc useflag was not used in ebuild anyway. (this also applies to in-tree 1.0.4-r5 ebuild AFAIK)
* kill logrotate useflag and modify patch not to ship logrotate file. It had no sense when acpid logs to syslog.
Comment 7 Matěj Laitl 2007-07-17 19:33:21 UTC
Created attachment 125203 [details, diff]
acpid-1.0.6-examples.diff

Do not include file for logrotate in the patch. So this patch just adds example directory with some files.
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2007-07-17 19:45:11 UTC
thank you I have committed your excellent work. If you want to contribute more and do not like the extra bugzilla way around feel free to contact me about becoming a developer.

Best regards
Comment 9 Matěj Laitl 2007-07-17 20:14:40 UTC
(In reply to comment #8)
> thank you I have committed your excellent work. If you want to contribute more
> and do not like the extra bugzilla way around feel free to contact me about
> becoming a developer.
> 
> Best regards
> 

I must say I have been playing with the idea of becoming a dev. Currently it looks that sooner or later I'd like to become a gentoo dev, I just want to gain a little bit more experience with gentoo development, so expect more bugzilla work from me. ;)
Comment 10 Thomas Meyer 2007-07-21 09:16:36 UTC
As of version 1.0.6 my power button stopped working.

default.sh gets these commands:
Jul 21 10:50:21 [acpid] received event "button/power PWRF 00000080 0000000e"_
Jul 21 10:50:21 [acpid] notifying client 5859[0:0]_
Jul 21 10:50:21 [acpid] executing action "/etc/acpi/default.sh button/power PWRF 00000080 0000000e"_
Jul 21 10:50:21 [logger] group= button/power
Jul 21 10:50:21 [logger] action=power
Jul 21 10:50:21 [logger] ACPI event unhandled: button/power PWRF 00000080 0000000e
Jul 21 10:50:21 [acpid] action exited with status 0_
Jul 21 10:50:21 [acpid] completed event "button/power PWRF 00000080 0000000e"_

i modified the default.sh to show the vaules of the variables.
in the case "$group" in default.sh its asking for button). But this will never match as the value of $group is "button/power". Modifiying this to button*) and the power button starts to work again. i wonder why nobody else encounter this problem.

any ideas?
Comment 11 Matěj Laitl 2007-07-22 19:21:33 UTC
(In reply to comment #10)
> As of version 1.0.6 my power button stopped working.
> 
> default.sh gets these commands:
> Jul 21 10:50:21 [acpid] received event "button/power PWRF 00000080 0000000e"_
> Jul 21 10:50:21 [acpid] notifying client 5859[0:0]_
> Jul 21 10:50:21 [acpid] executing action "/etc/acpi/default.sh button/power
> PWRF 00000080 0000000e"_
> Jul 21 10:50:21 [logger] group= button/power
> Jul 21 10:50:21 [logger] action=power
> Jul 21 10:50:21 [logger] ACPI event unhandled: button/power PWRF 00000080
> 0000000e
> Jul 21 10:50:21 [acpid] action exited with status 0_
> Jul 21 10:50:21 [acpid] completed event "button/power PWRF 00000080 0000000e"_
> 
> i modified the default.sh to show the vaules of the variables.
> in the case "$group" in default.sh its asking for button). But this will never
> match as the value of $group is "button/power". Modifiying this to button*) and
> the power button starts to work again. i wonder why nobody else encounter this
> problem.
> 
> any ideas?
> 

This is a little bug introduced by switch to gentoo-own acpid scripts.
I encourage you to research bugzilla for this bug and open new bugreport if it is not filled already.