[needs-packaging] indicator-cpufreq

Bug #815283 reported by Artem Popov
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Wishlist
Unassigned

Bug Description

CPU frequency indicator.

Indicator applet for displaying and changing CPU frequency on-the-fly. It provides the same functionality as the Gnome CPU frequency applet, but doesn't require Gnome panel and works under Unity.

URL: https://launchpad.net/indicator-cpufreq
License: GPL-3

Artem Popov (artfwo)
Changed in ubuntu:
assignee: nobody → Artem Popov (artfwo)
status: New → In Progress
Revision history for this message
Artem Popov (artfwo) wrote :
Changed in ubuntu:
status: In Progress → Confirmed
assignee: Artem Popov (artfwo) → nobody
Revision history for this message
Micah Gersten (micahg) wrote :

Marking incomplete due to comments on REVU, I'm also subscribing ubuntu-sponsors for the time being. Please resubscribe when the comments are addressed.

Changed in ubuntu:
status: Confirmed → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Artem Popov (artfwo) wrote :

Issues mentioned on REVU are fixed, resubscribing sponsors.

Changed in ubuntu:
status: Incomplete → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your branch. I had a look at it and the packaging is fine now. Some comments on the code itself:

/usr/bin/indicator-cpufreq-selector
should probably move into a new dir /usr/share/indicator-cpufreq or /usr/lib/indicator-cpufreq as its not useful
to run on its own but instead is auto-started.

Its great to have a manpage :) It would be good if it would explain how to add indicator-cpufreq to the panel
(i.e. if its enough to have it installed, a small note about this would be sufficient). It does not appear on my
box but maybe thats because my system does not support it?

In bin/indicator-cpufreq I see:
"""
python_path = []
if os.path.abspath(__file__).startswith('/opt'):
    syspath = sys.path[:] # copy to avoid infinite loop in pending objects
    for path in syspath:
        opt_path = path.replace('/usr', '/opt/extras.ubuntu.com/indicator_cpufreq')
        python_path.insert(0, opt_path)
        sys.path.insert(0, opt_path)
python_path = []
if os.path.abspath(__file__).startswith('/opt'):
    syspath = sys.path[:] # copy to avoid infinite loop in pending objects
    for path in syspath:
        opt_path = path.replace('/usr', '/opt/extras.ubuntu.com/indicator_cpufreq')
        python_path.insert(0, opt_path)
        sys.path.insert(0, opt_path)
"""
That looks like its accidently duplicated?

Installing the /var/lib/polkit-1/indicator-cpufreq.pkla looks odd to me, could you please explain a bit more
why its needed? It seems like the .policy file takes already care of this as the default for admin is "unix-group:admin"
(just as its in the local policy file).

Otherwise it looks great, thanks a lot for the work on this! My comments on this should probably also be forwarded
to upstream. The only thing I would really like to know more about is the /var/lib/polkit-1/indicator-cpufreq.pkla
the otherwise I think its ready for upload.

Changed in ubuntu:
status: Confirmed → Incomplete
Revision history for this message
Artem Popov (artfwo) wrote :

Michael, I'm the upstream author, comments acknowledged.

indicator-cpufreq.pkla is a required file for giving noauth CPU frequency control to the local users in "admin" group. This is compatible with the original behaviour of Gnome applet in Ubuntu - allows local admins to toggle frequency/governor without entering the password.

Original Ubuntu behaviour is coded in policykit-desktop-privileges package with the actual privileges being here:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/policykit-desktop-privileges/oneiric/view/head:/com.ubuntu.desktop.pkla

Changed in ubuntu:
status: Incomplete → Confirmed
Revision history for this message
Artem Popov (artfwo) wrote :

Installation path for *.pkla updated in the latest REVU upload.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi and sorry for the delay to give you an answer!

Given that we are past Feature Freeze, you would need a Feature Freeze exception before any upload. Sorry about that.
You can find how to get a FFe at https://wiki.ubuntu.com/FreezeExceptionProcess.

Unsubscribing sponsors for the moment. As soon as you get the approval for the FFe, please subscribe them again.

Thanks,
Fabrice

Artem Popov (artfwo)
Changed in ubuntu:
assignee: nobody → Artem Popov (artfwo)
Revision history for this message
Artem Popov (artfwo) wrote :

Resubscribing sponsors, since Precise is open.

Changed in ubuntu:
assignee: Artem Popov (artfwo) → nobody
Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded. I only changed 'oneiric' to 'precise'. Should be sitting in the NEW queue now.

Changed in ubuntu:
status: Confirmed → Fix Committed
Artem Popov (artfwo)
Changed in ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.