Commit Graph

22 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 0a0cc91b15 glibc: update to 2.11.
--HG--
extra : convert_revision : c9be8f1a3888b3321562e1c0b1b4a169d0d1f97d
2009-11-08 23:25:12 +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 0f19402d79 glibc: remove /etc/ld.so.cache from destdir.
--HG--
extra : convert_revision : af385cabb81b804db9c1af1a4154cb60096e7f12
2009-10-21 14:32:49 +02:00
Juan RP cff1ee6c43 glibc: don't add /etc/ld.so.cache in $conf_files. Bump revision.
--HG--
extra : convert_revision : bdad824532656b843293dbd9eeac0af970db3964
2009-10-21 14:28:57 +02:00
Juan RP 85a7ceb76f Move all patches to templates/$pkgname/patches.
There's no need to set patch_files/patch_args anymore, all patches
in this directory will be applied with -Np0 and they have .diff
or .patch (and .gz/.bz2) extension.

--HG--
extra : convert_revision : 8d516c033fe34db94ebbcc84c246e84fc96ed901
2009-10-15 16:07:47 +02:00
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00
Juan RP dcb4035ed4 glibc: update to 2.10.1, mark as essential.
--HG--
extra : convert_revision : 8c6662d5caa7944b168bfe7022891f60989cbf41
2009-06-07 08:15:12 +02:00
Juan RP 8c0034fba2 glibc: add a patch from redhat to make gdb work with threaded apps.
Bump revision.

--HG--
extra : convert_revision : e187f5de60b3bbef5d930c461420ce0ab6d18e61
2009-05-16 04:10:34 +02:00
Juan RP c17c5e6feb glibc: add a patch to remove dup redefinitions. Will submit it upstream later.
--HG--
extra : convert_revision : 1adae11174fc0c4501be7ccc75c1fa89efb6e519
2009-04-24 17:22:07 +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 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 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00
Juan RP ff2494f262 glibc: add kernel-libc-headers builddep and use it.
--HG--
extra : convert_revision : 663046e8c2c5d47d61f466aa296efd344c19c585
2009-03-03 23:52:07 +01:00
Juan RP a2d93458c0 glibc: use the official 2.9 distfile, add ld.so.cache to $conf_files.
--HG--
extra : convert_revision : 71d73ae0879dc0e771b89d3e2a89546e589cd36b
2009-03-03 17:37:28 +01:00
Juan RP 0b7cdfa1d0 Split pkgs required by xbps-base-system, structure based in Fedora.
--HG--
extra : convert_revision : 151da3637a2745b786251e067bb924c3fd98118b
2009-02-25 06:15:20 +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 f788c5f3f6 glibc: converted to subpkgs, don't build/install all locales.
--HG--
extra : convert_revision : 808d308c646e2c8e07e97435983ef377a64ad5da
2009-02-21 02:18:23 +01:00
Juan RP c73a1e30a2 glibc: it seems gawk is needed as build dep.
--HG--
extra : convert_revision : 691d2ebc7a58bf9e2a2732115ce17e71b7c311c7
2009-02-19 21:09:51 +01:00
Juan RP 1629f71053 glibc: update to a newer snapshot and don't install timezones.
--HG--
extra : convert_revision : 5ddfef3dde9ef87bcc70a4e934d1d3c1843c5b62
2009-02-14 23:15:16 +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/glibc.tmpl (Browse further)