Build: a defined 'from scratch' build of goffice and gnumeric.
the script below worked for me to download,
configure, build and install goffice, gnumeric, gnumeric-long
and their dependencies. I'd like if others do a recheck,
and provide add. info, how to activate add. configuration
options, and which prerequisites are necessary for which
option.
as result of './autogen.sh --enable-introspection --with-long-double
I get:
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g -O2 -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS -Wall -Werror=init-self -Werror=missing-include-dirs -Wsign-compare -Werror=pointer-arith -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Werror=missing-prototypes -Werror=nested-externs -Werror=implicit-function-declaration -Wmissing-declarations -Wno-pointer-sign -Werror=format-security -Wstrict-prototypes -Wno-error=format-nonliteral
Floating point type: long double (EXPERIMENTAL)
UI: Gtk
Perl plugin support: No. (failed to compile test program)
Python plugin support: yes (using /usr/bin/python3)
Introspection python support: Yes.
GDA support: NO. libgda problem
GNOME-DB support: no
Psiconv support: Missing dependencies
PDF documentation: No, not requested.
how to enable
Perl plugin support?
GDA support?
GNOME-DB support?
Psiconv support?
PDF documentation?
( install 'sudo apt-get install dblatex' | configure with '--enable-pdfdocs' )
provided on an 'as is' basis with best effort but without any warranty,
neither expressed nor implied, USE CAREFULLY AND AT YOUR OWN RISK!
[ install.sh as download ]install.sh
install.sh as text:
#!/bin/bash
read -p "Press any key to 'sudo add-apt-repository universe' or ctr-C to cancel the script ..."
echo | sudo add-apt-repository universe
echo ends in 7 'skipped' reg. 'misspelt?',
echo
read -p "Press any key to 'sudo apt-get update' or ctrl-C to cancel the script ..."
sudo apt-get update
echo ends in 7 'skipped' reg. 'misspelt?',
echo
read -p "Press any key to 'sudo apt-get install mc' or ctrl-C to cancel the script ..."
yes | sudo apt-get install mc
echo
read -p "Press any key to 'sudo apt-get install zsh' or ctrl-C to cancel the script ..."
yes | sudo apt-get install zsh
echo
read -p "Press any key to 'chsh -s /usr/bin/zsh' or ctrl-C to cancel the script ..."
chsh -s /usr/bin/zsh
echo
read -p "Press any key to 'sudo apt-get install zsh-autosuggestions' or ctrl-C to cancel the script ..."
yes | sudo apt-get install zsh-autosuggestions
echo
read -p "Press any key to 'sudo apt-get install gnumeric gnumeric-plugins-extra gnumeric-doc
' or ctrl-C to cancel the script ..."
yes | sudo apt-get install gnumeric gnumeric-plugins-extra gnumeric-doc
echo
read -p "Press any key to 'sudo mkdir /usr/src/gnome' or ctrl-C to cancel the script ..."
sudo mkdir /usr/src/gnome
echo
read -p "Press any key to 'sudo chown ubuntu:ubuntu /usr/src/gnome' or ctrl-C to cancel the script ..."
sudo chown ubuntu:ubuntu /usr/src/gnome
echo
read -p "Press any key to 'ln -s /usr/src/gnome ~/gnome.lnk' or ctrl-C to cancel the script ..."
ln -s /usr/src/gnome ~/gnome.lnk
echo
read -p "Press any key to 'cd ~/gnome.lnk' or ctrl-C to cancel the script ..."
cd ~/gnome.lnk
echo ( install 'sudo apt-get install dblatex' | configure with '--enable-pdfdocs' )
read -p "Press any key to 'mkdir 000_from_scratch' or ctrl-C to cancel the script ..."
mkdir 000_from_scratch
echo
read -p "Press any key to 'cd 000_from_scratch' or ctrl-C to cancel the script ..."
cd 000_from_scratch
read -p "Press any key to 'sudo apt-get install git' or ctrl-C to cancel the script ..."
yes | sudo apt-get install git
echo
read -p "Press any key to 'git clone https://gitlab.gnome.org/GNOME/goffice.git' or ctrl-C to cancel the script ..."
git clone https://gitlab.gnome.org/GNOME/goffice.git
echo
read -p "Press any key to 'git clone https://gitlab.gnome.org/GNOME/gnumeric.git' or ctrl-C to cancel the script ..."
git clone https://gitlab.gnome.org/GNOME/gnumeric.git
echo
read -p "Press any key to 'cp -r gnumeric gnumeric-long' or ctrl-C to cancel the script ..."
cp -r gnumeric gnumeric-long
echo
read -p "Press any key to 'cp -r goffice goffice_ori' or ctrl-C to cancel the script ..."
cp -r goffice goffice_ori
echo
read -p "Press any key to 'cp -r gnumeric gnumeric_ori' or ctrl-C to cancel the script ..."
cp -r gnumeric gnumeric_ori
echo
read -p "Press any key to 'cp -r gnumeric-long gnumeric-long_ori' or ctrl-C to cancel the script ..."
cp -r gnumeric-long gnumeric-long_ori
echo
read -p "Press any key to 'sudo apt-get install libglib2.0-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libglib2.0-dev
read -p "Press any key to 'sudo apt-get install libgdk-pixbuf2.0-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgdk-pixbuf2.0-dev
read -p "Press any key to 'sudo apt-get install libgtk2.0-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgtk2.0-dev
read -p "Press any key to 'sudo apt-get install libgsf-1-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgsf-1-dev
read -p "Press any key to 'sudo apt-get install libgconf2-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgconf2-dev
read -p "Press any key to 'sudo apt-get install libgtk-3-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgtk-3-dev
read -p "Press any key to 'sudo apt-get install libgoffice-0.10-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgoffice-0.10-dev
read -p "Press any key to 'sudo apt-get install python2-dev' or ctrl-C to cancel the script ..."
yes | sudo apt-get install python2-dev
read -p "Press any key to 'sudo apt-get install python-dev-is-python3' or ctrl-C to cancel the script ..."
yes | sudo apt-get install python-dev-is-python3
read -p "Press any key to 'sudo apt-get install python-gi-dev' or ctrl-C to cancel the script ..."
sudo apt-get install python-gi-dev
read -p "Press any key to 'sudo apt-get install libgda-5.0-4' or ctrl-C to cancel the script ..."
yes | sudo apt-get install libgda-5.0-4
#sudo apt-get install libgnomedb2-dev
#E: Unable to locate package libgnomedb2-dev
#TODO: no solution?
read -p "Press any key to 'sudo apt-get install gtk-doc-tools' or ctrl-C to cancel the script ..."
sudo apt-get install gtk-doc-tools
read -p "Press any key to 'sudo apt-get install intltool' or ctrl-C to cancel the script ..."
sudo apt-get install intltool
read -p "Press any key to 'cd goffice' or ctrl-C to cancel the script ..."
cd goffice
read -p "Press any key to 'sudo make clean' or ctrl-C to cancel the script ..."
sudo make clean
read -p "Press any key to './autogen.sh' or ctrl-C to cancel the script ..."
./autogen.sh
read -p "Press any key to 'make' or ctrl-C to cancel the script ..."
make
read -p "Press any key to 'sudo make install' or ctrl-C to cancel the script ..."
sudo make install
read -p "Press any key to 'cd ..' or ctrl-C to cancel the script ..."
cd ..
read -p "Press any key to 'sudo apt-get install yelp-tools' or ctrl-C to cancel the script ..."
yes | sudo apt-get install yelp-tools
read -p "Press any key to 'sudo apt-get install -y bison' or ctrl-C to cancel the script ..."
sudo apt-get install -y bison
read -p "Press any key to 'cd gnumeric' or ctrl-C to cancel the script ..."
cd gnumeric
read -p "Press any key to './autogen.sh' or ctrl-C to cancel the script ..."
./autogen.sh
read -p "Press any key to 'sudo apt-get install dconf-editor' or ctrl-C to cancel the sc( install 'sudo apt-get install dblatex' | configure with '--enable-pdfdocs' ) ript ..."
sudo apt-get install dconf-editor
read -p "Press any key to 'sudo apt-get install gobject-introspection' or ctrl-C to cancel the script ..."
yes | sudo apt-get install gobject-introspection
read -p "Press any key to 'sudo apt-get install valgrind' or ctrl-C to cancel the script ..."
yes | sudo apt-get install valgrind
read -p "Press any key to 'sudo apt-get install dblatex' or ctrl-C to cancel the script ..."
yes | sudo apt-get install dblatex
read -p "Press any key to 'sudo apt-get install mono / monodevelop' or ctrl-C to cancel the script ..."
sudo apt-get install mono / monodevelop
#'-> no success, TODO: work through
#https://www.mono-project.com/download/stable/#download-lin
#and https://www.tecmint.com/install-mono-net-framework-linux/,
read -p "Press any key to 'sudo apt-get install pxlib-dev' or ctrl-C to cancel the script ..."
sudo apt-get install pxlib-dev
read -p "Press any key to 'sudo apt-get install psiconv' or ctrl-C to cancel the script ..."
sudo apt-get install psiconv
#'-> TODO: no success,
read -p "Press any key to 'sudo apt-get install libgirepository1.0-dev' or ctrl-C to cancel the script ..."
sudo apt-get install libgirepository1.0-dev
read -p "Press any key to 'cd gnumeric' or ctrl-C to cancel the script ..."
cd gnumeric
read -p "Press any key to 'sudo make clean' or ctrl-C to cancel the script ..."
sudo make clean
read -p "Press any key to './autogen.sh --enable-introspection' or ctrl-C to cancel the script ..."
./autogen.sh --enable-introspection
read -p "Press any key to 'make' or ctrl-C to cancel the script ..."
make
read -p "Press any key to 'sudo make install' or ctrl-C to cancel the script ..."
sudo make install
read -p "Press any key to 'cd ..' or ctrl-C to cancel the script ..."
cd ..
read -p "Press any key to 'cd gnumeric-long' or ctrl-C to cancel the script ..."
cd gnumeric-long
read -p "Press any key to 'sudo make clean ' or ctrl-C to cancel the script ..."
sudo make clean
read -p "Press any key to './autogen.sh --enable-introspection --with-long-double' or ctrl-C to cancel the script ..."
./autogen.sh --enable-introspection --with-long-double
read -p "Press any key to 'make' or ctrl-C to cancel the script ..."
make
read -p "Press any key to 'sudo make install' or ctrl-C to cancel the script ..."
sudo make install
read -p "Press any key to 'cd ..' or ctrl-C to cancel the script ..."
cd ..
Edited by b. s.