summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2009-01-07 02:46:43 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2009-01-07 02:46:43 +0000
commit7b7c6309226a9c98ca0eac6ae5e3850eff0c09cb (patch)
treed04dce2c7cbf183c3e842963c6cadfeab0c6b6e7
parent8ef599e215205b2b7be67dbf1a4b3c422ca69b7e (diff)
downloadgnome-applets-7b7c6309226a9c98ca0eac6ae5e3850eff0c09cb.tar.gz
gnome-applets-7b7c6309226a9c98ca0eac6ae5e3850eff0c09cb.tar.xz
gnome-applets-7b7c6309226a9c98ca0eac6ae5e3850eff0c09cb.zip
fix the mini-commander build _again_
-rw-r--r--gnome-applets.spec8
-rw-r--r--mini-commander.patch11
2 files changed, 17 insertions, 2 deletions
diff --git a/gnome-applets.spec b/gnome-applets.spec
index e7b575b..39c947b 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -35,7 +35,7 @@
Summary: Small applications for the GNOME panel
Name: gnome-applets
Version: 2.25.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
License: GPLv2+ and GFDL
Group: User Interface/Desktops
@@ -58,6 +58,9 @@ Patch34: ppp-includes.patch
# do the nullapplet dance for battstat
Patch40: gnome-applets-null-battstat.patch
+# still doesn't build !@#$!%#
+Patch41: mini-commander.patch
+
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
@@ -149,6 +152,7 @@ tar xjf %{SOURCE2}
%patch3 -p1 -b .ppp-command
%patch34 -p1 -b .ppp-includes
+%patch41 -p1 -b .mini-commander
intltoolize --force
autoreconf
@@ -335,7 +339,7 @@ fi
%{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy
%changelog
-* Tue Jan 6 2009 Matthias Clasen <mclasen@redhat.com> - 1:2.25.3-1
+* Tue Jan 6 2009 Matthias Clasen <mclasen@redhat.com> - 1:2.25.3-2
- Update to 2.25.3
* Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.25.2-4
diff --git a/mini-commander.patch b/mini-commander.patch
new file mode 100644
index 0000000..f961c76
--- /dev/null
+++ b/mini-commander.patch
@@ -0,0 +1,11 @@
+diff -up gnome-applets-2.25.3/mini-commander/src/Makefile.am.mini-commander gnome-applets-2.25.3/mini-commander/src/Makefile.am
+--- gnome-applets-2.25.3/mini-commander/src/Makefile.am.mini-commander 2009-01-06 21:39:16.000000000 -0500
++++ gnome-applets-2.25.3/mini-commander/src/Makefile.am 2009-01-06 21:42:34.000000000 -0500
+@@ -35,6 +35,7 @@ mini_commander_applet_SOURCES = \
+ mc-default-macros.h
+
+ mini_commander_applet_LDADD = \
++ $(GNOME_LIBS2_LIBS) \
+ $(GNOME_APPLETS_LIBS)
+
+ mc_install_default_macros_SOURCES = \