[Users] Building CM 3.17

Ralf Mardorf kde.lists at yahoo.com
Wed Jul 29 11:13:13 CEST 2020


Hi,

if all dependencies are installed, you should be able to build it.
You could skip the steps './configure' and 'make' and just run
'sudo checkinstall', but I recommend against it, at least don't build
with root privileges.

Follow those steps:


1.
[weremouse at moonstudio tmp]$ git clone git://git.claws-mail.org/claws.git
Cloning into 'claws'...
[...]
Checking connectivity... done.

2.
[weremouse at moonstudio tmp]$ cd claws/

3.
[weremouse at moonstudio claws]$ git checkout f5489877c862f924eced1ae9a2acbcf5206ccf36 #for release 3.17.6
Note: checking out 'f5489877c862f924eced1ae9a2acbcf5206ccf36'.
[...]
HEAD is now at f548987... for release 3.17.6

4.
[weremouse at moonstudio claws]$ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
[...]
Configure finished, type 'make' to build.

5.
[weremouse at moonstudio claws]$ ./configure --build=$HOSTTYPE-ubuntu-linux-gnu --prefix=/usr --disable-static --enable-crash-dialog
checking for git... yes
[...]
Configure finished, type 'make' to build.

6.
[weremouse at moonstudio claws]$ make
make  all-recursive
[...]
make[1]: Leaving directory '/tmp/claws'

7.
[weremouse at moonstudio claws]$ sudo checkinstall --pkgname=claws-mail-git --pkgversion=$(sh version) --pkgrelease=1
[...]
Should I create a default set of package docs?  [y]:
[...]
Please write a description for the package.
End your description with an empty line or EOF.
>> A GTK+ based e-mail client - git checkout
>>
[...]
Enter a number to change any of them or press ENTER to continue: 0                                        
Enter the maintainer's name and e-mail address: 
>> Lee <mail at leeunderwood.org>
[...]
Enter a number to change any of them or press ENTER to continue: 5
Enter the license type: 
>> GPL3
[...]
Enter a number to change any of them or press ENTER to continue: 11
Enter the provided features: 
>> claws-mail

This package will be built according to these values: 

0 -  Maintainer: [ Lee <mail at leeunderwood.org> ]
1 -  Summary: [ A GTK+ based e-mail client - git checkout ]
2 -  Name:    [ claws-mail-git ]
3 -  Version: [ 3.17.6 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL3 ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ claws ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ claws-mail ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
Making install in m4
[...]
**********************************************************************

 Done. The new package has been installed and saved to

 /tmp/claws/claws-mail-git_3.17.6-1_amd64.deb

 You can remove it from your system anytime using: 

      dpkg -r claws-mail-git

**********************************************************************


FINISHED
========

Your package...

[weremouse at moonstudio claws]$ apt-cache show claws-mail-git
Package: claws-mail-git
Status: install ok installed
Priority: extra
Section: checkinstall
Installed-Size: 21372
Maintainer: Lee <mail at leeunderwood.org>
Architecture: amd64
Version: 3.17.6-1
Provides: claws-mail
Description: A GTK+ based e-mail client - git checkout
 A GTK+ based e-mail client - git checkout
Description-md5: 7912e06b9a37a784b168648f5a92d2d1

...on my Ubuntu...

[weremouse at moonstudio claws]$ lsb_release -cd
Description:	Ubuntu 16.04.6 LTS
Codename:	xenial

...time to get back my package...

[weremouse at moonstudio claws]$ sudo apt remove claws-mail-git
[...]
[weremouse at moonstudio claws]$ sudo apt install /usr/src/claws-mail-git_3.17.6-1_amd64.deb
[...]
[weremouse at moonstudio claws]$ apt-cache show claws-mail-git
Package: claws-mail-git
Status: install ok installed
Priority: extra
Section: checkinstall
Installed-Size: 21372
Maintainer: Weremouse <silver.bullet at zoho.com>
Architecture: amd64
Version: 3.17.6-1
Provides: claws-mail
Description: A GTK+ based e-mail client - git checkout
 A GTK+ based e-mail client - git checkout
Description-md5: 7912e06b9a37a784b168648f5a92d2d1

:)

Regards,
Ralf


More information about the Users mailing list