Re: Making deb from libreoffice source on Debian Wheezy

2013-08-27 Thread Krunoslav Šebetić
At least is there an easy way to reinstall libreoffice 4.2 when I clone 
git again in a month or so? How to replace current 4.2 installation with 
newer; would ./autogen.sh - make - make install do every thing I need or 
previous version should be uninstalled?


Kruno


On 08/27/2013 09:10 PM, Krunoslav Šebetić wrote:

Hi,

I cloned git this morning and can't make debs from source, 
'./autogen.sh' and 'make' do their job fine, but 'make deb-pkg' 
doesn't work, 'checkinstall' also fails to build the pacages. I would 
like to make deb files so I could install cloned git in parallel with 
4.0.5, not the other way around, I wont 4.0.5 installed normally and 
4.2 do as parallel installation.


I can install 4.2 with 'make install' but don't know how to remove 
libreoffice installed with 'make install'|| ones I decide to clone new 
version from git. This also forces me to have 4.0.5 as parallel 
installation instead as primary installation.


So - how to make deb (like one downloadable from libreoffice web site) 
so I can install 4.2 in parallel with 4.0.5?


Kruno


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Making deb from libreoffice source on Debian Wheezy

2013-08-27 Thread Michael Stahl
On 27/08/13 21:10, Krunoslav Šebetić wrote:
 Hi,
 
 I cloned git this morning and can't make debs from source,
 './autogen.sh' and 'make' do their job fine, but 'make deb-pkg' doesn't
 work, 'checkinstall' also fails to build the pacages. I would like to
 make deb files so I could install cloned git in parallel with 4.0.5, not
 the other way around, I wont 4.0.5 installed normally and 4.2 do as
 parallel installation.
 
 I can install 4.2 with 'make install' but don't know how to remove
 libreoffice installed with 'make install'|| ones I decide to clone new
 version from git. This also forces me to have 4.0.5 as parallel
 installation instead as primary installation.
 
 So - how to make deb (like one downloadable from libreoffice web site)
 so I can install 4.2 in parallel with 4.0.5?

the general idea is to use --with-package-format=deb but if you say that
doesn't work for you you can also use --with-package-format=archive
which results in a most convenient tarball (but no system integration
i.e. no desktop menus/mime-type registrations) or even
--with-package-format=rpm (easily installable even on Debian based
distros but also without system integration).

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Making deb from libreoffice source on Debian Wheezy

2013-08-27 Thread Christian Lohmaier
Hi *,

On Tue, Aug 27, 2013 at 9:10 PM, Krunoslav Šebetić kruno0...@gmail.com wrote:
 I cloned git this morning and can't make debs from source, './autogen.sh'
 and 'make' do their job fine, but 'make deb-pkg' doesn't work,
 'checkinstall' also fails to build the pacages. I would like to make deb
 files

The build system creates deb/rpm using epm utility. So you have to
enable epm (--enable-epm to use version that is built when compiling
libreoffice, alternatively you can also use system wide installed epm,
given it is recent enough and has the fixes that were created by
OOo/LO)
--with-packageformat then can be used to set what package types you
want. you can select both rpm and deb (if you have both rpmbuild as
well as the dpkg tools installed), or just one.

If you really want deb files similar to those distributed on the
libreoffice website, you should use --with-distro=LibreOfficeLinux
- that sets almost all the switches used for the release builds
(mainly not using system libraries, explicitly enable some features,
explicitly disable others)

If you only want debs, then --enable-epm and --with-package-format=deb
is enough.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice