Comment 36 for bug 1576060

Revision history for this message
MestreLion (mestrelion) wrote :

For 18.04 I created a script to install dependencies and build from git. Builds and install cleanly with no errors. It installs to current user only, using $HOME/.local prefix, as I dislike installing experimental/deprecated stuff to my system. I've added a few comments on which build error each installed package fixes.

Hope this is useful!

#!/bin/bash

# alternative: sudo snap install gnome-schedule --edge
packages=(
 gnome-common # You need to install gnome-common from the GNOME CVS
 libglib2.0-dev # ***Error***: You must have glib-gettext >= 2.2.0 installed
 gnome-doc-utils # automake: error: cannot open < gnome-doc-utils.make: No such file or directory
 python-gtk2-dev # configure: error: Package requirements (pygtk-2.0 >= 2.6) were not met: No package 'pygtk-2.0' found
 python-gconf # configure: error: You need to have python gconf bindings installed
 at # configure: error: Please install the application at
)
sudo apt install "${packages[@]}"

git clone https://gitlab.gnome.org/GNOME/gnome-schedule.git
pushd gnome-schedule

# Makefile.am: error: required file './README' not found.
# https://gitlab.gnome.org/GNOME/gnome-schedule/commit/4eb6ed6a0ca7b66f2f344985bdd34ca0403031ee
# https://gitlab.gnome.org/GNOME/gnome-schedule/commit/a6af1f00fce8bc13c57e81455f430b95fded4638
cp README.md README

# Creates gnome-doc-utils.make symlink to /usr/share/gnome-doc-utils/gnome-doc-utils.make
# https://mail.gnome.org/archives/balsa-list/2009-January/msg00004.html
# https://gitlab.gnome.org/GNOME/gnome-common/commit/1f60e9536dd8ac71a799d60eb128c6c928c67639
gnome-doc-prepare

./autogen.sh --prefix=$HOME/.local &&
make &&
make install