diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-30 11:25:23 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-30 11:25:23 +0800 |
commit | c842c7124fcd6840b1083225e4a2924033f58afb (patch) | |
tree | dc98589a26e4f0c75c8e1bcec5486c80243f24a3 /x11-themes | |
parent | 2c04e2178d3ccce17af9d227a165f4025e1baf27 (diff) | |
download | marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.tar marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.tar.gz marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.tar.bz2 marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.tar.lz marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.tar.xz marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.tar.zst marcuscom-ports-c842c7124fcd6840b1083225e4a2924033f58afb.zip |
- Move cairo, glitz, gtk-engines2 out of ports-experimental
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6156 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/gtk-engines2/Makefile | 34 | ||||
-rw-r--r-- | x11-themes/gtk-engines2/distinfo | 3 | ||||
-rw-r--r-- | x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c | 20 | ||||
-rw-r--r-- | x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c | 31 | ||||
-rw-r--r-- | x11-themes/gtk-engines2/pkg-descr | 3 | ||||
-rw-r--r-- | x11-themes/gtk-engines2/pkg-plist | 121 |
6 files changed, 212 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile new file mode 100644 index 000000000..40aa3d212 --- /dev/null +++ b/x11-themes/gtk-engines2/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: gtk-engines2 +# Date Created: 21 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports-experimental/x11-themes/gtk-engines2/Makefile,v 1.2 2006/02/25 00:44:58 marcus Exp $ +# + +PORTNAME= gtk-engines2 +PORTVERSION= 2.7.4 +PORTREVISION= 1 +CATEGORIES= x11-themes +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.7 +DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Theme engine for the gtk+-2.0 toolkit + +CONFLICTS= gtk-smooth-engine-[0-9]* clearlooks-[0-9]* + +USE_BZIP2= yes +USE_X_PREFIX= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomehack gtk20 +PLIST_SUB= GTK_VERSION="2.4.0" + +# Disable the gtk1 theme. +post-patch: + @${REINPLACE_CMD} -e 's|gtk gtk-2.0|gtk-2.0|g' \ + ${WRKSRC}/themes/Redmond/Makefile.in + +.include <bsd.port.mk> diff --git a/x11-themes/gtk-engines2/distinfo b/x11-themes/gtk-engines2/distinfo new file mode 100644 index 000000000..c34c45604 --- /dev/null +++ b/x11-themes/gtk-engines2/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gtk-engines-2.7.4.tar.bz2) = b0f27c0f6d5f610ca445a3d82d5779da +SHA256 (gnome2/gtk-engines-2.7.4.tar.bz2) = 0a40b43898a898e60bca29ed023034e362467573de52f5e841079c02528cc76c +SIZE (gnome2/gtk-engines-2.7.4.tar.bz2) = 464235 diff --git a/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c new file mode 100644 index 000000000..371abad8e --- /dev/null +++ b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c @@ -0,0 +1,20 @@ +--- engines/crux/src/crux-draw.c.orig Wed Aug 24 12:45:47 2005 ++++ engines/crux/src/crux-draw.c Wed Aug 24 12:46:08 2005 +@@ -2323,6 +2323,8 @@ draw_extension (GtkStyle *style, + GdkRectangle rect; + + eazel_theme_data *theme_data; ++ GtkWidget* parent_widget; ++ gint relative_x; + + g_return_if_fail (style != NULL); + g_return_if_fail (window != NULL); +@@ -2334,8 +2336,6 @@ draw_extension (GtkStyle *style, + detail, state_type, shadow_type, x, y, width, height); + + /* Get x relative to parent widget, not window */ +- GtkWidget* parent_widget; +- gint relative_x; + if (widget != NULL) + { + parent_widget = gtk_widget_get_parent(widget); diff --git a/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c new file mode 100644 index 000000000..ec5a85340 --- /dev/null +++ b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c @@ -0,0 +1,31 @@ +--- engines/crux/src/crux-gradient.c.orig Thu Oct 16 20:57:05 2003 ++++ engines/crux/src/crux-gradient.c Thu Oct 16 21:01:18 2003 +@@ -207,7 +207,7 @@ + const eazel_engine_gradient *gradient) + { + int rgb_size = clip_rect->height; +- guchar *rgb = alloca (rgb_size * 3), *ptr; ++ guchar *rgb = g_malloc (rgb_size * 3), *ptr; + + eazel_engine_fill_gradient_rgb_buffer (gradient, full_rect->height, rgb, + clip_rect->y - full_rect->y, +@@ -239,7 +239,7 @@ + } + else + { +- guchar *xrgb = alloca (clip_rect->width * clip_rect->height * 3); ++ guchar *xrgb = g_malloc (clip_rect->width * clip_rect->height * 3); + int x, y; + guchar *ptr_in = rgb, *ptr_out = xrgb; + for (y = 0; y < clip_rect->height; y++) +@@ -257,7 +257,10 @@ + gdk_draw_rgb_image (drawable, gc, clip_rect->x, clip_rect->y, + clip_rect->width, clip_rect->height, + dither_mode, xrgb, clip_rect->width * 3); ++ g_free (xrgb); + } ++ ++ g_free (rgb); + } + + static void diff --git a/x11-themes/gtk-engines2/pkg-descr b/x11-themes/gtk-engines2/pkg-descr new file mode 100644 index 000000000..e787f789b --- /dev/null +++ b/x11-themes/gtk-engines2/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-engines2/pkg-plist b/x11-themes/gtk-engines2/pkg-plist new file mode 100644 index 000000000..e474e545f --- /dev/null +++ b/x11-themes/gtk-engines2/pkg-plist @@ -0,0 +1,121 @@ +lib/gtk-2.0/%%GTK_VERSION%%/engines/libclearlooks.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libclearlooks.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libcrux-engine.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libcrux-engine.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libhcengine.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libhcengine.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libindustrial.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libindustrial.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/liblighthouseblue.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/liblighthouseblue.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libmetal.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libmetal.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libmist.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libmist.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libredmond95.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libredmond95.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libsmooth.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libsmooth.so +lib/gtk-2.0/%%GTK_VERSION%%/engines/libthinice.la +lib/gtk-2.0/%%GTK_VERSION%%/engines/libthinice.so +libdata/pkgconfig/gtk-engines-2.pc +share/themes/Clearlooks/gtk-2.0/gtkrc +share/themes/Crux/gtk-2.0/gtkrc +share/themes/Crux/pixmaps/arrow_down-spinner.png +share/themes/Crux/pixmaps/arrow_down.png +share/themes/Crux/pixmaps/arrow_left.png +share/themes/Crux/pixmaps/arrow_right.png +share/themes/Crux/pixmaps/arrow_up-spinner.png +share/themes/Crux/pixmaps/arrow_up.png +share/themes/Crux/pixmaps/check-active-default-focus.png +share/themes/Crux/pixmaps/check-active-default.png +share/themes/Crux/pixmaps/check-active-hilight-focus.png +share/themes/Crux/pixmaps/check-active-hilight.png +share/themes/Crux/pixmaps/check-active-insensitive.png +share/themes/Crux/pixmaps/check-active-pressed-focus.png +share/themes/Crux/pixmaps/check-active-pressed.png +share/themes/Crux/pixmaps/check-default-focus.png +share/themes/Crux/pixmaps/check-default.png +share/themes/Crux/pixmaps/check-hilight-focus.png +share/themes/Crux/pixmaps/check-hilight.png +share/themes/Crux/pixmaps/check-insensitive.png +share/themes/Crux/pixmaps/check-pressed-focus.png +share/themes/Crux/pixmaps/check-pressed.png +share/themes/Crux/pixmaps/progressbar-left.png +share/themes/Crux/pixmaps/progressbar-right.png +share/themes/Crux/pixmaps/progressbar.png +share/themes/Crux/pixmaps/progressbar_trough.png +share/themes/Crux/pixmaps/radio-active-default-focus.png +share/themes/Crux/pixmaps/radio-active-default.png +share/themes/Crux/pixmaps/radio-active-hilight-focus.png +share/themes/Crux/pixmaps/radio-active-hilight.png +share/themes/Crux/pixmaps/radio-active-insensitive.png +share/themes/Crux/pixmaps/radio-active-pressed-focus.png +share/themes/Crux/pixmaps/radio-active-pressed.png +share/themes/Crux/pixmaps/radio-default-focus.png +share/themes/Crux/pixmaps/radio-default.png +share/themes/Crux/pixmaps/radio-hilight-focus.png +share/themes/Crux/pixmaps/radio-hilight.png +share/themes/Crux/pixmaps/radio-insensitive.png +share/themes/Crux/pixmaps/radio-pressed-focus.png +share/themes/Crux/pixmaps/radio-pressed.png +share/themes/Crux/pixmaps/scroller-arrow-down-hilight.png +share/themes/Crux/pixmaps/scroller-arrow-down-pressed.png +share/themes/Crux/pixmaps/scroller-arrow-down.png +share/themes/Crux/pixmaps/scroller-arrow-left-hilight.png +share/themes/Crux/pixmaps/scroller-arrow-left-pressed.png +share/themes/Crux/pixmaps/scroller-arrow-left.png +share/themes/Crux/pixmaps/scroller-arrow-right-hilight.png +share/themes/Crux/pixmaps/scroller-arrow-right-pressed.png +share/themes/Crux/pixmaps/scroller-arrow-right.png +share/themes/Crux/pixmaps/scroller-arrow-up-hilight.png +share/themes/Crux/pixmaps/scroller-arrow-up-pressed.png +share/themes/Crux/pixmaps/scroller-arrow-up.png +share/themes/Crux/pixmaps/scroller-h-hilight.png +share/themes/Crux/pixmaps/scroller-h-thumb-hilight.png +share/themes/Crux/pixmaps/scroller-h-thumb.png +share/themes/Crux/pixmaps/scroller-h-trough.png +share/themes/Crux/pixmaps/scroller-h.png +share/themes/Crux/pixmaps/scroller-v-hilight.png +share/themes/Crux/pixmaps/scroller-v-thumb-hilight.png +share/themes/Crux/pixmaps/scroller-v-thumb.png +share/themes/Crux/pixmaps/scroller-v-trough.png +share/themes/Crux/pixmaps/scroller-v.png +share/themes/Crux/pixmaps/slider_h_thumb.png +share/themes/Crux/pixmaps/slider_h_trough.png +share/themes/Crux/pixmaps/slider_h_trough_focus.png +share/themes/Crux/pixmaps/slider_v_thumb.png +share/themes/Crux/pixmaps/slider_v_trough.png +share/themes/Crux/pixmaps/slider_v_trough_focus.png +share/themes/Crux/pixmaps/tab_left-unsel.png +share/themes/Crux/pixmaps/tab_left.png +share/themes/Crux/pixmaps/tab_right.png +share/themes/Crux/pixmaps/tab_sel-bottom.png +share/themes/Crux/pixmaps/tab_sel.png +share/themes/Crux/pixmaps/tab_usel-bottom-left.png +share/themes/Crux/pixmaps/tab_usel-bottom.png +share/themes/Crux/pixmaps/tab_usel-left.png +share/themes/Crux/pixmaps/tab_usel.png +share/themes/Industrial/gtk-2.0/gtkrc +share/themes/LighthouseBlue/gtk-2.0/gtkrc +share/themes/Metal/gtk-2.0/gtkrc +share/themes/Mist/gtk-2.0/gtkrc +share/themes/Redmond/gtk-2.0/gtkrc +share/themes/ThinIce/gtk-2.0/gtkrc +@dirrm share/themes/ThinIce/gtk-2.0 +@dirrm share/themes/Redmond/gtk-2.0 +@dirrm share/themes/Mist/gtk-2.0 +@dirrm share/themes/Metal/gtk-2.0 +@dirrm share/themes/LighthouseBlue/gtk-2.0 +@dirrm share/themes/Industrial/gtk-2.0 +@dirrm share/themes/Crux/pixmaps +@dirrm share/themes/Crux/gtk-2.0 +@dirrm share/themes/Clearlooks/gtk-2.0 +@unexec /bin/rmdir %D/share/themes/ThinIce 2>/dev/null || true +@unexec /bin/rmdir %D/share/themes/Redmond 2>/dev/null || true +@unexec /bin/rmdir %D/share/themes/Mist 2>/dev/null || true +@unexec /bin/rmdir %D/share/themes/Metal 2>/dev/null || /usr/bin/true +@unexec /bin/rmdir %D/share/themes/LighthouseBlue 2>/dev/null || true +@unexec /bin/rmdir %D/share/themes/Industrial 2>/dev/null || true +@unexec /bin/rmdir %D/share/themes/Crux 2>/dev/null || true +@unexec /bin/rmdir %D/share/themes/Clearlooks 2>/dev/null || true |