summaryrefslogtreecommitdiffstats
path: root/gnome-applets-null-battstat.patch
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2007-12-07 04:11:01 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2007-12-07 04:11:01 +0000
commit87fcef69cd3fb918447b15e0e5d73a6b40071543 (patch)
tree01a029259a2162c826ccd135e7d9c846f62ab835 /gnome-applets-null-battstat.patch
parent9eab047b45f45578a09f4cad21a178dcd55681f3 (diff)
downloadgnome-applets-87fcef69cd3fb918447b15e0e5d73a6b40071543.tar.gz
gnome-applets-87fcef69cd3fb918447b15e0e5d73a6b40071543.tar.xz
gnome-applets-87fcef69cd3fb918447b15e0e5d73a6b40071543.zip
Diffstat (limited to 'gnome-applets-null-battstat.patch')
-rw-r--r--gnome-applets-null-battstat.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/gnome-applets-null-battstat.patch b/gnome-applets-null-battstat.patch
new file mode 100644
index 0000000..95e4573
--- /dev/null
+++ b/gnome-applets-null-battstat.patch
@@ -0,0 +1,55 @@
+diff -up gnome-applets-2.21.2/null_applet/Makefile.am.battstat gnome-applets-2.21.2/null_applet/Makefile.am
+--- gnome-applets-2.21.2/null_applet/Makefile.am.battstat 2007-12-06 22:43:35.000000000 -0500
++++ gnome-applets-2.21.2/null_applet/Makefile.am 2007-12-06 22:43:43.000000000 -0500
+@@ -9,12 +9,17 @@ null_applet_SOURCES = null_applet.c
+
+ null_applet_LDADD = $(GNOME_APPLETS_LIBS)
+
++if !BUILD_BATTSTAT_APPLET
++battstat_applet=GNOME_BattstatApplet.server.in
++endif
++
+ serverdir = $(libdir)/bonobo/servers
+ server_in_files = \
+ GNOME_NullApplet_Factory.server.in \
+ GNOME_CDPlayerApplet.server.in \
+ GNOME_MailcheckApplet_Factory.server.in \
+- GNOME_Panel_WirelessApplet.server.in
++ GNOME_Panel_WirelessApplet.server.in \
++ $(battstat_applet)
+ server_DATA = $(server_in_files:.server.in=.server)
+
+ @INTLTOOL_SERVER_RULE@
+@@ -28,4 +33,5 @@ EXTRA_DIST = \
+ GNOME_NullApplet_Factory.server.in.in \
+ GNOME_CDPlayerApplet.server.in \
+ GNOME_MailcheckApplet_Factory.server.in \
+- GNOME_Panel_WirelessApplet.server.in
++ GNOME_Panel_WirelessApplet.server.in \
++ GNOME_BattstatApplet.server.in
+diff -up gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in.battstat gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in
+--- gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in.battstat 2007-12-06 22:44:07.000000000 -0500
++++ gnome-applets-2.21.2/null_applet/GNOME_BattstatApplet.server.in 2007-12-06 22:43:54.000000000 -0500
+@@ -0,0 +1,22 @@
++<oaf_info>
++
++<oaf_server iid="OAFIID:GNOME_BattstatApplet"
++ type="factory"
++ location="OAFIID:GNOME_NullApplet_Factory">
++
++ <oaf_attribute name="repo_ids" type="stringv">
++ <item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/>
++ <item value="IDL:Bonobo/Control:1.0"/>
++ <item value="IDL:Bonobo/Unknown:1.0"/>
++ </oaf_attribute>
++ <oaf_attribute name="name" type="string" _value="Battery Charge Monitor"/>
++ <oaf_attribute name="description" type="string" _value="Monitor a laptop's remaining power"/>
++ <oaf_attribute name="bugzilla:bugzilla" type="string" value="GNOME"/>
++ <oaf_attribute name="bugzilla:product" type="string" value="gnome-applets"/>
++ <oaf_attribute name="bugzilla:component" type="string" value="battery"/>
++ <oaf_attribute name="bugzilla:other_binaries" type="string" value="battstat-applet-2"/>
++
++
++</oaf_server>
++
++</oaf_info>