Skip Menu |

This queue is for tickets about the Tcl-Tk CPAN distribution.

Report information
The Basics
Id: 27069
Status: resolved
Priority: 0/
Queue: Tcl-Tk

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Tcl::Tk and freebsd
(This is for version 0.94, which is not yet selectable in rt) The $^O value for freebsd should be lowercase. See the attached patch. Regards, Slaven
Subject: 804delta.pod.patch
--- Tk-804.025_beta12/MANIFEST Mon Dec 22 11:57:39 2003 +++ Tk-804.025_beta12-perl5.8.2d/MANIFEST Tue Dec 23 20:33:41 2003 @@ -796,7 +796,8 @@ PNG/zlib/zlib.h PNG/zlib/zlib.html PNG/zlib/zutil.c PNG/zlib/zutil.h +pod/804delta.pod pod/Adjuster.pod pod/after.pod pod/Animation.pod --- /dev/null Tue Dec 23 20:34:17 2003 +++ Tk-804.025_beta12-perl5.8.2d/pod/804delta.pod Tue Dec 23 20:32:35 2003 @@ -0,0 +1,97 @@ +=head1 NAME + +Tk::804delta - what is new for perl/Tk 804 + +=head1 DESCRIPTION + +This document describes differences between the Tk800 series and the +Tk804 series. + +=head1 Incompatible Changes + +Tk804 will only work with perl 5.8.0 and above. For older perl +versions look for Tk800.025. + +B<curselection> of B<Tk::Listbox> now returns an array reference in +scalar context. This means you have to write + + my(@selected) = $listbox->curselection + +or + + my(@selected) = @{ $listbox->curselection } + +now. + +The B<fontActual> method now returns the pixel value instead of the +point value for B<-size>. Pixel values are expressed as negative +numbers. + +Some enhancements from the E<quot>dashE<quot> patches are lost for now +(i.e. B<-tile>, B<-troughtile> ...). + +The B<-state> option is not available anymore for B<Tk::Text> tags. +Use B<-elide> instead. + +=head1 Enhancements + +Tk804 is Unicode-aware. + +It is possible to build Tk with Xft support on X11. This is strongly +recommened if you are planning to make use of Unicode rendering +capabilities of Tk. It also gives anti-aliased fonts for regular text +(if you have TrueType or Type1 fonts and they are in your fontconfig +config file). + +The new method B<chooseDirectory> is available as a standard directory +selector. + +B<Tk::PNG> and B<Tk::JPEG> are bundled now with the perl/Tk +distribution, providing support for the image formats B<png> and +B<jpeg>. + +Improvements to B<Tk::Listbox>: new option B<-activestyle>, new +methods B<itemconfigure> and B<itemcget>, new virtual event B<<< +<<ListboxSelect>> >>>. + +More tests. + +=head1 New Widgets + +=over + +=item Tk::Labelframe + +An alternative to B<Tk::LabFrame>. + +=item Tk::Panedwindow + +An alternative to B<Tk::Adjuster>. + +=item Tk::Spinbox + +An alternative to the CPAN module B<Tk::NumEntry>. + +=back + +=head1 Selected Bug Fixes + +=head1 Changed Internals + +=head1 Platform Specific Problems + +=head1 Future Directions + +=head1 Reporting Bugs + +If you find what you think is a bug, you might check the articles +recently posted to the comp.lang.perl.tk newsgroup. + +If you believe you have an unreported bug, please send a mail to <ptk@lists.stanford.edu> and/or <nick@ing-simmons.net>. Be sure to trim your bug down +to a tiny but sufficient test case. + +=head1 SEE ALSO + +L<Tk>. + +=cut
the attached patch isn't for Tcl::Tk module, I guess you pick different file. Please reattach. thanks. Vadim.
On Fri May 11 03:06:30 2007, VKON wrote: Show quoted text
> the attached patch isn't for Tcl::Tk module, I guess you pick different > file. > > Please reattach.
This *%$!§* new gtk fileselector :-( OK, next try...
# # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # STEP 2: Run the 'patch' program with this file as input. # #### End of Preamble #### #### Patch data follows #### diff -up 'new.build/Tcl-Tk-0.94/Makefile.PL' 'build/Tcl-Tk-0.94-fZZKp2/Makefile.PL' Index: ./Makefile.PL --- ./Makefile.PL Thu May 10 22:31:55 2007 +++ ./Makefile.PL Wed May 9 08:40:58 2007 @@ -6,7 +6,7 @@ use ExtUtils::MakeMaker; my $tclshArg; my $tclsh = "tclsh"; -if ($^O eq 'freebsd') {$tclsh.='8.4'} +if ($^O eq 'FreeBSD') {$tclsh.='8.4'} GetOptions("tclsh=s", \$tclshArg, ) #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Thu May 10 22:33:37 2007 # Generated by : makepatch 2.03 # Recurse directories : Yes # Excluded files : (\A|/).*\~\Z # (\A|/).*\.a\Z # (\A|/).*\.bak\Z # (\A|/).*\.BAK\Z # (\A|/).*\.elc\Z # (\A|/).*\.exe\Z # (\A|/).*\.gz\Z # (\A|/).*\.ln\Z # (\A|/).*\.o\Z # (\A|/).*\.obj\Z # (\A|/).*\.olb\Z # (\A|/).*\.old\Z # (\A|/).*\.orig\Z # (\A|/).*\.rej\Z # (\A|/).*\.so\Z # (\A|/).*\.Z\Z # (\A|/)\.del\-.*\Z # (\A|/)\.make\.state\Z # (\A|/)\.nse_depinfo\Z # (\A|/)core\Z # (\A|/)tags\Z # (\A|/)TAGS\Z # p 'Makefile.PL' 1035 1178692858 0100551 #### End of ApplyPatch data #### #### End of Patch kit [created: Thu May 10 22:33:37 2007] #### #### Patch checksum: 47 1641 31836 #### #### Checksum: 65 2265 17828 ####
On Fri May 11 18:03:24 2007, SREZIC wrote: Show quoted text
> On Fri May 11 03:06:30 2007, VKON wrote:
> > the attached patch isn't for Tcl::Tk module, I guess you pick different > > file. > > > > Please reattach.
> > This *%$!§* new gtk fileselector :-( OK, next try...
It already 'FreeBSD', and always was. I guess your patch is other way round, so I made it 'freebsd'
Subject: Re: [rt.cpan.org #27069] Tcl::Tk and freebsd
Date: 12 May 2007 13:49:06 +0200
To: bug-Tcl-Tk [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
" via RT" <bug-Tcl-Tk@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=27069 > > > On Fri May 11 18:03:24 2007, SREZIC wrote:
> > On Fri May 11 03:06:30 2007, VKON wrote:
> > > the attached patch isn't for Tcl::Tk module, I guess you pick different > > > file. > > > > > > Please reattach.
> > > > This *%$!§* new gtk fileselector :-( OK, next try...
> > It already 'FreeBSD', and always was. > > I guess your patch is other way round, so I made it 'freebsd' >
Sorry, of course. -- Slaven Rezic - slaven <at> rezic <dot> de babybike - routeplanner for cyclists in Berlin handheld (e.g. Compaq iPAQ with Linux) version of bbbike http://bbbike.sourceforge.net