diff options
-rw-r--r-- | x11-themes/gtk-engines3/Makefile | 39 | ||||
-rw-r--r-- | x11-themes/gtk-engines3/distinfo | 3 | ||||
-rw-r--r-- | x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c | 74 | ||||
-rw-r--r-- | x11-themes/gtk-engines3/files/patch-draw_string | 65 | ||||
-rw-r--r-- | x11-themes/gtk-engines3/pkg-descr | 3 | ||||
-rw-r--r-- | x11-themes/gtk-engines3/pkg-plist | 165 |
6 files changed, 349 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines3/Makefile b/x11-themes/gtk-engines3/Makefile new file mode 100644 index 000000000..f81555887 --- /dev/null +++ b/x11-themes/gtk-engines3/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: gtk-engines2 +# Date Created: 21 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gtk-engines3 +PORTVERSION= 2.90.2.1 +CATEGORIES= x11-themes +MASTER_SITES= GNOME +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= ${PORTNAME:S/3$//}-${PORTVERSION} +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Theme engine for the GTK+-3.0 toolkit + +USE_GMAKE= yes +USE_BZIP2= yes +USE_GNOME= gnomehack gtk30 intlhack ltasneededhack +USE_GETTEXT= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:22 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + +OPTIONS= ANIMATION "Enable animated progressbars" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_ANIMATION) +CONFIGURE_ARGS+= --enable-animation +.endif + +post-install: + @(cd ${WRKSRC}/po && ${GMAKE} install) + +.include <bsd.port.post.mk> diff --git a/x11-themes/gtk-engines3/distinfo b/x11-themes/gtk-engines3/distinfo new file mode 100644 index 000000000..1cb078b6d --- /dev/null +++ b/x11-themes/gtk-engines3/distinfo @@ -0,0 +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 diff --git a/x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c b/x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c new file mode 100644 index 000000000..0f2217647 --- /dev/null +++ b/x11-themes/gtk-engines3/files/patch-clearlooks_sytle.c @@ -0,0 +1,74 @@ +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 new file mode 100644 index 000000000..df0a9137a --- /dev/null +++ b/x11-themes/gtk-engines3/files/patch-draw_string @@ -0,0 +1,65 @@ +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-descr b/x11-themes/gtk-engines3/pkg-descr new file mode 100644 index 000000000..e787f789b --- /dev/null +++ b/x11-themes/gtk-engines3/pkg-descr @@ -0,0 +1,3 @@ +Theme engine for the gtk+-2.0 toolkit. + +WWW: http://www.gtk.org/ diff --git a/x11-themes/gtk-engines3/pkg-plist b/x11-themes/gtk-engines3/pkg-plist new file mode 100644 index 000000000..8b40acba3 --- /dev/null +++ b/x11-themes/gtk-engines3/pkg-plist @@ -0,0 +1,165 @@ +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libclearlooks.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libclearlooks.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libclearlooks.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libcrux-engine.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libcrux-engine.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libcrux-engine.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libglide.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libglide.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libglide.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libhcengine.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libhcengine.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libhcengine.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libindustrial.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libindustrial.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libindustrial.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libmist.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libmist.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libmist.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libredmond95.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libredmond95.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libredmond95.so +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libthinice.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libthinice.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libthinice.so +libdata/pkgconfig/gtk-engines-3.pc +share/gtk-engines/3.0/clearlooks.xml +share/gtk-engines/3.0/crux-engine.xml +share/gtk-engines/3.0/glide.xml +share/gtk-engines/3.0/hcengine.xml +share/gtk-engines/3.0/industrial.xml +share/gtk-engines/3.0/mist.xml +share/gtk-engines/3.0/redmond95.xml +share/gtk-engines/3.0/thinice.xml +share/locale/af/LC_MESSAGES/gtk3-engines.mo +share/locale/ar/LC_MESSAGES/gtk3-engines.mo +share/locale/as/LC_MESSAGES/gtk3-engines.mo +share/locale/ast/LC_MESSAGES/gtk3-engines.mo +share/locale/be@latin/LC_MESSAGES/gtk3-engines.mo +share/locale/bg/LC_MESSAGES/gtk3-engines.mo +share/locale/bn/LC_MESSAGES/gtk3-engines.mo +share/locale/bn_IN/LC_MESSAGES/gtk3-engines.mo +share/locale/ca/LC_MESSAGES/gtk3-engines.mo +share/locale/ca@valencia/LC_MESSAGES/gtk3-engines.mo +share/locale/cs/LC_MESSAGES/gtk3-engines.mo +share/locale/da/LC_MESSAGES/gtk3-engines.mo +share/locale/de/LC_MESSAGES/gtk3-engines.mo +share/locale/dz/LC_MESSAGES/gtk3-engines.mo +share/locale/el/LC_MESSAGES/gtk3-engines.mo +share/locale/en@shaw/LC_MESSAGES/gtk3-engines.mo +share/locale/en_GB/LC_MESSAGES/gtk3-engines.mo +share/locale/es/LC_MESSAGES/gtk3-engines.mo +share/locale/et/LC_MESSAGES/gtk3-engines.mo +share/locale/eu/LC_MESSAGES/gtk3-engines.mo +share/locale/fi/LC_MESSAGES/gtk3-engines.mo +share/locale/fr/LC_MESSAGES/gtk3-engines.mo +share/locale/fur/LC_MESSAGES/gtk3-engines.mo +share/locale/ga/LC_MESSAGES/gtk3-engines.mo +share/locale/gl/LC_MESSAGES/gtk3-engines.mo +share/locale/gu/LC_MESSAGES/gtk3-engines.mo +share/locale/he/LC_MESSAGES/gtk3-engines.mo +share/locale/hi/LC_MESSAGES/gtk3-engines.mo +share/locale/hu/LC_MESSAGES/gtk3-engines.mo +share/locale/it/LC_MESSAGES/gtk3-engines.mo +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/mai/LC_MESSAGES/gtk3-engines.mo +share/locale/mk/LC_MESSAGES/gtk3-engines.mo +share/locale/ml/LC_MESSAGES/gtk3-engines.mo +share/locale/mr/LC_MESSAGES/gtk3-engines.mo +share/locale/nb/LC_MESSAGES/gtk3-engines.mo +share/locale/nl/LC_MESSAGES/gtk3-engines.mo +share/locale/nn/LC_MESSAGES/gtk3-engines.mo +share/locale/oc/LC_MESSAGES/gtk3-engines.mo +share/locale/or/LC_MESSAGES/gtk3-engines.mo +share/locale/pa/LC_MESSAGES/gtk3-engines.mo +share/locale/pl/LC_MESSAGES/gtk3-engines.mo +share/locale/pt/LC_MESSAGES/gtk3-engines.mo +share/locale/pt_BR/LC_MESSAGES/gtk3-engines.mo +share/locale/ro/LC_MESSAGES/gtk3-engines.mo +share/locale/ru/LC_MESSAGES/gtk3-engines.mo +share/locale/si/LC_MESSAGES/gtk3-engines.mo +share/locale/sl/LC_MESSAGES/gtk3-engines.mo +share/locale/sq/LC_MESSAGES/gtk3-engines.mo +share/locale/sr/LC_MESSAGES/gtk3-engines.mo +share/locale/sr@latin/LC_MESSAGES/gtk3-engines.mo +share/locale/sv/LC_MESSAGES/gtk3-engines.mo +share/locale/ta/LC_MESSAGES/gtk3-engines.mo +share/locale/te/LC_MESSAGES/gtk3-engines.mo +share/locale/th/LC_MESSAGES/gtk3-engines.mo +share/locale/tr/LC_MESSAGES/gtk3-engines.mo +share/locale/uk/LC_MESSAGES/gtk3-engines.mo +share/locale/vi/LC_MESSAGES/gtk3-engines.mo +share/locale/zh_CN/LC_MESSAGES/gtk3-engines.mo +share/locale/zh_HK/LC_MESSAGES/gtk3-engines.mo +share/locale/zh_TW/LC_MESSAGES/gtk3-engines.mo +share/themes/Clearlooks/gtk-3.0/gtkrc +share/themes/Clearlooks/gtk-3.0/gtkrc-common +share/themes/Clearlooks/gtk-3.0/gtkrc-dark +share/themes/Clearlooks/gtk-3.0/gtkrc-light +share/themes/Crux/gtk-3.0/gtkrc +share/themes/GNOME3/gtk-3.0/gtkrc +share/themes/GNOME3/metacity-1/button_close.png +share/themes/GNOME3/metacity-1/button_maximize.png +share/themes/GNOME3/metacity-1/button_minimize.png +share/themes/GNOME3/metacity-1/left_button_edge.png +share/themes/GNOME3/metacity-1/menu_button_bg.png +share/themes/GNOME3/metacity-1/menu_button_bg_prelight.png +share/themes/GNOME3/metacity-1/menu_button_close.png +share/themes/GNOME3/metacity-1/menu_button_maximize.png +share/themes/GNOME3/metacity-1/menu_button_minimize.png +share/themes/GNOME3/metacity-1/metacity-theme-1.xml +share/themes/Industrial/gtk-3.0/gtkrc +share/themes/Mist/gtk-3.0/gtkrc +share/themes/Redmond/gtk-3.0/gtkrc +share/themes/ThinIce/gtk-3.0/gtkrc +@dirrm share/themes/ThinIce/gtk-3.0 +@dirrmtry share/themes/ThinIce +@dirrm share/themes/Redmond/gtk-3.0 +@dirrmtry share/themes/Redmond +@dirrm share/themes/Mist/gtk-3.0 +@dirrmtry share/themes/Mist +@dirrm share/themes/Industrial/gtk-3.0 +@dirrmtry share/themes/Industrial +@dirrm share/themes/GNOME3/metacity-1 +@dirrm share/themes/GNOME3/gtk-3.0 +@dirrm share/themes/GNOME3 +@dirrm share/themes/Crux/gtk-3.0 +@dirrmtry share/themes/Crux +@dirrm share/themes/Clearlooks/gtk-3.0 +@dirrmtry share/themes/Clearlooks +@dirrmtry share/themes +@dirrm share/gtk-engines/3.0 +@dirrmtry share/gtk-engines +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/fur/LC_MESSAGES +@dirrmtry share/locale/fur +@dirrmtry share/locale/en@shaw/LC_MESSAGES +@dirrmtry share/locale/en@shaw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as +@exec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true +@unexec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true |