Ravenports generated: 20 Jun 2024 17:00
[ravenports.git] / bucket_5E / xfce4-power-manager
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xfce4-power-manager
4 VERSION=                4.18.4
5 KEYWORDS=               sysutils
6 VARIANTS=               standard
7 SDESC[standard]=        Power manager for Xfce
8 HOMEPAGE=               https://docs.xfce.org/xfce/xfce4-power-manager/1.4/start
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://archive.xfce.org/src/xfce/xfce4-power-manager/4.18/
13 DISTFILE[1]=            xfce4-power-manager-4.18.4.tar.bz2:main
14 DIST_SUBDIR=            xfce
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         nls
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          harfbuzz:dev:standard
24                         libnotify:dev:standard
25                         libxfce4ui:dev:standard
26                         xfce4-panel:dev:standard
27                         xfconf:dev:standard
28 BUILDRUN_DEPENDS=       libnotify:primary:standard
29                         libxfce4ui:primary:standard
30                         upower:primary:standard
31                         xfce4-panel:primary:standard
32                         xfconf:primary:standard
33
34 USES=                   gmake libtool pkgconfig
35 GNOME_COMPONENTS=       gtk3 intltool
36 XORG_COMPONENTS=        x11
37
38 LICENSE=                GPLv2+:primary
39 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
40 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/COPYING
41 LICENSE_AWK=            TERMS:"^$$"
42 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/xfpm-manager.h
43 LICENSE_SCHEME=         solo
44
45 FPC_EQUIVALENT=         sysutils/xfce4-power-manager
46
47 MUST_CONFIGURE=         gnu
48 CONFIGURE_ARGS=         --enable-polkit
49                         --enable-xfce4panel
50
51 INSTALL_TARGET=         install-strip
52
53 VAR_OPSYS[midnightbsd]= CONFIGURE_ARGS=--with-backend=freebsd
54
55 [FILE:566:descriptions/desc.primary]
56 The Xfce4 Power Manager manages the power sources of the computer and 
57 connected devices (wireless mice, keyboards, media players etc.). It also 
58 allows users to control the display backlight brightness and set 
59 power-saving modes for displays and monitors.
60
61 In addition, it provides a set of freedesktop-compliant DBus interfaces to 
62 inform other applications about the current power level so that they can 
63 adjust their power consumption. It also provides the inhibit interface 
64 which allows applications to prevent automatic sleep actions via the power 
65 manager.
66
67
68 [FILE:118:distinfo]
69 76918f7bdcd936dbbf20efd9221a33be0cd504c7d7ffce792bace3c720f3d874      1241669 xfce/xfce4-power-manager-4.18.4.tar.bz2
70
71
72 [FILE:2427:manifests/plist.primary]
73 bin/
74  xfce4-power-manager
75  xfce4-power-manager-settings
76 etc/xdg/autostart/xfce4-power-manager.desktop
77 lib/xfce4/panel/plugins/libxfce4powermanager.so
78 sbin/
79  xfce4-pm-helper
80  xfpm-power-backlight-helper
81 share/applications/xfce4-power-manager-settings.desktop
82 share/icons/hicolor/128x128/apps/org.xfce.powermanager.png
83 share/icons/hicolor/16x16/apps/org.xfce.powermanager.png
84 share/icons/hicolor/24x24/apps/org.xfce.powermanager.png
85 share/icons/hicolor/48x48/apps/org.xfce.powermanager.png
86 share/icons/hicolor/48x48/status/
87  ac-adapter.png
88  battery-caution-charging.png
89  battery-caution.png
90  battery-empty-charging.png
91  battery-empty.png
92  battery-full-charged.png
93  battery-full-charging.png
94  battery-full.png
95  battery-good-charging.png
96  battery-good.png
97  battery-low-charging.png
98  battery-low.png
99  battery-missing.png
100  computer.png
101  display-brightness.png
102  input-keyboard.png
103  input-mouse.png
104  keyboard-brightness.png
105  multimedia-player.png
106  pda.png
107  phone.png
108  tablet.png
109  uninterruptible-power-supply.png
110  video-display.png
111 share/icons/hicolor/64x64/apps/org.xfce.powermanager.png
112 share/icons/hicolor/96x96/apps/org.xfce.powermanager.png
113 share/icons/hicolor/scalable/apps/org.xfce.powermanager.svg
114 share/icons/hicolor/scalable/status/
115  ac-adapter-symbolic.svg
116  ac-adapter.svg
117  battery-caution-charging-symbolic.svg
118  battery-caution-charging.svg
119  battery-caution-symbolic.svg
120  battery-caution.svg
121  battery-empty-charging-symbolic.svg
122  battery-empty-charging.svg
123  battery-empty-symbolic.svg
124  battery-empty.svg
125  battery-full-charged-symbolic.svg
126  battery-full-charged.svg
127  battery-full-charging-symbolic.svg
128  battery-full-charging.svg
129  battery-full-symbolic.svg
130  battery-full.svg
131  battery-good-charging-symbolic.svg
132  battery-good-charging.svg
133  battery-good-symbolic.svg
134  battery-good.svg
135  battery-low-charging-symbolic.svg
136  battery-low-charging.svg
137  battery-low-symbolic.svg
138  battery-low.svg
139  battery-missing-symbolic.svg
140  battery-missing.svg
141  computer.svg
142  display-brightness-symbolic.svg
143  display-brightness.svg
144  keyboard-brightness-symbolic.svg
145  keyboard-brightness.svg
146  keyboard.svg
147  mouse.svg
148  multimedia-player.svg
149  pda.svg
150  phone.svg
151  tablet.svg
152  uninterruptible-power-supply.svg
153  video-display.svg
154 share/man/man1/
155  xfce4-power-manager-settings.1.gz
156  xfce4-power-manager.1.gz
157 share/metainfo/xfce4-power-manager.appdata.xml
158 share/polkit-1/actions/org.xfce.power.policy
159 share/xfce4/panel/plugins/power-manager-plugin.desktop
160
161
162 [FILE:3089:manifests/plist.nls]
163 share/locale/ar/LC_MESSAGES/xfce4-power-manager.mo
164 share/locale/ast/LC_MESSAGES/xfce4-power-manager.mo
165 share/locale/be/LC_MESSAGES/xfce4-power-manager.mo
166 share/locale/bg/LC_MESSAGES/xfce4-power-manager.mo
167 share/locale/ca/LC_MESSAGES/xfce4-power-manager.mo
168 share/locale/cs/LC_MESSAGES/xfce4-power-manager.mo
169 share/locale/da/LC_MESSAGES/xfce4-power-manager.mo
170 share/locale/de/LC_MESSAGES/xfce4-power-manager.mo
171 share/locale/el/LC_MESSAGES/xfce4-power-manager.mo
172 share/locale/en_AU/LC_MESSAGES/xfce4-power-manager.mo
173 share/locale/en_CA/LC_MESSAGES/xfce4-power-manager.mo
174 share/locale/en_GB/LC_MESSAGES/xfce4-power-manager.mo
175 share/locale/es/LC_MESSAGES/xfce4-power-manager.mo
176 share/locale/et/LC_MESSAGES/xfce4-power-manager.mo
177 share/locale/eu/LC_MESSAGES/xfce4-power-manager.mo
178 share/locale/fi/LC_MESSAGES/xfce4-power-manager.mo
179 share/locale/fr/LC_MESSAGES/xfce4-power-manager.mo
180 share/locale/gl/LC_MESSAGES/xfce4-power-manager.mo
181 share/locale/he/LC_MESSAGES/xfce4-power-manager.mo
182 share/locale/hr/LC_MESSAGES/xfce4-power-manager.mo
183 share/locale/hu/LC_MESSAGES/xfce4-power-manager.mo
184 share/locale/hy_AM/LC_MESSAGES/xfce4-power-manager.mo
185 share/locale/hye/LC_MESSAGES/xfce4-power-manager.mo
186 share/locale/id/LC_MESSAGES/xfce4-power-manager.mo
187 share/locale/ie/LC_MESSAGES/xfce4-power-manager.mo
188 share/locale/is/LC_MESSAGES/xfce4-power-manager.mo
189 share/locale/it/LC_MESSAGES/xfce4-power-manager.mo
190 share/locale/ja/LC_MESSAGES/xfce4-power-manager.mo
191 share/locale/kk/LC_MESSAGES/xfce4-power-manager.mo
192 share/locale/kn/LC_MESSAGES/xfce4-power-manager.mo
193 share/locale/ko/LC_MESSAGES/xfce4-power-manager.mo
194 share/locale/lt/LC_MESSAGES/xfce4-power-manager.mo
195 share/locale/ms/LC_MESSAGES/xfce4-power-manager.mo
196 share/locale/nb/LC_MESSAGES/xfce4-power-manager.mo
197 share/locale/nl/LC_MESSAGES/xfce4-power-manager.mo
198 share/locale/nn/LC_MESSAGES/xfce4-power-manager.mo
199 share/locale/oc/LC_MESSAGES/xfce4-power-manager.mo
200 share/locale/pa/LC_MESSAGES/xfce4-power-manager.mo
201 share/locale/pl/LC_MESSAGES/xfce4-power-manager.mo
202 share/locale/pt/LC_MESSAGES/xfce4-power-manager.mo
203 share/locale/pt_BR/LC_MESSAGES/xfce4-power-manager.mo
204 share/locale/ro/LC_MESSAGES/xfce4-power-manager.mo
205 share/locale/ru/LC_MESSAGES/xfce4-power-manager.mo
206 share/locale/si/LC_MESSAGES/xfce4-power-manager.mo
207 share/locale/sk/LC_MESSAGES/xfce4-power-manager.mo
208 share/locale/sl/LC_MESSAGES/xfce4-power-manager.mo
209 share/locale/sq/LC_MESSAGES/xfce4-power-manager.mo
210 share/locale/sr/LC_MESSAGES/xfce4-power-manager.mo
211 share/locale/sv/LC_MESSAGES/xfce4-power-manager.mo
212 share/locale/te/LC_MESSAGES/xfce4-power-manager.mo
213 share/locale/th/LC_MESSAGES/xfce4-power-manager.mo
214 share/locale/tr/LC_MESSAGES/xfce4-power-manager.mo
215 share/locale/ug/LC_MESSAGES/xfce4-power-manager.mo
216 share/locale/uk/LC_MESSAGES/xfce4-power-manager.mo
217 share/locale/ur/LC_MESSAGES/xfce4-power-manager.mo
218 share/locale/ur_PK/LC_MESSAGES/xfce4-power-manager.mo
219 share/locale/vi/LC_MESSAGES/xfce4-power-manager.mo
220 share/locale/zh_CN/LC_MESSAGES/xfce4-power-manager.mo
221 share/locale/zh_HK/LC_MESSAGES/xfce4-power-manager.mo
222 share/locale/zh_TW/LC_MESSAGES/xfce4-power-manager.mo
223
224
225 [FILE:423:patches/patch-src_xfpm-pm-helper.c]
226 --- src/xfpm-pm-helper.c.orig   2023-11-30 15:37:59 UTC
227 +++ src/xfpm-pm-helper.c
228 @@ -77,6 +77,10 @@
229  #define UP_BACKEND_SUSPEND_COMMAND  "/usr/sbin/zzz"
230  #define UP_BACKEND_HIBERNATE_COMMAND "/usr/sbin/ZZZ"
231  #endif
232 +#ifdef __NetBSD__
233 +#define UP_BACKEND_SUSPEND_COMMAND      "/sbin/sysctl -w hw.acpi.sleep.state=1"
234 +#define UP_BACKEND_HIBERNATE_COMMAND    "/sbin/sysctl -w hw.acpi.sleep.state=4"
235 +#endif
236  
237  
238  static gboolean
239