Commit Graph

122 Commits

Author SHA1 Message Date
Juan RP
2dd9026dea Remove libtool archives once pkg is installed in destdir.
This fixes some problems with rpath being hardcoded to
destdir in some packages.

--HG--
extra : convert_revision : e045605819885ecf84f1b40b04bd9c229d308528
2009-06-07 08:13:33 +02:00
Juan RP
13d43973c9 Add the "essential" var for use in templates.
This will be used to mark packages that shouldn't be
removed if it's being updated, e.g libc.

--HG--
extra : convert_revision : bba7d14b2d112edaf17e6adc04a222a3d663da34
2009-06-07 08:05:17 +02:00
Juan RP
f3c5c5fe96 shutils/metadata.sh: do not compress non info files.
--HG--
extra : convert_revision : f47d7a574ac8b22c539420ab572d38cef38a527e
2009-05-15 03:09:38 +02:00
Juan RP
9a3f2e7c3d Handle openrc_services more gracefully.
1) There's no need to specify the trigger anymore.
2) There's no need to add the OpenRC run dependency anymore.

Just specifying $openrc_services is enough.

--HG--
extra : convert_revision : 34e4d6d37a07a18837ef2216474ee0ca6fd55124
2009-05-14 21:26:44 +02:00
Juan RP
513e1aa2ef shutils/metadata.sh: fix comment in previous.
--HG--
extra : convert_revision : aa3fda95fc515c9cd31f1f46ab417dffd47a254b
2009-05-14 19:32:42 +02:00
Juan RP
a8a9a42977 shutils/metadata.sh: add update-desktopdb trigger automatically.
If a package contains any .desktop file in /usr/share/applications
the trigger will be added automagically.

--HG--
extra : convert_revision : 2327dc43c9a0997814d35fab22e3cb950fc0e09a
2009-05-14 19:16:17 +02:00
Juan RP
08ba62ccdf shutils/chroot.sh: create /bin/sh symlinks while installing the utils.
--HG--
extra : convert_revision : 68973ca2649c22f28896c3e9dd5c43bc63aff860
2009-05-06 07:19:32 +02:00
Juan RP
706782cf0c shutils: allow subpkgs to use INSTALL/REMOVE scripts.
subpkgs to use them need to have ${pkgname}.INSTALL/REMOVE scripts
on the directory.

--HG--
extra : convert_revision : 293def453dd17d5bbdd68c9b25f8f2f16d673a8e
2009-05-05 00:19:25 +02:00
Juan RP
17a5ad3a3d shutils: allow subpkgs to have INSTALL/REMOVE scripts.
--HG--
extra : convert_revision : 4f60ecbd143b5d7d8d168e963c1030e00ad41247
2009-05-04 23:43:32 +02:00
Juan RP
e5c0f632d0 shutils: add $openrc_services var for use in templates.
--HG--
extra : convert_revision : 8923ecf479941feb2c606090896f2764e5fdc4fa
2009-05-04 23:18:28 +02:00
Juan RP
9cb1130619 Set configure_shell to /bin/bash again. Too many portability errors are found and I
do not want to deal with all them. This is linux anyway...

--HG--
extra : convert_revision : 18109137f3c1beccd2d78076438fb1b0e58fafc6
2009-04-29 16:11:00 +02:00
Juan RP
9dfcab1416 Rename config_shell to configure_shell.
--HG--
extra : convert_revision : 416900b81eca96e802f94b7a075842112d116eba
2009-04-28 00:13:21 +02:00
Juan RP
79e77babbc Fix meta-pkgs installation with $revision set.
--HG--
extra : convert_revision : 5dae83924e228ff864922f941a06f92a2a7b101a
2009-04-23 16:22:13 +02:00
Juan RP
7d60f3d0c2 Provide $config_shell for templates, by default set to /bin/sh.
--HG--
extra : convert_revision : 8630725f3e1d5d8feb54a352d3116197727b69b6
2009-04-22 06:18:11 +02:00
Juan RP
84487f5f17 Simplify perl module building.
--HG--
extra : convert_revision : 92c24f7fca99a5d27e3ff2afb786a255278c5c15
2009-04-20 02:26:38 +02:00
Juan RP
cae481869d Add CPAN_SITE for $distfiles and use it.
--HG--
extra : convert_revision : f3ef87a4459e089daaf78741a4cb0fb1bcbfd6bd
2009-04-20 02:14:07 +02:00
Juan RP
cad15bd3d2 Introduce $gtk_iconcache_dirs to fix the gtk-icon-cache trigger.
--HG--
extra : convert_revision : 1be7864a5554fd3779092adcdf1e9410be5d55a9
2009-04-20 01:20:31 +02:00
Juan RP
d013286604 tmpl_vars.sh: add KERNEL_SITE var and use it.
--HG--
extra : convert_revision : 19ca0740561716ef2adde93213fd64d4e280caec
2009-04-19 00:31:39 +02:00
Juan RP
d783a3acaf Override shell used in GNU configure scripts to /bin/sh.
--HG--
extra : convert_revision : cf85c364a4fe932f968fe6b438edfa24bdcbb669
2009-04-18 19:24:14 +02:00
Juan RP
d6fa1ac373 shutils/tmpl_vars.sh: added GNOME_SITE.
--HG--
extra : convert_revision : 5a20e6f47c844cf1d428bede429c292ee32650bd
2009-04-17 00:32:34 +02:00
Juan RP
e0ece941e0 Remove CWD as first argument to INSTALL/REMOVE scripts, it's unneeded.
--HG--
extra : convert_revision : ce8d9cbdb0a83748304ba25e53950385a9442b3f
2009-04-08 03:21:31 +02:00
Juan RP
89841df22e chroot.sh: run prepare_chroot() in xbps_chroot_handler().
--HG--
extra : convert_revision : 83037adeb3c89aace0986ccf23ba87f624333346
2009-04-07 16:08:52 +02:00
Juan RP
a083feb8ff Fix 'xbps-src -u fetch' if distfiles already exist.
--HG--
extra : convert_revision : 4e85b3f14dc4c8f887d79cc1d3ab2d7813ced637
2009-04-03 20:30:33 +02:00
Juan RP
13df7f994c xbps-src: remove genindex code. A better version in C was implemented.
--HG--
extra : convert_revision : 07d5d4bbe27d66760ebc0d602290781d0f257c82
2009-04-03 15:50:57 +02:00
Juan RP
4347b28383 xbps-src: fix genindex target for directory passed as argument.
--HG--
extra : convert_revision : 80712b3d526353eb81448f31cfa82b7cdb60e304
2009-04-02 02:41:36 +02:00
Juan RP
cf6bb806b7 make-binpkg.sh: build tmp pkgs in XBPS_BUILDDIR rather than DESTDIR.
--HG--
extra : convert_revision : ce460c47ac3edb7d871c7266f69b3f4ab6b39791
2009-03-31 18:51:05 +02:00
Juan RP
b3fbf38a63 extract_funcs.sh: teach it about .tar.lzma archives.
--HG--
extra : convert_revision : 953b7bacd4b543ab3d285188d19708f3cbe9377f
2009-03-29 12:55:33 +02:00
Juan RP
c4435b0b56 Bah, fix another error with custom-install and distfiles not set.
--HG--
extra : convert_revision : e234012ab35ffa018945366eb81ecdabefdd5b01
2009-03-29 09:46:55 +02:00
Juan RP
bf238a0b49 Fix "custom-install" templates without $distfiles.
--HG--
extra : convert_revision : c2efead6ee35fa7fcc0d95c05b4eb388971c3171
2009-03-28 19:34:22 +01:00
Juan RP
df9c00c475 tmpl_vars.sh: added DEBIAN_SITE for $distfiles.
--HG--
extra : convert_revision : f36b04289bba6857909c4e03c0b92ce45172e1f6
2009-03-28 17:05:50 +01:00
Juan RP
75bd88afc6 Rework how $revision is used. Works much better in all cases.
$version is not modified anymore.

--HG--
extra : convert_revision : a83408f47e22db2f34cd33d6d47eb2f045ae2758
2009-03-28 08:27:29 +01:00
Juan RP
47d8d684aa Introduce $revision for use in templates.
--HG--
extra : convert_revision : c57cd2a6705e04be838a02665d0ea11f525ce263
2009-03-27 16:39:28 +01:00
Juan RP
231b3fb32d Kill $install_priority. It was a hack and it's not needed anymore.
--HG--
extra : convert_revision : 993ed90732f140166d8b7f49475debca2fba30b1
2009-03-26 09:38:29 +01:00
Juan RP
7a40cfcfe8 metadata_script.sh: improve the INSTALL/REMOVE scripts.
--HG--
extra : convert_revision : 70e6088c94a274cfc862552e08aca60e790c29c3
2009-03-23 17:40:10 +01:00
Juan RP
bf879f5f33 Added x11-fonts trigger for mkfontdir/mkfontscale.
--HG--
extra : convert_revision : 95f8a9e2f43b8288dc31287d6fd077d705968627
2009-03-23 16:42:01 +01:00
Juan RP
37f094b95a Added NONGNU_SITE var for use in $distfiles.
--HG--
extra : convert_revision : d416f7e0717a3a23da15741fae6f45c039e89f98
2009-03-23 06:26:04 +01:00
Juan RP
8f8c5de29a Add a trigger to (un)register SGML/XML catalog entries via xmlcatmgr.
--HG--
extra : convert_revision : 9dec8c8329e79feefdc43664080795d82a558393
2009-03-21 06:53:29 +01:00
Juan RP
d5e7f8c5d2 Added noextract var. If set manual distfils extraction is required.
--HG--
extra : convert_revision : b1a2195517db3b511a2be87c0d4835a3178c4ffe
2009-03-21 05:28:39 +01:00
Juan RP
a3d7dc8a1b Repair build/installation of perl modules.
--HG--
extra : convert_revision : e72ba0f07d5bcbd009b598a63dadfc665fd7fb1c
2009-03-20 07:07:43 +01:00
Juan RP
509b140eba metadata.sh: don't create INSTALL/REMOVE scripts for subpkgs, for now.
--HG--
extra : convert_revision : 8026610f3ac2f4e4617142e6ce1370944b3dfac2
2009-03-20 05:14:34 +01:00
Juan RP
5e9bc6fde0 builddep_funcs.sh: fix previous.
--HG--
extra : convert_revision : 70c08dcf839c17581eca0d4003e9ed5c975c77f9
2009-03-19 00:30:44 +01:00
Juan RP
209e19ce55 builddep_funcs.sh: match 0 or 1 for satisfied deps, 255 equals to -1.
--HG--
extra : convert_revision : 84c67be32bb250a828b8cd16fa0e3b4ee88a737a
2009-03-19 00:24:59 +01:00
Juan RP
3667f039f2 Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes
some packages to install its manpage/info files.

--HG--
extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
2009-03-18 10:02:43 +01:00
Juan RP
cf98ddde86 shutils/metadata.sh: better match for compressed info/manpage files.
--HG--
extra : convert_revision : 9bd1665f885de8203139aca155b73fd3581e66d9
2009-03-18 06:47:52 +01:00
Juan RP
40b62ee70d Return appropiate value in xbps_check_is_installed_pkg().
Return -1 if package is not installed or dependency not satisfied.
Return 0 if same version required is already installed.
Return 1 if installed version is greater than required.

--HG--
extra : convert_revision : 359b79cbe809e1818fe999dc1d55da7e635dbe44
2009-03-17 04:32:03 +01:00
Juan RP
c5180507d3 Better check to detect if pkg has info files.
--HG--
extra : convert_revision : 837f78240d6a59d511d5c0c5b0b9870d76b4b42c
2009-03-16 07:02:35 +01:00
Juan RP
855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00
Juan RP
fdffaf481b metadata_scripts.sh: fix the comments on INSTALL/REMOVE scripts.
--HG--
extra : convert_revision : 84d5f43fc76cdeb6262840b7282898229e804bf6
2009-03-14 06:16:00 +01:00
Juan RP
de411515cc Kill $base_package, it was only used by dash after all.
--HG--
extra : convert_revision : e7ac14b1535f716dec259fc208343b3f4b6bb75f
2009-03-14 06:11:52 +01:00
Juan RP
edf6745d59 extract_funcs.sh: look for .tgz before .gz, otherwise it will do it wrong.
--HG--
extra : convert_revision : b8ca57eebd8c48aad7bc4f9e9d2aa1e7dc258d37
2009-03-14 01:21:27 +01:00