This accepts a list of archs where the package makes sense. Use this
in the glibc32 pkg and restrict it to x86_64.
--HG--
extra : convert_revision : 4d64b281e1f2ab6b104d43a1f37def1ec767b0a1
Two new options for the configuration file were added:
* XBPS_CROSS_TARGET
* XBPS_CROSS_DIR
XBPS_CROSS_TARGET should be set to the target triplet that you build
with the mktoolchain script.
XBPS_CROSS_DIR should point to the cross directory that mktoolchain
created if you've built one.
As proof of concept the glibc32 package has been added for x86_64,
and it works perfectly even in the chroot! with glibc32 in place
that means that I can build a gcc multilib and use -m32 to build
32bit packages! OH YEAH I LOVE THAT SHIT!!!!
--HG--
extra : convert_revision : 6b0008865e084674a1c4b58266f681871e519c66
That way we can simply check for unzip bin being installed and
error out if it's not, it's simpler.
--HG--
extra : convert_revision : 8fd6c5f11a54742403a16fa10c3ed1db7f12955b
That way we can make it extensible in future changes.
Now it looks like this:
<key>packages_installed</key>
<array>
<dict>
<key>pkgname</key>
<string>dash</string>
<key>short_desc</key>
<string>POSIX-compliant Unix shell ...</string>
<key>version</key>
<string>0.5.4</string>
</dict>
...
</array>
xbps list should be faster than before if a lot of packages
are installed.
--HG--
extra : convert_revision : 816e3e73a4fc72fd8e61f3825757d92ad9d5b511
With the -e flag those colors will be disabled. As bonus also
I removed blank lines in .xbps-filelist and other misc tweaks, fixes
I cannot remember now.
--HG--
extra : convert_revision : 5e481d0faa14518363eafc622633d645c335ed78
That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.
--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
Make chroot copy etc/resolv.conf when entering
Added buggy gstreamer template (exposese some bugs of xbps.sh)
utils build now does not cleanups the dir after build
--HG--
extra : convert_revision : a36211b7dab8627f912f3b8f844d16bbcec0bc6e
If a template uses this, it should provide a do_install() function to
install all required stuff.
--HG--
extra : convert_revision : ffbb388b83ac72e506c2c1fe98a942a41f3777d2
This is to ensure that only stuff found in the chroot will be used,
and to avoid some stupid problems with libtool scripts. Therefore only
templates that have $base_chroot set can be built without the chroot.
As bonus now all messages are prepended with "[chroot]" when xbps.sh
is running inside of it.
--HG--
extra : convert_revision : 68195f4b240c01eea18777767b555604d892400f
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.
Also remove some NetBSD specific stuff that is not useful anymore.
--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
If exists a patch called $pkgname-fix-{build,install}.diff in the
templates directory, they will be applied automatically. If patches
are named differently $patch_files must be used yet.
--HG--
extra : convert_revision : 21f6edfab580c569b3737280f54a6332c44baa49
If there's a file called "$pkgname.{pre,post}_{configure,build,install}
it will be automatically executed. In addition to this, templates may
use {pre,post}_{configure,build,install}_cmd variables to run arbitrary
commands.
--HG--
extra : convert_revision : 62ad549b8299689ecf8c833e73eda436ffdb7aa7