head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.92 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.90 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.88 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.86 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.84 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.82 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.80 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.78 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.76 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.74 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.72 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.70 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.68 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.66 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.64 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.62 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.60 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.58 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.56 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.54 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.52 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.50 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.48 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.44 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.24 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.46 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.42 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.40 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.38 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.36 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.34 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.32 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.30 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.28 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.26 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.22 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.20 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.18 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.16 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.14 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.12 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.10 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.8 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.6 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.4 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.2 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.5.0.12 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.10 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.8 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.6 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.4 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.10 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.6 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.4 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.2 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.3.0.26 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.24 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.22 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.20 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.18 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.16 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.14 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.12 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.10 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.8 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.6 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.28 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.26 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.24 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.22 pkgsrc-2008Q1:1.2.0.20 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.18 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.16 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.14 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.12 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.8 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.6 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.4 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.2; locks; strict; comment @# @; 1.6 date 2014.11.13.08.30.16; author markd; state Exp; branches; next 1.5; commitid P8gAvBqEZUK930Yx; 1.5 date 2013.05.31.20.13.24; author adam; state Exp; branches; next 1.4; commitid Le4Offv6UgEM2PRw; 1.4 date 2012.01.22.19.00.34; author abs; state Exp; branches; next 1.3; 1.3 date 2008.10.22.10.35.30; author markd; state Exp; branches; next 1.2; 1.2 date 2005.12.12.18.04.47; author joerg; state Exp; branches; next 1.1; 1.1 date 2004.12.25.14.00.10; author wiz; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2004.12.25.14.00.10; author snj; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.02.19.21.47.14; author snj; state Exp; branches; next ; desc @@ 1.6 log @Update to Tk-804.032 Also add patch from development version to fix: Workaround behaviour change in ExtUtils::MakeMaker 6.99_10 (PERL value is now quoted), which caused build failures (RT #100044). Tk-804.032 release (2014-01-26) ------------------ This is basically the same like Tk-804.031_503. Tk-804.031_503 release (2013-12-07) ---------------------- Fixes Regain compatibility for perl < 5.8.9 (SvIV_nomg is not available with earlier perls). Tests wm-time.t more robust against GNOME Shell slowness. Tk-804.031_502 release (2013-12-01) ---------------------- Fixes Enable libpng configure for all Solaris architectures. Documentation Update INSTALL, README-ActiveState.txt, and README-Strawberry.txt documents. Tk-804.031_501 release (2013-11-18) ---------------------- Fixes Fix gamma setting for PNG images (was only broken in 804.031_500). Fix clang compilation error (was only broken in 804.031_500). Tests Some tests are now more robust. Tk-804.031_500 release (2013-11-17) ---------------------- Fixes 88210: fix compilation for perl 5.19.0+ ("undef bool"). 90077: floating number issue with -textvariable variables. 89621: avoid segfaults during global destruction (by Gisle Aas). 87016: compatibility for libpng 1.6.x. 86988: use cflags/libs information from pkg-config zlib. 89261: split Tk/ColorEditor.pm into three .pm files. 71718: fix compilation issue with 64bit Strawberry Perl (Tk_Cursor). Fail gracefully if no font could be allocated. ptksh: storing the history works now also under Windows. Better handling if libpng's configure fails. Documentation Changes to README.linux (dependency requirements, fontconfig) and README.cygwin. Document special Tk::Table behavior regarding -takefocus => 0. Tests New test files (eventGenerate.t, sv.t) and new test cases (eventGenerate in optmenu.t). More test tweaks (e.g. skip some tests if the required fixed font is unavailable, see with_fixed_font in TkTest.pm, workaround some fvwm2 problems in wm-tcl.t, protect from haning wm-time.t). checked_test_harness() skips testing if no font could be allocated. No test request user positioning windows anymore (for old window managers like twm). Configuration file for travis-ci. @ text @$NetBSD: patch-ad,v 1.5 2013/05/31 20:13:24 adam Exp $ --- PNG/Makefile.PL.orig 2013-11-18 09:04:04.000000000 +0000 +++ PNG/Makefile.PL @@@@ -2,7 +2,6 @@@@ use strict; use Tk::MMutil; use Tk::Config (); -use Tk::MMtry; use File::Copy; my $l = $Config::Config{'lib_ext'}; @@@@ -53,8 +52,6 @@@@ my $all_libs; $all_libs = "$libpng_libs $zlib_libs"; } -if ($Tk::MMtry::VERSION ge '4.007' && - try_run("config/has_png.c",[$all_cflags],[$all_libs])) { warn "Using system's -lpng\n"; Tk::MMutil::TkExtMakefile( @@@@ -67,49 +64,6 @@@@ if ($Tk::MMtry::VERSION ge '4.007' && LIBS => [$all_libs], ); } -else - { - my $ok = 1; - unless (copy("Makefile.libpng.maybe","libpng/Makefile.PL")) - { - warn "Cannot copy Makefile.libpng.maybe => libpng/Makefile.PL ($!)"; - $ok = 0; - } - unless (copy("Makefile.zlib.maybe","zlib/Makefile.PL")) - { - warn "Cannot copy Makefile.zlib.maybe => zlib/Makefile.PL ($!)"; - $ok = 0; - } - if ($ok) - { - warn "Building libpng$l\n"; - my $extlib = "libpng/libpng$l"; - if ($cc eq 'cl') - { - $extlib .= " zlib/zlib$l"; - $zlib = "zlib$l"; - } - else - { - $extlib .= " zlib/libz$l"; - } - Tk::MMutil::TkExtMakefile( - NAME => 'Tk::PNG', - VERSION_FROM => 'PNG.pm', - XS_VERSION => $Tk::Config::VERSION, - dist => { COMPRESS => 'gzip -f9', SUFFIX => '.gz' }, - OBJECT => '$(O_FILES)', - INC => '-Ilibpng -Izlib', - MYEXTLIB => $extlib, - LIBS => ['-lm'], - ); - } - else - { - warn "Cannot build libpng$l\n"; - ExtUtils::MakeMaker::WriteEmptyMakefile(); - } - } sub MY::test_via_harness { @ 1.5 log @Changes Tk-804.031: This is basically the same like Tk-804.030_502. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- PNG/Makefile.PL.orig 2013-05-21 13:25:13.000000000 +0000 d13 2 a14 2 @@@@ -27,8 +26,6 @@@@ if ($? == 0) { $libpng_libs = '-lpng -lz -lm'; d18 1 a18 1 - try_run("config/has_png.c",[$libpng_cflags],[$libpng_libs])) d20 1 d22 2 a23 3 NAME => 'Tk::PNG', @@@@ -40,55 +37,6 @@@@ if ($Tk::MMtry::VERSION ge '4.007' && LIBS => [$libpng_libs], a28 6 - foreach my $file ("libpng/Makefile.PL","zlib/Makefile.PL") - { - next unless -f $file; - chmod(0666,$file); - unlink($file); - } @ 1.4 log @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 @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2008/10/22 10:35:30 markd Exp $ d3 1 a3 1 --- PNG/Makefile.PL.orig 2010-09-27 21:57:28.000000000 +0000 d13 3 a15 3 @@@@ -15,68 +14,15 @@@@ foreach my $file (qw(zlib/Makefile.PL li unlink($file); } d18 2 a19 2 - try_run("config/has_png.c",['-I/usr/local/include'],['-lpng -lz -lm'])) - { d22 2 a23 7 VERSION_FROM => 'PNG.pm', XS_VERSION => $Tk::Config::VERSION, dist => { COMPRESS => 'gzip -f9', SUFFIX => '.gz' }, OBJECT => '$(O_FILES)', - INC => '-I/usr/local/include', + INC => '-I%%LOCALBASE%%/include', LIBS => ['-lpng -lz -lm'], d25 1 a25 1 - } @ 1.3 log @Update to 804.028 Various bugfixes including fix building with perl 5.10. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2005/12/12 18:04:47 joerg Exp $ d3 1 a3 1 --- PNG/Makefile.PL.orig 2007-05-06 06:38:35.000000000 +1200 d5 1 a5 1 @@@@ -1,7 +1,6 @@@@ d13 1 a13 1 @@@@ -14,68 +13,15 @@@@ foreach my $file (qw(zlib/Makefile.PL li @ 1.2 log @Fix errno and linkage on DragonFly. Fix dependency detection problem on DragonFly, it needs to pickup png.h correctly. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- PNG/Makefile.PL.orig 2003-12-30 10:45:03.000000000 +0000 d40 1 a40 1 - unless (copy("libpng/Makefile.maybe","libpng/Makefile.PL")) d42 1 a42 1 - warn "Cannot copy libpng/Makefile.maybe => libpng/Makefile.PL ($!)"; d45 1 a45 1 - unless (copy("zlib/Makefile.maybe","zlib/Makefile.PL")) d47 1 a47 1 - warn "Cannot copy zlib/Makefile.maybe => zlib/Makefile.PL ($!)"; d81 2 a82 2 package MY; @ 1.1 log @Update to 804.027nb2: use png and jpeg packages instead of copies coming with the source. Patch from Michael van Elst in PR 28770. @ text @d3 1 a3 1 --- PNG/Makefile.PL.orig 2004-12-25 04:02:48.000000000 +0100 d13 1 a13 1 @@@@ -14,68 +13,14 @@@@ foreach my $file (qw(zlib/Makefile.PL li d27 1 @ 1.1.2.1 log @file patch-ad was added on branch pkgsrc-2004Q4 on 2004-12-25 14:00:10 +0000 @ text @d1 81 @ 1.1.2.2 log @Pullup ticket 297 - requested by Lubomir Sedlacik security fix for p5-Tk Revisions pulled up: - pkgsrc/x11/p5-Tk/Makefile 1.42 - pkgsrc/x11/p5-Tk/distinfo 1.9 - pkgsrc/x11/p5-Tk/patches/patch-ac 1.1 - pkgsrc/x11/p5-Tk/patches/patch-ad 1.1 - pkgsrc/x11/p5-Tk/buildlink3.mk 1.2 Module Name: pkgsrc Committed By: wiz Date: Sat Dec 25 14:00:10 UTC 2004 Modified Files: pkgsrc/x11/p5-Tk: Makefile distinfo Added Files: pkgsrc/x11/p5-Tk/patches: patch-ac patch-ad Log Message: Update to 804.027nb2: use png and jpeg packages instead of copies coming with the source. Patch from Michael van Elst in PR 28770. --- Module Name: pkgsrc Committed By: wiz Date: Sat Dec 25 14:02:30 UTC 2004 Modified Files: pkgsrc/x11/p5-Tk: buildlink3.mk Log Message: Recommend 804.027nb2 because of security problems in earlier versions. @ text @a0 81 $NetBSD: patch-ad,v 1.1.2.1 2005/02/19 21:47:14 snj Exp $ --- PNG/Makefile.PL.orig 2004-12-25 04:02:48.000000000 +0100 +++ PNG/Makefile.PL @@@@ -1,7 +1,6 @@@@ use strict; use Tk::MMutil; use Tk::Config (); -use Tk::MMtry; use File::Copy; my $l = $Config::Config{'lib_ext'}; @@@@ -14,68 +13,14 @@@@ foreach my $file (qw(zlib/Makefile.PL li unlink($file); } -if ($Tk::MMtry::VERSION ge '4.007' && - try_run("config/has_png.c",['-I/usr/local/include'],['-lpng -lz -lm'])) - { Tk::MMutil::TkExtMakefile( NAME => 'Tk::PNG', VERSION_FROM => 'PNG.pm', XS_VERSION => $Tk::Config::VERSION, dist => { COMPRESS => 'gzip -f9', SUFFIX => '.gz' }, OBJECT => '$(O_FILES)', - INC => '-I/usr/local/include', LIBS => ['-lpng -lz -lm'], ); - } -else - { - my $ok = 1; - foreach my $file ("libpng/Makefile.PL","zlib/Makefile.PL") - { - next unless -f $file; - chmod(0666,$file); - unlink($file); - } - unless (copy("libpng/Makefile.maybe","libpng/Makefile.PL")) - { - warn "Cannot copy libpng/Makefile.maybe => libpng/Makefile.PL ($!)"; - $ok = 0; - } - unless (copy("zlib/Makefile.maybe","zlib/Makefile.PL")) - { - warn "Cannot copy zlib/Makefile.maybe => zlib/Makefile.PL ($!)"; - $ok = 0; - } - if ($ok) - { - warn "Building libpng$l\n"; - my $extlib = "libpng/libpng$l"; - if ($cc eq 'cl') - { - $extlib .= " zlib/zlib$l"; - $zlib = "zlib$l"; - } - else - { - $extlib .= " zlib/libz$l"; - } - Tk::MMutil::TkExtMakefile( - NAME => 'Tk::PNG', - VERSION_FROM => 'PNG.pm', - XS_VERSION => $Tk::Config::VERSION, - dist => { COMPRESS => 'gzip -f9', SUFFIX => '.gz' }, - OBJECT => '$(O_FILES)', - INC => '-Ilibpng -Izlib', - MYEXTLIB => $extlib, - LIBS => ['-lm'], - ); - } - else - { - warn "Cannot build libpng$l\n"; - ExtUtils::MakeMaker::WriteEmptyMakefile(); - } - } package MY; @