|
Post by Pjot on Feb 9, 2019 10:25:52 GMT 1
Hi bigbass, You can force compilation with the FLTK GUI easily as follows: # ./configure --enable-gui-fltk
To make sure both GUI's are compiled then provide the argument for the GTK GUI as well: # ./configure --enable-gui-fltk --enable-gui-gtk
Usually, it is enough to have one programming GUI. Now the 'configure' script will autodetect if there are GUI libraries on the platform and, depending on the results, it chooses either GTK or FLTK.
However, this mechanism can be overridden by the aforementioned arguments.
HTH Peter
|
|
|
Post by bigbass on Feb 9, 2019 17:01:28 GMT 1
Hello Peter
Thanks. yes, the configure line is the best way of course
I added a check for the dev package when building from source we need more than the runtime lib and did an update of the latest syntax for geany when using bacon Feb-9-2019
Joe
# RPI or other OS without a package if test "$result_MY_OS" == "armhf" ; then
apt-get install enscript apt-get install xterm apt-get install indent apt-get install libfltk1.3 #====================================================================== result_MY_FLTK_VERSION=$(fltk-config --version) #====================================================================== if test "$result_MY_FLTK_VERSION" 2>/dev/null; then echo -e " Your fltk version = $result_MY_FLTK_VERSION" else echo -e " libfltk1.3-dev is NOT installed" apt-get install libfltk1.3-dev fi
# parse site index do a clean up of the html and filter out the first field baconversion_raw=`curl -s http://www.basic-converter.org/stable/ | grep "tar.gz" | sed -e 's/<[^>]*>//g' | cut -f1 -d " "` wget -N "http://www.basic-converter.org/stable/$baconversion_raw" tar -zxf $baconversion_raw
# bacon source folder and making bacon baconversion_folder=$(basename $baconversion_raw .tar.gz) cd $baconversion_folder ./configure --prefix=/usr --enable-gui-fltk make make install # take the liberty to add a fix to geany syntax for RPI only # this allows geany to highlight bacon syntax #cd into the folder of this folder geany_bacon-2 cd ../geany_bacon-2 cp filetypes.freebasic /usr/share/geany/filedefs cp filetype_extensions.conf /usr/share/geany
fi
this is extra if we need to simulate a clean system providing the configure (./configure --prefix=/usr --enable-gui-fltk)
sudo apt-get remove libfltk1.3 # that also removes the dev package and other dependencies sudo make uninstall rm -f /usr/bin/bacon rm -f /usr/bin/bacongui-gtk rm -f /usr/bin/bacongui-fltk rm -f /usr/bin/bacon.sh rm -f /usr/lib/libbacon.a rm -f /usr/lib/libbacon++.a rm -f /usr/share/man/man1/bacon.1 rm -f /usr/share/applications/bacongui-gtk.desktop rm -f /usr/share/applications/bacongui-fltk.desktop rm -f /usr/share/pixmaps/BaCon.png rm -f /usr/share/pixmaps/BaCon24.png rm -f /usr/share/pixmaps/BaConEyes.png rm -f /usr/share/enscript/hl/bacon.st
|
|
|
Post by bigbass on Apr 29, 2019 0:26:49 GMT 1
First post of this thread updated to work with ubuntu mate 18.04 for the RPI3 (needs curl) updated fltk version added golang and webkit as packages you can install from the GUI note I tested bionic 18.04 ubuntu-mate.org/raspberry-pi/as expected looks good but it is much slower the only reason I tried it was to see if webkit was working and it has the latest webkit so if you must use the RPI3 and webkit this is the way to go also good to have another clean test box for ubuntu Joe
|
|
|
Post by vovchik on Jun 27, 2019 21:00:13 GMT 1
Dear Joe,
Thanks. Your scripts speeded things up a great deal - and I got fltk 1.3.5 installed in a jiffy, in addition to a few other essentials that I had forgotten. So, I can now confirm that the package is very useful for new users and for people installing on a new system.
With kind regards, vovchik
|
|
|
Post by bigbass on Feb 11, 2020 17:37:46 GMT 1
first post
2-10-2020 last update bacon-setup-28.tar.gz (19.68 KB)
the terminal is now fixed dumb terminal cxx ported to bacon part of the main program now and added 38 keywords to geany's highlighting Joe
|
|
|
Post by vovchik on Feb 11, 2020 21:28:40 GMT 1
Dear Joe,
Thanks. I appreciate all those new keywords in geany, too...
With kind regards, vovchik
|
|
|
Post by bigbass on Aug 12, 2020 16:52:14 GMT 1
8-12-2020 last update m4 is needed in buster 10 added it to the dependencies
first post in this thread
just installed the latest raspberry pi OS they changed the name used to be raspberian
to test all features of some projects I am working on I installed all again clean and will document any new findings
Joe
|
|
|
Post by vovchik on Aug 12, 2020 18:38:26 GMT 1
Dear Joe,
I did the same with my Buster on the Pi4. I used your script, and had to do something by hand (but did not record my steps - must have been m4). Good thing you did. Thanks.
With kind regards, vovchik
|
|
|
Post by alexfish on Aug 12, 2020 19:20:19 GMT 1
Hi Joe
RPI3
as a first i install
autoconf libtool
and m4 will be installed as a dependency + will allow installing bacon lib 'dependencies ' noted on baCon web site::
BR Alex
|
|
|
Post by bigbass on Dec 30, 2020 18:32:56 GMT 1
Hello It took me long time to get here to have a bacon installer GUI using fltk without having bacon installed first the old chicken or egg comes first problem well if you want a bacon breakfast and have no bacon installed yet the fltk GUI can be built with just cmake now ! then cmake can build a deb or rpm and then you have the package manager install it then from the command line bacon-setup will run the fltk gui for extra dev tools we now can make apps with bacon and package them as deb's or rpm's or make install having official packages is a great advantage for bacon development CMAKE_bacon-setup.tar.gz (65.1 KB) fixed code added the new fluid GUI tool I made that gets compiled when you build fltk from source joe
|
|
|
Post by rikky on Feb 13, 2021 15:20:42 GMT 1
So, I've got myself a Raspi4. I'm not happy. I tend to mess around in my system, without being hindered by too much knowledge. Ruining the system often. With the RPi3 there is Berryboot, in which my adaptations are recorded in a layer above the READONLY system. Simply wipe the SHARED folder and start afresh. Berryboot doesn't work properly in RPi4 Well it doesn't work properly in RPi3 either for it adds its own kernel instead of the one provided by the OS. So I'm looking for a overlay folder system to use in RPi4 Anyway, since my SHARED folder doesn't work in RPi4, I did a bacon-setup-29. Hmm .... There are a lot of sudo apt-get installs to say yes to. Since the script is already demanding the user to sudo the script, I presume that the user already trust the program(maker), so I added a '-y' to the apt-gets. And m4 is no longer in use, but instead flex is used. Attached auto-install-bacon result: Your BaCon version = 4.3.1 Your g++ version = 8 Rik. Attachments:auto-install-bacon (6.39 KB)
|
|
|
Post by bigbass on Feb 13, 2021 17:49:14 GMT 1
Hello Rik
Good to see it installed on a RPI4
My last update on that script was 8-12-2020
I will add flex to that older script
since then I have moved on to using cmake and flex is a dependency
one of the many reasons I don't force "-y" with apt-get is because I or someone else may have development packages installed such as fltk-1.4 and the official package is fltk-1.3.4
and apt-get would correctly "clobber" overwrite your development package installs
and this way you could choose what is best for your needs but opt out also (a pilot that can turn off the autopilot switch)
Joe
|
|
|
Post by rikky on Feb 14, 2021 10:15:42 GMT 1
I see Then maybe here is a sugestion: # real auto_install or ask [[ $@ != *-y* ]] && [[ $@ != *-Y* ]] && [[ $@ != *-yes* ]] && \ [[ $@ != *-YES* ]] && [[ $@ != *yes* ]] && [[ $@ != *YES* ]] || yes="-y"
#blabla
apt-get install enscript $yes apt-get install xterm $yes apt-get install indent $yes #etc
#blabla Rik
|
|
|
Post by bigbass on Apr 27, 2021 19:05:27 GMT 1
Note : As of around September of 2018 I have only been using the raspberry pi3 until this month of April I installed mint 20.1 64 bit on a laptop so that I could test some code so I went back and updated a lot of code to compile for 64 bit mint 20.1 xfce linuxmint.com/download.phpand finding out nothing worked for gtk3 on 64 bit was not a good feeling to say the least at first but I can take the next step and update all the gtk3 code to compile in 2021 (again for 64 bit also) I also updated geany's bacon keyword syntax to the latest beta 4.3.2 *all updated code will be only in the first post of this thread I will do this for all my posts to free space up on the forum leaving just ( the latest tested to be working examples for 2021 ) Joe
|
|
|
Post by Pjot on Apr 28, 2021 8:25:23 GMT 1
Thanks Joe for your updated Geany configuration.
If it is no problem for you, I'ld like to add it to the source package. I am planning to release 4.3.2 by the end of this week.
Best regards Peter
|
|