summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/kpowersave
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/applications/kpowersave')
-rw-r--r--freebsd/applications/kpowersave/Makefile40
-rw-r--r--freebsd/applications/kpowersave/distinfo3
-rw-r--r--freebsd/applications/kpowersave/pkg-descr30
-rw-r--r--freebsd/applications/kpowersave/pkg-plist189
4 files changed, 262 insertions, 0 deletions
diff --git a/freebsd/applications/kpowersave/Makefile b/freebsd/applications/kpowersave/Makefile
new file mode 100644
index 000000000..b2a465418
--- /dev/null
+++ b/freebsd/applications/kpowersave/Makefile
@@ -0,0 +1,40 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../trinity.port.mk>
+
+PORTNAME= kpowersave-trinity
+COMMENT= HAL based power management applet for Trinity
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= k/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/applications
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs
+
+LIB_DEPENDS+=\
+ libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
+ libdbus-tqt-1.so:${PORTSDIR}/x11/trinity/dependencies/dbus-tqt
+
+LIB_DEPENDS+=\
+ libhal.so:${PORTSDIR}/sysutils/hal \
+ libXss.so:${PORTSDIR}/x11/libXScrnSaver \
+ libXtst.so:${PORTSDIR}/x11/libXtst \
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DBUILD_ALL="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>
diff --git a/freebsd/applications/kpowersave/distinfo b/freebsd/applications/kpowersave/distinfo
new file mode 100644
index 000000000..ee511c226
--- /dev/null
+++ b/freebsd/applications/kpowersave/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587479103
+SHA256 (TDE/applications/kpowersave-trinity_14.0.8.orig.tar.xz) = 614b997c3e7615cab1beeb1d08d55a7564a8c698d999094e296e7dd778bfb87d
+SIZE (TDE/applications/kpowersave-trinity_14.0.8.orig.tar.xz) = 2943068
diff --git a/freebsd/applications/kpowersave/pkg-descr b/freebsd/applications/kpowersave/pkg-descr
new file mode 100644
index 000000000..2b2c2f2ee
--- /dev/null
+++ b/freebsd/applications/kpowersave/pkg-descr
@@ -0,0 +1,30 @@
+HAL based power management applet for Trinity
+
+KPowersave is a TDE systray applet which allows to control the power
+management settings and policies of your computer.
+It relies on HAL to do the heavy lifting.
+
+Current feature list:
+ * support for ACPI, APM and PMU
+ * trigger suspend to disk/ram and standby
+ * switch cpu frequency policy (between: performance, dynamic and powersave)
+ * applet icon with information about AC state, battery fill and battery
+ (warning) states
+ * applet tooltip with information about battery fill and remaining battery
+ time/percentage
+ * autosuspend (to suspend the machine if the user has been inactive for a
+ defined time)
+ * a global configurable blacklist with programs which prevent autosuspend
+ (e.g. videoplayer and cd burning tools)
+ * trigger lock screen and select the lock method
+ * KNotify support
+ * online help
+ * localisations for many languages
+
+KPowersave supports schemes with following configurable specific
+settings for:
+ * screensaver
+ * DPMS
+ * autosuspend
+ * scheme specific blacklist for autosuspend
+ * notification settings
diff --git a/freebsd/applications/kpowersave/pkg-plist b/freebsd/applications/kpowersave/pkg-plist
new file mode 100644
index 000000000..bd16fb03c
--- /dev/null
+++ b/freebsd/applications/kpowersave/pkg-plist
@@ -0,0 +1,189 @@
+bin/kpowersave
+lib/libtdeinit_kpowersave.la
+lib/libtdeinit_kpowersave.so
+lib/trinity/kpowersave.la
+lib/trinity/kpowersave.so
+share/applications/tde/kpowersave.desktop
+share/apps/kpowersave/eventsrc
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/configure.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/display.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/laptopbattery.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/laptopbatteryORANGE.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/laptopbatteryRED.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/laptopcharge.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/laptopnobattery.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/laptoppower.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/scheme_acoustic.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/scheme_advanced_powersave.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/scheme_power.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/scheme_powersave.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/scheme_presentation.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/stand_by.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/suspend_to_disk.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/suspend_to_ram.png
+share/apps/kpowersave/icons/crystalsvg/16x16/actions/yast.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/autodimm.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/button.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/configure.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/display.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/laptopbattery.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/laptopbatteryORANGE.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/laptopbatteryRED.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/laptopcharge.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/laptopnobattery.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/laptoppower.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/processor.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/scheme_acoustic.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/scheme_advanced_powersave.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/scheme_power.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/scheme_powersave.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/scheme_presentation.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/stand_by.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/suspend_to_disk.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/suspend_to_ram.png
+share/apps/kpowersave/icons/crystalsvg/22x22/actions/yast.png
+share/apps/kpowersave/icons/crystalsvg/48x48/actions/stand_by.png
+share/apps/kpowersave/icons/crystalsvg/48x48/actions/suspend_to_disk.png
+share/apps/kpowersave/icons/crystalsvg/48x48/actions/suspend_to_ram.png
+share/apps/kpowersave/icons/crystalsvg/88x88/actions/laptopbattery.png
+share/apps/kpowersave/icons/crystalsvg/88x88/actions/laptopbatteryORANGE.png
+share/apps/kpowersave/icons/crystalsvg/88x88/actions/laptopbatteryRED.png
+share/apps/kpowersave/icons/crystalsvg/88x88/actions/laptopcharge.png
+share/apps/kpowersave/icons/crystalsvg/88x88/actions/laptopnobattery.png
+share/apps/kpowersave/icons/crystalsvg/88x88/actions/laptoppower.png
+share/autostart/kpowersave-autostart.desktop
+share/config/kpowersaverc
+share/doc/tde/HTML/cs/kpowersave/common
+share/doc/tde/HTML/cs/kpowersave/cs_applet_autosuspend.png
+share/doc/tde/HTML/cs/kpowersave/cs_applet_configure.png
+share/doc/tde/HTML/cs/kpowersave/cs_applet_cpufreq.png
+share/doc/tde/HTML/cs/kpowersave/cs_applet_schemes.png
+share/doc/tde/HTML/cs/kpowersave/cs_applet_suspend.png
+share/doc/tde/HTML/cs/kpowersave/cs_applet_yast.png
+share/doc/tde/HTML/cs/kpowersave/cs_configdialog_blacklist.png
+share/doc/tde/HTML/cs/kpowersave/cs_configdialog_general.png
+share/doc/tde/HTML/cs/kpowersave/cs_configdialog_schemes.png
+share/doc/tde/HTML/cs/kpowersave/cs_configdialog_schemes_autosuspend.png
+share/doc/tde/HTML/cs/kpowersave/cs_configdialog_schemes_bright.png
+share/doc/tde/HTML/cs/kpowersave/cs_configdialog_schemes_screen.png
+share/doc/tde/HTML/cs/kpowersave/cs_notification_settings.png
+share/doc/tde/HTML/cs/kpowersave/hi48-app-kpowersave.png
+share/doc/tde/HTML/cs/kpowersave/index.cache.bz2
+share/doc/tde/HTML/cs/kpowersave/index.docbook
+share/doc/tde/HTML/de/kpowersave/common
+share/doc/tde/HTML/de/kpowersave/de_applet_autosuspend.png
+share/doc/tde/HTML/de/kpowersave/de_applet_configure.png
+share/doc/tde/HTML/de/kpowersave/de_applet_cpufreq.png
+share/doc/tde/HTML/de/kpowersave/de_applet_schemes.png
+share/doc/tde/HTML/de/kpowersave/de_applet_suspend.png
+share/doc/tde/HTML/de/kpowersave/de_applet_yast.png
+share/doc/tde/HTML/de/kpowersave/de_configdialog_blacklist.png
+share/doc/tde/HTML/de/kpowersave/de_configdialog_general.png
+share/doc/tde/HTML/de/kpowersave/de_configdialog_schemes.png
+share/doc/tde/HTML/de/kpowersave/de_configdialog_schemes_autosuspend.png
+share/doc/tde/HTML/de/kpowersave/de_configdialog_schemes_bright.png
+share/doc/tde/HTML/de/kpowersave/de_configdialog_schemes_screen.png
+share/doc/tde/HTML/de/kpowersave/de_notification_settings.png
+share/doc/tde/HTML/de/kpowersave/hi48-app-kpowersave.png
+share/doc/tde/HTML/de/kpowersave/index.cache.bz2
+share/doc/tde/HTML/de/kpowersave/index.docbook
+share/doc/tde/HTML/en/kpowersave/common
+share/doc/tde/HTML/en/kpowersave/en_applet_autosuspend.png
+share/doc/tde/HTML/en/kpowersave/en_applet_configure.png
+share/doc/tde/HTML/en/kpowersave/en_applet_cpufreq.png
+share/doc/tde/HTML/en/kpowersave/en_applet_schemes.png
+share/doc/tde/HTML/en/kpowersave/en_applet_suspend.png
+share/doc/tde/HTML/en/kpowersave/en_applet_yast.png
+share/doc/tde/HTML/en/kpowersave/en_configdialog_blacklist.png
+share/doc/tde/HTML/en/kpowersave/en_configdialog_general.png
+share/doc/tde/HTML/en/kpowersave/en_configdialog_schemes.png
+share/doc/tde/HTML/en/kpowersave/en_configdialog_schemes_autosuspend.png
+share/doc/tde/HTML/en/kpowersave/en_configdialog_schemes_bright.png
+share/doc/tde/HTML/en/kpowersave/en_configdialog_schemes_screen.png
+share/doc/tde/HTML/en/kpowersave/en_notification_settings.png
+share/doc/tde/HTML/en/kpowersave/hi48-app-kpowersave.png
+share/doc/tde/HTML/en/kpowersave/index.cache.bz2
+share/doc/tde/HTML/en/kpowersave/index.docbook
+share/doc/tde/HTML/fi/kpowersave/common
+share/doc/tde/HTML/fi/kpowersave/fi_applet_autosuspend.png
+share/doc/tde/HTML/fi/kpowersave/fi_applet_configure.png
+share/doc/tde/HTML/fi/kpowersave/fi_applet_cpufreq.png
+share/doc/tde/HTML/fi/kpowersave/fi_applet_schemes.png
+share/doc/tde/HTML/fi/kpowersave/fi_applet_suspend.png
+share/doc/tde/HTML/fi/kpowersave/fi_applet_yast.png
+share/doc/tde/HTML/fi/kpowersave/fi_configdialog_blacklist.png
+share/doc/tde/HTML/fi/kpowersave/fi_configdialog_general.png
+share/doc/tde/HTML/fi/kpowersave/fi_configdialog_schemes.png
+share/doc/tde/HTML/fi/kpowersave/fi_configdialog_schemes_autosuspend.png
+share/doc/tde/HTML/fi/kpowersave/fi_configdialog_schemes_bright.png
+share/doc/tde/HTML/fi/kpowersave/fi_configdialog_schemes_screen.png
+share/doc/tde/HTML/fi/kpowersave/fi_notification_settings.png
+share/doc/tde/HTML/fi/kpowersave/hi48-app-kpowersave.png
+share/doc/tde/HTML/fi/kpowersave/index.cache.bz2
+share/doc/tde/HTML/fi/kpowersave/index.docbook
+share/doc/tde/HTML/hu/kpowersave/common
+share/doc/tde/HTML/hu/kpowersave/hi48-app-kpowersave.png
+share/doc/tde/HTML/hu/kpowersave/hu_applet_autosuspend.png
+share/doc/tde/HTML/hu/kpowersave/hu_applet_configure.png
+share/doc/tde/HTML/hu/kpowersave/hu_applet_cpufreq.png
+share/doc/tde/HTML/hu/kpowersave/hu_applet_schemes.png
+share/doc/tde/HTML/hu/kpowersave/hu_applet_suspend.png
+share/doc/tde/HTML/hu/kpowersave/hu_applet_yast.png
+share/doc/tde/HTML/hu/kpowersave/hu_configdialog_blacklist.png
+share/doc/tde/HTML/hu/kpowersave/hu_configdialog_general.png
+share/doc/tde/HTML/hu/kpowersave/hu_configdialog_schemes.png
+share/doc/tde/HTML/hu/kpowersave/hu_configdialog_schemes_autosuspend.png
+share/doc/tde/HTML/hu/kpowersave/hu_configdialog_schemes_bright.png
+share/doc/tde/HTML/hu/kpowersave/hu_configdialog_schemes_screen.png
+share/doc/tde/HTML/hu/kpowersave/hu_notification_settings.png
+share/doc/tde/HTML/hu/kpowersave/index.cache.bz2
+share/doc/tde/HTML/hu/kpowersave/index.docbook
+share/doc/tde/HTML/nb/kpowersave/common
+share/doc/tde/HTML/nb/kpowersave/hi48-app-kpowersave.png
+share/doc/tde/HTML/nb/kpowersave/index.cache.bz2
+share/doc/tde/HTML/nb/kpowersave/index.docbook
+share/doc/tde/HTML/nb/kpowersave/nb_applet_autosuspend.png
+share/doc/tde/HTML/nb/kpowersave/nb_applet_configure.png
+share/doc/tde/HTML/nb/kpowersave/nb_applet_cpufreq.png
+share/doc/tde/HTML/nb/kpowersave/nb_applet_schemes.png
+share/doc/tde/HTML/nb/kpowersave/nb_applet_suspend.png
+share/doc/tde/HTML/nb/kpowersave/nb_applet_yast.png
+share/doc/tde/HTML/nb/kpowersave/nb_configdialog_blacklist.png
+share/doc/tde/HTML/nb/kpowersave/nb_configdialog_general.png
+share/doc/tde/HTML/nb/kpowersave/nb_configdialog_schemes.png
+share/doc/tde/HTML/nb/kpowersave/nb_configdialog_schemes_autosuspend.png
+share/doc/tde/HTML/nb/kpowersave/nb_configdialog_schemes_bright.png
+share/doc/tde/HTML/nb/kpowersave/nb_configdialog_schemes_screen.png
+share/doc/tde/HTML/nb/kpowersave/nb_notification_settings.png
+share/icons/hicolor/16x16/apps/kpowersave.png
+share/icons/hicolor/32x32/apps/kpowersave.png
+share/icons/hicolor/48x48/apps/kpowersave.png
+share/locale/ar/LC_MESSAGES/kpowersave.mo
+share/locale/bg/LC_MESSAGES/kpowersave.mo
+share/locale/cs/LC_MESSAGES/kpowersave.mo
+share/locale/da/LC_MESSAGES/kpowersave.mo
+share/locale/de/LC_MESSAGES/kpowersave.mo
+share/locale/el/LC_MESSAGES/kpowersave.mo
+share/locale/es/LC_MESSAGES/kpowersave.mo
+share/locale/fi/LC_MESSAGES/kpowersave.mo
+share/locale/fr/LC_MESSAGES/kpowersave.mo
+share/locale/hi/LC_MESSAGES/kpowersave.mo
+share/locale/hu/LC_MESSAGES/kpowersave.mo
+share/locale/it/LC_MESSAGES/kpowersave.mo
+share/locale/ja/LC_MESSAGES/kpowersave.mo
+share/locale/km/LC_MESSAGES/kpowersave.mo
+share/locale/lt/LC_MESSAGES/kpowersave.mo
+share/locale/nb/LC_MESSAGES/kpowersave.mo
+share/locale/nl/LC_MESSAGES/kpowersave.mo
+share/locale/pa/LC_MESSAGES/kpowersave.mo
+share/locale/pl/LC_MESSAGES/kpowersave.mo
+share/locale/pt/LC_MESSAGES/kpowersave.mo
+share/locale/pt_BR/LC_MESSAGES/kpowersave.mo
+share/locale/ru/LC_MESSAGES/kpowersave.mo
+share/locale/sl_SI/LC_MESSAGES/kpowersave.mo
+share/locale/sv/LC_MESSAGES/kpowersave.mo
+share/locale/tr/LC_MESSAGES/kpowersave.mo
+share/locale/uk/LC_MESSAGES/kpowersave.mo
+share/locale/zh_CN/LC_MESSAGES/kpowersave.mo
+share/locale/zh_TW/LC_MESSAGES/kpowersave.mo
+share/man/man1/kpowersave.1.gz