Commit Graph

151 Commits

Author SHA1 Message Date
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
Juan RP f1822d43af hooks/prepare-32bit: update paths to lib32 correctly in pkgconfig files. 2014-08-18 10:54:33 +02:00
Juan RP cdc60029eb hooks/prepare-32bit: convert -devel pkgs to 32bit to have proper rdeps. 2014-08-18 10:12:37 +02:00
Juan RP 9d50c2fb05 xbps-src: use "virtual?" keyword to declare virtual runtime dependencies.
The syntax "pkg?vpkg" can be used in hostmakedepends, makedepends and depends;
but the "virtual" keyword can be declared specifically for runtime dependencies
(depends).
2014-08-17 19:21:25 +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 27e96f018b common/hooks: enable repackaging of indexes for xdelta 2014-08-12 08:28:43 +02:00
Enno Boland b713c62413 common/hooks: generate null diffs to the new files itself. 2014-08-11 19:55:14 +02:00
Enno Boland f4544b82a6 common/hooks: add support for vcdiff creation 2014-08-11 18:05:13 +02:00
Juan RP 7ab7ba07fd hooks/create-xbps-metadata-scripts: fix system account props. 2014-08-03 17:21:23 +02:00
Juan RP 53655c45e8 hooks/xbps-metadata-scripts: add support for system_accounts=foo:uid. 2014-07-30 11:09:51 +02:00
Juan RP af6ee5374e xbps-src: s/git/chroot-git/g 2014-07-27 16:29:18 +02:00
Juan RP 566c2b04c2 hooks/script-wrapper: create Magick-config wrapper. 2014-07-25 19:17:26 +02:00
Juan RP 99d8ab648e hooks/gen-pkg: keep provides for 32bit conversion before creating -dbg subpkgs. 2014-07-23 15:23:18 +02:00
Juan RP 49133f9b62 hooks/gen-pkg: use local vars for 32bit provides conversion. 2014-07-23 15:19:16 +02:00
Juan RP 00040a63fa hooks/gen-pkg: convert provides for 32bit pkgs. 2014-07-23 13:07:46 +02:00
Juan RP a29e0f1f9d hooks/prepare-32bit: fix shlib-provides detection for subpkgs. 2014-07-23 12:54:37 +02:00
Juan RP 1bc5dfa3c4 hooks/script-wrapper: create a workable cups-config wrapper to fix gtk+ cross build. 2014-07-22 08:51:27 +02:00
Juan RP f6c46a3c99 hooks/post-install/prepare-32bit: fix rdep conversion with subpkgs.
If a required dependency is a subpackage and it does not contain shlib-provides,
do not convert to 32bit.

This fixes the issue of gtk+-32bit requiring gtk-update-icon-cache-32bit,
which was simply wrong because the latter does not provide any shlib.
2014-07-20 11:18:21 +02:00
Juan RP 85a0d8034e hooks/uncompress-manpages: make it less verbose. 2014-07-12 17:10:40 +02:00
Christian Neukirchen 825d751b03 new hook: post-install/00-uncompress-manpages.sh 2014-07-07 23:27:44 +02:00
Juan RP cf49b68c09 hooks/generate-gitrevs: simplify and just use "sourcepkg:gitshortrev".
Previous way was way too slow and somewhat redundant. Just with the
latest git short rev is enough to know at what point a pkg was built.
2014-06-27 12:00:24 +02:00