Jigdo improvements

Jonathan Martens jonathan at snetram.nl
Tue Jun 2 20:54:08 UTC 2009


Since I recently had the need to use jigdo from EPEL and stumbled on 
some problems/defects I am directing this to the epel-devel-list, not 
sure if it is the right target, so if this is misdirected here, please 
be so kind as to provide me to the proper channel(s).

I am using the latest jigdo released in EPEL for EL5 the moment on 
CentOS 5.3 at the time of writing: jigdo-0.7.3-4.el5

When I installed jigdo a lot of libX related packages were dragged into 
my minimal installation. Since jigdo has a functional CLI interface 
(jigdo-lite) and a WYSIWYG interface which is currently not fully 
functional).

Since I do my work mainly on the CLI (on a system as minimal as 
possible) I was wondering if it would be possible to split the package 
in a non-WYSIWYG package (containing only jigdo-lite) and a WYSIWYG 
package (containing graphical stuff), this would save me a lot of libX* 
related packages:

[root at mirror ~]# rpm -qa --last | grep 'Tue 02 Jun 2009'
which-2.16-7                                  Tue 02 Jun 2009 10:44:53 
PM CEST
jigdo-0.7.3-4.el5                             Tue 02 Jun 2009 10:11:18 
PM CEST
gtk2-2.10.4-20.el5                            Tue 02 Jun 2009 10:11:16 
PM CEST
pango-1.14.9-5.el5.centos                     Tue 02 Jun 2009 10:11:15 
PM CEST
libXrandr-1.1.1-3.1                           Tue 02 Jun 2009 10:11:14 
PM CEST
libXinerama-1.0.1-2.1                         Tue 02 Jun 2009 10:11:14 
PM CEST
libXi-1.0.1-3.1                               Tue 02 Jun 2009 10:11:14 
PM CEST
libXft-2.1.10-1.1                             Tue 02 Jun 2009 10:11:14 
PM CEST
libXrender-0.9.1-3.1                          Tue 02 Jun 2009 10:11:13 
PM CEST
libXfixes-4.0.1-2.1                           Tue 02 Jun 2009 10:11:13 
PM CEST
libXext-1.0.1-2.1                             Tue 02 Jun 2009 10:11:13 
PM CEST
libXcursor-1.1.7-1.1                          Tue 02 Jun 2009 10:11:13 
PM CEST
cairo-1.2.4-5.el5                             Tue 02 Jun 2009 10:11:13 
PM CEST
libXdmcp-1.0.1-2.1                            Tue 02 Jun 2009 10:11:12 
PM CEST
libX11-1.0.3-9.el5                            Tue 02 Jun 2009 10:11:12 
PM CEST
gnutls-1.4.1-3.el5_2.1                        Tue 02 Jun 2009 10:11:11 
PM CEST
curl-7.15.5-2.1.el5_3.4                       Tue 02 Jun 2009 10:11:11 
PM CEST
cups-libs-1.3.7-8.el5_3.4                     Tue 02 Jun 2009 10:11:11 
PM CEST
libXau-1.0.1-3.1                              Tue 02 Jun 2009 10:11:10 
PM CEST
atk-1.12.2-1.fc6                              Tue 02 Jun 2009 10:11:10 
PM CEST
libtiff-3.8.2-7.el5_2.2                       Tue 02 Jun 2009 10:11:09 
PM CEST
libpng-1.2.10-7.1.el5_3.2                     Tue 02 Jun 2009 10:11:09 
PM CEST
libjpeg-6b-37                                 Tue 02 Jun 2009 10:11:09 
PM CEST
xorg-x11-filesystem-7.1-2.fc6                 Tue 02 Jun 2009 10:11:06 
PM CEST
fontconfig-2.4.1-7.el5                        Tue 02 Jun 2009 10:11:06 
PM CEST
hicolor-icon-theme-0.9-2.1                    Tue 02 Jun 2009 10:11:05 
PM CEST
freetype-2.2.1-21.el5_3                       Tue 02 Jun 2009 10:11:04 
PM CEST
[root at mirror ~]#

Furthermore after installation I received a few errors when invoking the 
program:

[root at mirror ~]# jigdo-lite --scan /storage/SME/releases/testing/8/ 
--noask smeserver-8.0beta4-i386.jigdo

Jigsaw Download "lite"
Copyright (C) 2001-2005  |  jigdo@
Richard Atterer          |  atterer.net
/usr/bin/jigdo-lite: line 676: which: command not found
Could not find program `wget' - please install it!
/usr/bin/jigdo-lite: line 676: which: command not found
Could not find program `egrep' - please install it!
/usr/bin/jigdo-lite: line 676: which: command not found
Could not find program `sed' - please install it!
/usr/bin/jigdo-lite: line 676: which: command not found
Could not find program `gzip' - please install it!
/usr/bin/jigdo-lite: line 676: which: command not found
Could not find program `wc' - please install it!
/usr/bin/jigdo-lite: line 676: which: command not found
Could not find program `expr' - please install it!

-----------------------------------------------------------------
Images offered by `smeserver-8.0beta4-i386.jigdo':
   1: smeserver-8.0beta4-i386.iso
Path to scan: /storage/SME/releases/testing/8/

Not downloading .template file - `smeserver-8.0beta4-i386.template' 
already present
/usr/bin/jigdo-file: Output file `smeserver-8.0beta4-i386.iso' already 
exists - delete it or use --force
jigdo-file failed with code 3 - aborting.

Most of them were on my system apart from which. After installing which 
I was able to successfully build my ISO using jigdo, so I think the 
package SPEC file needs a few additional require directives to make sure 
all dependencies are met when installing jigdo:

Only wget is listed currently when querying requirements for jigdo, so 
this would be the additions AFAICT:

Require: which
Require: egrep
Require: sed
Require: gzip
Require: wc
Require: expr

Once again I am hoping I am directing my request to the proper channels.

Kind regards,

Jonathan




More information about the epel-devel-list mailing list