Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=c7cdbe3a2f807f11a150dbaf4c6f3dd554e1f275

commit c7cdbe3a2f807f11a150dbaf4c6f3dd554e1f275
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Feb 18 12:02:53 2011 +0000

totem-2.91.6-4-i686

*fixes new API libpeas

diff --git a/source/gnome/totem/FrugalBuild b/source/gnome/totem/FrugalBuild
index b3e2308..2718ba6 100644
--- a/source/gnome/totem/FrugalBuild
+++ b/source/gnome/totem/FrugalBuild
@@ -4,14 +4,14 @@

pkgname=totem
pkgver=2.91.6
-pkgrel=3
+pkgrel=4
pkgdesc="Movie player for GNOME based on Xine"
depends=('libxi' 'libxtst' 'fontconfig' 'libstdc++' 'libxxf86vm' 
'dbus-glib>=0.71' \
'libxrandr' 'atk>=1.20.0' 'libsm' 'libxinerama' 'libmusicbrainz' 'nss>=3.12' 
'avahi-glib>=0.6.19' \
'cairo>=1.8.6' 'libxcursor' 'gnome-desktop>=2.90.0' 'iso-codes' \
'shared-mime-info>=0.22' 'totem-pl-parser>=2.32.' 'libkrb5' 'db>=4.7.25' \
'evolution-data-server>=2.90.0' 'python>=2.7' 'pygobject>=2.27.0' \
-       'gst-plugins-base-oil' 'gst-plugins-good-gconf' 'pygtk' 'libpeas-gtk' \
+       'gst-plugins-base-oil' 'gst-plugins-good-gconf' 'pygtk' 
'libpeas-gtk>=0.7.2' \
'libgdata>=0.6.4' 'gst-plugins-good-libsoup' 'unique' 'gst-ffmpeg' \
'libxml2>=2.7.8')
makedepends=('intltool' 'gnome-doc-utils' 'vala' 'krb5' 'gnome-common')
@@ -38,7 +38,9 @@ subrodepends=("${subrodepends[@]}" "$pkgname=$pkgver")
subgroups=("${subgroups[@]}" 'gnome')
subarchs=("${subarchs[@]}" 'i686 x86_64 ppc')

-sha1sums=('c7ea24a9f2b6bcd850ee1cfed70e95d0d090ec54')
+source=($source libpeas.diff)
+sha1sums=('c7ea24a9f2b6bcd850ee1cfed70e95d0d090ec54' \
+          'ce340db56710b35ea3f14c8315e7112137045671')

build() {
Fcd
diff --git a/source/gnome/totem/libpeas.diff b/source/gnome/totem/libpeas.diff
new file mode 100644
index 0000000..54d12dc
--- /dev/null
+++ b/source/gnome/totem/libpeas.diff
@@ -0,0 +1,48 @@
+From 6da33d0d064e7dd6b5144d01ea1d73a8cde5b02d Mon Sep 17 00:00:00 2001
+From: Steve Frécinaux <c...@istique.net>
+Date: Sun, 13 Feb 2011 23:41:22 +0000
+Subject: Update totem against latest libpeas API changes.
+
+---
+diff --git a/configure.in b/configure.in
+index 641f18f..ec129c7 100644
+--- a/configure.in
++++ b/configure.in
+@@ -48,7 +48,7 @@ TOTEM_PLPARSER_REQS=2.32.2
+ GNOMEICON_REQS=2.15.90
+ DBUS_REQS=0.82
+ VALA_REQS=0.11.1
+-PEAS_REQS=0.7.1
++PEAS_REQS=0.7.2
+ PYTHON_REQS=2.3
+ PYGOBJECT_REQS=2.27.0
+
+diff --git a/src/plugins/totem-plugins-engine.c 
b/src/plugins/totem-plugins-engine.c
+index cdff0bf..4518fe2 100644
+--- a/src/plugins/totem-plugins-engine.c
++++ b/src/plugins/totem-plugins-engine.c
+@@ -120,6 +120,8 @@ totem_plugins_engine_get_default (TotemObject *totem)
+       }
+       g_strfreev (paths);
+
++      peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
++
+       g_object_add_weak_pointer (G_OBJECT (engine),
+                                  (gpointer) &engine);
+
+diff --git a/src/totem-menu.c b/src/totem-menu.c
+index 6e76184..1a2e54e 100644
+--- a/src/totem-menu.c
++++ b/src/totem-menu.c
+@@ -1234,7 +1234,7 @@ plugins_action_callback (GtkAction *action, Totem *totem)
+                                        G_CALLBACK (totem_plugins_response_cb),
+                                        NULL, 0);
+
+-              manager = peas_gtk_plugin_manager_new ();
++              manager = peas_gtk_plugin_manager_new (NULL);
+               gtk_widget_show_all (GTK_WIDGET (manager));
+               gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area 
(GTK_DIALOG (totem->plugins))),
+                                   manager, TRUE, TRUE, 0);
+--
+cgit v0.8.3.4
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to