Using checkinstall in svn build

Brian J. Tarricone bjt23 at cornell.edu
Wed Sep 28 01:37:44 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/27/2005 4:27 PM, Foxy wrote:
> I mean the following. I run ./autogen.sh, then make and then 
> checkinstall to build and install a deb. So I've  got this in the process:
> 
> 
>>*****************************************
>>**** Debian package creation selected ***
>>*****************************************
>>
>>*** Warning: The package name "         xfce4-toys" contains upper case
>>*** Warning: letters. dpkg might not like that so I changed
>>*** Warning: them to lower case.
>>
>>This package will be built according to these values:
>>
>>0 -  Maintainer: [ root at neclaptop ]
>>1 -  Summary: [         Various tools for xfce4. ]
>>2 -  Name:    [ xfce4-toys ]
>>3 -  Version: [         4.3.0 ]
>>4 -  Release: [         1 ]
>>5 -  License: [ GPL ]
>>6 -  Group:   [                 User Interface/Desktops ]
>>7 -  Architecture: [ i386 ]
>>8 -  Source location: [ xfce4-toys ]
>>9 -  Alternate source location: [  ]
>>10 - Requires: [        xfce4-panel >= 4.2.0 ]
> 
> 
> As you can see, there are spaces before 3-  Version, 4 - Release and 10 
> - Requires. Also there are >= after dependencies. Well, I can manually 
> ge rid of space in version and release, but it is not possible with 
> Requires. If I proceed, the building of deb failed with the following 
> message:
> 
> 
>>dpkg-deb: parse error, in file 
>>`/var/tmp/aeWIkNLLCOrDiCZJPOBf/package/DEBIAN/control' near line 8 
>>package `xfce4-toys':
>> `Depends' field, syntax error after reference to package `xfce4-panel'

Sounds like a bug in checkinstall.  It should strip leading and trailing
spaces from everything.

As I said, patches are welcome.

	-brian


> 
> 
> 
> 
> 
> 
> Brian J. Tarricone wrote:
> 
> 
> On 9/27/2005 3:28 PM, Foxy wrote:
>  
> 
> 
>>I tried to build a xfce from svn using checkinstall instead of make 
>>install. It proved a real problem. The thing is that checkinstall does 
>>not like spaces in version and release numbers, signs like > or = and 
>>spaces in dependencies. I wanted to use a script which I found at 
>>http://www.q-collective.org/xfce/ and modified. Well I ended up 
>>installing a snapshot and for the components which are not in snapshot I 
>>edited .spec file every time.
> 
>>I wonder if it is possible to make it easier to install xfce-svn using 
>>checkinstall?
> 
> 
> 
> Not sure what you mean.  We don't have spaces in any of our
> version/release numbers.  I'm not sure how checkinstall looks at
> dependencies, but we just use the standard method (pkgconfig) to check
> for them.  The .spec files are not necessarily up-to-date.
> 
> Patches to achieve what you want are always welcome, of course ^_~.
> 
> 	-b
> 
_______________________________________________
Xfce mailing list
Xfce at xfce.org
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDOdfI6XyW6VEeAnsRAuUbAJ9St53TiIMFxGnFK5QuzXukGnj7+QCfScZn
olX0fv6AJAbHkpGPZQ0MNtg=
=GdyX
-----END PGP SIGNATURE-----



More information about the Xfce mailing list