Commit Graph

179 Commits

Author SHA1 Message Date
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 c111653c6b hooks/script-wrapper: create libassuan-config wrapper. 2015-01-18 17:05:08 +01:00
Juan RP 8be6b7b103 hooks/script-wrapper: revert 0e42bf442e.
it's unnecessary and breaks cross compilation of gnome-ssh-askpass.
2015-01-14 14:28:19 +01:00
Juan RP aed0f3ee0e xbps-src: fix hooks that are expected to be used in subpkgs. 2015-01-14 14:23:10 +01:00
Juan RP 0e42bf442e hooks/script-wrapper: multiple run protection. 2015-01-14 11:31:52 +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 86df9de56b hooks/script-wrapper: create a fox-config wrapper. 2015-01-12 09:18:53 +01:00
Juan RP c29cfb8eac hooks/musl-override: also override config.sub if build_style is unset. 2014-12-28 09:09:31 +01:00
Juan RP fc052bad5b hooks: remove common/hooks/post-install/04-create-xbps-vpkg-files.sh.
It's unnecessary with xbps>=0.42.
2014-12-22 11:19:52 +01:00
Juan RP 10454449cd hooks/script-wrapper: fix python-wrapper and update PATH. 2014-12-19 11:01:15 +01:00
Juan RP 9b3c55b8a3 hooks/script-wrapper: use XBPS_WRAPPERDIR. 2014-12-19 10:54:48 +01:00
Christian Neukirchen 09c1d7d1da do-extract/00-distfiles.sh: unzip -o to overwrite without asking. 2014-12-12 10:32:12 +01:00
Juan RP 6e13dcbaff xbps-src: introduce XBPS_STATEDIR to store state files, logs and others.
XBPS_STATEDIR is created in XBPS_BUILDDIR/.xbps-${sourcepkg}-${version}
and contains logs and state files for all phases, as well as wrappers.

We can now inspect the output from all hooks.
2014-12-11 11:02:22 +01:00
Juan RP cc6b3134b8 hooks/pkglint: use xbps-query -Rs to check for shlib-requires in repos. 2014-12-10 09:32:28 +01:00
Juan RP 3540a97b45 hooks/script-wrapper: create proper x{ml2,slt}-config cross wrappers. 2014-11-19 07:31:30 +01:00
Juan RP e8358f26b1 hooks/script-wrapper: also create a ncursesw5-config cross wrapper. 2014-11-16 19:59:50 +01:00
Juan RP 8ade12549f xbps-src: rename disable_debug to nodebug, to follow our naming convention. 2014-11-16 11:52:36 +01:00
Juan RP c85d5db336 hooks/script-wrapper: create a fltk-config cross wrapper. 2014-11-16 08:48:38 +01:00
Alessio Sergi d0b4ad9dfa hooks/post-install/remove-python-bytecode-files: quote arguments properly
This fixes the error 'find: paths must precede expression'.
2014-11-15 16:05:06 +01:00
Juan RP 8d033f5724 xbps-src: new hook to remove misc files (used for musl currently). 2014-11-10 12:16:31 +01:00
Juan RP 457fd7aefb xbps-src: respect XBPS_DEBUG_PKGS for bootstrap pkgs too. 2014-11-05 17:29:58 +01:00
Enno Boland 59cc3e0d45 replace nonfree=yes with repository=nonfree.
This way it is possible to set up package specific repositories for
i.e. specific devices.
2014-11-05 14:15:25 +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 def9cee898 hooks/script-wrapper: create libmikmod-config wrapper. 2014-10-12 09:16:02 +02:00
Juan RP 86ba1ea9c5 hooks/strip: before stripping make sure files have write bit set.
... otherwise strip(1) errors out. Perl installs shlibs without write
bit set and results in EPERM errors.

Perl could be fixed instead, but meanwhile this works.
2014-10-12 08:56:32 +02:00
Juan RP dbfb3a2b81 hooks/strip-and-debug: do not override file perms.
... otherwise additional perms are lost, always resulting in non setuid bins.
2014-10-12 07:23:06 +02:00
Juan RP b2976da1c8 xbps-src: use "disable_debug" to disable -dbg subpkg creation. 2014-10-11 09:57:27 +02:00
Enno Boland 5395d9b0a2 common/hooks: add reverts field to packages 2014-09-30 00:03:33 +02:00
Juan RP c48d5ce913 hooks/script-wrapper: fix generated cups-config wrapper.
This was changing cups_serverbin to the cross toolchain sysroot
and caused cups-filters to install bins to this path.
2014-09-28 07:47:14 +02:00
Juan RP c920736289 xbps-src: hooks/strip: ignore debug files; set proper perms to files. 2014-09-27 07:19:42 +02:00
Juan RP 6ab69ef143 xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper.
...otherwise the envvars for cross compilation won't be set and
lots of packages are broken.
2014-09-27 04:57:20 +02:00
Juan RP 0a1ee2966a xbps-src: hooks/script-wrapper: generate the wrappers just once. 2014-09-27 03:58:09 +02:00
Juan RP 535117078c xbps-src: create a <cross-target>-pkg-config wrapper when cross compiling.
This wrapper sets the env vars required for proper cross compiling, rather
than always setting them.
2014-09-25 14:38:16 +02:00
Eivind Uggedal 0dd6cc5e6d hooks/remove-localized-manpages: whitelist all sections 2014-09-23 15:43:20 +00:00
Eivind Uggedal 1bcb1ec77d new hook: post-install/01-remove-localized-manpages.sh 2014-09-22 13:58:50 +00:00
Juan RP c2b011a98a Implement support for {INSTALL,REMOVE}.msg files (fix #454). 2014-09-15 16:20:25 +02:00
Juan RP e5fdbaf91f hooks/script-wrapper: create xslt-config wrapper. 2014-09-12 12:55:59 +02:00
Juan RP 26d7f0885c xbps-src: fix the mess with the pkglint hook and glibc dynamic linker sonames. 2014-09-10 13:04:46 +02:00
Juan RP 21a1d23fe5 hooks/strip-and-debug-pkgs: make regexp a bit more generic to match more cases.
ld-linux sonames from glibc, were not matched resulting in incomplete
shlib-provides. The regexp now allows sonames without the "lib" prefix.
2014-09-10 11:59:13 +02:00
Juan RP 289bc58776 xbps-src: added support to append additional shlibs to shlib-{provides,requires}. 2014-09-10 11:23:33 +02:00
John Galt 440d5d8772 do-extract: allow patch distfile suffix
And do nothing with them
2014-09-06 19:35:08 -07:00
Juan RP b019b5df6f hooks/generate-runtime-deps: also make "virtual?" subst on noarch/noverifyrdeps pkgs. 2014-08-26 09:58:58 +02:00
Juan RP aec1b80e86 hooks/generate-gitrevs: fallback to the git cmd for bootstrap builds. 2014-08-26 07:53:31 +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 d27e135986 hooks/gen-pkg: keep and transform "replaces" in 32bit pkgs. 2014-08-22 09:21:04 +02:00
Juan RP e13c7ffe78 hooks/prepare-32bit: fix shlib-provides detection for non subpkgs. 2014-08-18 13:43:39 +02:00
Juan RP f06932f34d hooks/prepare-32bit: even more debugging. 2014-08-18 13:17:49 +02:00
Juan RP 344ca13dab hooks/prepare-32bit: add some more debugging to see what's going on. 2014-08-18 13:11:46 +02:00