Commit Graph

15 Commits

Author SHA1 Message Date
Juan RP
1de0985964 hooks/prepare-32bit: take into account subpkgs to transform rdeps.
This is not perfect but will work in 90% of existing cases.
2014-05-28 15:20:23 +02:00
Juan RP
7824268597 hooks/prepare-32bit: reset vars just in case. 2014-05-28 14:08:20 +02:00
Juan RP
418aa2f9d3 hooks/prepare-32bit: in full mode also preserve usr/lib, moving it to usr/lib32. 2014-05-28 12:41:25 +02:00
Juan RP
0a79466aba hooks/prepare-32bit: remove lib32 symlink in lib32mode=full, unnecessary. 2014-05-27 18:48:18 +02:00
Juan RP
19f3a64de8 hooks/post-install/06-prepare-32bit.sh: do not convert deps that don't have shlib-provides. 2014-03-30 13:07:33 +02:00
Juan RP
0026342862 Infrastructure changes to allow unsetting template vars/funcs.
xbps-src-112 does not unset those vars/funcs anymore, so it's a work
that must be done via common/environment/setup{,-subpkg}.
2014-03-19 09:03:21 +01:00
Juan RP
e8ac04d05b Revert "common/hooks/post-install/06-prepare-32bit.sh: ignore bootstrap pkgs."
This reverts commit e1f2d12a95.

glibc must have 32bit packages and it's a bootstrap pkg.
2014-03-17 14:15:26 +01:00
Juan RP
e1f2d12a95 common/hooks/post-install/06-prepare-32bit.sh: ignore bootstrap pkgs. 2014-03-17 11:45:54 +01:00
Juan RP
320167e7e1 hooks/prepare-32bit: added lib32files var to add additional files to 32bit pkgs. 2014-03-09 11:23:58 +01:00
Juan RP
e9e8c638a8 hooks/prepare-32bit: new variables to improve 32bit pkg creation.
- lib32depends: if set, 32bit pkg will use this rather than "depends".
- lib32disabled: if set, no 32bit pkg will be created.
- lib32mode:
  * if unset only files for libraries will be copied.
  * if set to "full" all files will be copied

Still not perfect but should be enough to have skype-32bit.
2014-03-08 11:36:51 +01:00
Juan RP
8d7e6525e6 hooks/post-install/06-prepare-32bit: also include .o files (crtX.o). 2014-03-07 15:47:38 +01:00
Juan RP
772e938938 hooks/post-install/06-prepare-32bit.sh: return early if destdir32 does not exist; only for x86. 2014-03-07 09:49:41 +01:00
Juan RP
a26205c634 common/hooks: enable by default 32bit pkgs for x86_64. 2014-03-06 21:03:23 +01:00
Juan RP
dddb603aeb common/hooks/post-install/06-prepare-32bit.sh: fix generated rdeps file.
The entries must be separated by blanks not newlines.
2014-03-06 04:19:07 +01:00
Juan RP
908af511f9 common/hooks: new hook to generate 32bit pkgs for x86_64 (WIP). 2014-03-02 12:26:24 +01:00