pkgsrc/x11/p5-Tk/patches/patch-ac

30 lines
824 B
Text
Raw Normal View History

$NetBSD: patch-ac,v 1.4 2013/05/31 20:13:24 adam Exp $
--- JPEG/Makefile.PL.orig 2012-01-16 22:25:28.000000000 +0000
+++ JPEG/Makefile.PL
@@ -4,24 +4,14 @@ use Tk::Config ();
Updated x11/p5-Tk to 804.030 Tk-804.030 release (2011-10-20) ------------------ This is basically the same like Tk-804.029_502. Tk-804.029_502 release (2011-10-17) ---------------------- Fixes RT #71718: windres call needs the --use-temp-file on some Windows systems RT #70429: show correct file name if image loading failed. Also systematically searched and fixed other bad uses of Tcl_AppendResult. RT #70423: provide inuse method for Tk::Image Fixed a possible segfault when using canvas' select clear method. Tk-804.029_501 release (2011-10-14) ---------------------- Fixes Use standard libpng configure for all amd64 and x86_64 variants. Support gridRemove method. https://rt.cpan.org/Ticket/Display.html?id=65900 Tk-804.029_500 release (2011-06-13) ---------------------- Fixes Fixed compilation with newer X11 version (conflicting types for 'XKeycodeToKeysym') http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613188 Use standard libpng configure for some 64 bit variants of OpenBSD, amd64-freebsd, x86_64-linux, MacOSX 10.6.4 and newer. Fixed Strawberry 64bit builds. Changed handling of "underscore" character. https://rt.cpan.org/Ticket/Display.html?id=66205 Tk::ProgressBar::configure calls now go through ConfigChanged https://rt.cpan.org/Ticket/Display.html?id=63775 Fixed Tk::FBox::ResolveFile with defaultextension when directory contains dots https://rt.cpan.org/Ticket/Display.html?id=55146 New features BalloonInfo for HList Implementation by Christoph Lambrecht, documentation by Slaven Rezic https://rt.cpan.org/Ticket/Display.html?id=55887 Perl/Tk is now available at github. Improved "all widgets at a glance" demo. Tests Another attempt on skipping tests if no DISPLAY is available. Converted fork.t and progbar.t to Test::More Documentation Fixed SYNOPSIS section in Tk::Text Pod
2012-01-22 20:00:34 +01:00
use File::Copy;
my $l = $Config::Config{'lib_ext'};
-use Tk::MMtry;
Updated x11/p5-Tk to 804.030 Tk-804.030 release (2011-10-20) ------------------ This is basically the same like Tk-804.029_502. Tk-804.029_502 release (2011-10-17) ---------------------- Fixes RT #71718: windres call needs the --use-temp-file on some Windows systems RT #70429: show correct file name if image loading failed. Also systematically searched and fixed other bad uses of Tcl_AppendResult. RT #70423: provide inuse method for Tk::Image Fixed a possible segfault when using canvas' select clear method. Tk-804.029_501 release (2011-10-14) ---------------------- Fixes Use standard libpng configure for all amd64 and x86_64 variants. Support gridRemove method. https://rt.cpan.org/Ticket/Display.html?id=65900 Tk-804.029_500 release (2011-06-13) ---------------------- Fixes Fixed compilation with newer X11 version (conflicting types for 'XKeycodeToKeysym') http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613188 Use standard libpng configure for some 64 bit variants of OpenBSD, amd64-freebsd, x86_64-linux, MacOSX 10.6.4 and newer. Fixed Strawberry 64bit builds. Changed handling of "underscore" character. https://rt.cpan.org/Ticket/Display.html?id=66205 Tk::ProgressBar::configure calls now go through ConfigChanged https://rt.cpan.org/Ticket/Display.html?id=63775 Fixed Tk::FBox::ResolveFile with defaultextension when directory contains dots https://rt.cpan.org/Ticket/Display.html?id=55146 New features BalloonInfo for HList Implementation by Christoph Lambrecht, documentation by Slaven Rezic https://rt.cpan.org/Ticket/Display.html?id=55887 Perl/Tk is now available at github. Improved "all widgets at a glance" demo. Tests Another attempt on skipping tests if no DISPLAY is available. Converted fork.t and progbar.t to Test::More Documentation Fixed SYNOPSIS section in Tk::Text Pod
2012-01-22 20:00:34 +01:00
-if ($Tk::MMtry::VERSION ge '4.007' && try_run("config/has_jpeg.c",['-I/usr/local/include'],['-ljpeg']))
{
push(@args, LIBS => ['-ljpeg'],
- INC => '-I/usr/local/include',
DEFINE => '-DHAVE_JPEGLIB_H',
);
warn "Using system's -ljpeg\n";
unlink("jpeg/Makefile.PL");
Updated x11/p5-Tk to 804.030 Tk-804.030 release (2011-10-20) ------------------ This is basically the same like Tk-804.029_502. Tk-804.029_502 release (2011-10-17) ---------------------- Fixes RT #71718: windres call needs the --use-temp-file on some Windows systems RT #70429: show correct file name if image loading failed. Also systematically searched and fixed other bad uses of Tcl_AppendResult. RT #70423: provide inuse method for Tk::Image Fixed a possible segfault when using canvas' select clear method. Tk-804.029_501 release (2011-10-14) ---------------------- Fixes Use standard libpng configure for all amd64 and x86_64 variants. Support gridRemove method. https://rt.cpan.org/Ticket/Display.html?id=65900 Tk-804.029_500 release (2011-06-13) ---------------------- Fixes Fixed compilation with newer X11 version (conflicting types for 'XKeycodeToKeysym') http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613188 Use standard libpng configure for some 64 bit variants of OpenBSD, amd64-freebsd, x86_64-linux, MacOSX 10.6.4 and newer. Fixed Strawberry 64bit builds. Changed handling of "underscore" character. https://rt.cpan.org/Ticket/Display.html?id=66205 Tk::ProgressBar::configure calls now go through ConfigChanged https://rt.cpan.org/Ticket/Display.html?id=63775 Fixed Tk::FBox::ResolveFile with defaultextension when directory contains dots https://rt.cpan.org/Ticket/Display.html?id=55146 New features BalloonInfo for HList Implementation by Christoph Lambrecht, documentation by Slaven Rezic https://rt.cpan.org/Ticket/Display.html?id=55887 Perl/Tk is now available at github. Improved "all widgets at a glance" demo. Tests Another attempt on skipping tests if no DISPLAY is available. Converted fork.t and progbar.t to Test::More Documentation Fixed SYNOPSIS section in Tk::Text Pod
2012-01-22 20:00:34 +01:00
}
-else
- {
- push(@args, MYEXTLIB => "jpeg/libjpeg$l",
- 'INC' => '-Ijpeg');
- copy("Makefile.jpeg.maybe","jpeg/Makefile.PL");
- warn "Building jpeg/libjpeg$l\n";
- }
Tk::MMutil::TkExtMakefile(@args,
'NAME' => 'Tk::JPEG',