alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Pkgsrc changes:
o Change to Module::Build
o Change MASTER_SITES to use CPAN
o Change location of packlist
o Add a few local patches to deal with some issues in this version:
1) Use appropriate include paths for GL headers
2) Import fix from CPAN bug 19155: ensure modules are installed
in the correct directory
3) Add a missing type to the typemap
4) Import fix from CPAN bug 32744: ensure Module::Build leaves
a packlist behind (define module_name).
With these changes in place, the module at least passes its own selftests.
Upstream changes:
Revision history for Perl extension SDL_perl.
* Sep 23 2004 David J. Goehrig <dgoehrig@cpan.org>
- added SDL::Config tests for SDL_gfx support to test/testgfxroto.pl
test/testgfxprim.pl and SDL::Tool::Graphic.pm
- removed exists test form SDL::Config::has()
- added SDL::PushEvent
- added SDL::SetEventType
- renamed SDL::OpenGL::glReadPixel(s)
- added error message for SDL::OpenGL::glLightModel
- cleaned up some formatting issues in OpenGL.xs
- fixed bug in SDL::Cdrom (referencing a scalar as a hashref)
- added some more documentation to SDL::Color
- added SDL::Event::push (Andy Bakun)
- fixed documentation and usage of SDL::Event::set
- added SDL::Event::type([type]) setting parameter
- updated Pod::ToDemo recommends in Build.PL
- added chromatic's OpenGL version checks
- added GL_ALL_CLIENT_ATTRIB_BITS (in addition to GL_CLIENT_ATTRIB_BITS)
- added chromatic's SDL::Build::Cygwin.pm and SDL::Build::Win32.pm
- applied chromatic's patches to SDL::Tutorial, etc. for updated Pod::ToDemo
* Sep 21 2004 David J. Goehrig <dgoehrig@cpan.org>
- added thread check to SDL::Constants.pm (prevent unsafe SelfLoader)
- applied Andy Bakun <sdlperl@thwartedefforts.org>'s patches
to SDL::CreateRGBSurfaceFrom, SDL::SurfaceCopy, and
SDL::FreeSurface
- applied GLint* to typemap patch
- applied glRenderMode patch
- applied gluPickMatrix patch
- fixed SDL::Surface::blit typo bug
- applied glGet patch by Luke (enumerating them all!)
- fixed typo bug in make/lib/SDL/Build/Darwin.pm
* Feb 23 2004 David J. Goehrig <dgoehrig@cpan.org>
- fixed OpenGL exporting & bootstrapping
- added ifdefs in OpenGL for NURBS and GLUTesslator
- updated the test scripts to use SDL::Config
- added OpenGL test
- modified SDL::Config->has to use grep instead
- fixed SDL::Cdrom::status
- added tests for SDL::Video and SDL::MPEG
- fixed gluPerspective in test1.pl & test2.pl
- moved SDL::OpenGL::Cube code into test2.pl
- released SDL_Perl-2.1.0
* Feb 7 2004 David J. Goehrig <dgoehrig@cpan.org>
- added more SMPEG support
- added SDL::Video.pm and SDL::MPEG
* Feb 6 2004 David J. Goehrig <dgoehrig@cpan.org>
- removed old build stuff
- added SDL::GetAppState
- added SDL::GetMouseState and SDL::GetRelativeMouseState
- added SDL Perl logo files
- Finalized 2.0.5 release
* Feb 6 2004 chromatic
- added SDL::Tutorial
- added SDL::Tutorial::Animation
- added SDL::Tutorial::Drawing
- added SDL::Tutorial::Images
* Feb 5 2004 David J. Goehrig <dgoehrig@cpan.org>
- port chromatic's Module::Build changes to 2.0.4
- moved SDL_TEXTWIDTH to SDL.pm (where EXPORTS BELONG in SDL.pm)
- applied chromatic's test directory change to testfonttool.pl
- fixed near/far in OpenGL.xs
- fixed checkkeys.pl to work with new event structure
- fixed testjoystick.pl to use new constants
- fixed USE_THREADS issue in build system
- fixed typo-bugs in SDL::Tool::Graphic.pm
- Updated MANIFEST
- fixed SFont support added SDL::SFont.pm
- removed SDL::Mixer and SDL::Event constants checks, no export
* Dec 21 2003 chromatic
- added glDeleteLists
- added glReadPixels
- added glReadPixel
* Sept 2 2003 David J. Goehrig <dave@sdlperl.org>
- fixed SDL::Music and SDL::Sound usage in SDL::Mixer
* Aug 28 2003 Stephane Desneux <sdx@desneux.com>
- added SDL_VIDEOEXPOSE constant in SDL::Constants
* Aug 26 2003 Stephane Desneux <sdx@desneux.com>
- modified Makefile.linux to remove debug unless $ENV{DEBUG} is defined
- added scripts/GL/gl.h header (OpenGL 1.4 header from Linux NVidia driver)
- modified gl_const.pl to generate SDL::OpenGL::Constants.pm using scripts/GL/gl.h
OpenGL constants now uses Exporter and SelfLoader
- modified sdl_const.pl to generate SDL::Constants
SDL constants now uses Exporter and SelfLoader
- modified SDL.pm to export constants from SDL::Constants
- modified SDL/OpenGL.pm to export constants from SDL::OpenGL::Constants
- changed all function names in OpenGL.xs (xxx replaced by glxxx or gluxxx)
changed export in SDL/OpenGL.pm accordingly
- removed warning in SDL::Surface::new()
* Aug 21 2003 David J. Goehrig <dave@sdlperl.org>
- applied Thomas Tongue's MacOS X support patches
* Aug 20 2003 David J. Goehrig <dave@sdlperl.org>
- fixed SDL::Event bug
* Aug 17 2003 David J. Goehrig <dave@sdlperl.org>
- applied Tels' call list patches
- fixed some general boneheadedness with use strict
- got tests really working
- applied Russell's SDL::Tool::Graphic::grayScale patch
- added glLightModel
* Aug 16 2003 David J. Goehrig <dave@sdlperl.org>
- applied morgoth.666's patch for glGetdv & others
- released 2.0 last week :)
* May 23 2003 David J. Goehrig <dave@sdlperl.org>
- applied Ryan Hanlon's patch for SDL::TTFont::width
* May 22 2003 David J. Goehrig <dave@sdlperl.org>
- fixed typemap
- changed SDL::Cdrom to use scalar refs
- changed SDL::Console to use scalar refs
- changed SDL::Event to use scalar refs
- changed SDL::Cursor to use scalar refs
- changed SDL::Font to use scalar refs
- changed SDL::Music to use scalar refs
- changed SDL::Palette to use scalar refs
- changed SDL::Sound to use scalar refs
* May 20 2003 David J. Goehrig <dave@sdlperl.org>
- added more OpenGL constants
- added OpenGL name & Feedback functions
- ported documentation from the website to distro
* Mar 13 2003 David J. Goehrig <dave@sdlperl.org>
- cleaned up OpenGL constants exportation
- fixed glColor alpha
- fixed all tests & the causes of failure
- fixed TTFont.pm color bug
- fixed SDL::Tool::Graphic
* Mar 11 2003 David J. Goehrig <dave@sdlperl.org>
- changed USE_THREAD support because perl5.8 usually builds with it
- added SDL::Constants & SDL::OpenGL::Constants
- removed constant functions from XS code (going easier on the linker)
- changed version to SDL_perl-2.0-beta1 Way Too much is Broken release
- Moved Opt/* to regular & fixing as found broken
- 27% of tests now fail!
* Feb 25 2003 David J. Goehrig <dave@sdlperl.org>
- resized the testmenu.pl script
* Jan 6 2003 Wayne Keenan <tripixuk@yahoo.co.uk>
- fixed testjoystick.pl
* Jan 4 2003 David J. Goehrig <dave@sdlperl.org>
- Added test suite, Thanks Tels
- Added SDL::SurfaceCopy finally
- Added SDL::Surface::new -surface && -copy constructors
- Changed SDL::Tool::Graphic::* to return a new SDL::Surface object
- Added SDL::Event::resize_w && SDL::Event::resize_h
* Jan 3 2003 David J. Goehrig <dave@sdlperl.org>
- SDL_perl-1.20.0 release
- fixed default pitch value in SDL::Surface
- fixed test/OpenGL/tutorials/*, removed nasty -flags options
* Jan 2 2003 David J. Goehrig <dave@sdlperl.org>
- Changed SDL::SurfacePixel to work as documented returns SDL_Color*
- Changed SDL::Surface::pixel to return SDL::Color object
- Changed SDL::SetColorKey to take SDL_Color*
- Changed SDL::Surface::set_color_key to take SDL_Color*,SDL::Color, && (x,y)
- Added test/testcolor.pl
- Fixed SDL::Opt::Surface::pixel to return SDL::Opt::Color objects
- Fixed test/testsprite.pl (must call display_format before set_color_key)
- removed use strict from test/testmenu.pl
- Added SDL::INIT_TIMER
* Jan 1 2003 David J. Goehrig <dave@sdlperl.org>
- Added a lot of documentation stubs
- Added SDL_PREALLOC support
- Added SDL_VIDEORESIZE event type
- Moved SDL_* SDL_Surface flags EXPORT to SDL::Surface
- Added SDL::App::resize & -resizeable tag
- Updated README
- Added SDL::Opt::Surface, SDL::Opt::Rect, SDL::Opt::Color
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.
Addresses PR 32046 by Leonard Schmidt.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
installation needed when including perl5/buildlink3.mk. The only
option currently supported is "threads", which implies that a perl
that supports threads is required. The requirement is checked at
pre-install time using an INSTALL script template by both the package
build and the binary package.
Add PERL5_OPTIONS+=threads to both devel/p5-SDL and graphics/p5-GD
since those modules require a perl that supports threads.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.