WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: FLTK-full available for picore?  (Read 517 times)

Offline PDP-8

  • Full Member
  • ***
  • Posts: 242
FLTK-full available for picore?
« on: January 06, 2018, 09:32:19 PM »
Just a request in case it went missing - is there an "fltk-full" with xft compiled in available for picore?

Fltk-full really brought my TC x86 install shine - especially since I'm one of the guys that actually DOES use Dillo for many things.

The RPI3 I just upgraded to would love it!  Tnx!
cat -v Considered Harmful  -- Rob Pike

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10049
Re: FLTK-full available for picore?
« Reply #1 on: January 06, 2018, 10:15:45 PM »
did you try using fifth rather than dillo?

Offline PDP-8

  • Full Member
  • ***
  • Posts: 242
Re: FLTK-full available for picore?
« Reply #2 on: January 07, 2018, 12:56:26 PM »
I have, and like Dillo, Fifth is a great work or programming.  But it is kind of an apples-to-oranges thing with me.

It comes down to stability.  Fifth is more stable on the RPI than on X86.  But the random crashes, no matter how much I fiddle with turning javascript, css, images and the like on and off make it irritating to use because Fifth is really something I like.

However, Dillo - for what it is designed for, seems stable enough across any platform it is compiled on and I can rely on it to work - so much so like a standard unix command!  I even threw some coin the authors way to show appreciation, and the hope of seeing ver 3.1 someday..  (throwing coin to TC - if that would not complicate things would be cool too but that's another discussion. )

The problem I have with Fifth is the interdependence on too many parties.  The dont-blame-me, blame webkit kind of puts me off.  And the dependence on sql-lite and so forth.  What may be stable in today's release may become unstable with the next, and the human nature finger-pointing can begin.  Plus the whole I love Bieber backwards thing is a red flag that personal politics may take precedence over code.  I'm with the author and his mindset, but I can make my own decision without a billboard about it in my face.

Soooo....  I tend to use Dillo for when my browsing is very lightweight, using it for my simple html/css coding for my own purposes, because I know that if it works today, if I compile it tomorrow - it will still do just what it says it will do.  If it crashes, it is Dillo's fault, not some other dependency.

I also use browsers for more than the web.  I browse my own filesystems, use browsers for image viewing, and with modern browsers even use it as a lightweight notepad

In the url bar: (Just click and start typing if nothing shows.  Use file commands like ctrl-f, ctrl-s.  Zoom the fonts to the size you like  ctrl+ / - etc)

Code: [Select]
data:text/html, <html contenteditable>
Neither fifth nor dillo allow for this, but shows that I use the browser for many things.

Much like using links / lynx to browse my own filesystems by pointing them at my filesystem rather than the web, ie

Code: [Select]
lynx .
I hate to appear so harsh about Fifth.  I really think it is great, but to me Dillo is something that will probably work 20 years from now, much like our beloved standard unix commands, whereas the relationship between webkit and Fifth may break at any moment, with each party doing the fingerpointing.

I'm cross-platform, so I'm on the lookout for things which are different that kind of throw me off - like fltk-full available on X86, but not for Picore etc etc.

But please don't take this as a criticism of ANY programmer / admin etc.  Like OpenBSD, I'm here for the ride and if I don't like it, just shut-up and code! :) :)



« Last Edit: January 07, 2018, 01:03:14 PM by PDP-8 »
cat -v Considered Harmful  -- Rob Pike

Offline polikuo

  • Sr. Member
  • ****
  • Posts: 319
Re: FLTK-full available for picore?
« Reply #3 on: March 21, 2018, 09:04:11 AM »
Because of the lack of libraries, it's hard to compile a fltk-full exension on PiCore.
If you need a xft supported fltk shared library tcz,
you can always compile one for your own.  ;)

I'm using fltk-1.3.4-1 cause that's the version on the other ports.

Since I don't use PiCore that much, I'm afraid I won't be able to be the package maintainer.  :P

Here are the commands I used
Note that the "xorg-proto.tcz" is borrowed from the x86_64 port for the missing headers.
Code: [Select]
tce-load -i compiletc cairo-dev libXft-dev glu-dev libjpeg-turbo-dev alsa-dev libXinerama-dev xorg-proto
./configure --prefix=/usr/local --localstatedir=/var --enable-shared --enable-xft --enable-threads --enable-localjpeg --enable-localzlib --enable-localpng
make
make install DESTDIR=/tmp/fltk-full

The comfigure summary
Code: [Select]
Configuration Summary
-------------------------------------------------------------------------
    Directories: prefix=/usr/local
                 bindir=${exec_prefix}/bin
                 datadir=${datarootdir}
                 datarootdir=${prefix}/share
                 exec_prefix=${prefix}
                 includedir=${prefix}/include
                 libdir=${exec_prefix}/lib
                 mandir=${datarootdir}/man
       Graphics: X11 + Xft + Xdbe + Xfixes + Xinerama + Xrender
Image Libraries: JPEG=Builtin
                 PNG=Builtin
                 ZLIB=Builtin
    Large Files: YES
         OpenGL: YES
        Threads: YES

......

=== making documentation ===
Formatting src/fltk.man...
/bin/sh: man: not found
Formatting src/fltk-config.man...
/bin/sh: man: not found
Formatting src/fluid.man...
/bin/sh: man: not found
Formatting src/blocks.man...
/bin/sh: man: not found
Formatting src/checkers.man...
/bin/sh: man: not found
Formatting src/sudoku.man...
/bin/sh: man: not found
You can ignore the "man: not found" messages and you can just drop the /usr/local/share directory.

File list
Code: [Select]
tc@box:/tmp$ find fltk-full/ -not -type d
fltk-full/usr/local/lib/libfltk_images.so
fltk-full/usr/local/lib/libfltk_images.so.1.3
fltk-full/usr/local/lib/libfltk_gl.so
fltk-full/usr/local/lib/libfltk_gl.so.1.3
fltk-full/usr/local/lib/libfltk_forms.so
fltk-full/usr/local/lib/libfltk_forms.so.1.3
fltk-full/usr/local/lib/libfltk.so
fltk-full/usr/local/lib/libfltk.so.1.3
fltk-full/usr/local/lib/libfltk_images.a
fltk-full/usr/local/lib/libfltk_gl.a
fltk-full/usr/local/lib/libfltk_forms.a
fltk-full/usr/local/lib/libfltk.a
fltk-full/usr/local/lib/libfltk_png.a
fltk-full/usr/local/lib/libfltk_z.a
fltk-full/usr/local/lib/libfltk_jpeg.a
fltk-full/usr/local/include/FL/images/pnglibconf.h
fltk-full/usr/local/include/FL/images/pngconf.h
fltk-full/usr/local/include/FL/images/png.h
fltk-full/usr/local/include/FL/images/zutil.h
fltk-full/usr/local/include/FL/images/zlib.h
fltk-full/usr/local/include/FL/images/zconf.h
fltk-full/usr/local/include/FL/images/jpeglib.h
fltk-full/usr/local/include/FL/images/jmorecfg.h
fltk-full/usr/local/include/FL/images/jerror.h
fltk-full/usr/local/include/FL/images/jconfig.h
fltk-full/usr/local/include/FL/x.H
fltk-full/usr/local/include/FL/win32.H
fltk-full/usr/local/include/FL/names.h
fltk-full/usr/local/include/FL/math.h
fltk-full/usr/local/include/FL/mac.H
fltk-full/usr/local/include/FL/glut.H
fltk-full/usr/local/include/FL/glu.h
fltk-full/usr/local/include/FL/gl_draw.H
fltk-full/usr/local/include/FL/gl2opengl.h
fltk-full/usr/local/include/FL/gl.h
fltk-full/usr/local/include/FL/forms.H
fltk-full/usr/local/include/FL/fl_utf8.h
fltk-full/usr/local/include/FL/fl_types.h
fltk-full/usr/local/include/FL/fl_show_input.H
fltk-full/usr/local/include/FL/fl_show_colormap.H
fltk-full/usr/local/include/FL/fl_message.H
fltk-full/usr/local/include/FL/fl_draw.H
fltk-full/usr/local/include/FL/fl_ask.H
fltk-full/usr/local/include/FL/filename.H
fltk-full/usr/local/include/FL/dirent.h
fltk-full/usr/local/include/FL/abi-version.h
fltk-full/usr/local/include/FL/Fl_XPM_Image.H
fltk-full/usr/local/include/FL/Fl_XBM_Image.H
fltk-full/usr/local/include/FL/Fl_Wizard.H
fltk-full/usr/local/include/FL/Fl_Window.H
fltk-full/usr/local/include/FL/Fl_Widget.H
fltk-full/usr/local/include/FL/Fl_Value_Slider.H
fltk-full/usr/local/include/FL/Fl_Value_Output.H
fltk-full/usr/local/include/FL/Fl_Value_Input.H
fltk-full/usr/local/include/FL/Fl_Valuator.H
fltk-full/usr/local/include/FL/Fl_Tree_Prefs.H
fltk-full/usr/local/include/FL/Fl_Tree_Item_Array.H
fltk-full/usr/local/include/FL/Fl_Tree_Item.H
fltk-full/usr/local/include/FL/Fl_Tree.H
fltk-full/usr/local/include/FL/Fl_Tooltip.H
fltk-full/usr/local/include/FL/Fl_Toggle_Round_Button.H
fltk-full/usr/local/include/FL/Fl_Toggle_Light_Button.H
fltk-full/usr/local/include/FL/Fl_Toggle_Button.H
fltk-full/usr/local/include/FL/Fl_Timer.H
fltk-full/usr/local/include/FL/Fl_Tiled_Image.H
fltk-full/usr/local/include/FL/Fl_Tile.H
fltk-full/usr/local/include/FL/Fl_Text_Editor.H
fltk-full/usr/local/include/FL/Fl_Text_Display.H
fltk-full/usr/local/include/FL/Fl_Text_Buffer.H
fltk-full/usr/local/include/FL/Fl_Tabs.H
fltk-full/usr/local/include/FL/Fl_Table_Row.H
fltk-full/usr/local/include/FL/Fl_Table.H
fltk-full/usr/local/include/FL/Fl_Sys_Menu_Bar.H
fltk-full/usr/local/include/FL/Fl_Spinner.H
fltk-full/usr/local/include/FL/Fl_Slider.H
fltk-full/usr/local/include/FL/Fl_Single_Window.H
fltk-full/usr/local/include/FL/Fl_Simple_Counter.H
fltk-full/usr/local/include/FL/Fl_Shared_Image.H
fltk-full/usr/local/include/FL/Fl_Select_Browser.H
fltk-full/usr/local/include/FL/Fl_Secret_Input.H
fltk-full/usr/local/include/FL/Fl_Scrollbar.H
fltk-full/usr/local/include/FL/Fl_Scroll.H
fltk-full/usr/local/include/FL/Fl_Round_Clock.H
fltk-full/usr/local/include/FL/Fl_Round_Button.H
fltk-full/usr/local/include/FL/Fl_Roller.H
fltk-full/usr/local/include/FL/Fl_Return_Button.H
fltk-full/usr/local/include/FL/Fl_Repeat_Button.H
fltk-full/usr/local/include/FL/Fl_Radio_Round_Button.H
fltk-full/usr/local/include/FL/Fl_Radio_Light_Button.H
fltk-full/usr/local/include/FL/Fl_Radio_Button.H
fltk-full/usr/local/include/FL/Fl_RGB_Image.H
fltk-full/usr/local/include/FL/Fl_Progress.H
fltk-full/usr/local/include/FL/Fl_Printer.H
fltk-full/usr/local/include/FL/Fl_Preferences.H
fltk-full/usr/local/include/FL/Fl_PostScript.H
fltk-full/usr/local/include/FL/Fl_Positioner.H
fltk-full/usr/local/include/FL/Fl_Plugin.H
fltk-full/usr/local/include/FL/Fl_Pixmap.H
fltk-full/usr/local/include/FL/Fl_Paged_Device.H
fltk-full/usr/local/include/FL/Fl_Pack.H
fltk-full/usr/local/include/FL/Fl_PNM_Image.H
fltk-full/usr/local/include/FL/Fl_PNG_Image.H
fltk-full/usr/local/include/FL/Fl_Overlay_Window.H
fltk-full/usr/local/include/FL/Fl_Output.H
fltk-full/usr/local/include/FL/Fl_Object.H
fltk-full/usr/local/include/FL/Fl_Nice_Slider.H
fltk-full/usr/local/include/FL/Fl_Native_File_Chooser.H
fltk-full/usr/local/include/FL/Fl_Multiline_Output.H
fltk-full/usr/local/include/FL/Fl_Multiline_Input.H
fltk-full/usr/local/include/FL/Fl_Multi_Label.H
fltk-full/usr/local/include/FL/Fl_Multi_Browser.H
fltk-full/usr/local/include/FL/Fl_Menu_Window.H
fltk-full/usr/local/include/FL/Fl_Menu_Item.H
fltk-full/usr/local/include/FL/Fl_Menu_Button.H
fltk-full/usr/local/include/FL/Fl_Menu_Bar.H
fltk-full/usr/local/include/FL/Fl_Menu_.H
fltk-full/usr/local/include/FL/Fl_Menu.H
fltk-full/usr/local/include/FL/Fl_Line_Dial.H
fltk-full/usr/local/include/FL/Fl_Light_Button.H
fltk-full/usr/local/include/FL/Fl_JPEG_Image.H
fltk-full/usr/local/include/FL/Fl_Int_Input.H
fltk-full/usr/local/include/FL/Fl_Input_Choice.H
fltk-full/usr/local/include/FL/Fl_Input_.H
fltk-full/usr/local/include/FL/Fl_Input.H
fltk-full/usr/local/include/FL/Fl_Image_Surface.H
fltk-full/usr/local/include/FL/Fl_Image.H
fltk-full/usr/local/include/FL/Fl_Hor_Value_Slider.H
fltk-full/usr/local/include/FL/Fl_Hor_Slider.H
fltk-full/usr/local/include/FL/Fl_Hor_Nice_Slider.H
fltk-full/usr/local/include/FL/Fl_Hor_Fill_Slider.H
fltk-full/usr/local/include/FL/Fl_Hold_Browser.H
fltk-full/usr/local/include/FL/Fl_Help_View.H
fltk-full/usr/local/include/FL/Fl_Help_Dialog.H
fltk-full/usr/local/include/FL/Fl_Group.H
fltk-full/usr/local/include/FL/Fl_Gl_Window.H
fltk-full/usr/local/include/FL/Fl_GIF_Image.H
fltk-full/usr/local/include/FL/Fl_Free.H
fltk-full/usr/local/include/FL/Fl_FormsPixmap.H
fltk-full/usr/local/include/FL/Fl_FormsBitmap.H
fltk-full/usr/local/include/FL/Fl_Float_Input.H
fltk-full/usr/local/include/FL/Fl_Fill_Slider.H
fltk-full/usr/local/include/FL/Fl_Fill_Dial.H
fltk-full/usr/local/include/FL/Fl_File_Input.H
fltk-full/usr/local/include/FL/Fl_File_Icon.H
fltk-full/usr/local/include/FL/Fl_File_Chooser.H
fltk-full/usr/local/include/FL/Fl_File_Browser.H
fltk-full/usr/local/include/FL/Fl_Export.H
fltk-full/usr/local/include/FL/Fl_Double_Window.H
fltk-full/usr/local/include/FL/Fl_Dial.H
fltk-full/usr/local/include/FL/Fl_Device.H
fltk-full/usr/local/include/FL/Fl_Counter.H
fltk-full/usr/local/include/FL/Fl_Copy_Surface.H
fltk-full/usr/local/include/FL/Fl_Color_Chooser.H
fltk-full/usr/local/include/FL/Fl_Clock.H
fltk-full/usr/local/include/FL/Fl_Choice.H
fltk-full/usr/local/include/FL/Fl_Check_Button.H
fltk-full/usr/local/include/FL/Fl_Check_Browser.H
fltk-full/usr/local/include/FL/Fl_Chart.H
fltk-full/usr/local/include/FL/Fl_Cairo_Window.H
fltk-full/usr/local/include/FL/Fl_Cairo.H
fltk-full/usr/local/include/FL/Fl_Button.H
fltk-full/usr/local/include/FL/Fl_Browser_.H
fltk-full/usr/local/include/FL/Fl_Browser.H
fltk-full/usr/local/include/FL/Fl_Box.H
fltk-full/usr/local/include/FL/Fl_Bitmap.H
fltk-full/usr/local/include/FL/Fl_BMP_Image.H
fltk-full/usr/local/include/FL/Fl_Adjuster.H
fltk-full/usr/local/include/FL/Fl.H
fltk-full/usr/local/include/FL/Enumerations.H
fltk-full/usr/local/bin/fluid
fltk-full/usr/local/bin/fltk-config

P.S. Can I make an extension request here ?  :-[
Is it OK if I also request an update to the old fltk-1.3.tcz as well ?
« Last Edit: March 21, 2018, 09:06:36 AM by polikuo »

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5775
Re: FLTK-full available for picore?
« Reply #4 on: March 21, 2018, 09:14:35 AM »
Hi polikuo
... P.S. Can I make an extension request here ?  :-[
Is it OK if I also request an update to the old fltk-1.3.tcz as well ?
Here is the official sub-forum for extension requests and updates:
http://forum.tinycorelinux.net/index.php/board,46.0.html

Offline PDP-8

  • Full Member
  • ***
  • Posts: 242
Re: FLTK-full available for picore?
« Reply #5 on: March 21, 2018, 03:29:59 PM »
Polikuo - THANKS!  She's compiling right now.  I'll let you know what happens when it's done.

Laugh - weeks ago I was toying around with UNDERclocking the 3B, and forgot about it.  So now it's compiling at only 800mhz.  Think reading a bbs system at 300baud. :)  Not going to stop it now!

Compiletc meta package - just bombs out telling me it's ok but does nothing.  Think I borked system earlier.  So I just looked at the file list and manually installed all the tools!

mpc.tcz came up with this message in the gui APPS tool:
Code: [Select]
Displayed text contains the UTF-8 transcoding of the input file
which was not UTF-8 encoded

Clicked ok and forged ahead!

No alsa-dev in repo - continued forward!

We'll see how it goes.  30 minutes and counting at only 800mhz! :)
« Last Edit: March 21, 2018, 03:32:17 PM by PDP-8 »
cat -v Considered Harmful  -- Rob Pike

Offline PDP-8

  • Full Member
  • ***
  • Posts: 242
Re: FLTK-full available for picore?
« Reply #6 on: March 21, 2018, 05:44:23 PM »
Close but no cigar!

Tc-proto from the X64 repo cured the looking for Xft headers problem.  Still, got into an endless configuration loop warning me about ignoring lSM and lICE ..

I'll make the formal extension request.  It was fun trying though...

Seriously, thanks Polikuo for the help!
« Last Edit: March 21, 2018, 05:51:09 PM by PDP-8 »
cat -v Considered Harmful  -- Rob Pike

Offline PDP-8

  • Full Member
  • ***
  • Posts: 242
Re: FLTK-full available for picore?
« Reply #7 on: March 22, 2018, 12:15:58 AM »
Forgot to tell them in my formal request for fltk-full that the option

--enable-xft

was REALLY important to me .... hopefully they'll spot it..
cat -v Considered Harmful  -- Rob Pike