Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732940 - xfce-extra/xfce4-power-manager-1.7.0 doesn't install the backlight helper binary
Summary: xfce-extra/xfce4-power-manager-1.7.0 doesn't install the backlight helper binary
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://forum.xfce.org/viewtopic.php?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-16 18:40 UTC by Víctor Enríquez
Modified: 2020-07-16 19:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Víctor Enríquez 2020-07-16 18:40:59 UTC
I was messing around with my system trying to understand why xfce4 wouldn't handle my backlight keys, and I realized the utility for handling this kind of stuff is not installed when using the ebuild.

If I compile it manually the tool is built and installed, the name of the binary is xfpm-power-backlight-helper.

Usage:
  xfpm-power-backlight-helper [OPTION?]

XFCE Power Manager Backlight Helper

Help Options:
  -h, --help                  Show help options

Application Options:
  --set-brightness            Set the current brightness
  --get-brightness            Get the current brightness
  --get-max-brightness        Get the number of brightness levels supported
  --set-brightness-switch     Enable or disable ACPI video brightness switch handling
  --get-brightness-switch     Get the current setting of the ACPI video brightness switch handling

As far as I understand it, we need the tool to control brightness under xfce4 using xfce4-power-manager although I didn't have the time to read the code seems like some other binaries are missing as well. After doing a manual install in tmp I have:

/tmp/bin/xfce4-power-manager
/tmp/bin/xfce4-power-manager-settings
/tmp/sbin/xfce4-pm-helper
/tmp/sbin/xfpm-power-backlight-helper

qlist xfce4-power-manager | grep bin

just shows the 2 first binaries are installed, but nothing is in fact installed in /sbin, not sure if the ebuild is missing any other files.



Reproducible: Always

Steps to Reproduce:
1.emerge xfce4-power-manager 
2.wget http://archive.xfce.org/src/xfce/xfce4-power-manager/1.7/xfce4-power-manager-1.7.0.tar.bz2
3. tar xpf xfce4-power-manager-1.7.0.tar.bz2 -C /tmp
4. do you configure make dance.
5. Compare the 2 results.
Actual Results:  
The binaries which should be installed in /sbin are not installed.

Expected Results:  
All the binaries should be installed so the package can work properly.
Comment 1 Víctor Enríquez 2020-07-16 19:17:55 UTC
Sorry I just realized it was my mistake, I was missing the policykit use flag, you can close this bug, the binaries are in place after setting the use flag.