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

On 08/12/11 16:30, Kornel Benko wrote:
> Am Donnerstag, 8. Dezember 2011 um 16:09:35, schrieb Pavel Sanda
> <sa...@lyx.org>
>> Rainer M Krug wrote:
>>> easier to create binaries consistent with the official builds
>>> by ubuntu?
>> 
>> sure we can add them. but the info must be provided by the
>> ubuntu/debian maintainer, which is not on this list (afaik). 
>> pavel
> 
> You can use the cmake build. This is *my* workflow on ubuntu:
> 
> # cd /usr/src/lyx/lyx-devel # svn up # cd /usr/BUILD/BuildLyx #
> cmake /usr/src/lyx/lyx-devel
> -DCMAKE_INSTALL_PREFIX=/usr/local/lyx2.1 \ -DLYX_CPACK=ON
> -DLYX_PROGRAM_SUFFIX=OFF -DCPACK_BINARY_RPM:BOOL=OFF \ 
> -DCPACK_BINARY_DEB:BOOL=ON -DCPACK_BINARY_NSIS:BOOL=OFF \ 
> -DCPACK_BINARY_STGZ:BOOL=OFF -DCPACK_BINARY_TGZ:BOOL=OFF \ 
> -DCPACK_BINARY_TBZ2:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF \ 
> -DCPACK_SOURCE_TBZ2:BOOL=OFF -DCPACK_SOURCE_TGZ:BOOL=ON \ 
> -DCPACK_SOURCE_TZ:BOOL=OFF -DCPACK_SOURCE_ZIP:BOOL=OFF \ 
> -DLYX_EXTERNAL_BOOST=OFF -DLYX_HUNSPELL=on \ -DLYX_ENCHANT=ON
> -DLYX_NLS=ON -DLYX_EXTERNAL_LIBINTL=OFF # make -j5 package # sudo
> dpkg -i /usr/BUILD/BuildLyx/lyx-2.1.40439-Linux.deb
> 
> 1.) You have to adapt the source dir (here /usr/src/lyx/lyx-devel)
> and the build dir (here /usr/BUILD/BuildLyx). 2.) You don't need
> svn up, if you got the sources from e.g. a tar file 3.) "make
> package" creates a package with svn-version in the name, so the
> created package likely will be different from
> "lyx-2.1.40439-Linux.deb"

Thanks - always nice to see a different approach. I used checkinstall
for creating the deb:

./configure .....
./make
./checkinstall

And it is working, but, as you point out below, it is not following
the ubuntu / debian packaging principles.

And that was my idea: to provide these packaging rules, and to make it
easy to create the official debs based on the newest versions of LyX.

Cheers,

Rainer

> 
> 
> This is *not* the same as provided by ubuntu/debian maintainer, but
> I use it for ages now without problems.
> 
> Kornel
> 
> 
> 
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      rai...@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7hy4MACgkQoYgNqgF2egocrACfSG2oFBCAjvZak3OTDj5ig0+o
WqEAniyf3dAF7/e/Ol3supsFIR1aZBw2
=3DNe
-----END PGP SIGNATURE-----

Reply via email to