Juan RP
c920736289
xbps-src: hooks/strip: ignore debug files; set proper perms to files.
2014-09-27 07:19:42 +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
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
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
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
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
a29e0f1f9d
hooks/prepare-32bit: fix shlib-provides detection for subpkgs.
2014-07-23 12:54:37 +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
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
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
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
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
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
Juan RP
1d13ed0810
hooks/post-install: strip: only accept shlibs in destdir/usr/lib for shlib-provides.
...
This avoids lots of false positives and accepts unversioned shlibs as well.
2014-04-01 15:14:43 +02:00
Juan RP
581f3e29ab
hooks: pkglint: only match exact shlibs (avoids multiple matches).
2014-03-31 18:14:52 +02:00
Juan RP
efde1e1fbf
hooks: improve shlib-provides: accept unversioned shlibs (i.e libfoo.so [nspr/nss]).
2014-03-31 18:13:53 +02:00
Juan RP
19f3a64de8
hooks/post-install/06-prepare-32bit.sh: do not convert deps that don't have shlib-provides.
2014-03-30 13:07:33 +02:00