Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Am Mon, 18 Jul 2011 18:11:00 +0200
schrieb Andreas Radke <a.radke@arcor.de>:

Am Mon, 18 Jul 2011 12:39:26 +0200
schrieb Petr Mladek <pmladek@suse.cz>:

Hi,

the attached patch fixes two problems found when calling make
distro-pack-install" as normal user.

It would be great to get it into libreoffice-3-4-2 branch.


Best Regards,
Petr



Booth issues seem fixed for me. Thanks.

-Andy

Hm. Maybe too fast answered. How do you build your packages?

I'm doing a fake install with: 
make DESTDIR=${srcdir}/fakeinstall distro-pack-install
and the I move the files from ${srcdir}/fakeinstall into the splitted
packaging directories using block per pkg this:

 # create directories from *list.txt file
 for directory in `grep ^%dir
 ${srcdir}/build/file-lists/common_list.txt`; do
   install -dm755 ${pkgdir}/${directory/\%dir/}
 done
 # install files into the pkg from fakeinstall dir
 for file in `grep -v ^%dir $srcdir/build/file-lists/common_list.txt`; do
  dirname=`dirname $file`
  # check if directory has been already been created - some are missing like manpages
  [ -d ${pkgdir}/$dirname ] || install -dm755 ${pkgdir}/$dirname 
  # mv file from fakeinstall to pkgdir
  mv ${srcdir}/fakeinstall${file} ${pkgdir}$file
 done

That doesn't move the /usr/bin/soffice symlink into the common pkg. No
big deal. I can recreate it but maybe I would miss other links in
future builds as well.

Do you have a more elegant way that prevents this?

-Andy


/bin/distro-install-clean-up
Cleaning up ...
Fixing permissions...
Checking for DESTDIR inside installed files...
./bin/distro-install-desktop-integration
Copying icons ..
Copying GNOME icons ..
chmod: cannot operate on dangling symlink `/build/src/fakeinstall/usr/bin/libreoffice' ???
/build/src/build
/build/src/build
Install /usr/bin/lobase

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.