Thread: [Tuxpaint-devel] Test build with SVG support
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: John P. <jo...@jo...> - 2007-03-15 05:06:47
|
Hi, I've finally got SVG support working on Windows using MingW/MSYS. Here is a link to a zip archive containing a 'tuxpaint-svg.exe' and the extra DLLs: http://johnnypops.demon.co.uk/files/tuxpaint-0.9.17/tuxpaint-0.9.17cvs-win32-svg-test-01.zip if anyone wants to play with it. I'll write it up later: I had quite a struggle getting 'svg.dll' built because of a libtool problem... I've tested it with the .svg files from this project: http://www.linuxmotors.com/SDL_svg/ and the 'duplicates' in the stamps collection. One of them, 'pink_cake.svg' doesn't render anything - I've not looked into it yet. Thanks to Toyama Shin-ichi whose post got me started on this :-) regards, John. |
|
From: TOYAMA Shin-i. <sh...@wm...> - 2007-03-15 13:40:27
|
Thank you Jhon! Your tuxpaint-svg.exe works well on my WinXP. I'm looking forward to seeing your summary how to build svg-enabled version of tuxpaint! John Popplewell wrote in <200...@ro...> >Hi, > >I've finally got SVG support working on Windows using MingW/MSYS. Here >is a link to a zip archive containing a 'tuxpaint-svg.exe' and the extra >DLLs: > >http://johnnypops.demon.co.uk/files/tuxpaint-0.9.17/tuxpaint-0.9.17cvs-win32-svg-test-01.zip > >if anyone wants to play with it. > >I'll write it up later: I had quite a struggle getting 'svg.dll' built >because of a libtool problem... > >I've tested it with the .svg files from this project: > >http://www.linuxmotors.com/SDL_svg/ > >and the 'duplicates' in the stamps collection. One of them, >'pink_cake.svg' doesn't render anything - I've not looked into it yet. > >Thanks to Toyama Shin-ichi whose post got me started on this :-) > >regards, >John. > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Tuxpaint-devel mailing list >Tux...@li... >https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel -- TOYAMA Shin-ichi mailto:sh...@wm... |
|
From: John P. <jo...@jo...> - 2007-03-20 17:52:49
|
On Thu, Mar 15, 2007 at 10:40:25PM +0900, TOYAMA Shin-ichi wrote: > Thank you Jhon! > > Your tuxpaint-svg.exe works well on my WinXP. > I'm looking forward to seeing your summary how > to build svg-enabled version of tuxpaint! Hi Shin-ichi, I've updated my instructions for building the DLLs and started from scratch using the latest MinGW/MSYS version: http://johnnypops.demon.co.uk/mingw/index.html Unfortunately, it doesn't work for me either :-( I also had trouble building the "fluid" FLTK application and it crashed with the same nasty message. It all builds and works fine when using an older version of MinGW/MSYS which uses a different version of the compiler, gcc-3.2.3, instead of the later gcc-3.4.2 so maybe it's something related to gcc? I'll try again later with gcc-3.4.5 which is also available on the MinGW site. Did you use the "Current" version of MinGW/MSYS ? I'm fairly sure the working ones were built with the "Previous" version, regards, John. |
|
From: TOYAMA Shin-i. <sh...@wm...> - 2007-03-21 01:36:28
|
Hi Jhon, At the end of last year, I tried to build tuxpaint-win32 with svg support using MinGW/MSYS (latest version at that time) The version of GCC I used was 3.4.2. I will try different version of gcc. Thank you for your information! John Popplewell wrote in <200...@ro...> >On Thu, Mar 15, 2007 at 10:40:25PM +0900, TOYAMA Shin-ichi wrote: >> Thank you Jhon! >> >> Your tuxpaint-svg.exe works well on my WinXP. >> I'm looking forward to seeing your summary how >> to build svg-enabled version of tuxpaint! >Hi Shin-ichi, > >I've updated my instructions for building the DLLs and started from >scratch using the latest MinGW/MSYS version: > >http://johnnypops.demon.co.uk/mingw/index.html > >Unfortunately, it doesn't work for me either :-( > >I also had trouble building the "fluid" FLTK application and it crashed >with the same nasty message. > >It all builds and works fine when using an older version of MinGW/MSYS >which uses a different version of the compiler, gcc-3.2.3, instead of >the later gcc-3.4.2 so maybe it's something related to gcc? > >I'll try again later with gcc-3.4.5 which is also available on the MinGW >site. > >Did you use the "Current" version of MinGW/MSYS ? > >I'm fairly sure the working ones were built with the "Previous" version, > >regards, >John. > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Tuxpaint-devel mailing list >Tux...@li... >https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel -- TOYAMA Shin-ichi mailto:sh...@wm... |
|
From: Bill K. <nb...@so...> - 2007-03-20 20:00:48
|
On Thu, Mar 15, 2007 at 05:06:43AM +0000, John Popplewell wrote: > Hi, > > I've finally got SVG support working on Windows using MingW/MSYS. Here > is a link to a zip archive containing a 'tuxpaint-svg.exe' and the extra > DLLs: > > http://johnnypops.demon.co.uk/files/tuxpaint-0.9.17/tuxpaint-0.9.17cvs-win32-svg-test-01.zip > Copied my C:\Program Files\TuxPaint onto my desktop (so I wouldn't mess up my installed copy), and drug the contents of the ZIP into there. I tried double-clicking tuxpaint-svg.exe but get a Window pop-up error: The application failed to initialize properly (0x00000005). Click on OK to terminate the application. Running regular tuxpaint.exe in there seems to work. Tried running both from an MSDOS command-line prompt, with the same results, and no additional output to the terminal. I see no stderr.txt or stdout.txt. :( This is Win XP Pro v2002 SP2 on a Dell Latitude D620. Thx! -bill! |
|
From: John P. <jo...@jo...> - 2007-03-20 22:01:07
|
On Tue, Mar 20, 2007 at 01:00:45PM -0700, Bill Kendrick wrote: > On Thu, Mar 15, 2007 at 05:06:43AM +0000, John Popplewell wrote: > > Hi, > > > > I've finally got SVG support working on Windows using MingW/MSYS. Here > > is a link to a zip archive containing a 'tuxpaint-svg.exe' and the extra > > DLLs: > > > > http://johnnypops.demon.co.uk/files/tuxpaint-0.9.17/tuxpaint-0.9.17cvs-win32-svg-test-01.zip > > > > Copied my C:\Program Files\TuxPaint onto my desktop (so I wouldn't > mess up my installed copy), and drug the contents of the ZIP into there. I should have mentioned that it doesn't over-write anything, and that it needs to be unpacked into the 'tuxpaint' parent directory, or somewhere else and the files moved in manually. > I tried double-clicking tuxpaint-svg.exe but get a Window pop-up error: > > The application failed to initialize properly (0x00000005). > Click on OK to terminate the application. > Thanks for testing it bill! That's the message we get with the latest builds, which is interesting, but just muddies the water further :-( Is that with the final release version of Tux Paint 0.9.16 installed ? There could be something nasty going on in one of the four new DLLs (0.9.16 seems to work fine with the new MinGW/MSYS) but that wouldn't explain the problem with 'fluid'. > Running regular tuxpaint.exe in there seems to work. Tried running both > from an MSDOS command-line prompt, with the same results, and no additional > output to the terminal. > > I see no stderr.txt or stdout.txt. :( I've checked, and it's crashing before it gets into main(), hence that unusual error-box. > This is Win XP Pro v2002 SP2 on a Dell Latitude D620. It works fine on all my machines: 2xWin98 boxes, Win2K and WinXP Pro SP2, cheers, John. > > Thx! > > -bill! > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > |
|
From: Karl O. H. <ka...@hu...> - 2007-03-20 22:34:40
|
Torsdag 15 mars 2007 06:06 skreiv John Popplewell: >and the 'duplicates' in the stamps collection. One of them, >'pink_cake.svg' doesn't render anything - I've not looked into it yet. Could it be because of the gradients? It is with images with gradients we will really save most space by using SVG images instead of PNG. -- Karl Ove Hufthammer |
|
From: Bill K. <nb...@so...> - 2007-03-22 18:19:31
|
On Thu, Mar 15, 2007 at 05:06:43AM +0000, John Popplewell wrote:
> and the 'duplicates' in the stamps collection.
FYI, I finally updated tuxpaint.c so that when it stumbles across a PNG file,
it double-checks that there's no similarly-named SVG file. If it finds one,
it skips the PNG, with the assumption that the SVG one is the preferred one
to use.
I think at some point, for platforms that just won't do SVG any time soon,
we'll end up wanting a build process within tuxpaint-stamps that
converts SVGs into PNGs before packaging the stamps for release. Then only
package the PNGs.
So in the end, the only PNGs that would be stored in the Tux Paint Stamps
'source' repository would be photographic ones, for which there are no
corresponding PNGs.
In other words:
source tarball / CVS repository:
foo-photo.png
bar-drawing.svg
package for an SVG-capable platform: (say, Win32)
foo-photo.png
bar-drawing.svg
package for some non-SVG-supporting platform:
foo-photo.png
bar-drawing.png [converted from bar-drawing.svg at 'build' time]
-bill!
|
|
From: John P. <jo...@jo...> - 2007-03-22 19:59:09
|
On Thu, Mar 22, 2007 at 11:19:29AM -0700, Bill Kendrick wrote: > On Thu, Mar 15, 2007 at 05:06:43AM +0000, John Popplewell wrote: > > and the 'duplicates' in the stamps collection. > > FYI, I finally updated tuxpaint.c so that when it stumbles across a PNG file, > it double-checks that there's no similarly-named SVG file. If it finds one, > it skips the PNG, with the assumption that the SVG one is the preferred one > to use. Great! > I think at some point, for platforms that just won't do SVG any time soon, > we'll end up wanting a build process within tuxpaint-stamps that > converts SVGs into PNGs before packaging the stamps for release. Then only > package the PNGs. > > So in the end, the only PNGs that would be stored in the Tux Paint Stamps > 'source' repository would be photographic ones, for which there are no > corresponding PNGs. Sounds like a plan! I found the problem with the previous build (I hope!) it was some weird exports in 'jpeg.dll' and a buggy gcc-3.4.2 compiler. Here is a link to a complete set of binaries zipped-up into a 'tuxpaint' directory: http://johnnypops.demon.co.uk/files/tuxpaint-0.9.17/tuxpaint-0.9.17cvs-win32-svg-test-02.zip (2.1Mb) which will overwrite existing files if you unpack into an existing 'tuxpaint' directory. It needs the 'data', 'docs' and 'locale' directories from an existing tuxpaint installation to work. Please test! I've updated my instructions and patches: http://johnnypops.demon.co.uk/mingw/index.html I've checked some minor updates into cvs, but there is still a problem with this embedded path: SVG_CFLAGS=-I/usr/include/cairo thanks, John. |
|
From: TOYAMA Shin-i. <sh...@wm...> - 2007-03-23 16:20:37
|
Hi ! Finally I got working tuxpaint.exe with svg-support basicly according to your instruction. Thank you! John Popplewell wrote in <200...@ro...> >I've updated my instructions and patches: > >http://johnnypops.demon.co.uk/mingw/index.html -- TOYAMA Shin-ichi mailto:sh...@wm... |
|
From: Bill K. <nb...@so...> - 2007-03-23 21:34:44
|
On Thu, Mar 22, 2007 at 07:58:16PM +0000, John Popplewell wrote: > Here is a link to a complete set of binaries zipped-up into a 'tuxpaint' > directory: > > http://johnnypops.demon.co.uk/files/tuxpaint-0.9.17/tuxpaint-0.9.17cvs-win32-svg-test-02.zip > (2.1Mb) It worked, thanks! :) -bill! |