fbc .deb packages for x86_64,i386,armhf

Linux specific questions.
sgaba
Posts: 31
Joined: Aug 15, 2005 19:18
Location: Czech Republic

fbc .deb packages for x86_64,i386,armhf

Postby sgaba » Dec 20, 2016 11:36

Hello
I generated .deb packages of fbc for x86_64,i386,armhf
It is a version 1.05.0 vanilla and git version.



You can download it at:
https://www.dropbox.com/sh/25s64q3woan558j/AADDnbmtNm1j2JaNcXou9d_7a?dl=0
or
https://drive.google.com/open?id=0B53cRMSpme_nRnRCdGtrTlBsWVU
It's still just x86_64 version but the i386 and ARMv7-hf will come soon.
how to:

install:

Code: Select all

sudo dpkg -i fbc_1.05.0_amd64.deb
sudo apt install -f -y


uninstall:

Code: Select all

sudo dpkg -P fbc
sudo apt autoremove -y


Bonus:
FbEdit Black Night scheme for Geany
how to:
download geany-themes-master.tar

Code: Select all

sudo apt install geany -y
tar -xf geany-themes-master.tar
cd geany-themes-master
sh install.sh

menu->view->change color scheme->FbEdit Black Night

Thanks if someone test it and giv me report. :)
Last edited by sgaba on Dec 21, 2016 17:56, edited 1 time in total.
St_W
Posts: 1495
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: fbc .deb packages

Postby St_W » Dec 20, 2016 13:50

It would be nice if you could provide a script/program that automatically creates a .deb from a "normal" .zip package and/or describe how to use it.
Have you built/used something like that or was manual work involved for creating the .deb package?
sgaba
Posts: 31
Joined: Aug 15, 2005 19:18
Location: Czech Republic

Re: fbc .deb packages

Postby sgaba » Dec 20, 2016 19:01

It's easy. There is example how generate .deb from sources from git repositary.

First you must have fbc installed on your debian baset (debian,ubuntu,mint....) machine.
You can download it from

Code: Select all

https://sourceforge.net/projects/fbc/files/Binaries%20-%20Linux/

unzip and as usual:

Code: Select all

sudo sh install.sh -i


and here it is:

Code: Select all

# install git and make and checkinstall
sudo apt install -y git make checkinstall
# clone fbc git repository
git clone https://github.com/freebasic/fbc.git
# install gcc and necessary libs
sudo apt install -y gcc libncurses-dev libgpm-dev libx11-dev libxext-dev libxpm-dev libxrandr-dev libxrender-dev libgl1-mesa-dev libffi-dev
# cd to fbc dir
cd fbc
# make fbc
make
# generated .deb package
sudo checkinstall --install=no


Then follow the instructions and .deb it generate.
I added some dependences for automatic installation to my package:
gcc, libncurses-dev, libffi-dev, libgl1-mesa-dev, libx11-dev, libxext-dev, libxrender-dev, libxrandr-dev, libxpm-dev

btw there is some script to generate .deb in FreeBASIC-1.05.0-source/contrib/deb

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests