[86084] trunk/dports/x11/gtk2-extra

jmr at macports.org jmr at macports.org
Wed Oct 19 00:07:37 PDT 2011


Revision: 86084
          http://trac.macports.org/changeset/86084
Author:   jmr at macports.org
Date:     2011-10-19 00:07:34 -0700 (Wed, 19 Oct 2011)
Log Message:
-----------
gtk2-extra: update to 2.1.2 (fixes #27482)

Modified Paths:
--------------
    trunk/dports/x11/gtk2-extra/Portfile

Added Paths:
-----------
    trunk/dports/x11/gtk2-extra/files/
    trunk/dports/x11/gtk2-extra/files/gtkitementry.c.patch

Modified: trunk/dports/x11/gtk2-extra/Portfile
===================================================================
--- trunk/dports/x11/gtk2-extra/Portfile	2011-10-19 06:32:08 UTC (rev 86083)
+++ trunk/dports/x11/gtk2-extra/Portfile	2011-10-19 07:07:34 UTC (rev 86084)
@@ -1,9 +1,11 @@
 # $Id$
 
 PortSystem		1.0
+
 name			gtk2-extra
-version		2.1.1
+version		2.1.2
 categories		x11 devel
+license		LGPL
 platforms		darwin
 maintainers		kix.in:anant
 description		Extra GTK+2 Widgets
@@ -14,19 +16,15 @@
 			C. It is also Free Software and released under the \
 			LGPL license.
 			
-homepage		http://gtkextra.sourceforge.net
-master_sites		sourceforge:scigraphica
+homepage		http://gtkextra.sourceforge.net/
+master_sites		sourceforge:project/gtkextra/${version}
 distname		gtk+extra-${version}
 
-depends_lib		lib:libgtk.2:gtk2
-depends_build		port:automake port:pkgconfig
+depends_lib		port:gtk2
+depends_build		port:pkgconfig
 
-checksums		md5 1a933ca1286829383a0554cc2deb9e04 \
-			sha1 94d7ae9cb3aef05159cfff148265fc9ce0973980 \
-			rmd160 7134fe4c5aaaa45ee3a7e651f3c477ba7c477214
+checksums		md5 10779394f39d39115fa3fd0f3dea4436 \
+			sha1 1b6cccbf89a79c8fe551d77c84dbf21a82c69f07 \
+			rmd160 e14bfc2a055fdef0d037b494018ca25047cc3c9e
 
-pre-configure {
-	# Copy new versions of config.guess and config.sub for host detection
-	file copy -force ${prefix}/share/automake-1.11/config.guess ${worksrcpath}
-	file copy -force ${prefix}/share/automake-1.11/config.sub ${worksrcpath}
-}
+patchfiles		gtkitementry.c.patch

Added: trunk/dports/x11/gtk2-extra/files/gtkitementry.c.patch
===================================================================
--- trunk/dports/x11/gtk2-extra/files/gtkitementry.c.patch	                        (rev 0)
+++ trunk/dports/x11/gtk2-extra/files/gtkitementry.c.patch	2011-10-19 07:07:34 UTC (rev 86084)
@@ -0,0 +1,28 @@
+--- gtkextra/gtkitementry.c	2010/03/13 09:45:54	1.7
++++ gtkextra/gtkitementry.c	2010/06/12 00:37:15	1.8
+@@ -131,7 +131,9 @@
+ static PangoLayout *gtk_entry_ensure_layout            (GtkEntry       *entry,
+                                                         gboolean        include_preedit);
+ static void         gtk_entry_queue_draw               (GtkEntry       *entry);
++#if GTK_CHECK_VERSION(2,21,0) == 0
+ static void         gtk_entry_reset_im_context         (GtkEntry       *entry);
++#endif 
+ static void         gtk_entry_recompute                (GtkEntry       *entry);
+ static void         gtk_entry_get_cursor_locations     (GtkEntry       *entry,
+ 							CursorType      type,
+@@ -1754,6 +1756,7 @@
+     gdk_window_invalidate_rect (entry->text_area, NULL, FALSE);
+ }
+ 
++#if GTK_CHECK_VERSION(2,21,0) == 0
+ static void
+ gtk_entry_reset_im_context (GtkEntry *entry)
+ {
+@@ -1763,6 +1766,7 @@
+       gtk_im_context_reset (entry->im_context);
+     }
+ }
++#endif // GTK_CHECK_VERSION(2,21,0) == 0
+ 
+ static void
+ gtk_entry_get_cursor_locations (GtkEntry   *entry,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111019/183b5b59/attachment.html>


More information about the macports-changes mailing list