Commit graph

103 commits

Author SHA1 Message Date
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
Juan RP
e573017385 hooks/post-install/pkglint: fixed another issue in the shlib checks. 2014-04-09 08:55:43 +02:00
Juan RP
f6309d0909 hooks/post-install/strip-debug: repair -dbg subpkg creation. 2014-04-08 17:59:26 +02:00
Juan RP
77451b1845 Use --libdir=/usr/lib32 on x86 and create/remove the symlink via hooks.
This is to make all pkgs that use ${configure_args} work without changes
to the templates on x86_64.
2014-04-05 11:52:22 +02:00
Juan RP
00a8873281 hooks/post-install/pkglint: when listing revdeps make sure to not add false positives. 2014-04-04 17:29:14 +02:00
Juan RP
3ecb3c26fa hooks/post-install/pkglint: repair and improve checks to detect soname bumps. 2014-04-04 17:24:47 +02:00
Juan RP
fc2c2c06ae hooks/post-install/strip: another day, another better regexp for shlib-provides. 2014-04-03 10:30:56 +02:00
Juan RP
8fa3cba4ea hooks/post-install/remove-libtool: do not escape * to make this work with virtuoso. 2014-04-02 12:39:58 +02:00
Juan RP
8fcb0e644a hooks/post-install/remove-libtool: make sure that PKGDESTDIR exists. 2014-04-02 12:06:27 +02:00
Juan RP
7d7e821754 hooks/post-install/strip: better regexp for shlib-provides from Gottox. 2014-04-02 10:16:16 +02:00
Juan RP
4859885e58 hooks/post-install: pkglint: just warn if shlib is not found in common/shlibs. 2014-04-01 15:25:07 +02:00