ports/76514: Update port: graphics/quesa 1.6d18 -> 1.6d19
Igor Pokrovsky
ip at doom.homeunix.org
Thu Jan 20 20:10:26 UTC 2005
>Number: 76514
>Category: ports
>Synopsis: Update port: graphics/quesa 1.6d18 -> 1.6d19
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 20 20:10:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Jan 13 13:24:12 MSK 2005 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386
>Description:
Update to 1.6d19.
>How-To-Repeat:
>Fix:
--- quesa.diff begins here ---
diff -ruN /usr/ports/graphics/quesa/Makefile quesa/Makefile
--- /usr/ports/graphics/quesa/Makefile Wed Jan 12 21:20:13 2005
+++ quesa/Makefile Thu Jan 20 22:43:45 2005
@@ -6,19 +6,22 @@
#
PORTNAME= quesa
-PORTVERSION= 1.6d18
+PORTVERSION= 1.6d19
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+DISTNAME= ${PORTNAME}lib-${PORTVERSION}
+.ifdef (WITH_QUESA_EXAMPLES)
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${PORTNAME}examples-${PORTVERSION}${EXTRACT_SUFX}
+.endif
MAINTAINER= ip at doom.homeunix.org
COMMENT= High level 3D graphics library compatible with Apple's QuickDraw(TM)
USE_REINPLACE= yes
-WANT_AUTOCONF_VER?= 253
-WANT_AUTOMAKE_VER?= 15
-USE_INC_LIBTOOL_VER= 13
+USE_LIBTOOL_VER= 15
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GL= yes
USE_X_PREFIX= yes
.ifdef (WITH_QUESA_EXAMPLES)
@@ -26,11 +29,9 @@
.endif
INSTALLS_SHLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/Development/Projects/Unix
-
-CSH?= /bin/csh
+WRKSRC_EXAMPLES= ${WRKDIR}/${PORTNAME}examples-${PORTVERSION}
-.if !defined(WITH_QUESA_EXAMPLES)
+.if !defined (WITH_QUESA_EXAMPLES)
PLIST_SUB= WITH_QUESA_EXAMPLES="@comment "
.else
PLIST_SUB= WITH_QUESA_EXAMPLES=""
@@ -43,49 +44,32 @@
@${ECHO_CMD} ""
.endif
-pre-patch:
- @${FIND} ${WRKSRC} -type f -print0 | \
- ${XARGS} -0 ${REINPLACE_CMD} -e "y/$$(${PRINTF} '\r')/\n/"
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%ACLOCAL%%|${ACLOCAL}|g; \
- s|%%AUTOMAKE%%|${AUTOMAKE}|g; \
- s|%%AUTOMAKE_ENV%%|${AUTOMAKE_ENV}|g; \
- s|%%AUTOCONF%%|${AUTOCONF}|g; \
- s|%%AUTOCONF_ENV%%|${AUTOCONF_ENV}|g; \
- s|%%SETENV%%|${SETENV}|g' \
- ${WRKSRC}/Scripts/buildUnix.sh
.ifdef (WITH_QUESA_EXAMPLES)
- @${REINPLACE_CMD} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g' \
- ${WRKSRC}/Makefile.am.examples
+post-patch:
+ @${REINPLACE_CMD} -e 's|-I/usr/local/include/quesa|-I${WRKSRC}/APIincludes|g; \
+ s|-L/usr/local/lib|-L${LOCALBASE}/lib -L${WRKSRC}|g; \
+ s|prefix = /usr/local/Quesa|prefix = ${EXAMPLESDIR}|' \
+ ${WRKSRC_EXAMPLES}/Makefile.in
.endif
pre-configure:
- cd ${WRKSRC}/Scripts && \
- ${CSH} ./prepareUnixTree.sh && ${CSH} ./buildUnix.sh
-.ifdef (WITH_QUESA_EXAMPLES)
- @(cd ${WRKSRC}/Examples && \
- ${SETENV} CC="${CC}" CXX="${CXX}" \
- CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
- INSTALL="${INSTALL}" \
- INSTALL_DATA="${INSTALL_DATA}" \
- INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
- INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
-.endif
+ @${REINPLACE_CMD} -e 's|-std=c99||g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|isfinite|finite|g' \
+ ${WRKSRC}/Source/Core/System/E3IOData.c \
+ ${WRKSRC}/Source/Core/System/E3View.c
.ifdef (WITH_QUESA_EXAMPLES)
+post-configure:
+ cd ${WRKSRC_EXAMPLES} && \
+ ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
+
post-build:
- @(cd ${WRKSRC}/Examples && \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
- ${MAKE_ARGS} ${ALL_TARGET})
-.endif
+ cd ${WRKSRC_EXAMPLES} && \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
-.ifdef (WITH_QUESA_EXAMPLES)
post-install:
- @(cd ${WRKSRC}/Examples && \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
- ${MAKE_ARGS} ${INSTALL_TARGET})
+ cd ${WRKSRC_EXAMPLES} && \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
.endif
.include <bsd.port.mk>
diff -ruN /usr/ports/graphics/quesa/distinfo quesa/distinfo
--- /usr/ports/graphics/quesa/distinfo Wed Jan 12 21:20:13 2005
+++ quesa/distinfo Thu Jan 20 21:12:55 2005
@@ -1,2 +1,4 @@
-MD5 (quesa_1.6d18.tar.gz) = 6c6740ef4459e2d6cbde7389a63f61b6
-SIZE (quesa_1.6d18.tar.gz) = 3457691
+MD5 (quesalib-1.6d19.tar.gz) = a96cfc5595a0e07c7cbe54582fd1429d
+SIZE (quesalib-1.6d19.tar.gz) = 1074436
+MD5 (quesaexamples-1.6d19.tar.gz) = c2bc8e799871d394f813e9b8508770ae
+SIZE (quesaexamples-1.6d19.tar.gz) = 782129
diff -ruN /usr/ports/graphics/quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h
--- /usr/ports/graphics/quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h Tue Mar 30 00:18:10 2004
+++ quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h Thu Jan 1 03:00:00 1970
@@ -1,13 +0,0 @@
---- ../../Source/Platform/Unix/E3UnixPrefix.h.orig Wed Feb 4 10:52:24 2004
-+++ ../../Source/Platform/Unix/E3UnixPrefix.h Wed Feb 4 10:52:51 2004
-@@ -44,7 +44,9 @@
- //-----------------------------------------------------------------------------
- // Build constants go here
-
--
-+#ifdef __FreeBSD__
-+#define isfinite finite
-+#endif
-
-
-
diff -ruN /usr/ports/graphics/quesa/files/patch-Makefile.am quesa/files/patch-Makefile.am
--- /usr/ports/graphics/quesa/files/patch-Makefile.am Tue Mar 30 00:18:10 2004
+++ quesa/files/patch-Makefile.am Thu Jan 1 03:00:00 1970
@@ -1,10 +0,0 @@
---- Makefile.am.orig Wed Feb 4 08:19:51 2004
-+++ Makefile.am Wed Feb 4 08:20:09 2004
-@@ -267,6 +267,6 @@
- ${SRC}${PLATFORM}/E3UnixDrawContext.c
-
-
--libquesa_la_CFLAGS= -std=c99 -DQUESA_OS_UNIX=1 $(WARN) $(QUESAINCLUDES)
-+libquesa_la_CFLAGS= -DQUESA_OS_UNIX=1 $(WARN) $(QUESAINCLUDES)
- libquesa_la_LIBADD= -lm -lc -lX11 -lGL -lGLU
-
diff -ruN /usr/ports/graphics/quesa/files/patch-Makefile.am.examples quesa/files/patch-Makefile.am.examples
--- /usr/ports/graphics/quesa/files/patch-Makefile.am.examples Tue Mar 30 00:18:10 2004
+++ quesa/files/patch-Makefile.am.examples Thu Jan 1 03:00:00 1970
@@ -1,27 +0,0 @@
---- Makefile.am.examples.orig Wed Feb 4 14:49:13 2004
-+++ Makefile.am.examples Wed Feb 4 14:51:42 2004
-@@ -2,19 +2,19 @@
-
- QUT= Qut
- GEOMTEST= GeomTest
--prefix = /usr/local/Quesa
-+prefix = %%EXAMPLESDIR%%
-
--modelsdir=$(prefix)/Models
-+modelsdir=%%EXAMPLESDIR%%/Models
-
- quesaexamples_commoncflags= -DQUESA_OS_UNIX=1 $(WARN) $(QUESAINCLUDES) $(GTK_CFLAGS)
--quesaexamples_commonldadd= -L/usr/local/lib -L. -lquesaqut -lquesa -lc -lGL -lGLU $(GTK_LIBS)
-+quesaexamples_commonldadd= -L../$(srcdir) -L. -lquesaqut -lquesa -lc -lGL -lGLU $(GTK_LIBS)
-
-
--bin_PROGRAMS= geomtest importtest cameratest dumpgroup lighttest
-+bin_PROGRAMS= geomtest importtest cameratest dumpgroup lighttest
-
- noinst_LIBRARIES= libquesaqut.a
-
--QUESAINCLUDES= -I/usr/local/include/quesa \
-+QUESAINCLUDES= -I../$(srcdir)/APIincludes \
- -I$(srcdir)/Qut
-
- WARN= -Wall -Wpointer-arith -Wno-cast-qual -Waggregate-return \
diff -ruN /usr/ports/graphics/quesa/files/patch-Scripts_buildUnix.sh quesa/files/patch-Scripts_buildUnix.sh
--- /usr/ports/graphics/quesa/files/patch-Scripts_buildUnix.sh Tue Mar 30 00:18:10 2004
+++ quesa/files/patch-Scripts_buildUnix.sh Thu Jan 1 03:00:00 1970
@@ -1,58 +0,0 @@
---- Scripts/buildUnix.sh.orig Wed Feb 4 09:16:35 2004
-+++ Scripts/buildUnix.sh Wed Feb 4 09:17:32 2004
-@@ -28,11 +28,11 @@
-
- # create the build system for libquesa
- ######################################
--aclocal
--automake --add-missing
--automake
--autoconf
--./configure
-+%%ACLOCAL%%
-+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% --add-missing
-+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% -i
-+%%SETENV%% %%AUTOCONF_ENV%% %%AUTOCONF%%
-+#./configure
-
- # create the build system for the examples
- ######################################
-@@ -40,27 +40,25 @@
- pushd Examples || exit
-
- # make sure we can find gtk-config
--PATH=${PATH}:/usr/local/bin
--
--export PATH
-+#setenv PATH ${PATH}:/usr/local/bin
-
- # make sure we can find gtk.m4
--ACLOCALADDPATHS=
--if test -d /usr/local/share/aclocal; then
-- ACLOCALADDPATHS="${ACLOCALADDPATHS} -I /usr/local/share/aclocal"
--fi
-+#ACLOCALADDPATHS=
-+#if test -d /usr/local/share/aclocal; then
-+# ACLOCALADDPATHS="${ACLOCALADDPATHS} -I /usr/local/share/aclocal"
-+#fi
-
--aclocal ${ACLOCALADDPATHS}
--automake --add-missing
--automake
--autoconf
--./configure
-+%%ACLOCAL%%
-+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% --add-missing
-+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% -i
-+%%SETENV%% %%AUTOCONF_ENV%% %%AUTOCONF%%
-+#./configure
-
- popd
-
- # build libquesa
- ######################################
--make
-+#make
-
- popd
-
diff -ruN /usr/ports/graphics/quesa/files/patch-configure.in quesa/files/patch-configure.in
--- /usr/ports/graphics/quesa/files/patch-configure.in Tue Mar 30 00:18:10 2004
+++ quesa/files/patch-configure.in Thu Jan 1 03:00:00 1970
@@ -1,11 +0,0 @@
---- configure.in.orig Wed Feb 4 09:49:14 2004
-+++ configure.in Wed Feb 4 09:49:33 2004
-@@ -2,7 +2,7 @@
- AC_INIT(Quesa,1.6d18,quesa_list at designcommunity.com)
-
- AC_CONFIG_SRCDIR(Source/Core/Glue/QD3DCamera.c)
--AM_INIT_AUTOMAKE([no-dependencies])
-+AM_INIT_AUTOMAKE(quesa,1.6d18)
- AM_MAINTAINER_MODE
-
- dnl Checks for programs.
diff -ruN /usr/ports/graphics/quesa/pkg-plist quesa/pkg-plist
--- /usr/ports/graphics/quesa/pkg-plist Tue Mar 30 00:18:10 2004
+++ quesa/pkg-plist Thu Jan 20 22:53:10 2005
@@ -1,29 +1,36 @@
-include/quesa/Quesa.h
-include/quesa/QuesaCamera.h
-include/quesa/QuesaController.h
-include/quesa/QuesaCustomElements.h
-include/quesa/QuesaDrawContext.h
-include/quesa/QuesaErrors.h
-include/quesa/QuesaExtension.h
-include/quesa/QuesaGeometry.h
-include/quesa/QuesaGroup.h
-include/quesa/QuesaIO.h
-include/quesa/QuesaLight.h
-include/quesa/QuesaMath.h
-include/quesa/QuesaMemory.h
-include/quesa/QuesaPick.h
-include/quesa/QuesaRenderer.h
-include/quesa/QuesaSet.h
-include/quesa/QuesaShader.h
-include/quesa/QuesaStorage.h
-include/quesa/QuesaString.h
-include/quesa/QuesaStyle.h
-include/quesa/QuesaTransform.h
-include/quesa/QuesaView.h
-include/quesa/QuesaViewer.h
+include/quesalib/Quesa.h
+include/quesalib/QuesaCamera.h
+include/quesalib/QuesaController.h
+include/quesalib/QuesaCustomElements.h
+include/quesalib/QuesaDrawContext.h
+include/quesalib/QuesaErrors.h
+include/quesalib/QuesaExtension.h
+include/quesalib/QuesaGeometry.h
+include/quesalib/QuesaGroup.h
+include/quesalib/QuesaIO.h
+include/quesalib/QuesaLight.h
+include/quesalib/QuesaMath.h
+include/quesalib/QuesaMemory.h
+include/quesalib/QuesaPick.h
+include/quesalib/QuesaRenderer.h
+include/quesalib/QuesaSet.h
+include/quesalib/QuesaShader.h
+include/quesalib/QuesaStorage.h
+include/quesalib/QuesaString.h
+include/quesalib/QuesaStyle.h
+include/quesalib/QuesaTransform.h
+include/quesalib/QuesaView.h
+include/quesalib/QuesaViewer.h
lib/libquesa.a
lib/libquesa.so
lib/libquesa.so.0
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/1.tga
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/2.tga
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/3.tga
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/4.tga
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/5.tga
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/6.tga
+%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Images/Quesa.tga
%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/F15.3dmf
%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/F18.3dmf
%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/PodRacer.3dmf
@@ -35,5 +42,6 @@
%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/bin/lighttest
%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/bin
%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Models
+%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Images
%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%
- at dirrm include/quesa
+ at dirrm include/quesalib
--- quesa.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list