summaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-engines
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-19 00:32:36 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-19 00:32:36 +0800
commita89d3ae00c9679c9f929d3a93a484027d5c79933 (patch)
tree893b3124ed790df21f34728b93fbc836caa39533 /x11-themes/gtk-engines
parent5e076c13abc2f780409179ea8f7306c34f9750b7 (diff)
downloadmarcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.tar
marcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.tar.gz
marcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.tar.bz2
marcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.tar.lz
marcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.tar.xz
marcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.tar.zst
marcuscom-ports-a89d3ae00c9679c9f929d3a93a484027d5c79933.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6639 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/gtk-engines')
-rw-r--r--x11-themes/gtk-engines/Makefile31
-rw-r--r--x11-themes/gtk-engines/distinfo3
-rw-r--r--x11-themes/gtk-engines/files/patch-configure11
-rw-r--r--x11-themes/gtk-engines/files/patch-pixmap::pixmap_theme_draw.c74
-rw-r--r--x11-themes/gtk-engines/files/patch-pixmap_Theme_gtk_gtkrc13
-rw-r--r--x11-themes/gtk-engines/pkg-descr3
-rw-r--r--x11-themes/gtk-engines/pkg-plist104
7 files changed, 239 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines/Makefile b/x11-themes/gtk-engines/Makefile
new file mode 100644
index 000000000..36e58b827
--- /dev/null
+++ b/x11-themes/gtk-engines/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: gtk-engines
+# Date Created: 23 Dec 1998
+# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gtk-engines
+PORTVERSION= 0.12
+PORTREVISION= 5
+CATEGORIES= x11-themes
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gtk-engines/0.12
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Theme engine for gtk+ toolkits
+
+USE_XLIB= yes
+USE_GNOME= imlib
+GNU_CONFIGURE= yes
+
+THEMES= metal notif pixmap raleigh redmond95
+
+post-patch:
+ @for theme in ${THEMES}; do \
+ cd ${WRKSRC}/$$theme/Theme/gtk; \
+ ${MV} gtkrc gtkrc.tmp; \
+ ${SED} -e s^%%PREFIX%%^${PREFIX}^g < gtkrc.tmp > gtkrc; \
+ done
+
+.include <bsd.port.mk>
diff --git a/x11-themes/gtk-engines/distinfo b/x11-themes/gtk-engines/distinfo
new file mode 100644
index 000000000..eae49261f
--- /dev/null
+++ b/x11-themes/gtk-engines/distinfo
@@ -0,0 +1,3 @@
+MD5 (gtk-engines-0.12.tar.gz) = c867d1ebd6dbea355765d689a11330ec
+SHA256 (gtk-engines-0.12.tar.gz) = 4a112e5b138786b2b1a2da0c9dc53899ca6364333d9ed151f32e040268121b35
+SIZE (gtk-engines-0.12.tar.gz) = 653438
diff --git a/x11-themes/gtk-engines/files/patch-configure b/x11-themes/gtk-engines/files/patch-configure
new file mode 100644
index 000000000..75a816a54
--- /dev/null
+++ b/x11-themes/gtk-engines/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Mar 20 03:08:42 2001
++++ configure Tue Mar 20 03:08:57 2001
+@@ -2177,7 +2177,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lgtk $GTK_LIBS $LIBS"
++LIBS="$GTK_LIBS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2183 "configure"
+ #include "confdefs.h"
diff --git a/x11-themes/gtk-engines/files/patch-pixmap::pixmap_theme_draw.c b/x11-themes/gtk-engines/files/patch-pixmap::pixmap_theme_draw.c
new file mode 100644
index 000000000..b3e522813
--- /dev/null
+++ b/x11-themes/gtk-engines/files/patch-pixmap::pixmap_theme_draw.c
@@ -0,0 +1,74 @@
+--- pixmap/pixmap_theme_draw.c.orig Mon Feb 7 03:33:43 2000
++++ pixmap/pixmap_theme_draw.c Fri Apr 12 15:24:40 2002
+@@ -403,8 +403,9 @@
+ gdk_gc_set_clip_origin(gc, 0, 0);
+ }
+ }
+- gdk_imlib_free_pixmap(p);
+ }
++ if (p)
++ gdk_imlib_free_pixmap(p);
+ gdk_imlib_destroy_image(im);
+ }
+ }
+@@ -467,8 +468,9 @@
+ gdk_gc_set_clip_mask(gc, NULL);
+ gdk_gc_set_clip_origin(gc, 0, 0);
+ }
+- gdk_imlib_free_pixmap(p);
+ }
++ if (p)
++ gdk_imlib_free_pixmap(p);
+ gdk_imlib_destroy_image(im);
+ }
+
+@@ -591,8 +593,9 @@
+ gdk_gc_set_clip_mask(gc, NULL);
+ gdk_gc_set_clip_origin(gc, 0, 0);
+ }
+- gdk_imlib_free_pixmap(p);
+ }
++ if (p)
++ gdk_imlib_free_pixmap(p);
+ gdk_imlib_destroy_image(im);
+ }
+ }
+@@ -956,11 +959,13 @@
+ gdk_gc_set_clip_mask(gc, NULL);
+ gdk_gc_set_clip_origin(gc, 0, 0);
+ }
+-
+- gdk_imlib_free_pixmap(p);
+- gdk_imlib_free_pixmap(p1);
+- gdk_imlib_free_pixmap(p2);
+ }
++ if (p)
++ gdk_imlib_free_pixmap(p);
++ if (p1)
++ gdk_imlib_free_pixmap(p1);
++ if (p2)
++ gdk_imlib_free_pixmap(p2);
+ gdk_imlib_destroy_image(im);
+ gdk_imlib_destroy_image(im1);
+ gdk_imlib_destroy_image(im2);
+@@ -1202,11 +1207,15 @@
+ gdk_gc_set_clip_mask(gc, NULL);
+ gdk_gc_set_clip_origin(gc, 0, 0);
+ }
+- gdk_imlib_free_pixmap(p);
+- gdk_imlib_free_pixmap(p1);
+- gdk_imlib_free_pixmap(p2);
+- gdk_imlib_free_pixmap(p3);
+ }
++ if (p)
++ gdk_imlib_free_pixmap(p);
++ if (p1)
++ gdk_imlib_free_pixmap(p1);
++ if (p2)
++ gdk_imlib_free_pixmap(p2);
++ if (p3)
++ gdk_imlib_free_pixmap(p3);
+ gdk_imlib_destroy_image(im);
+ gdk_imlib_destroy_image(im1);
+ gdk_imlib_destroy_image(im2);
+
diff --git a/x11-themes/gtk-engines/files/patch-pixmap_Theme_gtk_gtkrc b/x11-themes/gtk-engines/files/patch-pixmap_Theme_gtk_gtkrc
new file mode 100644
index 000000000..81c3bc781
--- /dev/null
+++ b/x11-themes/gtk-engines/files/patch-pixmap_Theme_gtk_gtkrc
@@ -0,0 +1,13 @@
+--- pixmap/Theme/gtk/gtkrc.orig Sun Nov 19 21:53:57 2000
++++ pixmap/Theme/gtk/gtkrc Tue Mar 20 02:49:23 2001
+@@ -13,7 +13,9 @@
+ # testgtkrc2 sets all the buttons in the main window to blue by default
+ #include "testgtkrc2"
+
+-#module_path ".:/home/raster/themes"
++#module_path "%%PREFIX%%/lib/gtk/themes"
++
++pixmap_path "%%PREFIX%%/share/themes/Pixmap/gtk"
+
+ style "eventbox" {
+ bg_pixmap[NORMAL] = "<parent>"
diff --git a/x11-themes/gtk-engines/pkg-descr b/x11-themes/gtk-engines/pkg-descr
new file mode 100644
index 000000000..cebd49ca9
--- /dev/null
+++ b/x11-themes/gtk-engines/pkg-descr
@@ -0,0 +1,3 @@
+Theme engine for gtk+ toolkits.
+
+WWW: http://www.gnome.org/
diff --git a/x11-themes/gtk-engines/pkg-plist b/x11-themes/gtk-engines/pkg-plist
new file mode 100644
index 000000000..b0baeb8f8
--- /dev/null
+++ b/x11-themes/gtk-engines/pkg-plist
@@ -0,0 +1,104 @@
+lib/gtk/themes/engines/libmetal.la
+lib/gtk/themes/engines/libmetal.so
+lib/gtk/themes/engines/libnotif.la
+lib/gtk/themes/engines/libnotif.so
+lib/gtk/themes/engines/libpixmap.la
+lib/gtk/themes/engines/libpixmap.so
+lib/gtk/themes/engines/libraleigh.la
+lib/gtk/themes/engines/libraleigh.so
+lib/gtk/themes/engines/libredmond95.la
+lib/gtk/themes/engines/libredmond95.so
+share/themes/Metal/ICON.png
+share/themes/Metal/README.html
+share/themes/Metal/gtk/gtkrc
+share/themes/Notif/ICON.png
+share/themes/Notif/README.html
+share/themes/Notif/gtk/gtkrc
+share/themes/Pixmap/ICON.png
+share/themes/Pixmap/README.html
+share/themes/Pixmap/gtk/arrow_down1.png
+share/themes/Pixmap/gtk/arrow_down2.png
+share/themes/Pixmap/gtk/arrow_down3.png
+share/themes/Pixmap/gtk/arrow_left1.png
+share/themes/Pixmap/gtk/arrow_left2.png
+share/themes/Pixmap/gtk/arrow_left3.png
+share/themes/Pixmap/gtk/arrow_right1.png
+share/themes/Pixmap/gtk/arrow_right2.png
+share/themes/Pixmap/gtk/arrow_right3.png
+share/themes/Pixmap/gtk/arrow_up1.png
+share/themes/Pixmap/gtk/arrow_up2.png
+share/themes/Pixmap/gtk/arrow_up3.png
+share/themes/Pixmap/gtk/brown_bg1.png
+share/themes/Pixmap/gtk/brown_bg2.png
+share/themes/Pixmap/gtk/button1.png
+share/themes/Pixmap/gtk/button2.png
+share/themes/Pixmap/gtk/button3.png
+share/themes/Pixmap/gtk/button4.png
+share/themes/Pixmap/gtk/button5.png
+share/themes/Pixmap/gtk/button6.png
+share/themes/Pixmap/gtk/button7.png
+share/themes/Pixmap/gtk/button8.png
+share/themes/Pixmap/gtk/button9.png
+share/themes/Pixmap/gtk/button_def.png
+share/themes/Pixmap/gtk/check1.png
+share/themes/Pixmap/gtk/check2.png
+share/themes/Pixmap/gtk/curve_bg1.png
+share/themes/Pixmap/gtk/entry1.png
+share/themes/Pixmap/gtk/entry2.png
+share/themes/Pixmap/gtk/extension_bottom1.png
+share/themes/Pixmap/gtk/extension_left1.png
+share/themes/Pixmap/gtk/extension_right1.png
+share/themes/Pixmap/gtk/extension_top1.png
+share/themes/Pixmap/gtk/focus.png
+share/themes/Pixmap/gtk/frame1.png
+share/themes/Pixmap/gtk/frame2.png
+share/themes/Pixmap/gtk/frame_gap.png
+share/themes/Pixmap/gtk/frame_gap_top_end.png
+share/themes/Pixmap/gtk/frame_gap_top_start.png
+share/themes/Pixmap/gtk/gap_bottom.png
+share/themes/Pixmap/gtk/gap_bottom_end.png
+share/themes/Pixmap/gtk/gap_bottom_start.png
+share/themes/Pixmap/gtk/gap_left.png
+share/themes/Pixmap/gtk/gap_left_end.png
+share/themes/Pixmap/gtk/gap_left_start.png
+share/themes/Pixmap/gtk/gap_right.png
+share/themes/Pixmap/gtk/gap_right_end.png
+share/themes/Pixmap/gtk/gap_right_start.png
+share/themes/Pixmap/gtk/gap_top.png
+share/themes/Pixmap/gtk/gap_top_end.png
+share/themes/Pixmap/gtk/gap_top_start.png
+share/themes/Pixmap/gtk/gtkrc
+share/themes/Pixmap/gtk/handle_vert_thumb.png
+share/themes/Pixmap/gtk/hline.png
+share/themes/Pixmap/gtk/menubar.png
+share/themes/Pixmap/gtk/notebook1.png
+share/themes/Pixmap/gtk/option1.png
+share/themes/Pixmap/gtk/option2.png
+share/themes/Pixmap/gtk/option_menu.png
+share/themes/Pixmap/gtk/progressbar.png
+share/themes/Pixmap/gtk/ruler_horiz.png
+share/themes/Pixmap/gtk/ruler_vert.png
+share/themes/Pixmap/gtk/scrollbar_horiz1.png
+share/themes/Pixmap/gtk/scrollbar_thumb.png
+share/themes/Pixmap/gtk/scrollbar_thumb2.png
+share/themes/Pixmap/gtk/scrollbar_vert1.png
+share/themes/Pixmap/gtk/shadow1.png
+share/themes/Pixmap/gtk/shadow2.png
+share/themes/Pixmap/gtk/trough.png
+share/themes/Pixmap/gtk/vline.png
+share/themes/Raleigh/ICON.png
+share/themes/Raleigh/README.html
+share/themes/Raleigh/gtk/gtkrc
+share/themes/Redmond95/ICON.png
+share/themes/Redmond95/README.html
+share/themes/Redmond95/gtk/gtkrc
+@dirrm share/themes/Redmond95/gtk
+@dirrm share/themes/Raleigh/gtk
+@dirrm share/themes/Raleigh
+@dirrm share/themes/Pixmap/gtk
+@dirrm share/themes/Pixmap
+@dirrm share/themes/Notif/gtk
+@dirrm share/themes/Notif
+@dirrm share/themes/Metal/gtk
+@unexec /bin/rmdir %D/share/themes/Redmond95 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/themes/Metal 2>/dev/null || /usr/bin/true