diff --git a/x11/gtkglarea/Makefile b/x11/gtkglarea/Makefile new file mode 100644 index 00000000000..0a0fd489be6 --- /dev/null +++ b/x11/gtkglarea/Makefile @@ -0,0 +1,30 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/03/22 16:18:16 brad Exp $ + +DISTNAME= gtkglarea-1.2.1 +CATEGORIES= x11 graphics +MASTER_SITES= http://www.student.oulu.fi/~jlof/gtkglarea/download/ + +NEED_VERSION= 1.73 + +HOMEPAGE= http://www.student.oulu.fi/~jlof/gtkglarea/ + +MAINTAINER= brad@openbsd.org + +LIB_DEPENDS= MesaGL:${PORTSDIR}/graphics/MesaGL \ + MesaGLU:${PORTSDIR}/graphics/MesaGL \ + gtk\\.1\\.2:${PORTSDIR}/x11/gtk+ + +USE_X11= yes +SEPARATE_BUILD= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} +CONFIGURE_ARGS+= --enable-static + +post-install: + ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/gtkglarea/ + cd ${WRKSRC}/docs ; \ + ${INSTALL_MAN} HOWTO.txt ${PREFIX}/share/doc/gtkglarea ; \ + ${INSTALL_MAN} gdkgl.txt ${PREFIX}/share/doc/gtkglarea ; \ + ${INSTALL_MAN} gtkglarea.txt ${PREFIX}/share/doc/gtkglarea + +.include diff --git a/x11/gtkglarea/files/md5 b/x11/gtkglarea/files/md5 new file mode 100644 index 00000000000..e59807c5125 --- /dev/null +++ b/x11/gtkglarea/files/md5 @@ -0,0 +1,3 @@ +MD5 (gtkglarea-1.2.1.tar.gz) = 14ef36ec3b027775cc41db0717ef6270 +RMD160 (gtkglarea-1.2.1.tar.gz) = 7057ce689583be63d72245bf0cff23309d1a262f +SHA1 (gtkglarea-1.2.1.tar.gz) = 32a93940756ed26f6baf950f7664f3013d3c0edd diff --git a/x11/gtkglarea/patches/patch-aa b/x11/gtkglarea/patches/patch-aa new file mode 100644 index 00000000000..10af73a5cc4 --- /dev/null +++ b/x11/gtkglarea/patches/patch-aa @@ -0,0 +1,43 @@ +--- ltmain.sh.orig Mon Mar 22 11:01:11 1999 ++++ ltmain.sh Mon Mar 22 11:01:27 1999 +@@ -2633,40 +2633,6 @@ + # Exit here if they wanted silent mode. + test "$show" = : && exit 0 + +- echo "----------------------------------------------------------------------" +- echo "Libraries have been installed in:" +- for libdir in $libdirs; do +- echo " $libdir" +- done +- echo +- echo "To link against installed libraries in a given directory, LIBDIR," +- echo "you must use the \`-LLIBDIR' flag during linking." +- echo +- echo " You will also need to do at least one of the following:" +- if test -n "$shlibpath_var"; then +- echo " - add LIBDIR to the \`$shlibpath_var' environment variable" +- echo " during execution" +- fi +- if test -n "$runpath_var"; then +- echo " - add LIBDIR to the \`$runpath_var' environment variable" +- echo " during linking" +- fi +- if test -n "$hardcode_libdir_flag_spec"; then +- libdir=LIBDIR +- eval flag=\"$hardcode_libdir_flag_spec\" +- +- echo " - use the \`$flag' linker flag" +- fi +- if test -n "$admincmds"; then +- echo " - have your system administrator run these commands:$admincmds" +- fi +- if test -f /etc/ld.so.conf; then +- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" +- fi +- echo +- echo "See any operating system documentation about shared libraries for" +- echo "more information, such as the ld(1) and ld.so(8) manual pages." +- echo "----------------------------------------------------------------------" + exit 0 + ;; + diff --git a/x11/gtkglarea/pkg/COMMENT b/x11/gtkglarea/pkg/COMMENT new file mode 100644 index 00000000000..349f44ca5ba --- /dev/null +++ b/x11/gtkglarea/pkg/COMMENT @@ -0,0 +1 @@ +OpenGL/Mesa widget for GTK+ GUI toolkit diff --git a/x11/gtkglarea/pkg/DESCR b/x11/gtkglarea/pkg/DESCR new file mode 100644 index 00000000000..897c2169463 --- /dev/null +++ b/x11/gtkglarea/pkg/DESCR @@ -0,0 +1,8 @@ +Just as GTK+ is build on top of GDK, GtkGLArea is built on top of +gdkgl which is basically wrapper around GLX functions. The widget +itself is very similar to GtkDrawinigArea widget and adds only few +extra functions. + +Lower level gdkgl functions make it easy to render on any widget +that has OpenGL capable visual, rendering to off-screen pixmaps is +also supported. diff --git a/x11/gtkglarea/pkg/PLIST b/x11/gtkglarea/pkg/PLIST new file mode 100644 index 00000000000..8a532695f02 --- /dev/null +++ b/x11/gtkglarea/pkg/PLIST @@ -0,0 +1,11 @@ +include/gtkgl/gdkgl.h +include/gtkgl/gtkglarea.h +@dirrm include/gtkgl +lib/libgtkgl.so.3.0 +lib/libgtkgl.la +lib/libgtkgl.a +share/doc/gtkglarea/HOWTO.txt +share/doc/gtkglarea/gdkgl.txt +share/doc/gtkglarea/gtkglarea.txt +@dirrm share/doc/gtkglarea +@exec /sbin/ldconfig -m %B diff --git a/x11/gtkglarea/pkg/PLIST.noshared b/x11/gtkglarea/pkg/PLIST.noshared new file mode 100644 index 00000000000..cc3e54c062a --- /dev/null +++ b/x11/gtkglarea/pkg/PLIST.noshared @@ -0,0 +1,9 @@ +include/gtkgl/gdkgl.h +include/gtkgl/gtkglarea.h +@dirrm include/gtkgl +lib/libgtkgl.la +lib/libgtkgl.a +share/doc/gtkglarea/HOWTO.txt +share/doc/gtkglarea/gdkgl.txt +share/doc/gtkglarea/gtkglarea.txt +@dirrm share/doc/gtkglarea