pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-SDL p5-SDL: update to 2.546.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fd9ec60cf26
branches:  trunk
changeset: 369040:4fd9ec60cf26
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 26 11:17:02 2017 +0000

description:
p5-SDL: update to 2.546.

Based on wip/p5-SDL packaged by mef@ and myself.

* 2.546 Apr 27 2015
        - Updated documentation for SDL::Mixer::Music and SDLx::App [Mithaldu]
        - Internal code cleanups [jtpalmer]
        - Remove redundant pump_events call in SDLx::Controller [Mithaldu]

* 2.544 May 14 2014
        - Updated Alien::SDL's version we depend on to get an OpenBSD/pthread fix [FROGGS]
        - Fix segfault in cleanup of MixChunks on windows [FROGGS]
        - Adjusting test for SDL_gfx >= 2.0.24 [FROGGS]

* 2.540 May 26 2012
        - Removed all non-pod changes introduced in 2.538 [jtpalmer]
        - Fixed bugtracker link [FROGGS]
        - Added SDL::Platform pod [pktm]

* 2.538 May 22 2012
        - Pod updates [mig0]
        - SDLx::App made the docs a lot better [Blaizer]
        - SDLx::App changed around shortcut names in the constructor [Blaizer]
        - SDLx::App added and improved parameters of the constructor, see docs [Blaizer]
        - SDLx::App updated methods resize, title, icon, error, show_cursor, grab_input [Blaizer]
        - SDLx::App fullscreen method works better [Blaizer]
        - SDLx::App new init method does our initializing right [Blaizer]
        - SDLx::App new set_video_mode method does set_video_mode for SDLx::App [Blaizer]
        - SDLx::App new screen_size method returns the user's screen size [Blaizer]
        - SDLx::App warp method renamed to warp_cursor, attribute renamed to gl_attribute [Blaizer]
        - SDLx::App fix to return the user's resolution to normal when a fullscreen app closes [FROGGS]
        - SDLx::App removed delay method and deprecated get_ticks [Blaizer]
        - SDLx::Controller removed eoq, its action is on by default and implemented by stop_handler [Blaizer]
        - SDLx::Controller made the docs a lot better, even proofread them [Blaizer]
        - SDLx::Controller pause works by stopping the app [Blaizer]
        - SDLx::Controller added stopped and paused methods to tell what the app is doing [Blaizer]
        - SDLx::Controller added max_t param, by default slows down apps going at less than 10 FPS [Blaizer]
        - SDLx::Controller added time and sleep methods to replace get_ticks and delay [Blaizer]
        - SDLx::Controller added some tests for pausing and events [Blaizer]
        - SDLx::Controller removed current_time parameter [Blaizer]
        - t/core_cd.t: gnu hurd 0.3 handles devices like cdrom strange (skipping tests) [FROGGS]
        - t/sdlx_fps.t: seems better to try to get 5 fps (slow vm's) [FROGGS]
        - SDLx::Controller::Interface: weaken tests [FROGGS]
        - SDL::Mixer::Channels: skipping callback test [FROGGS]
        - SDL::Version: we can now compare SDL::Version objects like: $version >= 1.2.10 [FROGGS]
        - SDLx::App::DESTROY: fixed function name for set_video_mode [FROGGS]
        - SDLx::App: fix for issue 144, setting original screen res when app ends [FROGGS]
        - t/sdlx_controller_interface.t: adding delay so that slow machines doesnt get a hickup [FROGGS]

* 2.536 Jan 04 2011
        - using INT2PTR to convert stored pointers to right size and hide warnings [FROGGS]
        - SDL::Mixer::Channels: using malloc instead of safemalloc [FROGGS]
        - SDL::Mixer::Channels: get_chunk returns a copy of the retrieved chunk
          that we can free safely [FROGGS]
        - SDL::Mixer::MixChunk: added condition to destructor [FROGGS]
        - SDL::Mixer::Music: added load_MUS_RW [FROGGS]
        - defines.h: added VERSION_ATLEAST macro [FROGGS]
        - src/SDLx/Surface.xs: fixed perl-5.8.9 crash while shifting from empty AV [FROGGS]
        - memory leak fixes [dod]

* 2.534 October 27 2011
        - SDL::Palette fixed colors() to return an array [Blaizer]
        - SDL::Video fixed set_colors, set_palette [FROGGS, Blaizer]
        - SDLx::Text improved error message [garu]
        - SDLx::Text new getter: font_filename() [garu]
        - SDLx::Text fixed size() accessor [garu]
        - SDLx::Text dynamic updating of text [garu]
        - SDLx::Text new options: shadow, shadow_offset and shadow_color [garu]
        - SDLx::Text new options: normal, bold, italic, underline, strikethrough [garu]
        - SDLx::Text examples (zoom, shadow, style) [garu]
        - SDLx::Text improved documentation [garu]
        - SDLx::Text word wrapping support [garu]
        - SDLx::TTF fixed loading error [FROGGS]
        - SDL::Event fixed SDL_EVENTMASK documentation [jtpalmer]
        - SDL::RWOps got SDL::RWOps->from_const_mem working, updated docs [FROGGS]
        - SDL::Video updated xs and docs for blit_surface using undefined rects [FROGGS]
        - SDLx::Surface: added methods draw_trigon, draw_ellipse, draw_arc and draw_bezier [jtpalmer]
        - SDLx::Rect: fixed methods copy, move and inflate [jtpalmer]
        - SDLx::Surface: minor documentation update [jtpalmer]
        - Using 'perl' instead of 'SDLPerl' to run silent tests on darwin [FROGGS]

* 2.533 May 31 2011
        - Added preliminary SDLx::Music
        - Minor fixes for SDLx::Text [garu]
        - Build requires: perl 5.8.1 is good enough for SDL [FROGGS]
        - SDLx::Music test: 'require threads' instead of 'use threads' and removed Data::Dumper [FROGGS]
        - SDLx::Text test: width isnt 53 on windows, made test more tolerant [FROGGS]
        - SDLx::FPS test: testing with 60fps is too much for some systems (cpantester vm's), reduced to 25 [FROGGS]
        - src/helper.h: removed newSVsv() since these SV's are not freed till global destruction [FROGGS]

* 2.532 March 27 2011
        - Tested and released experimental branch
        - using parent Perls context in SDL::Mixer::Music's callbacks instead of TLS [FROGGS]
        - Adding sleep(2) to core_palette.t [FROGGS]
        - Loading threads before Test::More in several SDL::Mixer tests [kthakore]
        - Allow non-hashref constructor args for SDLx::FPS [jtpalmer]
        - Fixed examples: replacing $app->stop with exit in pong [kthakore]
        - Fixed cookbook: using known image file as fallback in pogl_sdl_texture [kthakore]
        - Fixed examples: pong, starry, tie_matrix, sdlx_sprite_animated [jtpalmer]
        - Rewrote INSTALL and README file [Pip]
        - SDLx::Surface: added tests for draw_rect with transparency/translucency [garu]
        - SDLx::Surface: fixed option handling, center and right alignment in write_to/xy [FROGGS]
        New features:
        - SDLx::Surface    draw_polygon(), linking GFX to Surfaces when available [FROGGS]
        - SDLx::Controller exit_on_quit() and eoq() accessors [garu]

        Changes that may break old code:
        - SDLx::Controller now handles eoq option as a non handler [kthakore]

        Experimental features:
        - SDLx::Controller  "delay" option to ease CPU pressure [kthakore]

        Bugfixes:
        - SDLx::Controller proper handler initialization [garu]
        - SDLx::Controller several more tests added [garu]
        - SDLx::Controller::Interface  fixed memory leak [jtpalmer]
        - SDLx::Controller::Interface  fixed angular velocity [jtpalmer]
        - SDLx::Text using SDL::TTF::Font correctly [FROGGS]
        - SDLx::Controller keeps track of paused state [Blaizer]
        - SDLx::Rect proper object construction [garu]

* 2.531 Feb 27 2011
        - protecting dstrect from modification during SDL_BlitSurface [FROGGS]
        - installing SDLpp as a console app [kthakore]
        - improving installation under MacOSX/Darwin [kthakore/FROGGS]
        - SDLx::Text  (and, thus, SDL Perl) now ships with a default FOSS font [garu/perigrin]
        - SDLx::Text  improved text() manipulation [garu]
        - SDLx::Text  added complete documentation [garu]
        - SDLx::Text  all text is now rendered as utf8 [kthakore/garu]
        - SDLx::Text  added accessors for all SDLx::Text attributes [garu]
        - SDLx::Text  text() returns $self, surface() returns $surface [garu]
        - SDLx::Text  tests and w/h methods for SDLx::Text [kthakore/garu]
        - SDLx::App   improved internals [kthakore]
        - SDLx::App   added stash() method [FROGGS]

* 2.530 Feb 02 2011
        - Fixed SDL threaded free problems with a threadid guard [kthakore/FROGGS]
        - Clean up malloc calls
        - Updated Alien::SDL's version to 1.424 [FROGGS]

* 2.529 Jan 25 2011
        - Adding SDL::get_handle() function to get Win32 API window management support
        - Fixed pod errors and add new docs

* 2.528 Jan 18 2011
        - Invalid Alien::SDL Dependency Fix

* 2.527 Jan 18 2011
        - Critical memory leak fixed in SDLx::App
        - SMPEG compile test
        - Experimental SMPEG support, new tests:
        - Fixed Mac regression due to ppport

* 2.526 Dec 31 2010
        - Inline with 'SDL' support
        - Decreasing some SDL_Validate scalar leaks
        - Fixed bug with SDL::Mixer::Music::hook_music, arg was freed too early [FROGGS]
        - Added Module::Build::SDL, a helper for creating SDL based modules [kthakore]
        - AudioSpec callbacks are using *_TLS_CONTEXT macros [FROGGS]
        - SDL::Timer is using *_TLS_CONTEXT macros [FROGGS]
        - Fixed typo in MANIFEST.SKIP file, scripts-folder is now in dist [FROGGS]
        - Using UV instead of IV for SDL::Event attributes [kthakore]
        - (experimental) Changing *_TLS_CONTEXT to parent perls context in SDL::Mixer::Channels [FROGGS]
        - Fixed bug with SDL::Mixer::Music::hook_music, arg was freed too early [FROGGS]
        - Updating Alien::SDL's version to 1.421_3 [FROGGS]
        - Added 'use SDL::Surface' for SDL::Image, 'use SDL::PixelFormat' for SDL::Surface [kthakore]
        - Added refaddr optimizations [kthakore]

* 2.524
        - Fix for t/mixer_channels.t.bak
        - Allow SDLx::App to be restarted after it has been stoped
        - FROGGS cleaned up some memory stuff for AudioSpec

* 2.523
        - Cleaned up how O_OBJECTs are free'd [FROGGS]
        - SDLx::Surface now DESTROYs the SDL::Surface saving memory [kthakore]
        - Fixed Icon value for the SDLx::App constructor useage [kthakore]
        - Added short circuit for varying SDL_Mixer versions for SDLx::Sound [kthakore]

* 2.522
        - Fixed mistakes in inc/My/Builder/Darwin.pm [FROGGS]

* 2.521
        - Fixed manifest (missing src/SDLx/Validate.h) [FROGGS]
        - Updated Alien::SDL's version to 1.421 [FROGGS]

* 2.520
        - Moved SDLx::Validate to XS
        - Moved SDLx::Surface (blit, draw_rect) to XS
        - Created SDLx::Text [garu]
        - Added exit_on_quit feature for SDLx::App
        - Added antialias flag for SDLx::Surface::draw_circle
        - Fixed test plan errors on sdlx_sprite* and sdlx_sfont
        - Darwin: setting arch to systems arch for gcc [FROGGS]

* 2.519
        - Removed build option -fPIC for windows [FROGGS]
        - Throw a warning for missing thread support instead of compile these funtions [FROGGS]
        - SDLx::Surface has alias for w,h [kthakore]
        - SDLx::Surface can use array color format for pixels
        - SDLx::Text added [garu]
        - SDLx::App->new() has exit on quit option

* 2.518
        - Major refactor of SDLx::Controller [Blaizer]
        - Refactor SDLx::Surface code [Blaizer]

* 2.517
        - Gave SDL::Mixer::Init same signature for varying versions of SDL_Mixer [kthakore]
        - Fix for 2 tests: interface, layermanager

* 2.516
        - Fix for test plan in t/sdlx_sound [FROGGS]

* 2.515
        - Added preliminary SDLx::Sound [rflipo]
        - Added preliminary SDLx::TTF [kthakore]

* 2.514
        - Made SDLx::Controller::Interface [kthakore]
        - Fixed unsigned int bug for get_pixels from surface [kthakore]
        - Several document fixes
        - Minor additions to SDLx::Sprite::Animated [jtpalmer]
        - Using only bmp for that sprite test [jtpalmer]
        - Added a fix for writing key_sym for a SDL::Event [kthakore]

* 2.512
        - More tests and implemented more of SDLx::Sprite::Animated [jtpalmer]
        - Changed from SDL::Rect -> SDLx::Rect in SDLx::Sprite [hmehta]
        - Added drawing for circles in SDLx::Surface [kthakore]
        - Fixed test issues [FROGGS]
        - Added Layer and Layer Managers [FROGGS]
        - Added SDLx::Sound [rflipo]

* 2.511 06 August 2010
        - Added fixes for image and gfx uses in Surface [kthakore, garu]
        - Added raw, binary mode image detection to SDLx::Surafce [garu]
        - Minor doc fixes
        - Major segfaults in SDL::GFX::Primitives fixed [kthakore]
        - Issues with double free fixed for -DDEBUGGING tests [kthakore]
        - More delay add to test for syncing issues in VM test [FROGGS]
        - Used SDLx::Validate more [kthakore]
        - Applied patch for fink compatibiliet FULL_PERL [dmacks, kthakore]
        - 2 Character fix for set_gamma_ramp in  SDL::Video [kthakore]
        - Added register for windows [kthakore]

* 2.510 02 August 2010
        - Using bmp file if libpng isnt available in t/sdlx_sfont.t [#177] [FROGGS]
        - Moved SDLx::Controller::Timer to XS [#180]
        - Added SDLx::Layermanager (wip) [FROGGS]
        - Added and cleaned up SDLx::Validate [Blaizer, kthakore]
        - More tests and clean up in SDLx::Sprite::Animated [jtpalmer]
        - Fixed free errors for SUSE [kthakore]
        - Moved Surfaces classes to inside-out OOP [ruoso, jtpalmer]

* 2.503
        - Removed examples/adventure/
        - Removed dashes from SDLx::App constructor [#176] [Blaizer]
        - Added tests for SDLx::Controller [Blaizer]
        - Added removing handlers with coderef in SDLx::Controller [Blaizer]
        - Finished a working version of SDLx::Sprite::Animated [jtpalmer]
        - Added draw functions to SDLx::Surface
        - Cleaned up Sprite inheritance from Surface
        - Fixed bug in SDL::Event::key_mod, it returned pointer instead of int [FROGGS]
        - SDLx::App now depends on SDLx::Surface

* 2.502
        - Displaying Alien::SDL's build option for every build step [FROGGS]
        - Displaying error message if required shared lib is missing [FROGGS]
        - Added test and docs for SDLx::Surface
        - Added version guard for older version of pixelinfo struct
        - Added example of new SDLx::Surface
        - Fixes for exec.h stack dumper during testing
        - Added version guard for SDLx::GFX [FROGGS]
        - Modified SDLx::Sprite to inherit from SDLx::Surface

* 2.501  July 10 2010
        - Fixes tests for SDLx::TTF and SDL::Surface [FROGGS, kthakore]
        - Makes ptr to pixels READONLY for some safety
        - *nix users gets a stack dumper of segfault

* 2.500  July 9 2010
        - Fixed Memory Leaks due to perl desturct level
        - Fixed Memory leak in SDL::Mixer::Music
        - Fixed the test on SDLx::Sprite
        - Modified SDLx::FPS [Blaizer]
        - Cleaned up docs [Blaizer]
        - Cleaned up docs for SDLx::Rect and added Category
        - Added SDLx::SFont and docs and test
        - Fixed SDL::Surface->get_pixels_ptr
        - Removed SDL::OpenGL, SDL::Game::Event
        - Moved SDL::App -> SDLx::App, SDL::Game -> SDLx::Rect
        - Fixed SDL::Video->new_from + tests + PDL support
        - Added SDLx::Surface and SDLx::Surface::Matrix
        - Added ppport.h support for older perls
        - MacOSx compile and useage works
        - Using dummy audiodriver for tests so no sound is played [#163] [FROGGS]
        - POGL example added
        - Fixed fail due to to strict test for texture_polygon in SDL::GFX
        - Created SDLx::FPS [Blaizer]

* 2.408 Sun June 13 2010
        - Added File::ShareDir as a dep
        - TODO'd temporary test cases

* 2.407 Wed June 02 2010
        - Minor fix on BOM marks in test files

* 2.406 Tues May 18 2010
        - Fixed SDL::Video::list_modes(), it returns now arrayref to SDL::Rects [FROGGS]
        - Updated docs [Blaizer]
        - Removed deprecated modules [kthakore, FROGGS]

* 2.405 Wed May 05 2010
        - Conditional compile on glu.h header [kthakore] {ticket 131}
        - Documentation cleanup [bricas, kthakore]
        - Remove usesages of 'new SDL...' [bricas]
        - Fixed Surface->set_pixels/get_pixel, proper offset depending on Bpp [FROGGS]
        - Fixed typo for :keysym export tag in Events [FROGGS]
        - Fixed test fails due to lack of ithread support [FROGGS]

* 2.404  Sun Apr 25 2010
        - New Downstream Alien fixes for building from scratch [FROGGS]
        - Removed depreciated SDL::Timer [kthakore]

* 2.403  Tue Apr 13 2010
        - Fix: build requires now File::Find v0 (instead wrong 2.07) [FROGGS]

* 2.402  Fri Apr 09 2010
        - Clean up docs [kthakore]
        - Critical bug with 'static memory and array free in gfx' [kthakore]
        - Bug fixes for mandriva [kthakore]

* 2.400  Tue Apr 06 2010
        - MacOSX testing
        - Pango working with frozen-bubble
        - Clean up with back compatible stuff
        - Dropped SVG and Sound
        - all constants are in their modules, exported by default and documented [FROGGS]
        - Moved SDL::Net away [FROGGS]
        - Pango XS/tests/docs [FROGGS]
        - tests are silent unless verbose mode [FROGGS]
        - tests don't display video-gfx unless SDL_RELEASE_TESTING [FROGGS]
        - SDL_VIDEODRIVER is not forced for windows if 'dummy'-driver is set [FROGGS]
        - examples made to work with new API [mantovani]
        - manifest fix for MacOSX [kthakore]
        - some measly docs [kthakore]
        - TTF XS/tests/docs [#85] [FROGGS]
        - Minor fixes and cleanup [ kthakore, kmx ]
        - added more version checks to SDL::GFX XS [#79] [FROGGS]
        - SDL::Version memory management [kthakore]
        - Build fixes for mac [kmx]
        - Directory clean up [FROGGS]
        - Surface double free fix for picky kernel [kthakore]
        - SDL::Events documentation [kthakore]
        - Mixer XS/tests/docs [kthakore, FROGGS]
        - Fixes for Build system on cygwin [kmx]
        - Moved mixer code into correct locations [kthakore]
        - Cleaned up last of SDL xs [kthakore]
        - Update Build system [kmx]
        - Fixed up my_perl assumption for non threaded perl [kthakore, ruoso]
        - 64 bit and MacOSX fixes in builds[ kmx, kthakore ]
        - Prepared XS to build when no threading available [kthakore]
        - Minor bug fixes in test for core.t with PERL_SAFE_PUTENV [kthakore]
        - Fixed serious XS mem leaks in AV* [FROGGS]
        - Removed usless verify method in SDL.pm [J_King]
        - GFX rotozoom started [FROGGS]
        - More docs for GFX [FROGGS]
        - ithreads support for audio and timer callback [kthakore, ruoso]
        - SDL::App resize fixed [kthakore, TonyC] {http://rt.cpan.org/Public/Bug/Display.html?id=16984}
        - Migrated O_OBJECT to thread safe bag [ruoso, kthakore]
        - Update time docs [kthakore]
        - SDL::Image implemented and tested [#72] [kthakore]
        - FreeBSD SDL test clean up [#75] [kthakore]
        - Handle GFX seperate headers in Build [FROGGS,kthakore]
        - Started GFX, GFX BlitFunc, GFX Primatives, FPSManager  [FROGGS]
        - Added more init tests [kthakore]
        - Added condition compile for mixer and ttf [kthakore]
        - Replaced test file for MixMusic (proper file format) [FROGGS]
        - Added license information file (README) for test/data [FROGGS]
        - Moved mixer stuff from SDL:: to SDL::Mixer:: [FROGGS]
        - General fixup for CPAN
        - General Memory leaking stopping [kthakore, acme]
        - More complete unit testing [kthakore, acme, FROGGS]
        - Fix bug with TTFSizeText, it actually returns 0 on success [acme]
        - Add display_format_alpha [acme]
        - Add an example that plays a .WAV sound sample [acme]
        - Add left/right panning to the mixer [acme]
        - Throw warning message if header files are missing while Build [FROGGS]
        - SDL::Mixer::MixChunk and MixMusic structures [acme]
        - SDL::Events functions [FROGGS]
        - SDL::Video functions [acme, kthakore]
        - SDL::Video substructures [acme, kthakore]
        - SDL::Events substructures [FROGGS, kthakore]
        - SDL::Event Filtering and user Events 2 way communication [kthakore, FROGGS]
        - SDL  Functions and Clean Up [acme, kthakore, FROGGS]
        - SDL::Mouse and SDL::Cursor [ kthakore, FROGGS ]
        - SDL documentation [magnet, kthakore, FROGGS]
        - Auto-Generated Constants.pm [FROGGS]
        - Added direct pixel writing examples [kthakore]
        - Added walking and map moving example [kthakore, FROGGS]

* v2.2.3.1 Sept 29 2009 Kartik Thakore <thakore.kartik%gmail.com@localhost>
        - Critical Build.PL fix for META.yml
        - Doc fix

* v2.2.3 Sept 29 2009 Kartik Thakore <thakore.kartik%gmail.com@localhost>
        - More Docs
        - Experimental Mac version

diffstat:

 devel/p5-SDL/DESCR                               |   8 ++++-
 devel/p5-SDL/Makefile                            |  42 ++++++++++++++---------
 devel/p5-SDL/distinfo                            |  16 ++------
 devel/p5-SDL/patches/patch-ab                    |  27 ---------------
 devel/p5-SDL/patches/patch-ac                    |  14 --------
 devel/p5-SDL/patches/patch-ad                    |  42 ------------------------
 devel/p5-SDL/patches/patch-ae                    |  16 ---------
 devel/p5-SDL/patches/patch-af                    |  18 ----------
 devel/p5-SDL/patches/patch-make_lib_SDL_Build.pm |  29 ----------------
 9 files changed, 38 insertions(+), 174 deletions(-)

diffs (270 lines):

diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/DESCR
--- a/devel/p5-SDL/DESCR        Tue Sep 26 11:00:08 2017 +0000
+++ b/devel/p5-SDL/DESCR        Tue Sep 26 11:17:02 2017 +0000
@@ -1,1 +1,7 @@
-SDL module for Perl.
+SDL_perl is a package of Perl modules that provide both functional and
+object oriented interfaces to the Simple DirectMedia Layer for Perl 5.
+
+This package takes some liberties with the SDL API, and attempts to adhere
+to the spirit of both the SDL and Perl. This document describes the
+low-level functional SDL Perl API. For the object oriented programming
+interface please see the documentation provided on a per-class basis.
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/Makefile
--- a/devel/p5-SDL/Makefile     Tue Sep 26 11:00:08 2017 +0000
+++ b/devel/p5-SDL/Makefile     Tue Sep 26 11:17:02 2017 +0000
@@ -1,37 +1,47 @@
-# $NetBSD: Makefile,v 1.58 2017/06/05 14:23:33 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.59 2017/09/26 11:17:02 wiz Exp $
 
-DISTNAME=      SDL_Perl-2.1.2
-PKGNAME=       p5-SDL-2.1.2
-PKGREVISION=   19
+DISTNAME=      SDL-2.546
+PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
-MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DG/DGOEHRIG/}
-
-PERL5_OPTIONS+=        threads
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=SDL/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://sdlperl.org/
-COMMENT=       Perl module for SDL
+HOMEPAGE=      http://search.cpan.org/~froggs/SDL/lib/pods/SDL.pod
+COMMENT=       SDL - Simple DirectMedia Layer for Perl
+LICENSE=       ${PERL5_LICENSE}
 
+DEPENDS+=      p5-Alien-SDL-[0-9]*:../../devel/p5-Alien-SDL
+BUILD_DEPENDS+=        p5-Test-Most-[0-9]*:../../devel/p5-Test-Most
+
+PERL5_OPTIONS+=        threads
 PERL5_MODULE_TYPE=     Module::Build
-
 PERL5_PACKLIST=                auto/SDL/.packlist
 
-pre-configure:
-       ${CAT} ${WRKSRC}/make/lib/SDL/Build/Netbsd.pm | \
-               ${SED} 's|Netbsd|Dragonfly|g' > \
-               ${WRKSRC}/make/lib/SDL/Build/Dragonfly.pm
+REPLACE_PERL+= lib/SDL.pm
+REPLACE_PERL+= lib/SDL/Constants.pm
+REPLACE_PERL+= lib/SDL/SMPEG/Info.pm
+REPLACE_PERL+= lib/SDL/TTFont.pm
+REPLACE_PERL+= lib/SDL/Tutorial.pm
+REPLACE_PERL+= lib/SDL/Tutorial/Animation.pm
+REPLACE_PERL+= lib/SDL_perl.pm
+REPLACE_PERL+= lib/SDLx/App.pm
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
+
+.include "../../devel/libexecinfo/buildlink3.mk"
+
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/SDL_gfx/buildlink3.mk"
 .include "../../devel/SDL_ttf/buildlink3.mk"
+.include "../../devel/SDL_Pango/buildlink3.mk"
+
 .include "../../graphics/SDL_image/buildlink3.mk"
-.include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/glu/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
+
 .include "../../lang/perl5/module.mk"
 .include "../../multimedia/smpeg/buildlink3.mk"
 .include "../../net/SDL_net/buildlink3.mk"
 
+.include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/distinfo
--- a/devel/p5-SDL/distinfo     Tue Sep 26 11:00:08 2017 +0000
+++ b/devel/p5-SDL/distinfo     Tue Sep 26 11:17:02 2017 +0000
@@ -1,12 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 03:28:43 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/09/26 11:17:02 wiz Exp $
 
-SHA1 (SDL_Perl-2.1.2.tar.gz) = 1f2ad20ce3657073a902ddfacd1a388ff698d3db
-RMD160 (SDL_Perl-2.1.2.tar.gz) = 02ae15981e90869eba60aea68e286ba49320af55
-SHA512 (SDL_Perl-2.1.2.tar.gz) = c4aaf08d0f65b470c198d517973be87cc8c1d6ef517079f5a1e51ed7bb2db4982aa45f5197fd0749b98d01c2334594dd9ccd34cdbb95cc759d14ae390aabc0ef
-Size (SDL_Perl-2.1.2.tar.gz) = 783084 bytes
-SHA1 (patch-ab) = bc66b0b79ba24f681722a7833b10a88a53b8cfc3
-SHA1 (patch-ac) = d1a20f4bcb6f03d524ad4f7887cfc1edf4046635
-SHA1 (patch-ad) = a2122180e1da72c755466aa51f75bbba8607fa9e
-SHA1 (patch-ae) = 4b8c70e7ac886a7b6e6dac2bb4a1b3580d0749e3
-SHA1 (patch-af) = 755e7d4954b6ad4ace6b63c44bb3764ce116a4b6
-SHA1 (patch-make_lib_SDL_Build.pm) = 2a3542b20df299dee304a31451ae7be488783a05
+SHA1 (SDL-2.546.tar.gz) = 567d4a85b4686e188425bc7b5a6f34a6f564b799
+RMD160 (SDL-2.546.tar.gz) = 4936af7a072f848d24c5e9299f67624602080d1e
+SHA512 (SDL-2.546.tar.gz) = 7f7015c90a277b91951a2357bcdf7c3f2f930270d211657c903240ed4529f408c200337ca79e4971eb3912da28ebf1e950053ce4d763c2599c701444c618c71a
+Size (SDL-2.546.tar.gz) = 2487053 bytes
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/patches/patch-ab
--- a/devel/p5-SDL/patches/patch-ab     Tue Sep 26 11:00:08 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2008/11/17 19:54:26 he Exp $
-
-Tweak includes so that they can be found.
-Latter include is due to CPAN bug 19155.
-
---- src/OpenGL.xs.orig 2004-09-24 00:36:56.000000000 +0000
-+++ src/OpenGL.xs
-@@ -12,8 +12,8 @@
- 
- #include <SDL.h>
- 
--#include <gl.h>
--#include <glu.h>
-+#include <GL/gl.h>
-+#include <GL/glu.h>
- 
- #ifdef USE_THREADS
- #define HAVE_TLS_CONTEXT
-@@ -23,7 +23,7 @@
- #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFF
- #endif /* GL_ALL_CLIENT_BITS */  
- 
--#include "../defines.h"
-+#include "../src/defines.h"
- 
- SV* sdl_perl_nurbs_error_hook;
- void
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/patches/patch-ac
--- a/devel/p5-SDL/patches/patch-ac     Tue Sep 26 11:00:08 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/11/17 19:54:26 he Exp $
-
-Define a missing type used in OpenGL.xs.
-
---- typemap.orig       2004-09-24 00:36:56.000000000 +0000
-+++ typemap
-@@ -54,6 +54,7 @@ GLboolean            T_U_CHAR
- GLUnurbsObj *         T_PTR
- GLUtesselator *               T_PTR
- GLuint                        T_UV
-+GLint                 T_IV
- GLint*                        T_PTR
- float *                       T_PTR
- float                 T_NV
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/patches/patch-ad
--- a/devel/p5-SDL/patches/patch-ad     Tue Sep 26 11:00:08 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2008/11/17 19:54:26 he Exp $
-
-Ensure that the xs modules are installed in the right path.
-This fix is from CPAN bug #19155.
-The tweak to the module_name is from the diff in CPAN bug #32744.
-
---- Build.PL.orig      2004-09-24 00:36:56.000000000 +0000
-+++ Build.PL
-@@ -34,7 +34,7 @@ my %subsystems =
-       SDL => {
-               file      => {
-                       from  => 'src/SDL.xs',
--                      to    => 'src/SDL_perl.xs',
-+                      to    => './SDL_perl.xs',
-               },
-               libraries => [qw( SDL SDL_image SDL_mixer SDL_net SDL_ttf SDL_gfx
-                                 png jpeg smpeg )],
-@@ -42,14 +42,14 @@ my %subsystems =
-       OpenGL => {
-               file      => {
-                       from => 'src/OpenGL.xs',
--                      to   => 'src/SDL/OpenGL.xs', 
-+                      to   => 'SDL/OpenGL.xs', 
-               },
-               libraries => [qw( SDL GL GLU )],
-       },
-       SFont => {
-               file    => {
-                       from => 'src/SFont.xs',
--                      to   => 'src/SDL/SFont.xs',
-+                      to   => 'SDL/SFont.xs',
-               },
-               libraries => [qw( SDL SDL_image )],
-       },      
-@@ -122,6 +122,7 @@ my %xs = map { $subsystems{$_}{file}{fro
-            keys %subsystems;
- 
- my $build   = SDL::Build->new(
-+      module_name          => 'SDL',
-       dist_name            => 'SDL_Perl', 
-       license              => 'lgpl',
-       dist_version_from    => 'lib/SDL.pm',
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/patches/patch-ae
--- a/devel/p5-SDL/patches/patch-ae     Tue Sep 26 11:00:08 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2008/11/17 19:54:26 he Exp $
-
-This is from CPAN bug #19155, adapting to the new location
-of the C source file.
-
---- src/SDL.xs.orig    2004-09-24 00:36:56.000000000 +0000
-+++ src/SDL.xs
-@@ -69,7 +69,7 @@ static int sdl_perl_use_smpeg_audio = 0;
- #define HAVE_TLS_CONTEXT
- #endif
- 
--#include "defines.h"
-+#include "src/defines.h"
- 
- Uint32 
- sdl_perl_timer_callback ( Uint32 interval, void* param )
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/patches/patch-af
--- a/devel/p5-SDL/patches/patch-af     Tue Sep 26 11:00:08 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-af,v 1.1 2008/11/17 19:54:26 he Exp $
-
-This is from CPAN bug #19155, adapting to the new placement
-of the C source files.
-
---- src/SFont.xs.orig  2004-09-24 00:36:56.000000000 +0000
-+++ src/SFont.xs
-@@ -23,8 +23,8 @@
- #define HAVE_TLS_CONTEXT
- #endif
- 
--#include "../defines.h"
--#include "../SFont.h"
-+#include "../src/defines.h"
-+#include "../src/SFont.h"
- 
- #ifdef HAVE_SDL_IMAGE
- #include <SDL_image.h>
diff -r 25a472e8bf06 -r 4fd9ec60cf26 devel/p5-SDL/patches/patch-make_lib_SDL_Build.pm
--- a/devel/p5-SDL/patches/patch-make_lib_SDL_Build.pm  Tue Sep 26 11:00:08 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-make_lib_SDL_Build.pm,v 1.1 2013/04/01 12:09:32 joerg Exp $
-
---- make/lib/SDL/Build.pm.orig 2013-03-31 15:53:23.000000000 +0000
-+++ make/lib/SDL/Build.pm
-@@ -137,20 +137,22 @@ sub set_flags
-       {
-               my $sub_file     = $subsystems->{$subsystem}{file}{to};
-               my $sub_includes = join(' ', @{ $includes->{$subsystem} } );
-+              my @sdl_compile_flags = split(" ", $sdl_compile);
-+              my @sdl_link_flags = split(" ", $sdl_link);
- 
-               $file_flags{ $sub_file } = 
-               {
-                       extra_compiler_flags =>
-                       [
-                               @{ $includes->{$subsystem} },
--                              $sdl_compile,
-+                              @sdl_compile_flags,
-                               @{ $defines->{$subsystem} },
-                               ( defined $Config{usethreads} ? ('-DUSE_THREADS', '-fPIC') : '-fPIC' ),
-                       ],
-                       extra_linker_flags => 
-                       [
-                               @{ $links->{$subsystem}{paths} },
--                              $sdl_link,
-+                              @sdl_link_flags,
-                               @{ $links->{$subsystem}{libs} },
-                       ],
-               },



Home | Main Index | Thread Index | Old Index