summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-themes/gtk-engines3/Makefile6
-rw-r--r--x11-themes/gtk-engines3/distinfo6
-rw-r--r--x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c74
-rw-r--r--x11-themes/gtk-engines3/files/patch-draw_string65
-rw-r--r--x11-themes/gtk-engines3/pkg-plist1
5 files changed, 8 insertions, 144 deletions
diff --git a/x11-themes/gtk-engines3/Makefile b/x11-themes/gtk-engines3/Makefile
index f81555887..70d4d2080 100644
--- a/x11-themes/gtk-engines3/Makefile
+++ b/x11-themes/gtk-engines3/Makefile
@@ -3,11 +3,11 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/x11-themes/gtk-engines3/Makefile,v 1.1 2010/06/18 14:57:25 kwm Exp $
#
PORTNAME= gtk-engines3
-PORTVERSION= 2.90.2.1
+PORTVERSION= 2.90.3.1
CATEGORIES= x11-themes
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -17,6 +17,8 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Theme engine for the GTK+-3.0 toolkit
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_GMAKE= yes
USE_BZIP2= yes
USE_GNOME= gnomehack gtk30 intlhack ltasneededhack
diff --git a/x11-themes/gtk-engines3/distinfo b/x11-themes/gtk-engines3/distinfo
index 1cb078b6d..724bac9b1 100644
--- a/x11-themes/gtk-engines3/distinfo
+++ b/x11-themes/gtk-engines3/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome3/gtk-engines-2.90.2.1.tar.bz2) = 45440916f44f67cfd65fb62e1f54157a
-SHA256 (gnome3/gtk-engines-2.90.2.1.tar.bz2) = dc50233fda73be47ec4b22d01e8db355be98f02d69761f5d512e0f3c3a416658
-SIZE (gnome3/gtk-engines-2.90.2.1.tar.bz2) = 633198
+MD5 (gnome3/gtk-engines-2.90.3.1.tar.bz2) = 5defe8a093324481fb8c9ee9f0cdc8ef
+SHA256 (gnome3/gtk-engines-2.90.3.1.tar.bz2) = 8c63eff01121f5b9abd508a1d1996135396ee774c4ef2fbb1a3131c82788eaf0
+SIZE (gnome3/gtk-engines-2.90.3.1.tar.bz2) = 589473
diff --git a/x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c b/x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c
deleted file mode 100644
index 0f2217647..000000000
--- a/x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c
+++ /dev/null
@@ -1,74 +0,0 @@
-From 512115f80f4e8a48a60ac90eb1cb478358a66c52 Mon Sep 17 00:00:00 2001
-From: Benjamin Berg <benjamin@sipsolutions.net>
-Date: Sun, 13 Jun 2010 18:06:41 +0000
-Subject: Remove usage of GtkProgress.
-
----
-diff --git a/engines/clearlooks/src/clearlooks_style.c b/engines/clearlooks/src/clearlooks_style.c
-index 1f9a26c..7d2189a 100644
---- engines/clearlooks/src/clearlooks_style.c
-+++ engines/clearlooks/src/clearlooks_style.c
-@@ -802,7 +802,7 @@ clearlooks_style_draw_box (DRAW_ARGS)
- #ifdef HAVE_WORKING_ANIMATION
- if(clearlooks_style->animation && CL_IS_PROGRESS_BAR (widget))
- {
-- gboolean activity_mode = GTK_PROGRESS (widget)->activity_mode;
-+ gboolean activity_mode = GTK_PROGRESS_BAR (widget)->activity_mode;
-
- if (!activity_mode)
- clearlooks_animation_progressbar_add ((gpointer)widget);
-@@ -817,12 +817,8 @@ clearlooks_style_draw_box (DRAW_ARGS)
- {
- progressbar.orientation = gtk_progress_bar_get_orientation (GTK_PROGRESS_BAR (widget));
- progressbar.value = gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widget));
--#ifndef GTK_DISABLE_DEPRECATED
-- progressbar.pulsing = GTK_PROGRESS (widget)->activity_mode;
--#else
--#warning Assuming non-pulsing progress bars because GTK_DISABLE_DEPRECATED is enabled.
-+#warning Assuming non-pulsing progress bars because there is currently no way to query them in GTK+ 3.0.
- progressbar.pulsing = FALSE;
--#endif
- }
- else
- {
-diff --git a/themes/Clearlooks/gtk-3.0/gtkrc-common b/themes/Clearlooks/gtk-3.0/gtkrc-common
-index 8a8418a..6c29269 100644
---- themes/Clearlooks/gtk-3.0/gtkrc-common
-+++ themes/Clearlooks/gtk-3.0/gtkrc-common
-@@ -373,7 +373,7 @@ widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
- widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
- widget_class "*.<GtkTreeView>*" style "treeview"
-
--widget_class "*<GtkProgress>" style "progressbar"
-+widget_class "*<GtkProgressBar>" style "progressbar"
-
- # Treeview headers (and similar stock GTK+ widgets)
- widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
-diff --git a/themes/GNOME3/gtk-3.0/gtkrc b/themes/GNOME3/gtk-3.0/gtkrc
-index 47c37b7..12f3b7e 100644
---- themes/GNOME3/gtk-3.0/gtkrc
-+++ themes/GNOME3/gtk-3.0/gtkrc
-@@ -532,7 +532,7 @@ widget_class "*<GtkSeparatorToolItem>*" style "separator_tool_item"
- widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
- widget_class "*.<GtkTreeView>*" style "treeview"
-
--widget_class "*<GtkProgress>" style "progressbar"
-+widget_class "*<GtkProgressBar>" style "progressbar"
-
- # Treeview headers (and similar stock GTK+ widgets)
- widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
-diff --git a/themes/Industrial/gtk-3.0/gtkrc b/themes/Industrial/gtk-3.0/gtkrc
-index f172572..e62b26e 100644
---- themes/Industrial/gtk-3.0/gtkrc
-+++ themes/Industrial/gtk-3.0/gtkrc
-@@ -252,7 +252,7 @@ widget_class "*.<ETable>.*" style "industrial-tree-header"
- # menuitems and interior
- widget_class "*<GtkMenuItem>*" style "industrial-menuitem"
-
--widget_class "*.<GtkProgress>" style "industrial-progress"
-+widget_class "*.<GtkProgressBar>" style "industrial-progress"
-
- # druide
- widget_class "*GnomeDruidPage*" style "industrial-druid"
---
-cgit v0.8.3.1
diff --git a/x11-themes/gtk-engines3/files/patch-draw_string b/x11-themes/gtk-engines3/files/patch-draw_string
deleted file mode 100644
index df0a9137a..000000000
--- a/x11-themes/gtk-engines3/files/patch-draw_string
+++ /dev/null
@@ -1,65 +0,0 @@
-From 228da3650a004dbab834c041a78eb3bec24b4547 Mon Sep 17 00:00:00 2001
-From: Benjamin Berg <benjamin@sipsolutions.net>
-Date: Mon, 14 Jun 2010 09:17:10 +0000
-Subject: Remove draw_string code, which does not exist anymore.
-
----
-diff --git a/engines/mist/src/mist-style.c b/engines/mist/src/mist-style.c
-index 39fc303..47bd3bb 100644
---- engines/mist/src/mist-style.c
-+++ engines/mist/src/mist-style.c
-@@ -1161,42 +1161,6 @@ mist_style_draw_resize_grip(GtkStyle *style,
- cairo_destroy(cr);
- }
-
--#ifndef GTK_DISABLE_DEPRECATED
--#ifndef GDK_DISABLE_DEPRECATED
--#define DISABLE_CUSTOM_STRING_DRAWING
--#warning Disabling custom string drawing so that no deprecated API is used.
--#endif /* GDK_DISABLE_DEPRECATED */
--#endif /* GTK_DISABLE_DEPRECATED */
--
--#ifndef DISABLE_CUSTOM_STRING_DRAWING
--static void
--mist_style_draw_string (GtkStyle *style,
-- GdkWindow *window,
-- GtkStateType state_type,
-- GdkRectangle *area,
-- GtkWidget *widget,
-- const char *detail,
-- int x,
-- int y,
-- const char *string)
--{
-- CHECK_ARGS
--
-- if (area) {
-- gdk_gc_set_clip_rectangle (style->fg_gc[state_type], area);
-- }
--
-- gdk_draw_string (window,
-- gtk_style_get_font (style),
-- style->fg_gc[state_type], x, y, string);
--
-- if (area) {
-- gdk_gc_set_clip_rectangle (style->fg_gc[state_type], NULL);
-- }
--}
--#endif /* DISABLE_CUSTOM_STRING_DRAWING */
--
--
- static void
- mist_style_draw_layout (GtkStyle *style,
- GdkWindow *window,
-@@ -1418,9 +1382,6 @@ mist_style_class_init (MistStyleClass *klass)
- style_class->draw_extension = mist_style_draw_extension;
- style_class->draw_handle = mist_style_draw_handle;
- style_class->draw_resize_grip = mist_style_draw_resize_grip;
--#ifndef DISABLE_CUSTOM_STRING_DRAWING
-- style_class->draw_string = mist_style_draw_string;
--#endif
- style_class->draw_layout = mist_style_draw_layout;
- style_class->render_icon = mist_style_render_icon;
- style_class->draw_focus = mist_style_draw_focus;
---
-cgit v0.8.3.1
diff --git a/x11-themes/gtk-engines3/pkg-plist b/x11-themes/gtk-engines3/pkg-plist
index 8b40acba3..e746dc8f0 100644
--- a/x11-themes/gtk-engines3/pkg-plist
+++ b/x11-themes/gtk-engines3/pkg-plist
@@ -65,6 +65,7 @@ share/locale/ja/LC_MESSAGES/gtk3-engines.mo
share/locale/kn/LC_MESSAGES/gtk3-engines.mo
share/locale/ko/LC_MESSAGES/gtk3-engines.mo
share/locale/lt/LC_MESSAGES/gtk3-engines.mo
+share/locale/lv/LC_MESSAGES/gtk3-engines.mo
share/locale/mai/LC_MESSAGES/gtk3-engines.mo
share/locale/mk/LC_MESSAGES/gtk3-engines.mo
share/locale/ml/LC_MESSAGES/gtk3-engines.mo