Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 14:55:59 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334203 - in head/graphics/xaos: . files
Message-ID:  <201311181455.rAIEtx1f038859@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Mon Nov 18 14:55:59 2013
New Revision: 334203
URL: http://svnweb.freebsd.org/changeset/ports/334203

Log:
  - Update to 3.6
  - Add options to build with aalib support
  - Use option helpers
  - Remove stale patch

Deleted:
  head/graphics/xaos/files/patch-png.c
Modified:
  head/graphics/xaos/Makefile
  head/graphics/xaos/distinfo   (contents, props changed)
  head/graphics/xaos/pkg-plist

Modified: head/graphics/xaos/Makefile
==============================================================================
--- head/graphics/xaos/Makefile	Mon Nov 18 14:55:26 2013	(r334202)
+++ head/graphics/xaos/Makefile	Mon Nov 18 14:55:59 2013	(r334203)
@@ -2,62 +2,64 @@
 # $FreeBSD$
 
 PORTNAME=	xaos
-PORTVERSION=	3.5
-PORTREVISION=	4
+PORTVERSION=	3.6
 CATEGORIES=	graphics math
 MASTER_SITES=	SF/${PORTNAME}/XaoS/${PORTVERSION}
 
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	Real-time fractal browser
 
-LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png \
+		libgsl.so:${PORTSDIR}/math/gsl
 
 USES=		gmake
-USE_XORG=	x11 xext
 GNU_CONFIGURE=	yes
 
-OPTIONS_DEFINE=	GTK2 PTHREAD NLS
+OPTIONS_DEFINE=	 PTHREAD NLS
+OPTIONS_MULTI=	DRIVER
+OPTIONS_MULTI_DRIVER=	AALIB GTK2 X11
+DRIVER_DESC=	User Interface
+OPTIONS_DEFAULT=	X11
+OPTIONS_SUB=	yes
+
+AALIB_LIB_DEPENDS=	libaa.so:${PORTSDIR}/graphics/aalib
+AALIB_CONFIGURE_WITH=	aa-driver
+AALIB_CONFIGURE_ON=	ac_cv_aalib_ver_ok=yes
+
 GTK2_DESC=	GTK+ User Interface (experimental)
+GTK2_USE=	GNOME=gtk20
+GTK2_USES=	pkgconfig
+GTK2_CONFIGURE_WITH=	gtk-driver
+
+X11_USE=	XORG=x11,xext
+X11_CONFIGURE_WITH=	x11-driver x
+
+NLS_USES=	gettext iconv
+NLS_CONFIGURE_ENABLE=	nls
+
 PTHREAD_DESC=	Enable SMP support (experimental)
+PTHREAD_CONFIGURE_WITH=	pthread
+PTHREAD_CONFIGURE_ENV=	LIBS="${PTHREAD_LIBS}"
 
-CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
+CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ARGS=	--with-aa-driver=no --with-dga-driver=no \
-		--with-ggi-driver=no --with-svga-driver=no \
-		--with-sffe=no
 
 INFO=		xaos
 
 PLIST_SUB+=	XAOSDIR="share/XaoS"
 
-DESKTOP_ENTRIES=	"XaoS" "${COMMENT}" "" "xaos" "" false
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPTHREAD}
-CONFIGURE_ARGS+=	--with-pthread=yes
-CONFIGURE_ENV+=		LIBS="${PTHREAD_LIBS}"
-CFLAGS+=		${PTHREAD_CFLAGS}
-.else
-CONFIGURE_ARGS+=	--with-pthread=no
-.endif
-
-.if ${PORT_OPTIONS:MGTK2}
-USE_GNOME=	gtk20
-CONFIGURE_ARGS+=	--with-gtk-driver=yes --with-x11-driver=no
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+DESKTOP_ENTRIES=	"XaoS" "" "${PREFIX}/share/pixmaps/xaos.png" \
+			"xaos" "" false
 
 pre-configure:
 	${REINPLACE_CMD} -e 's,/usr\(/share/locale\),${PREFIX}\1,g' \
 		${WRKSRC}/configure \
 		${WRKSRC}/src/ui/ui.c
+	${REINPLACE_CMD} 's,malloc.h,stdlib.h,' \
+		${WRKSRC}/src/ui/ui-drv/aa/ui_aa.c
+
+post-install:
+	${INSTALL_DATA}	${WRKSRC}/src/ui/ui-drv/qt/images/xaosbig.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png
 
 .include <bsd.port.mk>

Modified: head/graphics/xaos/distinfo
==============================================================================
--- head/graphics/xaos/distinfo	Mon Nov 18 14:55:26 2013	(r334202)
+++ head/graphics/xaos/distinfo	Mon Nov 18 14:55:59 2013	(r334203)
@@ -1,2 +1,2 @@
-SHA256 (xaos-3.5.tar.gz) = 471fa752154a8e4c4687797fe1241df1b3f82400b2ef4e6a603969a27cd74842
-SIZE (xaos-3.5.tar.gz) = 2930590
+SHA256 (xaos-3.6.tar.gz) = 989f3e38f7793810cbb1496d5291d44836a7d7c058422b9ee1cffb163a0b8d95
+SIZE (xaos-3.6.tar.gz) = 2040707

Modified: head/graphics/xaos/pkg-plist
==============================================================================
--- head/graphics/xaos/pkg-plist	Mon Nov 18 14:55:26 2013	(r334202)
+++ head/graphics/xaos/pkg-plist	Mon Nov 18 14:55:59 2013	(r334203)
@@ -47,6 +47,7 @@ man/man6/xaos.6.gz
 %%XAOSDIR%%/examples/bolygo.xpf
 %%XAOSDIR%%/examples/brown.xpf
 %%XAOSDIR%%/examples/burnship.xpf
+%%XAOSDIR%%/examples/butterfly-langston.xpf
 %%XAOSDIR%%/examples/butterfly.xpf
 %%XAOSDIR%%/examples/checker.xpf
 %%XAOSDIR%%/examples/circle.xpf
@@ -55,6 +56,7 @@ man/man6/xaos.6.gz
 %%XAOSDIR%%/examples/csiga3.xpf
 %%XAOSDIR%%/examples/csiga4.xpf
 %%XAOSDIR%%/examples/csiga5.xpf
+%%XAOSDIR%%/examples/dark.xpf
 %%XAOSDIR%%/examples/dblspira.xpf
 %%XAOSDIR%%/examples/dragons.xpf
 %%XAOSDIR%%/examples/dragons2.xpf
@@ -112,6 +114,7 @@ man/man6/xaos.6.gz
 %%XAOSDIR%%/examples/kovzsi9.2.xpf
 %%XAOSDIR%%/examples/kovzsi9.xpf
 %%XAOSDIR%%/examples/lemon.xpf
+%%XAOSDIR%%/examples/light-kovzsi.xpf
 %%XAOSDIR%%/examples/light.xpf
 %%XAOSDIR%%/examples/lighting.xpf
 %%XAOSDIR%%/examples/magnet.xpf
@@ -248,6 +251,7 @@ man/man6/xaos.6.gz
 %%NLS%%share/locale/it/LC_MESSAGES/xaos.mo
 %%NLS%%share/locale/pt/LC_MESSAGES/xaos.mo
 %%NLS%%share/locale/ro/LC_MESSAGES/xaos.mo
+share/pixmaps/xaos.png
 @dirrm %%XAOSDIR%%/tutorial
 @dirrm %%XAOSDIR%%/help
 @dirrm %%XAOSDIR%%/examples



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311181455.rAIEtx1f038859>