[vlc-commits] dbus_screensaver: rename from power
Rémi Denis-Courmont
git at videolan.org
Fri Dec 7 21:26:04 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec 7 22:15:44 2012 +0200| [97a7b7ec1790203a5872b292ce52fa0a8692e4d4] | committer: Rémi Denis-Courmont
dbus_screensaver: rename from power
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=97a7b7ec1790203a5872b292ce52fa0a8692e4d4
---
modules/misc/Modules.am | 8 ++++----
modules/misc/inhibit/{power.c => dbus.c} | 4 ++--
po/POTFILES.in | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/modules/misc/Modules.am b/modules/misc/Modules.am
index 25c1469..1e3dcef 100644
--- a/modules/misc/Modules.am
+++ b/modules/misc/Modules.am
@@ -41,11 +41,11 @@ libvlc_LTLIBRARIES += \
libxscreensaver_plugin.la
endif
-libpower_plugin_la_SOURCES = inhibit/power.c
-libpower_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
-libpower_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS)
+libdbus_screensaver_plugin_la_SOURCES = inhibit/dbus.c
+libdbus_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
+libdbus_screensaver_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS)
if HAVE_DBUS
-libvlc_LTLIBRARIES += libpower_plugin.la
+libvlc_LTLIBRARIES += libdbus_screensaver_plugin.la
endif
libmce_plugin_la_SOURCES = inhibit/mce.c
diff --git a/modules/misc/inhibit/power.c b/modules/misc/inhibit/dbus.c
similarity index 98%
rename from modules/misc/inhibit/power.c
rename to modules/misc/inhibit/dbus.c
index 0a4e307..a23a923 100644
--- a/modules/misc/inhibit/power.c
+++ b/modules/misc/inhibit/dbus.c
@@ -1,7 +1,7 @@
/*****************************************************************************
- * power.c : prevents the computer from suspending when VLC is playing
+ * dbus.c: power management inhibition using D-Bus
*****************************************************************************
- * Copyright © 2009-2011 Rémi Denis-Courmont
+ * Copyright © 2009-2012 Rémi Denis-Courmont
* Copyright © 2007-2012 Rafaël Carré
*
* This program is free software; you can redistribute it and/or modify it
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 53254ed..0d63189 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -945,8 +945,8 @@ modules/meta_engine/taglib.cpp
modules/misc/audioscrobbler.c
modules/misc/dhparams.h
modules/misc/gnutls.c
+modules/misc/inhibit/dbus.c
modules/misc/inhibit/mce.c
-modules/misc/inhibit/power.c
modules/misc/inhibit/xdg.c
modules/misc/inhibit/xscreensaver.c
modules/misc/logger.c
More information about the vlc-commits
mailing list