Commit graph

18 commits

Author SHA1 Message Date
Juan RP
85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00
Juan RP
81274224e0 xbps-base-chroot: remove unneeded xbps rundep, bump to 0.13.
--HG--
extra : convert_revision : 413130f67bd989c346fbe4ea71d32fdfe4b37843
2009-11-07 02:05:29 +01:00
Juan RP
8c89fbd90b Fixed launchpad #474467 bug.
Make xbps-base-chroot depend on bash and use it for the chroot
environment. Depending in host's bash wasn't a good idea...

--HG--
extra : convert_revision : dfff2287dec5c3fb64725e601f70fe4a2ab2db98
2009-11-05 17:51:26 +01:00
Juan RP
1ebe5e6b5e Mega-commit removing deps in xbps-base-chroot.
xbps-src:
  * ALWAYS use the static bins, to avoid breakage in the chroot.
  * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's
    useful to download all distfiles in xbps-base-system.
  * Use busybox in the chroot and create links in /usr/local/bin
    at creation time. This helps to remove many packages that
    had problems with host/target libs (acl, attr, libarchive, etc).

build templates:
  * Add explicit gettext and texinfo build dependencies in all
    packages that need them, because they aren't built anymore
    by xbps-base-chroot.
  * Fixed some packages using build_style=gnu_makefile, that were
    broken because pre/post_configure() is not executed for a while,
    they should use pre/post_build() instead.

--HG--
extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
2009-10-30 22:14:09 +01:00
Juan RP
92f1998ad4 xbps-base-chroot: update to 0.10.
Add xbps dependency and remove proplib, lzma-utils and wget deps
now that they aren't required because the xbps static binaries
are copied into the chroot.

--HG--
extra : convert_revision : 35a5c1731531aabd8a36665e21b614e8749f2e0f
2009-10-17 03:18:14 +02:00
Juan RP
280e527b08 xbps-base-chroot: build texinfo after gettext.
--HG--
extra : convert_revision : 60676f3bc394343ddea383ed343769cc3b24ac98
2009-04-24 17:28:35 +02:00
Juan RP
f27cf5c2af Rename xbps-base-dirs to xbps-base-files.
Install some default configuation files by default, based on
Fedora and Archlinux.

--HG--
extra : convert_revision : 28a0ac3594338bbd761c8c68559d09d8e9aec54d
2009-03-27 12:34:11 +01:00
Juan RP
f081057200 xbps-base-chroot: add gettext, reorder deps. Bump to 0.9.
--HG--
extra : convert_revision : 3a4a69dc57edfaf962c96b51331d52199a901f6e
2009-03-18 10:00:41 +01:00
Juan RP
ee13f3be09 xbps-base-chroot: add some required rundeps. Bump to 0.8.
--HG--
extra : convert_revision : f8a20924f860a67c3ef20a7d59592dad6dbd8a32
2009-03-04 00:05:35 +01:00
Juan RP
64adf578e7 xbps-base-chroot: add wget dependency back again.
--HG--
extra : convert_revision : d82defd896231183252774f5040bc51e01b52cce
2009-02-25 04:58:27 +01:00
Juan RP
e0030bc0fe Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build
  or run time dependencies to packages. An optional third parameter
  can be used to specify other version than the one set in
  the depends file.
- Use a "depends" file in package directory to specify minimum
  required ABI/API version for a package, so that there's no need
  to set the version all the time in pkgs.
- Updated bash to 4.0.

--HG--
extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
2009-02-24 07:13:11 +01:00
Juan RP
1b358afeaf Convert all xbps-base-chroot pkgs to subpkgs.
Also introduce "libs.depends", that adds a rundep of a package
with a proper version. This is to avoid modifying all dependent
packages if there's an API/ABI change.

--HG--
extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
2009-02-22 05:57:13 +01:00
Juan RP
0834b273db xbps-base-chroot: remove dup or not required deps. Bump to 0.6.
--HG--
extra : convert_revision : 2ccf55324d778f5c96583ddde425864971166f6d
2009-02-19 21:48:42 +01:00
Juan RP
9ef5180865 xbps-base-chroot: add xbps-base-dirs at head of $build_depends.
--HG--
extra : convert_revision : 5e5704174b4cf77ba1eb5324aecd74d33e2f975e
2009-02-17 17:17:58 +01:00
Juan RP
870addbffc Add a "noarch" var. Used by packages that aren't arch specific.
--HG--
extra : convert_revision : 263bd27542e1f2e65f119eb307d37d7b7ade3236
2009-02-15 23:57:15 +01:00
Juan RP
cc83e58b90 xbps-base-chroot: revert previous. We still need xbps-base-dirs dep.
--HG--
extra : convert_revision : 14b03a2bdeca443923a3047318517ab033de33b6
2009-02-04 17:53:19 +01:00
Juan RP
83ee032c38 Rather than adding the xbps-base-dirs dep on xbps-base-{chroot,system}, add the
dependency to glibc instead.

Almost all packages depend on it, and this ensures that it's always installed
before anything else.

--HG--
extra : convert_revision : 45bbc22a15feeb663d2895324e611b6d711ea062
2009-02-04 01:30:04 +01:00
Juan RP
fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Renamed from templates/xbps-base-chroot.tmpl (Browse further)