Commit graph

31 commits

Author SHA1 Message Date
Juan RP 2080de1414 hooks/pkglint: check that all files in conf_files really exist. 2015-04-05 18:41:01 +02:00
Juan RP 607d2aee5b hooks/shlib-provides: only process .so* files. 2015-03-26 04:13:03 +01:00
Juan RP ef9056ec30 hooks: move pkglint to the pre-pkg phase to make this work again. 2015-02-08 11:21:47 +01:00
Juan RP 84b56a438f hooks/shlib-provides: fix inverted condition. 2015-02-07 10:04:03 +01:00
Juan RP 75cbc878a9 hooks/shlib-provides: if pkg sets shlib_provides do not skip it. 2015-02-07 09:53:21 +01:00
Juan RP 5725a2e0ae xbps-src: introduce "noshlibprovides" to skip shlib-provides detection. 2015-02-05 11:37:10 +01:00
Juan RP 6c395cb76e xbps-src: create a new hook that collects shlib-provides.
This is necessary to be able to collect shlib-provides for 32bit pkgs,
which are autogenerated.

The strip-and-debug-pkgs hook now just does what its name mentions:
 strip binaries and create -dbg pkgs.
2015-01-30 12:20:00 +01:00
Juan RP d104a99fa0 hooks/prepare-32bit: introduce lib32symlinks.
- This creates a symlink of a file stored in usr/lib32 to usr/lib.
- This expects basename of files stored in usr/lib32.
- This is required by an upcoming change to the glibc pkg.
2015-01-28 16:29:45 +01:00
Juan RP 38c9ebf6df hooks/prepare-32bit: do not create 32bit pkgs for perl/python/ruby modules. 2015-01-19 10:49:56 +01:00
Juan RP 3735ead3dc hooks/prepare-32bit: subst /usr/lib to /usr/lib32 in lib32files. 2015-01-13 15:51:01 +01:00
Juan RP 568c2a032b hooks: strip: move to post-install to generate shlib-provides for all pkgs.
That was the missing piece to generate proper dependencies in 32bit
packages with subpkgs that depended in other subpkgs.

For example kmod: libkmod and libkmod-devel. libkmod-devel was being processed
before libkmod, and due to missing shlib-provides a dependency to the 64bit
package was generated.
2014-10-28 09:06:16 +01:00
Juan RP 033c4ed0f5 xbps-src: remove WIP repo delta support.
- it never worked correctly
- it's WIP and looks like it will be stalled forever
- won't be necessary anymore with xbps-0.42
2014-10-14 19:19:07 +02:00
Juan RP 1cee26a59f xbps-src: hooks: reorganize some hooks.
The strip-and-debug-pkgs/generate-runtime-deps hooks have been moved
to the pre-pkg stage, and are run before prepare-32bit; this way dependencies
are collected correctly in all cases.
2014-10-14 19:19:07 +02:00
Juan RP 3fdd0e180e xbps-src: run pre-pkg hooks in the install to destdir target.
The prepare-32bit hook has been moved to the pre-pkg stage and now
those hooks are executed as part of the install phase. That means that
pre-pkg hooks are now independently run for the subpkgs and the sourcepkg
after the install-destdir phase and pre/do/install hooks.

As bonus, finally correct rdeps can now be collected for the 32bit pkgs
and works for all them, without the need to sort the order of subpkgs!
2014-08-25 22:34:13 +02:00
Juan RP b0aedbb03a xbps-src: added -D to generate repository binary deltas; disabled for now. 2014-08-14 12:28:27 +02:00
Juan RP 234a4fd685 hooks/xdelta: use silent output; those warnings are too noisy. 2014-08-14 08:56:48 +02:00
Enno Boland 0f20ab1139 common/hooks: delta creation: only generate own delta for own XBPS_TARGET_MACHINE 2014-08-13 22:30:51 +02:00
Enno Boland b317e8ff03 common/hooks: delta creation: don't hide stderr 2014-08-13 22:22:38 +02:00
Enno Boland e8d0b810b1 common/hooks: remove file before copy 2014-08-13 22:21:03 +02:00
Enno Boland d29b40ee46 common/hooks: use ln -f instead of cp 2014-08-13 22:19:30 +02:00
Enno Boland 179c07cc30 common/hooks: use cp instead of ln 2014-08-13 22:17:10 +02:00
Juan RP c0afddcdbc hooks/xdelta: style twerks. 2014-08-13 21:59:20 +02:00
Enno Boland bdb339f5fa common/hooks: remove config variable enable vcdiff generation. 2014-08-12 09:42:05 +02:00
Enno Boland f4544b82a6 common/hooks: add support for vcdiff creation 2014-08-11 18:05:13 +02:00
Juan RP aa83852d7b common/hooks: add support for do-<phase> hooks as suggested by Gottox.
- New hooks for do-fetch and do-extract moved from xbps-src.
- Renamed some hooks to have XX as prefix.
2014-03-05 11:02:37 +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
Juan RP 030f58909f common/hooks: new post-install hook to generate pkg gitrevs file. 2014-03-02 08:33:28 +01:00
Juan RP 370c2aaf3c common/hooks/*-pkg: misc tweaks for proper -dbg {creat,registrat}ion. 2014-03-02 07:07:59 +01:00
Juan RP b3200722ef comon/hooks: update pkg hooks to also create/register -dbg pkgs. 2014-03-02 06:30:25 +01:00
Juan RP 745eb9f1ad common/hooks/pre-pkg: new hook that generates a binpkg. 2014-03-01 12:37:30 +01:00
Juan RP 372ed2763f Introduce common/hooks to implement hooks at specified phases.
xbps-src will soon move some stuff to the common hooks directory.
2014-02-12 10:44:21 +01:00