ports/70120: Update port: x11-themes/xenophilia to 0.8

KATO Tsuguru tkato432 at yahoo.com
Sat Aug 7 12:10:28 UTC 2004


>Number:         70120
>Category:       ports
>Synopsis:       Update port: x11-themes/xenophilia to 0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 07 12:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8

Remove file:
files/patch-aa
files/patch-xeno__theme__patches.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-themes/xenophilia/Makefile x11-themes/xenophilia/Makefile
--- /usr/ports/x11-themes/xenophilia/Makefile	Wed Jun  2 11:26:24 2004
+++ x11-themes/xenophilia/Makefile	Sat Aug  7 20:08:31 2004
@@ -6,21 +6,47 @@
 #
 
 PORTNAME=	xenophilia
-PORTVERSION=	0.7
-PORTREVISION=	1
+PORTVERSION=	0.8
 CATEGORIES=	x11-themes
 MASTER_SITES=	${MASTER_SITE_THEMES}
-MASTER_SITE_SUBDIR=	xenophilia
-DISTNAME=	xenophilia-1.2.x
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	Xenophilia theme module to make GTK+ look nicer
+COMMENT=	A theme module to make GTK+ look nicer
 
-WRKSRC=		${WRKDIR}/Xenophilia-0.7
+WRKSRC=		${WRKDIR}/Xenophilia-${PORTVERSION}
 
 USE_X_PREFIX=	yes
 USE_GNOME=	gtk12
-ALL_TARGET=	# empty
-MAKE_ENV=	GTK-CONFIG="${GTK_CONFIG}"
+USE_REINPLACE=	yes
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+
+CFLAGS+=	-DG_DISABLE_CHECKS -fPIC
+
+ENGINES_DIR=	${PREFIX}/lib/gtk/themes/engines
+THEMES_DIR=	${PREFIX}/share/themes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's| make -C| $$(MAKE) -C|g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|\. at VERSION@||g ; \
+		 s|\. at MAJOR@||g' ${WRKSRC}/gtk-src/Makefile.in
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/gtk-src/libxeno.so ${ENGINES_DIR}
+	cd ${WRKSRC}/themes && ${FIND} "Xeno Buffed" | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR} 
+	cd ${WRKSRC}/themes && ${FIND} "Xeno Gradient" | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR} 
+	cd ${WRKSRC}/themes && ${FIND} "Xeno Helix" | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR} 
+	cd ${WRKSRC}/themes && ${FIND} "Xeno Perkele" | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR} 
+	cd ${WRKSRC}/themes && ${FIND} "Xeno Thin" | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR} 
+	cd ${WRKSRC}/themes && ${FIND} "Xenophilia" | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR} 
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11-themes/xenophilia/distinfo x11-themes/xenophilia/distinfo
--- /usr/ports/x11-themes/xenophilia/distinfo	Fri Jan 30 01:12:48 2004
+++ x11-themes/xenophilia/distinfo	Fri Aug  6 21:47:07 2004
@@ -1,2 +1,2 @@
-MD5 (xenophilia-1.2.x.tar.gz) = c6bc873959a4ea299c0c80d10f7dd109
-SIZE (xenophilia-1.2.x.tar.gz) = 101229
+MD5 (xenophilia-0.8.tar.gz) = 620127ce8e668588de2373783254a3e8
+SIZE (xenophilia-0.8.tar.gz) = 142101
diff -urN /usr/ports/x11-themes/xenophilia/files/patch-aa x11-themes/xenophilia/files/patch-aa
--- /usr/ports/x11-themes/xenophilia/files/patch-aa	Tue Jan  6 06:53:47 2004
+++ x11-themes/xenophilia/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,74 +0,0 @@
-
-$FreeBSD: ports/x11-themes/xenophilia/files/patch-aa,v 1.7 2004/01/05 21:53:47 arved Exp $
-
---- Makefile.orig	Mon Apr  9 01:16:34 2001
-+++ Makefile	Tue May 29 19:37:05 2001
-@@ -9,14 +9,15 @@
- #FONTDIR	= /usr/lib/X11/fonts/local
- 
- # Works on my Red Hat Linux system:
--GTK-CONFIG	= gtk-config
--PREFIX		= `$(GTK-CONFIG) --prefix`
-+GTK-CONFIG	?= gtk-config
-+PREFIX		?= `$(GTK-CONFIG) --prefix`
- FONTDIR		= /usr/lib/X11/fonts/misc
- 
--CC		= gcc -pipe
--CFLAGS		= -O2 -fomit-frame-pointer `$(GTK-CONFIG) --cflags` -DG_DISABLE_CHECKS
-+CC		?= gcc -pipe
-+GTK_CFLAGS	!= $(GTK-CONFIG) --cflags
-+CFLAGS		+= $(GTK_CFLAGS) -DG_DISABLE_CHECKS -fPIC
- #CFLAGS		= `$(GTK-CONFIG) --cflags`
--LIBS		= `$(GTK-CONFIG) --libs`
-+LIBS		!= $(GTK-CONFIG) --libs
- 
- 
- #-- End of Configuration --
-@@ -35,8 +36,8 @@
- OBJECTS		= xeno_theme_main.o xeno_theme_rc.o xeno_theme_style.o xeno_theme_draw.o \
- 		  xeno_theme_color.o xeno_theme_images.o xeno_theme_patches.o
- 
--SONAME		= libxeno.so.$(VERSION)
--SHORTNAME	= libxeno.so.$(MAJOR)
-+SONAME		= libxeno.so
-+SHORTNAME	= libxeno.so
- TINYNAME	= libxeno.so
- 
- #-- Targets ----------------------------------------
-@@ -44,19 +45,25 @@
- 		$(LINK) $(GTKLIBS) $(OBJECTS) -shared -Wl,-soname,$(SHORTNAME) -o $(SONAME)
- 
- install-libs:	$(SONAME)
--		install -d $(LIB_PATH)
--		chmod 755 $(SONAME)
--		cp -fdp $(SONAME) $(LIB_PATH)
--		ln -fs $(SONAME) $(LIB_PATH)/$(SHORTNAME)
--		ln -fs $(SONAME) $(LIB_PATH)/$(TINYNAME)
-+#		install -d $(LIB_PATH)
-+#		chmod 755 $(SONAME)
-+#		cp -fdp $(SONAME) $(LIB_PATH)
-+#		ln -fs $(SONAME) $(LIB_PATH)/$(SHORTNAME)
-+#		ln -fs $(SONAME) $(LIB_PATH)/$(TINYNAME)
-+		$(BSD_INSTALL_PROGRAM) $(SONAME) $(LIB_PATH)/$(SONAME)
- 
- install-data:
--		cp -fdpR themes/Xenophilia $(DATA_PATH)
--		cp -fdpR "themes/Xeno Thin" $(DATA_PATH)
--		cp -fdpR "themes/Xeno Gradient" $(DATA_PATH)
--		cp -fdpR "themes/Xeno Helix" $(DATA_PATH)
--		cp -fdpR "themes/Xeno Buffed" $(DATA_PATH)
--		ln -fs ../Xenophilia/README.html "$(DATA_PATH)/Xeno Thin/README.html"
-+		mkdir -p $(DATA_PATH)/Xenophilia/gtk
-+		cd themes/Xenophilia ; \
-+			$(BSD_INSTALL_DATA) README.html arrows.png buds.png buttons.png \
-+			dimple.png holes.png lines.png xeno.css $(DATA_PATH)/Xenophilia/ ; \
-+			$(BSD_INSTALL_DATA) gtk/gtkrc $(DATA_PATH)/Xenophilia/gtk
-+		for dir in "Xeno Thin" "Xeno Gradient" "Xeno Helix" "Xeno Buffed"; do \
-+			target_dir=$(DATA_PATH)/`echo $${dir} | sed 's| ||'`/gtk ; \
-+			mkdir -p $${target_dir} ; \
-+			$(BSD_INSTALL_DATA) "themes/$${dir}/gtk/gtkrc" $${target_dir} ; \
-+			ln -fs ../Xenophilia/README.html $${target_dir}/../ ; \
-+		done
- 
- install-fonts:
- 		cp -fdp fonts/infernal-120.pcf.gz $(FONTDIR)/infernal-120.pcf.gz
diff -urN /usr/ports/x11-themes/xenophilia/files/patch-xeno__theme__patches.c x11-themes/xenophilia/files/patch-xeno__theme__patches.c
--- /usr/ports/x11-themes/xenophilia/files/patch-xeno__theme__patches.c	Sat Aug  7 06:27:36 2004
+++ x11-themes/xenophilia/files/patch-xeno__theme__patches.c	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
-
-$FreeBSD: ports/x11-themes/xenophilia/files/patch-xeno__theme__patches.c,v 1.1 2004/08/06 21:27:36 krion Exp $
-
---- xeno_theme_patches.c.orig	Fri Aug  6 23:26:02 2004
-+++ xeno_theme_patches.c	Fri Aug  6 23:26:14 2004
-@@ -632,7 +632,6 @@
- 				spacing = -1;
- 				extra = -1;
- 			}
--		  nope:
- 		}
- 		dims->min_length = size;
- 	}
diff -urN /usr/ports/x11-themes/xenophilia/pkg-plist x11-themes/xenophilia/pkg-plist
--- /usr/ports/x11-themes/xenophilia/pkg-plist	Mon Jan  8 10:17:19 2001
+++ x11-themes/xenophilia/pkg-plist	Fri Aug  6 22:22:16 2004
@@ -1,12 +1,50 @@
 lib/gtk/themes/engines/libxeno.so
-share/themes/XenoBuffed/README.html
-share/themes/XenoBuffed/gtk/gtkrc
-share/themes/XenoGradient/README.html
-share/themes/XenoGradient/gtk/gtkrc
-share/themes/XenoHelix/README.html
-share/themes/XenoHelix/gtk/gtkrc
-share/themes/XenoThin/README.html
-share/themes/XenoThin/gtk/gtkrc
+share/themes/Xeno Buffed/README.css
+share/themes/Xeno Buffed/README.html
+share/themes/Xeno Buffed/arrows.png
+share/themes/Xeno Buffed/buds.png
+share/themes/Xeno Buffed/buttons.png
+share/themes/Xeno Buffed/dimple.png
+share/themes/Xeno Buffed/gtk/gtkrc
+share/themes/Xeno Buffed/holes.png
+share/themes/Xeno Buffed/lines.png
+share/themes/Xeno Gradient/README.css
+share/themes/Xeno Gradient/README.html
+share/themes/Xeno Gradient/arrows.png
+share/themes/Xeno Gradient/buds.png
+share/themes/Xeno Gradient/buttons.png
+share/themes/Xeno Gradient/dimple.png
+share/themes/Xeno Gradient/gtk/gtkrc
+share/themes/Xeno Gradient/holes.png
+share/themes/Xeno Gradient/lines.png
+share/themes/Xeno Helix/README.css
+share/themes/Xeno Helix/README.html
+share/themes/Xeno Helix/arrows.png
+share/themes/Xeno Helix/buds.png
+share/themes/Xeno Helix/buttons.png
+share/themes/Xeno Helix/dimple.png
+share/themes/Xeno Helix/gtk/gtkrc
+share/themes/Xeno Helix/holes.png
+share/themes/Xeno Helix/lines.png
+share/themes/Xeno Perkele/README.css
+share/themes/Xeno Perkele/README.html
+share/themes/Xeno Perkele/arrows.png
+share/themes/Xeno Perkele/buds.png
+share/themes/Xeno Perkele/buttons.png
+share/themes/Xeno Perkele/dimple.png
+share/themes/Xeno Perkele/gtk/gtkrc
+share/themes/Xeno Perkele/holes.png
+share/themes/Xeno Perkele/lines.png
+share/themes/Xeno Thin/README.css
+share/themes/Xeno Thin/README.html
+share/themes/Xeno Thin/arrows.png
+share/themes/Xeno Thin/buds.png
+share/themes/Xeno Thin/buttons.png
+share/themes/Xeno Thin/dimple.png
+share/themes/Xeno Thin/gtk/gtkrc
+share/themes/Xeno Thin/holes.png
+share/themes/Xeno Thin/lines.png
+share/themes/Xenophilia/README.css
 share/themes/Xenophilia/README.html
 share/themes/Xenophilia/arrows.png
 share/themes/Xenophilia/buds.png
@@ -15,14 +53,15 @@
 share/themes/Xenophilia/gtk/gtkrc
 share/themes/Xenophilia/holes.png
 share/themes/Xenophilia/lines.png
-share/themes/Xenophilia/xeno.css
 @dirrm share/themes/Xenophilia/gtk
 @dirrm share/themes/Xenophilia
- at dirrm share/themes/XenoThin/gtk
- at dirrm share/themes/XenoThin
- at dirrm share/themes/XenoHelix/gtk
- at dirrm share/themes/XenoHelix
- at dirrm share/themes/XenoGradient/gtk
- at dirrm share/themes/XenoGradient
- at dirrm share/themes/XenoBuffed/gtk
- at dirrm share/themes/XenoBuffed
+ at dirrm share/themes/Xeno Thin/gtk
+ at dirrm share/themes/Xeno Thin
+ at dirrm share/themes/Xeno Perkele/gtk
+ at dirrm share/themes/Xeno Perkele
+ at dirrm share/themes/Xeno Helix/gtk
+ at dirrm share/themes/Xeno Helix
+ at dirrm share/themes/Xeno Gradient/gtk
+ at dirrm share/themes/Xeno Gradient
+ at dirrm share/themes/Xeno Buffed/gtk
+ at dirrm share/themes/Xeno Buffed
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list