Re: [Tuxpaint-devel] Some Magic tools missing on Android (0.9.34)
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2025-05-08 00:01:25
|
El dl. 05 de 05 de 2025 a les 23:06 +0100, en/na Bill Kendrick va escriure: > On Mon, May 05, 2025 at 11:16:09AM +0200, Pere Pujal i Carabantes wrote: > <snip> > > I've made a debug build, that should not interfere with the current Tux Paint install > > https://provant.freeddns.org/pere/public_html/Tux%20Paint/devel/20250505/ > > > > I install it in my phone with adb install app-offPlayStore-debug.apk > > Thank you! I was able to as well. > > > > Strangely, there are some magic icons that render white now... > > Yes, I noticed that as well. Interestingly, only some of them > were tools that specifically were not showing up for me with > 0.9.34-rc1. (For example, I can use Concentric Circles and Crescent > in this debug build.) White render seems to be caused by some SDK/NDK old tools I have in my box, builds made with the fdroid server tools don't have this problem, sorry for the noise :( I've made a new build with DEBUG and VERBOSE enabled so you can test if all the magic tools are there. Note this is a "release" build, not a "debug" build in the Android sense of the terms, whatever that means, see how the previous "debug" build wheigted 125M without the stamps https://provant.freeddns.org/pere/public_html/Tux%20Paint/devel/20250508/ > But others worked fine (and the icons appeared fine) in 0.9.34-rc1. > (For example, Zoom and Tile Zoom were not a problem; > That Magic tool icon (per `git blame zoom.png`) hasn't been touched > since much longer ago (July 2022), so I'm unclear why it's suddenly > not working in your debug build of 0.9.35 from today, but was fine > 6 months ago (November) in 0.9.34-rc1.) > > Here's a list, per Magic group: > > * clone > * blocks > * ripples > * square mosaic > * halftone > > * opposite > * color & white > * dither > * dither (2nd) > > * zoom > * tile zoom > * panels > * reflection > * wavelets > * rotate > > * crescent > * spiral > * square spiral > * concentric circles > * concentric squares > * grass > * pixels > * comic dots (x2) > * fretwork > * hearts > * stars > * fractal (x4) > > * pattern > * tessellation (x2) > > * checkerboard > > * 1-/ 2-/ 3-pt select & draw > > * lightning > > > I wonder if it's something specific about the PNGs. And of course, now > that all of the tools are loading, I'm not seeing any complaints from > Tux Paint when it tries to load the tools. :facepalm: > > For example... > > Not working in 0.9.34-rc1; appearing white in 0.9.35 debug: > > ~/tuxpaint/tuxpaint/magic/icons$ file crescent.png ; identify crescent.png > crescent.png: PNG image data, 29 x 30, 8-bit colormap, non-interlaced > crescent.png PNG 29x30 29x30+0+0 8-bit sRGB 575B 0.000u 0:00.000 > > Working in both 0.9.34-rc1; appears fine in 0.9.35 debug: > > ~/tuxpaint/tuxpaint/magic/icons$ file swirls_circles.png ; identify swirls_circles.png > swirls_circles.png: PNG image data, 40 x 30, 8-bit gray+alpha, non-interlaced > swirls_circles.png PNG 40x30 40x30+0+0 8-bit Grayscale Gray 1781B 0.000u 0:00.000 > > Working in 0.9.3-rc1; appearing white in 0.9.35 debug: > > ~/tuxpaint/tuxpaint/magic/icons$ file clone.png ; identify clone.png > clone.png: PNG image data, 40 x 30, 2-bit colormap, non-interlaced > clone.png PNG 40x30 40x30+0+0 8-bit sRGB 283B 0.000u 0:00.000 > > > Did something about the PNG library change recently? :-/ > > Thanks! > > > > If you want to try compiling the Andoid port here are some quick instructions: > > Once you have the sources, cd to the app/src/jni/tuxpaint dir and run make on it, > > it will generate some needed files that are not on git. > > > > then run ./mkzipassets.sh to generate the assets dir > > > > once finished cd to the root of the sources and run ./gradlew build > > > > If all goes right, there will be the apks inside the app/build dir, > > the one that interest now is the app/build/outputs/apk/offPlayStore/debug/app-offPlayStore-debug.apk > > that goes alone > > > > or maybe the app/build/outputs/apk/playStore/debug/app-playStore-debug.apk > > relating to Play store > > > > Install it whith adb install path/to/file > > Not sure when I'll have the time & energy to do this. Burning the > candle at three ends, at the moment. :-D > > -bill! > > > HTH > > Pere > > > > > > Thanks, > > > > > > -bill! > > > > > > > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |