[138760] users/devans/GNOME-3/unstable/dports/gnome/eog-plugins

devans at macports.org devans at macports.org
Sat Jul 18 02:28:18 PDT 2015


Revision: 138760
          https://trac.macports.org/changeset/138760
Author:   devans at macports.org
Date:     2015-07-18 02:28:18 -0700 (Sat, 18 Jul 2015)
Log Message:
-----------
GNOME-3/unstable: eog-plugins, replace map marker icon with 'camera-photo-symbolic', removes dependency on old gnome-icon-theme, patch python plugins for compatibility with py-gobject3 >= 3.17.1.

Modified Paths:
--------------
    users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-map-marker-icon.diff
    users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-pythonconsole.diff
    users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-slideshowshuffle.diff

Property Changed:
----------------
    users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/


Property changes on: users/devans/GNOME-3/unstable/dports/gnome/eog-plugins
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/dports/gnome/eog-plugins:113657-127228
/users/devans/GNOME-3/unstable/dports/gnome/eog-plugins:116525-118152,124221-125772,133199-134397
   + /trunk/dports/gnome/eog-plugins:113657-127228
/users/devans/GNOME-3/stable/dports/gnome/eog-plugins:136767-138758
/users/devans/GNOME-3/unstable/dports/gnome/eog-plugins:116525-118152,124221-125772,133199-134397

Modified: users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/Portfile	2015-07-18 09:19:15 UTC (rev 138759)
+++ users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/Portfile	2015-07-18 09:28:18 UTC (rev 138760)
@@ -5,7 +5,7 @@
 
 name                eog-plugins
 version             3.16.0
-revision            1
+revision            3
 license             GPL-2+
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         Extra plugins for the Eye of GNOME image viewer
@@ -38,10 +38,10 @@
                     port:libexif \
                     port:gsettings-desktop-schemas
 
-# map plugin uses "gnome-mime-image" from gnome-icon-theme
+patchfiles          patch-map-marker-icon.diff \
+                    patch-plugins-pythonconsole.diff \
+                    patch-plugins-slideshowshuffle.diff
 
-depends_lib-append  port:gnome-icon-theme
-
 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
 
 post-patch {

Copied: users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-map-marker-icon.diff (from rev 138758, users/devans/GNOME-3/stable/dports/gnome/eog-plugins/files/patch-map-marker-icon.diff)
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-map-marker-icon.diff	                        (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-map-marker-icon.diff	2015-07-18 09:28:18 UTC (rev 138760)
@@ -0,0 +1,11 @@
+--- plugins/map/eog-map-plugin.c.orig	2015-07-08 02:00:15.000000000 -0700
++++ plugins/map/eog-map-plugin.c	2015-07-08 02:02:50.000000000 -0700
+@@ -67,7 +67,7 @@
+ 	thumb = gtk_clutter_texture_new ();
+ 	gtk_clutter_texture_set_from_icon_name (GTK_CLUTTER_TEXTURE (thumb),
+ 						widget,
+-						"gnome-mime-image",
++						"camera-photo-symbolic",
+ 						size, NULL);
+ 	/* don't need to unref widget because it is floating */
+ 

Added: users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-pythonconsole.diff
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-pythonconsole.diff	                        (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-pythonconsole.diff	2015-07-18 09:28:18 UTC (rev 138760)
@@ -0,0 +1,21 @@
+--- plugins/pythonconsole/__init__.py.orig	2015-07-18 01:46:00.000000000 -0700
++++ plugins/pythonconsole/__init__.py	2015-07-18 01:47:35.000000000 -0700
+@@ -25,6 +25,9 @@
+ #     Copyright (C), 2005 Adam Hooper <adamh at densi.com>
+ #     Copyrignt (C), 2005 Raphaël Slinckx
+ 
++import gi
++
++gi.require_version('PeasGtk', '1.0')
+ from gi.repository import GObject, Gio, GLib, Gtk, Eog, PeasGtk
+ 
+ from .console import PythonConsole
+@@ -41,7 +44,7 @@
+                           PeasGtk.Configurable):
+ 
+     # Override EogWindowActivatable's window property
+-    window = GObject.property(type=Eog.Window)
++    window = GObject.Property(type=Eog.Window)
+     action_group = None
+ 
+     def __init__(self):

Added: users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-slideshowshuffle.diff
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-slideshowshuffle.diff	                        (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/eog-plugins/files/patch-plugins-slideshowshuffle.diff	2015-07-18 09:28:18 UTC (rev 138760)
@@ -0,0 +1,22 @@
+--- plugins/slideshowshuffle/slideshowshuffle.py.orig	2015-07-18 01:31:58.000000000 -0700
++++ plugins/slideshowshuffle/slideshowshuffle.py	2015-07-18 01:34:15.000000000 -0700
+@@ -14,14 +14,18 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software Foundation,
+ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
++import gi
+ 
++gi.require_version('Gtk', '3.0')
++gi.require_version('Eog', '3.0')
+ from gi.repository import GObject, Gtk, Eog
++
+ import random
+ 
+ class SlideshowShufflePlugin(GObject.Object, Eog.WindowActivatable):
+ 
+     # Override EogWindowActivatable's window property
+-    window = GObject.property(type=Eog.Window)
++    window = GObject.Property(type=Eog.Window)
+ 
+     def __init__(self):
+         GObject.Object.__init__(self)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150718/72624992/attachment.html>


More information about the macports-changes mailing list