mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Submitter say:
"The biggest change is to the gtk-engines port, where I've made the gtkrc files get the correct prefix. I've added the path to all the files, which may be overkill (it's only really needed for the pixmap theme), but was easier to do in an automated way, and provides a better example for people making their own themes." Submitted by: Jeremy Lea <reg@shale.csir.co.za>
This commit is contained in:
parent
88dfcd3fce
commit
8c60a5a8fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16434
@ -3,7 +3,7 @@
|
||||
# Date Created: 23 Dec 1998
|
||||
# Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG>
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1999/01/26 02:22:29 foxfair Exp $
|
||||
# $Id: Makefile,v 1.4 1999/01/27 08:31:54 fenner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gtk-engines-0.1
|
||||
@ -19,8 +19,16 @@ LIB_DEPENDS= gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
|
||||
GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config"
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config"
|
||||
|
||||
THEMES= metal notif pixmap 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
|
||||
|
||||
post-install:
|
||||
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
@ -1,11 +1,55 @@
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 24 00:56:36 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Thu Dec 24 00:57:01 1998
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
--- metal/Theme/gtk/gtkrc.orig Sun Jan 31 03:04:18 1999
|
||||
+++ metal/Theme/gtk/gtkrc Sun Jan 31 03:11:48 1999
|
||||
@@ -13,9 +13,9 @@
|
||||
# testgtkrc2 sets all the buttons in the main window to blue by default
|
||||
#include "testgtkrc2"
|
||||
-
|
||||
+pixmap_path "/usr/X11R6/share/themes/Pixmap/gtk"
|
||||
#module_path ".:/home/raster/themes"
|
||||
|
||||
-#module_path ".:/home/raster/themes"
|
||||
+#module_path "%%PREFIX%%/share/themes"
|
||||
|
||||
-pixmap_path "."
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Metal/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- notif/Theme/gtk/gtkrc.orig Sun Jan 31 03:05:48 1999
|
||||
+++ notif/Theme/gtk/gtkrc Sun Jan 31 03:11:41 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Notif/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 17 01:05:37 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Sun Jan 31 03:09:55 1999
|
||||
@@ -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%%/share/themes"
|
||||
+
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Pixmap/gtk"
|
||||
|
||||
style "eventbox" {
|
||||
bg_pixmap[NORMAL] = "<parent>"
|
||||
--- redmond95/Theme/gtk/gtkrc.orig Sun Jan 31 03:10:29 1999
|
||||
+++ redmond95/Theme/gtk/gtkrc Sun Jan 31 03:11:23 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Redmond95/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date Created: 23 Dec 1998
|
||||
# Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG>
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1999/01/26 02:22:29 foxfair Exp $
|
||||
# $Id: Makefile,v 1.4 1999/01/27 08:31:54 fenner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gtk-engines-0.1
|
||||
@ -19,8 +19,16 @@ LIB_DEPENDS= gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
|
||||
GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config"
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config"
|
||||
|
||||
THEMES= metal notif pixmap 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
|
||||
|
||||
post-install:
|
||||
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
@ -1,11 +1,55 @@
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 24 00:56:36 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Thu Dec 24 00:57:01 1998
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
--- metal/Theme/gtk/gtkrc.orig Sun Jan 31 03:04:18 1999
|
||||
+++ metal/Theme/gtk/gtkrc Sun Jan 31 03:11:48 1999
|
||||
@@ -13,9 +13,9 @@
|
||||
# testgtkrc2 sets all the buttons in the main window to blue by default
|
||||
#include "testgtkrc2"
|
||||
-
|
||||
+pixmap_path "/usr/X11R6/share/themes/Pixmap/gtk"
|
||||
#module_path ".:/home/raster/themes"
|
||||
|
||||
-#module_path ".:/home/raster/themes"
|
||||
+#module_path "%%PREFIX%%/share/themes"
|
||||
|
||||
-pixmap_path "."
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Metal/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- notif/Theme/gtk/gtkrc.orig Sun Jan 31 03:05:48 1999
|
||||
+++ notif/Theme/gtk/gtkrc Sun Jan 31 03:11:41 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Notif/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 17 01:05:37 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Sun Jan 31 03:09:55 1999
|
||||
@@ -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%%/share/themes"
|
||||
+
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Pixmap/gtk"
|
||||
|
||||
style "eventbox" {
|
||||
bg_pixmap[NORMAL] = "<parent>"
|
||||
--- redmond95/Theme/gtk/gtkrc.orig Sun Jan 31 03:10:29 1999
|
||||
+++ redmond95/Theme/gtk/gtkrc Sun Jan 31 03:11:23 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Redmond95/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date Created: 23 Dec 1998
|
||||
# Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG>
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1999/01/26 02:22:29 foxfair Exp $
|
||||
# $Id: Makefile,v 1.4 1999/01/27 08:31:54 fenner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gtk-engines-0.1
|
||||
@ -19,8 +19,16 @@ LIB_DEPENDS= gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
|
||||
GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config"
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config"
|
||||
|
||||
THEMES= metal notif pixmap 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
|
||||
|
||||
post-install:
|
||||
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
@ -1,11 +1,55 @@
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 24 00:56:36 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Thu Dec 24 00:57:01 1998
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
--- metal/Theme/gtk/gtkrc.orig Sun Jan 31 03:04:18 1999
|
||||
+++ metal/Theme/gtk/gtkrc Sun Jan 31 03:11:48 1999
|
||||
@@ -13,9 +13,9 @@
|
||||
# testgtkrc2 sets all the buttons in the main window to blue by default
|
||||
#include "testgtkrc2"
|
||||
-
|
||||
+pixmap_path "/usr/X11R6/share/themes/Pixmap/gtk"
|
||||
#module_path ".:/home/raster/themes"
|
||||
|
||||
-#module_path ".:/home/raster/themes"
|
||||
+#module_path "%%PREFIX%%/share/themes"
|
||||
|
||||
-pixmap_path "."
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Metal/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- notif/Theme/gtk/gtkrc.orig Sun Jan 31 03:05:48 1999
|
||||
+++ notif/Theme/gtk/gtkrc Sun Jan 31 03:11:41 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Notif/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 17 01:05:37 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Sun Jan 31 03:09:55 1999
|
||||
@@ -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%%/share/themes"
|
||||
+
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Pixmap/gtk"
|
||||
|
||||
style "eventbox" {
|
||||
bg_pixmap[NORMAL] = "<parent>"
|
||||
--- redmond95/Theme/gtk/gtkrc.orig Sun Jan 31 03:10:29 1999
|
||||
+++ redmond95/Theme/gtk/gtkrc Sun Jan 31 03:11:23 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Redmond95/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date Created: 23 Dec 1998
|
||||
# Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG>
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1999/01/26 02:22:29 foxfair Exp $
|
||||
# $Id: Makefile,v 1.4 1999/01/27 08:31:54 fenner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gtk-engines-0.1
|
||||
@ -19,8 +19,16 @@ LIB_DEPENDS= gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
|
||||
GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config"
|
||||
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config"
|
||||
|
||||
THEMES= metal notif pixmap 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
|
||||
|
||||
post-install:
|
||||
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
@ -1,11 +1,55 @@
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 24 00:56:36 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Thu Dec 24 00:57:01 1998
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
--- metal/Theme/gtk/gtkrc.orig Sun Jan 31 03:04:18 1999
|
||||
+++ metal/Theme/gtk/gtkrc Sun Jan 31 03:11:48 1999
|
||||
@@ -13,9 +13,9 @@
|
||||
# testgtkrc2 sets all the buttons in the main window to blue by default
|
||||
#include "testgtkrc2"
|
||||
-
|
||||
+pixmap_path "/usr/X11R6/share/themes/Pixmap/gtk"
|
||||
#module_path ".:/home/raster/themes"
|
||||
|
||||
-#module_path ".:/home/raster/themes"
|
||||
+#module_path "%%PREFIX%%/share/themes"
|
||||
|
||||
-pixmap_path "."
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Metal/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- notif/Theme/gtk/gtkrc.orig Sun Jan 31 03:05:48 1999
|
||||
+++ notif/Theme/gtk/gtkrc Sun Jan 31 03:11:41 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Notif/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
--- pixmap/Theme/gtk/gtkrc.orig Thu Dec 17 01:05:37 1998
|
||||
+++ pixmap/Theme/gtk/gtkrc Sun Jan 31 03:09:55 1999
|
||||
@@ -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%%/share/themes"
|
||||
+
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Pixmap/gtk"
|
||||
|
||||
style "eventbox" {
|
||||
bg_pixmap[NORMAL] = "<parent>"
|
||||
--- redmond95/Theme/gtk/gtkrc.orig Sun Jan 31 03:10:29 1999
|
||||
+++ redmond95/Theme/gtk/gtkrc Sun Jan 31 03:11:23 1999
|
||||
@@ -13,9 +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%%/share/themes"
|
||||
|
||||
-pixmap_path ".:/home/raster/themes"
|
||||
+pixmap_path "%%PREFIX%%/share/themes/Redmond95/gtk"
|
||||
|
||||
style "default"
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user