Update to 1.8.1

Cleanup plist
This commit is contained in:
Baptiste Daroussin 2014-10-06 13:04:52 +00:00
parent 10b5b7c325
commit 149494b3ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370164
4 changed files with 6 additions and 147 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mate-power-manager
PORTVERSION= 1.8.0
PORTVERSION= 1.8.1
CATEGORIES= sysutils mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
@ -16,16 +16,15 @@ LIB_DEPENDS= libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \
libupower-glib.so:${PORTSDIR}/sysutils/upower \
libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
libnotify.so:${PORTSDIR}/devel/libnotify
RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit
PORTSCOUT= limitw:1,even
USES= gettext gmake libtool pathfix pkgconfig tar:xz
USES= execinfo gettext gmake libtool pathfix pkgconfig tar:xz
USE_MATE= panel
USE_XORG= x11 xext xproto xrandr xrender
USE_GNOME= cairo glib20 gnomehier gtk20 intlhack
USE_GNOME= cairo glib20 gtk20 intlhack
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV= LIBS="-lexecinfo"

View file

@ -1,2 +1,2 @@
SHA256 (mate/mate-power-manager-1.8.0.tar.xz) = 3d83b7736b0b6256242db3b9efaa18530b4ba6d80b146eafaf511230ae926d9f
SIZE (mate/mate-power-manager-1.8.0.tar.xz) = 3339588
SHA256 (mate/mate-power-manager-1.8.1.tar.xz) = 6fa72d4e6a018a44144d06b68c8f67e067e3847ad83b4b8a8aaa0e2a8c9b6147
SIZE (mate/mate-power-manager-1.8.1.tar.xz) = 3341892

View file

@ -1,28 +0,0 @@
--- src/gpm-prefs-core.c.orig 2014-04-20 19:36:10.387159774 +0000
+++ src/gpm-prefs-core.c 2014-04-20 19:38:42.711413590 +0000
@@ -898,8 +898,13 @@
/* are we allowed to shutdown? */
egg_console_kit_can_stop (prefs->priv->console, &prefs->priv->can_shutdown, NULL);
/* get values from UpClient */
+#ifdef HAVE_OLD_UPOWER
prefs->priv->can_suspend = up_client_get_can_suspend (prefs->priv->client);
prefs->priv->can_hibernate = up_client_get_can_hibernate (prefs->priv->client);
+#else
+ prefs->priv->can_suspend = FALSE;
+ prefs->priv->can_hibernate = FALSE;
+#endif
}
if (LOGIND_RUNNING()) {
@@ -955,7 +960,11 @@
g_object_unref (brightness);
/* get device list */
+#ifdef HAVE_OLD_UPOWER
ret = up_client_enumerate_devices_sync (prefs->priv->client, NULL, &error);
+#else
+ ret = FALSE;
+#endif
if (!ret) {
egg_warning ("failed to get device list: %s", error->message);
g_error_free (error);

View file

@ -1,5 +1,5 @@
bin/mate-power-bugreport.sh
bin/mate-power-manager
bin/mate-power-manager-bugreport
bin/mate-power-preferences
bin/mate-power-statistics
etc/xdg/autostart/mate-power-manager.desktop
@ -702,115 +702,3 @@ share/mate-panel/applets/org.mate.InhibitApplet.mate-panel-applet
%%DATADIR%%/icons/hicolor/scalable/status/gpm-ups-100.svg
%%DATADIR%%/icons/hicolor/scalable/status/gpm-ups-missing.svg
share/polkit-1/actions/org.mate.power.policy
@dirrmtry share/polkit-1/actions
@dirrmtry share/polkit-1
@dirrm %%DATADIR%%/icons/hicolor/scalable/status
@dirrm %%DATADIR%%/icons/hicolor/scalable/actions
@dirrm %%DATADIR%%/icons/hicolor/scalable
@dirrm %%DATADIR%%/icons/hicolor/48x48/status
@dirrm %%DATADIR%%/icons/hicolor/48x48/actions
@dirrm %%DATADIR%%/icons/hicolor/48x48
@dirrm %%DATADIR%%/icons/hicolor/32x32/status
@dirrm %%DATADIR%%/icons/hicolor/32x32/actions
@dirrm %%DATADIR%%/icons/hicolor/32x32
@dirrm %%DATADIR%%/icons/hicolor/24x24/status
@dirrm %%DATADIR%%/icons/hicolor/24x24/actions
@dirrm %%DATADIR%%/icons/hicolor/24x24
@dirrm %%DATADIR%%/icons/hicolor/22x22/status
@dirrm %%DATADIR%%/icons/hicolor/22x22/actions
@dirrm %%DATADIR%%/icons/hicolor/22x22
@dirrm %%DATADIR%%/icons/hicolor/16x16/status
@dirrm %%DATADIR%%/icons/hicolor/16x16/actions
@dirrm %%DATADIR%%/icons/hicolor/16x16
@dirrm %%DATADIR%%/icons/hicolor
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%
@dirrmtry share/mate-panel/applets
@dirrmtry share/mate-panel
@dirrmtry share/locale/zh_HK/LC_MESSAGES
@dirrmtry share/locale/zh_HK
@dirrmtry share/locale/te/LC_MESSAGES
@dirrmtry share/locale/te
@dirrmtry share/locale/sr@latin/LC_MESSAGES
@dirrmtry share/locale/sr@latin
@dirrmtry share/locale/si/LC_MESSAGES
@dirrmtry share/locale/si
@dirrmtry share/locale/oc/LC_MESSAGES
@dirrmtry share/locale/oc
@dirrmtry share/locale/mr/LC_MESSAGES
@dirrmtry share/locale/mr
@dirrmtry share/locale/mg/LC_MESSAGES
@dirrmtry share/locale/mg
@dirrmtry share/locale/mai/LC_MESSAGES
@dirrmtry share/locale/mai
@dirrmtry share/locale/ky/LC_MESSAGES
@dirrmtry share/locale/ky
@dirrmtry share/locale/ku/LC_MESSAGES
@dirrmtry share/locale/ku
@dirrmtry share/locale/en@shaw/LC_MESSAGES
@dirrmtry share/locale/en@shaw
@dirrmtry share/locale/dz/LC_MESSAGES
@dirrmtry share/locale/dz
@dirrmtry share/locale/ca@valencia/LC_MESSAGES
@dirrmtry share/locale/ca@valencia
@dirrmtry share/locale/bn_IN/LC_MESSAGES
@dirrmtry share/locale/bn_IN
@dirrmtry share/locale/be@latin/LC_MESSAGES
@dirrmtry share/locale/be@latin
@dirrmtry share/locale/ast/LC_MESSAGES
@dirrmtry share/locale/ast
@dirrmtry share/locale/as/LC_MESSAGES
@dirrmtry share/locale/as
@dirrmtry share/locale/ur/LC_MESSAGES
@dirrmtry share/locale/ur
@dirrmtry share/locale/cmn/LC_MESSAGES
@dirrmtry share/locale/cmn
@dirrmtry share/help/zh_CN/mate-power-manager/figures
@dirrmtry share/help/zh_CN/mate-power-manager
@dirrmtry share/help/zh_CN
@dirrmtry share/help/sv/mate-power-manager/figures
@dirrmtry share/help/sv/mate-power-manager
@dirrmtry share/help/sv
@dirrmtry share/help/ru/mate-power-manager/figures
@dirrmtry share/help/ru/mate-power-manager
@dirrmtry share/help/ru
@dirrmtry share/help/pa/mate-power-manager/figures
@dirrmtry share/help/pa/mate-power-manager
@dirrmtry share/help/pa
@dirrmtry share/help/oc/mate-power-manager/figures
@dirrmtry share/help/oc/mate-power-manager
@dirrmtry share/help/oc
@dirrmtry share/help/it/mate-power-manager/figures
@dirrmtry share/help/it/mate-power-manager
@dirrmtry share/help/it
@dirrmtry share/help/hu/mate-power-manager/figures
@dirrmtry share/help/hu/mate-power-manager
@dirrmtry share/help/hu
@dirrmtry share/help/fr/mate-power-manager/figures
@dirrmtry share/help/fr/mate-power-manager
@dirrmtry share/help/fr
@dirrmtry share/help/fi/mate-power-manager/figures
@dirrmtry share/help/fi/mate-power-manager
@dirrmtry share/help/fi
@dirrmtry share/help/eu/mate-power-manager/figures
@dirrmtry share/help/eu/mate-power-manager
@dirrmtry share/help/eu
@dirrmtry share/help/es/mate-power-manager/figures
@dirrmtry share/help/es/mate-power-manager
@dirrmtry share/help/es
@dirrmtry share/help/en_GB/mate-power-manager/figures
@dirrmtry share/help/en_GB/mate-power-manager
@dirrmtry share/help/en_GB
@dirrmtry share/help/el/mate-power-manager/figures
@dirrmtry share/help/el/mate-power-manager
@dirrmtry share/help/el
@dirrmtry share/help/de/mate-power-manager/figures
@dirrmtry share/help/de/mate-power-manager
@dirrmtry share/help/de
@dirrmtry share/help/ca/mate-power-manager/figures
@dirrmtry share/help/ca/mate-power-manager
@dirrmtry share/help/ca
@dirrmtry share/help/C/mate-power-manager/figures
@dirrmtry share/help/C/mate-power-manager
@dirrmtry share/help/C
@dirrmtry share/help