Commit Graph

113 Commits

Author SHA1 Message Date
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
Juan RP a10eb89855 hooks: enable script-wrapper also in pre-install, some pkgs might need this. 2014-06-26 22:39:43 +02:00
Juan RP 6fe802d0c4 hooks/script-wrapper: create taglib-config wrapper. 2014-06-26 10:07:59 +02:00
Juan RP fdf825f724 hooks/script-wrapper: create krb5-config and mysql_config wrappers. 2014-06-26 10:04:17 +02:00
Juan RP 4316138685 hooks/script-wrapper: create xmlrpc-c-config wrapper. 2014-06-25 09:29:25 +02:00
Juan RP 5f59f7ec3e hooks/script-wrapper: create curl-config wrapper. 2014-06-25 09:01:51 +02:00
Juan RP 90d3e1230c hooks/script-wrapper: create xml2-config wrapper. 2014-06-25 08:54:41 +02:00
Juan RP 75bfe1c813 hooks/script-wrapper: create cups-config wrapper. 2014-06-25 07:36:21 +02:00
Juan RP 688f6e3372 hooks/script-wrapper: create imlib2-config wrapper. 2014-06-22 09:49:41 +02:00
Juan RP b3ffc0a10e hooks/script-wrapper: generate python3.4-config wrapper correctly. 2014-06-20 11:05:00 +02:00
Juan RP a0551e3f7c hooks/script-wrapper: create simple python{,3.4}-config wrappers. 2014-06-19 13:15:26 +02:00
Juan RP ac91238431 xbps-src: added "pycompile_version" to specify python version used in the pycompile trigger. 2014-06-18 11:31:32 +02:00
Juan RP 47d7334224 hooks/script-wrapper: create gpg-error-config wrapper. 2014-06-16 13:35:29 +02:00
Juan RP b8aa34ce24 xbps-src: hooks/create-xbps-vpkg-files: create vpkg conf files in usr/share/xbps/virtualpkg.d. 2014-06-10 09:27:52 +02:00
Juan RP 1b4e6ecaac xbps-src: added support for the "tags" variable and require xbps>=0.37. 2014-06-06 20:51:47 +02:00
Juan RP cc1557af85 hooks/script-wrapper: create ncurses5-config wrapper. 2014-06-05 01:10:08 +02:00
Juan RP 9787291df3 hooks/script-wrapper: create gpgme-config wrapper. 2014-06-04 13:43:17 +02:00
Juan RP 093020bfc9 hooks/patches: simplify. 2014-05-31 07:55:46 +02:00
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 f20f841c21 hooks/generate-runtime-deps: fix c093b9f and use the correct shlib. 2014-05-23 11:58:45 +02:00
Juan RP c093b9f521 hooks/generate-runtime-deps: if required shlib is provided by any subpkg, use it. 2014-05-23 11:46:46 +02:00
Juan RP 4652752ec5 hooks/pre-build: enable script-wrapper. 2014-05-23 10:16:22 +02:00
Juan RP ff4663480e hooks/script-wrapper: sdl2-config and libpng-config wrappers; enabled in build phase too. 2014-05-23 09:58:45 +02:00
Alessio Sergi 9937be2068 hooks/patches: fix parsing .{diff,patch} name 2014-05-13 16:31:00 +02:00
Juan RP f664734c7d hooks/patches: accept patches with any .{diff,patch} name. 2014-05-13 13:11:39 +02:00
Juan RP 06a463fe7f hooks/script-wrapper: create sdl-config wrapper. 2014-05-13 11:14:07 +02:00
Juan RP ffb0ebe230 hooks/script-wrapper: create freetype-config wrapper; simplify code. 2014-05-13 10:42:47 +02:00
Juan RP 83d9e05be6 hooks/script-wrapper: create libgcrypt-config wrapper. 2014-05-13 08:27:38 +02:00
Juan RP fac0d115bc hooks/pre-configure: new hook to generate foo-config wrappers in cross builds.
Script wrappers are created in ${wrksrc}/.xbps/bin and this path is appended
to make the configure scripts detect them.

This avoids adding build deps in hostmakedepends, as well as avoiding modifying
templates to specify the path to the script.

Currently this only creates a wrapper for "icu-config", but can be extended
easily to create more wrappers (freetype, libxml, etc).
2014-05-12 21:14:23 +02:00
Juan RP 8c8a7def1c hooks/post-install/strip: do not create dbg subpkgs if nonfree is set. 2014-05-10 16:22:13 +02:00
Juan RP 84ee8f9230 hooks/post-install/99-pkglint: print correct shlib for unversioned shlibs not in common/shlibs. 2014-05-09 09:24:04 +02:00
Juan RP 65bf4d6fca hooks/do-extract/00-distfiles: supports rpm extraction via rpmextract. 2014-05-08 18:44:54 +02:00
Juan RP ea719b3f59 Added multilib, multilib/nonfree and debug repositories by default.
- multilib: to store 32bit packages.
- multilib/nonfree: to store nonfree 32bit packages.
- debug: to store debug packages.
2014-05-05 10:59:33 +02:00
Juan RP 9ffc0d09ce common/hooks: ignore XBPS_ARCH when cross building. 2014-04-28 15:08:44 +02:00
Juan RP 9df1aa3b4e hooks/post-install/create-xbps-metadata-scripts: make sure to finalize scripts correctly.
The issue was that if a pkg does not add the missing newline at INSTALL
or REMOVE scripts, those were generated with a syntax error.

Found by onekk.
2014-04-14 10:41:06 +02:00
Juan RP cc6ea5d19b hooks/post-install/pkglint: more tweaks for the shlib checks. 2014-04-09 09:25:05 +02:00