There are now two ways to use the following targets:
build, build-pkg, clean, configure, extract, fetch, info, install,
install-destdir, remove, stow, unstow.
1) The known way: 'cd srcpkgs/foo && xbps-src <target>"
2) The new way: 'xbps-src <target> foo'.
- Remove buildvars_funcs.sh, its code has been moved into set_tmpl_common_vars().
- Move stripping code into its own file, and don't run it via fakeroot.
- Remove unnecesary reset_tmpl_vars() call in install_pkg().
- Misc changes.
- Prefix all messages with 'Package 'pkgname (version)': ..." to really
understand what's going on. Add more messages in some stages...
- Do not run pre/post_{configure,build,install} or do_{build,install} stages
if they were executed successfully in the past.
* -m flag to specify a custom XBPS_MASTERDIR, overwritting the value
from xbps-src.conf.
* make-repoidx target to create a package index plist file for
the local repository associated with a masterdir, or one specified
by the -p flag.
--HG--
extra : convert_revision : dbd502b532fd49cd17a79a187488a1e92f361ee0
Three new helpers will now be installed into ${libexecdir}:
- xbps-src-capchroot needs to have set CAP_SYS_CHROOT ep.
- xbps-src-chroot-cap{,u}mount: needs to have set CAP_SYS_ADMIN ep.
That means that libcap and setcap(8) are now required to install
xbps-src and use it as normal user.
--HG--
extra : convert_revision : 586d6526079e085f86bf3e393459d429f6f0ef99
* Removed the following vars from the conf file: XBPS_BUILDDIR,
XBPS_PACKAGESDIR and XBPS_SRCDISTDIR. They are always relative
to XBPS_MASTERDIR and cannot be changed.
* Removed XBPS_INSTALLDIR, it was unused in the code.
* Prepend /tools/bin in PATH for the chroot.
* Don't register a repo in the chroot if the XBPS_PREFER_BINPKG_DEPS
is not set.
--HG--
extra : convert_revision : 4df03ffa64f0bbf81cd1dd0baf38f1b7e4f47549
Changed all packages using $replaces to the new format and bump
the revision. Require XBPS utils >= 20100121 for this to work.
--HG--
extra : convert_revision : 7593b3cb7465f7613f48aba0f2e86cdcd5430ac0
Please read the comment in xbps-src.conf to use it. Fully tested
and working nicely, probably some pkgs will need minimal changes.
--HG--
extra : convert_revision : 820ad6d48aa74cf5b6db1871adea750acccaa82f
Rather than make it configurable, put this always under
XBPS_MASTERDIR/pkg-destdir, so you don't have to care about it anymore.
--HG--
extra : convert_revision : 34cc3102272bfcf95b2fc3a8961cb9cb2429ab91
* 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
xbps from launchpad head branch has gained support for extended
pkg version matching, as specified in:
https://blueprints.launchpad.net/xbps/+spec/improved-version-matching
Now it's required to specify the operator(s) for required versions
in the depends files and "Add_dependency" option in build templates.
xbps-src now requires xbps utils 20091107.
--HG--
extra : convert_revision : fc09fa707483a75e0b6f68445721fc1a9166cdad
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