Commit graph

2644 commits

Author SHA1 Message Date
jmmv
74033478cf Update SDL-image to 1.2.2. Change since 1.2.1:
* Updated autogen.sh for new versions of automake
* Specify the SDL API calling convention (C by default)
* Worked around exit() in the jpeg image library

Patch provided by Juan RP in PR pkg/19311 with some modifications by me.
2002-12-07 11:04:03 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
jmmv
2d21202261 The right way to disable qt is with "--disable-qt", not "--without-qt". 2002-12-06 18:45:55 +00:00
jschauma
da20b44d24 Back out update of Mesa, MesaLib, glu and glut to Mesa version 5.0,
until we figure out how to properly solve the conflict of XF4.x's own
GL.  As discussed with tron.
2002-12-06 17:03:23 +00:00
jschauma
2b643d968e Synch PLIST with reality. Oddly, the newer version is .2.500 (which is smaller
than .3.4).
2002-12-06 15:47:23 +00:00
jschauma
6993d9a639 Correct PLIST after update to Mesa 5.0 (missed in yesterdays commit) 2002-12-06 15:23:12 +00:00
wiz
60beae70ca Change fonts handling: install all fonts, and let user link one of them
to ~/.mplayer/font (mentioned in MESSAGE, and in documentation for mplayer).
Simplify PLIST and DEPENDency handling.
Bump PKGREVISION.
Closes PR 19283.
2002-12-06 14:21:46 +00:00
drochner
0cd5b9a67d update to 4.2.0
changes: mostly bugfixes afaict, improved OpenGL support
2002-12-05 21:44:30 +00:00
jschauma
d3b99812ec add/enable MesaDemos 2002-12-05 15:21:07 +00:00
jschauma
10e284a716 Initial import of graphics/MesaDemos:
MesaLib is a 3-D graphics library with an API which is very similar to that of
OpenGL*.  This package provides examples and demos of Mesa's capabilities,
among them the examples from the ``Red Book'' (_OpenGL Programming Guide_,
published by Addison-Wesley; ISBN 0-201-63274-8).
2002-12-05 15:20:22 +00:00
jschauma
b05065a3d6 Update of Mesa, MesaLib, glu and glut to version 5.0 of Mesa.
Our previous version was 3.4.1, so here goes the changelog (ready to scroll?):

New in 3.4.2:
Bug fixes:
- deleting the currently bound texture could cause bad problems
- using fog could result in random vertex alpha values
- AA triangle rendering could touch pixels outside right window bound
- fixed byteswapping problem in clear_32bit_ximage() function
- fixed bugs in wglUseFontBitmapsA(), by Frank Warmerdam
- fixed memory leak in glXUseXFont()
- fragment sampling in AA triangle function was off by 1/2 pixel
- Windows: reading pixels from framebuffer didn't always work
- glConvolutionFilter2D could segfault or cause FP exception
- fixed segfaults in FX and X drivers when using tex unit 1 but not 0
- GL_NAND logicop didn't work right in RGBA mode
- fixed a memory corruption bug in vertex buffer reset code
- clearing the softwara alpha buffer with scissoring was broken
- fixed a few color index mode fog bugs
- fixed some bad assertions in color index mode
- fixed FX line 'stipple' bug #420091
Changes:
- optimized writing mono-colored pixel spans to X pixmaps
- increased max viewport size to 2048 x 2048

New in 3.5:
New:
- internals of Mesa divided into modular pieces (Keith Whitwell)
- 100% OpenGL 1.2 conformance (passes all conformance tests)
- new AA line algorithm
- GL_EXT_convolution extension
- GL_ARB_imaging subset
- OSMesaCreateContextExt() function
- GL_ARB_texture_env_add extension (same as GL_EXT_texture_env_add)
- GL_MAX_TEXTURE_UNITS_ARB now defaults to eight
- GL_EXT_fog_coord extension (Keith Whitwell)
- GL_EXT_secondary_color extension (Keith Whitwell)
- GL_ARB_texture_env_add extension (same as GL_EXT_texture_env_add)
- GL_SGIX_depth_texture extension
- GL_SGIX_shadow and GL_SGIX_shadow_ambient extensions
- demos/shadowtex.c demo of GL_SGIX_depth_texture and GL_SGIX_shadow
- GL_ARB_texture_env_combine extension
- GL_ARB_texture_env_dot3 extension
- GL_ARB_texture_border_clamp (aka GL_SGIS_texture_border_clamp)
- OSMesaCreateContextExt() function
- libOSMesa.so library, contains the OSMesa driver interface
- GL/glxext.h header file for GLX extensions
- somewhat faster software texturing, fogging, depth testing
- all color-index conformance tests now pass (only 8bpp tested)
- SPARC assembly language TCL optimizations (David Miller)
- GL_SGIS_generate_mipmap extension
Bug Fixes:
- fbiRev and tmuRev were unitialized when using Glide3
- fixed a few color index mode conformance failures; all pass now
- now appling antialiasing coverage to alpha after texturing
- colors weren't getting clamped to [0,1] before color table lookup
- fixed RISC alignment errors caused by COPY_4UBV macro
- drawing wide, flat-shaded lines could cause a segfault
- vertices now snapped to 1/16 pixel to fix rendering of tiny triangles
Changes:
- SGI's Sample Implementation (SI) 1.3 GLU library replaces Mesa GLU
- new libOSMesa.so library, contains the OSMesa driver interface

New in 4.0:
New:
- Mesa 4.0 implements the OpenGL 1.3 specification
- GL_IBM_rasterpos_clip extension
- GL_EXT_texture_edge_clamp extension (aka GL_SGIS_texture_edge_clamp)
- GL_ARB_texture_mirrored_repeat extension
- WindML UGL driver (Stephane Raimbault)
- added OSMESA_MAX_WIDTH/HEIGHT queries
- attempted compiliation fixes for Solaris 5, 7 and 8
- updated glext.h and glxext.h files
- updated Windows driver (Karl Schultz)
Bug fixes:
- added some missing GLX 1.3 tokens to include/GL/glx.h
- GL_COLOR_MATRIX changes weren't recognized by teximage functions
- glCopyPixels with scale and bias was broken
- glRasterPos with lighting could segfault
- glDeleteTextures could leave a dangling pointer
- Proxy textures for cube maps didn't work
- fixed a number of 16-bit color channel bugs
- fixed a few minor memory leaks
- GLX context sharing was broken in 3.5
- fixed state-update bugs in glPopClientAttrib()
- fixed glDrawRangeElements() bug
- fixed a glPush/PopAttrib() bug related to texture binding
- flat-shaded, textured lines were broken
- fixed a dangling pointer problem in the XMesa code (Chris Burghart)
- lighting didn't always produce the correct alpha value
- fixed 3DNow! code to not read past end of arrays (Andrew Lewycky)

New in 4.0.1:
New:
- better sub-pixel sample positions for AA triangles (Ray Tice)
- slightly faster blending for (GL_ZERO, GL_ONE) and (GL_ONE, GL_ZERO)
Bug fixes:
- added missing break statements in glGet*() for multisample cases
- fixed uninitialized hash table mutex bug (display lists / texobjs)
- fixed bad teximage error check conditional (bug 476846)
- fixed demos readtex.c compilation problem on Windows (Karl Schultz)
- added missing glGet() query for GL_MAX_TEXTURE_LOD_BIAS_EXT
- silence some compiler warnings (gcc 2.96)
- enable the #define GL_VERSION_1_3 in GL/gl.h
- added GL 1.3 and GLX 1.4 entries to gl_mangle.h and glx_mangle.h
- fixed glu.h typedef problem found with MSDev 6.0
- build libGL.so with -Bsymbolic (fixes bug found with Chromium)
- added missing 'const' to glXGetContextIDEXT() in glxext.h
- fixed a few glXGetProcAddress() errors (texture compression, etc)
- fixed start index bug in compiled vertex arrays (Keith)
- fixed compilation problems in src/SPARC/glapi_sparc.S
- fixed triangle strip "parity" bug found in VTK medical1 demo (Keith)
- use glXGetProcAddressARB in GLUT to avoid extension linking problems
- provoking vertex of flat-shaded, color-index triangles was wrong
- fixed a few display list bugs (GLUT walker, molecule, etc) (Keith)
- glTexParameter didn't flush the vertex buffer (Ray Tice)
- feedback attributes for glDraw/CopyPixels and glBitmap were wrong
- fixed bug in normal length caching (ParaView lighting bug)

New in 4.0.2:
New:
- New DOS (DJGPP) driver written by Daniel Borca
- New driver interface functions for TCL drivers (such as Radeon DRI)
- GL_RENDERER string returns "Mesa Offscreen16" or "Mesa Offscreen32"
if using deep color channels
- latest GL/glext.h and GL/glxext.h headers from SGI
Bug fixes:
- GL_BLEND with non-black texture env color wasn't always correct
- GL_REPLACE with GL_RGB texture format wasn't always correct (alpha)
- glTexEnviv( pname != GL_TEXTURE_ENV_COLOR ) was broken
- glReadPixels was sometimes mistakenly clipped by the scissor box
- glDraw/ReadPixels didn't catch all the errors that they should have
- Fixed 24bpp rendering problem in Windows driver (Karl Schultz)
- 16-bit GLchan mode fixes (m_trans_tmp.h, s_triangle.c)
- Fixed 1-bit float->int conversion bug in glDrawPixels(GL_DEPTH_COMP)
- glColorMask as sometimes effecting glXSwapBuffers()
- fixed a potential bug in XMesaGarbageCollect()
- N threads rendering into one window didn't work reliably
- glCopyPixels didn't work for deep color channels
- improved 8 -> 16bit/channel texture image conversion (Gerk Huisma)
- glPopAttrib() didn't correctly restore user clip planes
- user clip planes failed for some perspective projections (Chromium)

New in 4.0.3:
New:
- updated GL/glext.h file (version 15)
- corrected MMX blend code (Jose Fonseca)
- support for software-based alpha planes in Windows driver
- updated GGI driver (Filip Spacek)
Bug fixes:
- glext.h had wrong values for GL_DOT3_RGB[A]_EXT tokens
- OSMesaMakeCurrent() didn't recognize buffer size changes
- assorted conformance fixes for 16-bit/channel rendering
- texcombine alpha subtraction mode was broken
- fixed lighting bug with non-uniform scaling and display lists
- fixed bug when deleting shared display lists
- disabled SPARC cliptest assembly code (Mesa bug 544665)
- fixed a couple Solaris compilation/link problems
- blending clipped glDrawPixels didn't always work
- glGetTexImage() didn't accept packed pixel types
- glPixelMapu[is]v() could explode given too large of pixelmap
- glGetTexParameter[if]v() didn't accept GL_TEXTURE_MAX_ANISOTROPY_EXT
- glXCopyContext() could lead to segfaults
- glCullFace(GL_FRONT_AND_BACK) didn't work (bug 572665)
Changes:
- lots of C++ (g++) code clean-ups
- lots of T&L updates for the Radeon DRI driver
Known bugs:
- mipmap LOD computation (fixed for Mesa 4.1)

New in 4.0.4:
New:
- GL_NV_texture_rectangle extension
- updated glext.h header (version 17)
- updated DOS driver (Daniel Borca)
- updated BeOS R5 driver (Philippe Houdoin)
- added GL_IBM_texture_mirror_repeat
- glxinfo now takes -l option to print interesting OpenGL limits info
- GL_MESA_ycbcr_texture extension
- GL_APPLE_client_storage extension (for some DRI drivers only)
- GL_MESA_pack_invert extension
Bug fixes:
- fixed GL_LINEAR fog bug by adding clamping
- fixed FP exceptions found using Alpha CPU
- 3dfx MESA_GLX_FX=window (render to window) didn't work
- fixed memory leak in wglCreateContest (Karl Schultz)
- define GLAPIENTRY and GLAPI if undefined in glu.h
- wglGetProcAddress didn't handle all API functions
- when testing for OpenGL 1.2 vs 1.3, check for GL_ARB_texture_cube_map
- removed GL_MAX_CONVOLUTION_WIDTH/HEIGHT from glGetInteger/Float/etc()
- error checking in compressed tex image functions had some glitches
- fixed AIX compile problem in src/config.c
- glGetTexImage was using pixel unpacking instead of packing params
- auto-mipmap generation for cube maps was incorrect
Changes:
- max texture units reduced to six to accomodate texture rectangles
- removed unfinished GL_MESA_sprite_point extension code
- if you are reading this, I'm really surprised

New in 4.1:
New:
- GL_NV_vertex_program extension
- GL_NV_vertex_program1_1 extension
- GL_ARB_window_pos extension
- GL_ARB_depth_texture extension
- GL_ARB_shadow extension
- GL_ARB_shadow_ambient extension
- GL_EXT_shadow_funcs extension
- GL_ARB_point_parameters extension
- GL_ARB_texture_env_crossbar
- GL_NV_point_sprite extension
- GL_NV_texture_rectangle extension
- GL_EXT_multi_draw_arrays extension
- GL_EXT_stencil_two_side extension
- GLX_SGIX_fbconfig and GLX_SGIX_pbuffer extensions
- GL_ATI_texture_mirror_once extension (Ian Romanick)
- massive overhaul/simplification of software rasterizer module,
many contributions from Klaus Niederkrueger
- faster software texturing in some cases (i.e. trilinear filtering)
- new OSMesaGetProcAddress() function
- more blend modes implemented with MMX code (Jose Fonseca)
- added glutGetProcAddress() to GLUT
- added GLUT_FPS env var to compute frames/second in glutSwapBuffers()
- pbinfo and pbdemo PBuffer programs
- glxinfo -v prints transprent pixel info (Gerd Sussner)
Bug fixes:
- better mipmap LOD computation (prevents excessive blurriness)
- OSMesaMakeCurrent() didn't recognize buffer size changes
- assorted conformance fixes for 16-bit/channel rendering
- texcombine alpha subtraction mode was broken
- fixed some blend problems when GLchan==GLfloat (Gerk Huisma)
- clamp colors to [0,1] in OSMesa if GLchan==GLfloat (Gerk Huisma)
- fixed divide by zero error in NURBS tessellator (Jon Perry)
- fixed GL_LINEAR fog bug by adding clamping
- fixed FP exceptions found using Alpha CPU
- 3dfx/glide driver render-to-window feature was broken
- added missing GLX_TRANSPARENT_RGB token to glx.h
- fixed error checking related to paletted textures
- fixed reference count error in glDeleteTextures (Randy Fayan)
Changes:
- New spec file and Python code to generate some GL dispatch files
- Glide driver defaults to "no" with autoconf/automake
- floating point color channels now clamped to [0,inf)
- updated demos/stex3d with new options

New in 5.0:
New:
- OpenGL 1.4 support (glGetString(GL_VERSION) returns "1.4")
- removed some overlooked debugging code
- glxinfo updated to support GLX_ARB_multisample
- GLUT now support GLX_ARB_multisample
- updated DOS driver (Daniel Borca)
Bug fixes:
- GL_POINT and GL_LINE-mode polygons didn't obey cull state
- fixed potential bug in _mesa_align_malloc/calloc()
- fixed missing triangle bug when running vertex programs
- fixed a few HPUX compilation problems
- FX (Glide) driver didn't compile
- setting GL_TEXTURE_BORDER_COLOR with glTexParameteriv() didn't work
- a few EXT functions, like glGenTexturesEXT, were no-ops
- a few OpenGL 1.4 functions like glFogCoord*, glBlendFuncSeparate,
glMultiDrawArrays and glMultiDrawElements were missing
- glGet*(GL_ACTIVE_STENCIL_FACE_EXT) was broken
- Pentium 4 Mobile was mistakenly identified as having 3DNow!
- fixed one-bit error in point/line fragment Z calculation
- fixed potential segfault in fakeglx code
- fixed color overflow problem in DOT3 texture env mode

Phew!
2002-12-05 15:11:48 +00:00
jschauma
d6d44f53d9 Add/enable xdvipresent 2002-12-05 14:55:41 +00:00
jschauma
822ace679e Initial import of graphics/xdvipresent.
xdvipresent provides glue for developing slides for on-line presentation using
LaTeX and xdvi, and a (portable) computer with a XGA (1024x768), SVGA
(800x600), VGA (640x480), or SUN (1152x900) screen running Xwindows.  The idea
is that you prepare the slides in LaTeX with the enclosed style file(s) and
you use the "xdvipresent" script (which simply calls xdvi with an appropriate
set of options) to show the slides on the screen.
This package provides a convenient style for slideshow presentations as well.
2002-12-05 14:54:50 +00:00
drochner
2e215808cb +py-gnuplot 2002-12-04 18:39:22 +00:00
drochner
be2b99275e Python interface to the gnuplot program 2002-12-04 18:38:27 +00:00
thorpej
6d4b4db105 Fix the varargs usage in GifQprintf(). 2002-12-04 07:04:36 +00:00
wiz
df4c71b311 Fix DESCR, as pointed out by Brian A. Seklecki on tech-pkg. 2002-12-03 09:53:38 +00:00
wiz
70ef70b5de Update mng to 1.0.4nb1: Install man pages and documentation. 2002-12-02 15:20:07 +00:00
seb
5df903fa53 Update to version 1.8.10.
XXX I was not able to make dynagraph working, hence it is still disabled.

Package changes: documentation distributed in two directories
i.e. $PREFIX/share/doc/{html/,}graphiz/.

ChangeLog entry since previous packaged version.

September 27, 2002
                - declare this version 1.8.10
        - general
            - various configure.in fixes and simplifications
            - change configure to now build dynagraph by default
                "--without-dynagraph" is supported
            - fix graphviz.spec.in to partition packages properly
                graphviz no longer depends on graphviz-tcl.
            -  Makefile.old cleanups
            - configure.old now set version number automatically from
              configure.in
        - dot, neato, twopi
            - Initial support for image node shapes + URL fetch.
            - Made number of dimensions a runtime variable in neato.
            - Bug fix in vrmlgen for degenerate splines.
            - Bug fix - ordering=in should now work
            - Bug fix - layers no numbered from 0 to match PS requirements
            - Bug fix - don't draw arrows on invisible edges
            - Bug fix - when pack=true and ratio is set
            - Bug fix - agraph/scan.l to work with latest flex beta
2002-12-01 18:33:41 +00:00
salo
77e08cb991 USE_PKGLOCALEDIR, remove unnecessary patch, delint. 2002-12-01 13:49:38 +00:00
grant
4b4686acf8 USE_PKGLOCALEDIR. 2002-11-30 14:50:13 +00:00
drochner
d5b16e46ee avoid picking up gtk-doc - otherwise we'd need an X DISPLAY during build 2002-11-28 18:48:16 +00:00
tron
ad324ee28c Buildlinkify this package to stop it from using the packaged version of
"libintl" even if it is not necessary. Bump package revision.
2002-11-28 11:04:14 +00:00
tron
3bdaa3a74a Buildlinkify this package to stop it from using the packaged version of
"libintl" even if it is not necessary. Bump package revision.
2002-11-28 10:56:37 +00:00
cjep
e9dea94b6d NetBSD tag. 2002-11-26 21:35:35 +00:00
jmmv
67318997cd Make this package install its configuration files in the examples directory
and use PKG_SYSCONFDIR stuff to copy them to the right place. Bump
PKGREVISION to 2.

Approved by wiz.

This closes my own PR 18998.
2002-11-26 12:32:20 +00:00
jlam
b8ed027b8c buildlink2.mk file for graphics/libggi. Closes PR 19118. 2002-11-25 20:50:26 +00:00
jlam
a54977ed47 Use buildlink2. 2002-11-25 20:48:42 +00:00
jlam
a7e627ccd6 Fix distinfo checksums. 2002-11-25 20:40:13 +00:00
jlam
f6d1d2a580 Note that this package uses X11. 2002-11-25 20:34:36 +00:00
jlam
50ddc2c2a2 buildlink2.mk file for graphics/libgii. 2002-11-25 20:33:36 +00:00
jlam
c65db281f1 Use buildlink2, fix libtool usage and PLIST. 2002-11-25 20:16:26 +00:00
wiz
a933dae3c5 Update to 1.6.0 (from the mjpegtools distribution).
Handles multiplexed streams and has (S)VCD support.

Update from Ben Collver in PR 19098.
2002-11-23 22:03:19 +00:00
jlam
9377a2aeab Compute version of built-in Mesa without using "glxinfo", which is broken
when the capabilities of the running X11 server differ from the X11 server
on the system for which the package is meant.  We now try to guess the
Mesa version number based on which OpenGL specification is implemented.

Separate out the logic into its own file, Mesa/version.mk, and use it in
MesaLib's and glu's buildlink2.mk files.

Note that Mesa/version.mk should only be used by the Mesa packages and is
_not_ for general use.
2002-11-20 22:13:21 +00:00
tron
aaa4491f86 Don't try to run "glxinfo" outside a X11 session which would produce lots
of error message.
2002-11-19 09:19:36 +00:00
salo
48eb02dbf7 Fix PGLOCALEDIR usage. Closes pkg/18632 2002-11-18 08:04:47 +00:00
jlam
db3a779c2d Alter Mesa/GL packages so that they may always be installed if
X11PREFIX != X11BASE (xpkgwedge is installed).  Introduce a new variable
MESA_REQD that defaults to "3.4.2" and represents the version of Mesa/GL
needed by a package.  MESA_REQD is intended to be used by package Makefiles
or by buildlink2.mk files.

It should now be possible to update this package to the latest release
(5.0), and have it work on:

	* XF86-3.x with or without xpkgwedge
	* XF86-4.x with xpkgwedge
2002-11-18 07:49:24 +00:00
jlam
ce99281f43 glut requires MesaLib headers in order to build. 2002-11-17 08:37:20 +00:00
fredb
33f8edb4e0 Translate to English. 2002-11-17 04:03:23 +00:00
wiz
650f3a0c27 Update to 0.90pre7 codecs (020909). More codecs :)
Based on PR 19074 by FUKAUMI Naoki.
2002-11-16 14:05:53 +00:00
wiz
9138b8064a Update to 0.2.7. Changes:
* update Fontmap[.GS] detection (guesswork, really) (fjf)
* don't include trio.h when --disable-heavy is used (fjf)
* remember to update both version numbers in configure.ac!
* move player.h's defs into metadefs.h for recorder.c (fjf)
* add some missing "extern"s (c. Jeremy Shane Sanders)
* added recorder.h & libwmf/canvas.h; call it Canvas now (fjf)
2002-11-15 17:50:24 +00:00
itojun
e2b53625e0 we have --disable-vflib, so we don't need to pull in buildlink2.mk for ja-vflib.
from Naoki Fukaumi
2002-11-15 16:33:12 +00:00
jlam
13c830fe56 Use some indentation to make this easier to read. 2002-11-15 11:32:38 +00:00
jlam
8fdf4e7f9b buildlink1 -> buildlink2 2002-11-14 23:50:45 +00:00
wiz
85a2540904 Fix MASTER_SITES and HOMEPAGE. Closes PR 19046 by Julio Merino. 2002-11-14 11:45:16 +00:00
wiz
cdb9eb245c Runtime detection of CPU features only works on i386, so only enable it
on i386. Fixes build problem on macppc (MMX assembler instructions don't
compile to well with a powerpc-targeted gas).
2002-11-14 01:06:24 +00:00
wiz
ac69aaac2c Depend on latest ImageMagick.
Does not seem to really need bash to compile, so remove that clause.
Bump PKGREVISION.
2002-11-13 19:29:59 +00:00
wiz
c5934fcdd7 PKGREVISION bump because ImageMagick's buildlink2.mk wants a newer
ImageMagick (different library name).
2002-11-13 19:26:36 +00:00
wiz
6cef299f3c Depend on 5.5.1.6nb1. 2002-11-13 19:17:46 +00:00
wiz
3fe2a0fbf7 According to the ImageMagick developers, it is uncommon for any two
libMagick.so libraries to be API compatible, and they don't want to
handle proper ELF versioning, but have the "real" version number in
the library. To spare us the pkgsrc maintenance nightmare, follow their
example. Bump PKGREVISION.
2002-11-13 19:17:18 +00:00