Comment 22 for bug 1576060

Revision history for this message
Georg Lipps (georg-lipps) wrote :

Hi Robert,

I do not know how to make correct deb files. Here my recipe to install from source avoiding command line as much as possible and having the option to revert unwanted changes via synaptic.

Using synaptic (or comparable software) install:

python-gtk2-dev
python-gconf
at
gnome-doc-utils
scrollkeeper

This will install additional libs you need later (that is were I failed in my first attempt).

Download the gnome-schedule-2.3.0.tar.gz from https://sourceforge.net/projects/gnome-schedule/

Extract the file in your home directory under a new directory e.g

~/src/gnome-schedule-2.3.0/

Go into this directory - you can operate without sudo (changes are only done in this directory):

georg@InaUbuntu:~/src/gnome-schedule-2.3.0$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for python2... /usr/bin/python2
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGTK... yes
checking for pkg-config... /usr/bin/pkg-config
checking PYTHONPATH env variable for PyGTK... /usr/lib/python2.7/dist-packages
checking for gtk.glade... found
checking for python gconf... found
checking for crontab... /usr/bin/crontab
checking for at... /usr/bin/at
checking for atq... /usr/bin/atq
checking for atrm... /usr/bin/atrm
checking for batch... /usr/bin/batch
checking for su... /bin/su
checking for xsltproc... /usr/bin/xsltproc
checking for whether to include GNOME panel applet..... no
checking whether ln -s works... yes
checking gnome-doc-utils >= 0.3.2... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... ar bg bs ca cs da de dz el en_CA en_GB es eu fi fr gl gu hu id it ja lt nb ne nl nn oc pa pl pt pt_BR ro ru rw sl sq sr sr@latin sv tr uk vi zh_CN zh_HK zh_TW
checking whether NLS is requested... yes
./configure: line 6045: intltool-update: command not found
checking for intltool-update... no
checking for intltool-merge... no
checking for intltool-extract... no
configure: error: The intltool scripts were not found. Please install intltool.
georg@InaUbuntu:~/src/gnome-schedule-2.3.0$

intltool is missing, go back to synaptic and install. Depending upon your setup you may need install other stuff (see list above).

repeat ./configure

this time

...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.py
config.status: creating src/Makefile
config.status: creating src/gnome-schedule
config.status: creating src/gnome-schedule-export
config.status: creating src/gnome-schedule-import
config.status: creating icons/Makefile
config.status: creating po/Makefile.in
config.status: creating desktop/Makefile
config.status: creating desktop/gnome-schedule.desktop.in
config.status: creating servers/Makefile
config.status: creating servers/GNOME_GnomeSchedule.server.in
config.status: creating help/Makefile
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
georg@InaUbuntu:~/src/gnome-schedule-2.3.0$

now make

(long output)

Please close synaptic now - otherwise there will be an error.

georg@InaUbuntu:~/src/gnome-schedule-2.3.0$ sudo checkinstall <=== here sudo needed (changes are made to system)
[sudo] Passwort für georg:

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
  Diese Software wurde unter der GNU GPL veröffentlicht

The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]:

Bereite Paket-Dokumentation vor...OK

Bitte geben Sie eine Beschreibung für das Paket ein.
Beenden Sie Ihre Beschreibung mit einer leeren Zeile oder EOF.
>> gnome-schedule 2.3 manual installed

*****************************************
**** Debian package creation selected ***
*****************************************

Das Paket wird entsprechend dieser Vorgaben erstellt:

0 - Maintainer: [ root@InaUbuntu ]
1 - Summary: [ gnome-schedule 2.3 manual installed ]
2 - Name: [ gnome-schedule ]
3 - Version: [ 2.3.0 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ gnome-schedule-2.3.0 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ gnome-schedule ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Geben Sie die betreffende Nummer ein, um die Vorgaben zu ändern:

No need to change here, to make it perfect it would, I guess, be required to indicate all the needed libs which I do not know exactly.

A lot of output & takes some time.

Checkinstall creates a *.deb file which you may use on a similar computer. I prefer this method since I can deinstall later via synpatic when something went wrong.

georg@InaUbuntu:~/src/gnome-schedule-2.3.0$ ls *.deb
gnome-schedule_2.3.0-1_amd64.deb

georg@InaUbuntu:~/src/gnome-schedule-2.3.0$ gnome-schedule

.. Enjoy !

Afer rebooting gnome-schedule is found vie dash.

Good luck !