Commit graph

321 commits

Author SHA1 Message Date
Juan RP
c8ed72be64 binutils: remove unused post_install func.
--HG--
extra : convert_revision : f75f8e7724b0fba72cc0a4f33c6134ef12445151
2008-11-06 07:36:27 +01:00
Juan RP
245178dc42 glibc: add /lib32 and /usr/lib32 into ld.so.conf for x86_64.
--HG--
extra : convert_revision : 7b033e5ddb577944c05ca5f47a4f7e9a26ed080a
2008-11-05 06:25:02 +01:00
Juan RP
159e450616 binutils: pass --enable-multilib.
--HG--
extra : convert_revision : 3c0d3301aee27df74774353ee3d6d840bacff14a
2008-11-05 04:19:39 +01:00
Juan RP
b4d5150542 gcc: pass --enable-shared, otherwise shared libs won't be built!
--HG--
extra : convert_revision : e95fdba46e497f27d316bbbdc92a41af27c15daa
2008-11-05 01:43:55 +01:00
Juan RP
9b1c29e19b glibc: add 32 dynamic linker to ldd on x86_64.
replace_interpreter: don't look at $wrksrc.

--HG--
extra : convert_revision : ba36faca11a84e42a6cbd418be90cbd443a5ee4e
2008-11-03 10:32:36 +01:00
Juan RP
5b8cc70d4e ncurses: update to 5.7.
--HG--
extra : convert_revision : 540bd1ed9bdb381915052320231bc2f3d103ba1c
2008-11-03 09:24:07 +01:00
Juan RP
cc27b1a54a Added a new var for templates: only_for_archs.
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
2008-11-03 08:38:38 +01:00
Juan RP
ebb7cc3fcd glibc32: install gconv stuff into /usr/lib32.
--HG--
extra : convert_revision : f8c122c59f167500fd4511526351ad1cb0dcb812
2008-11-03 08:18:52 +01:00
Juan RP
d15b7887e7 Added support for cross compiling packages on x86_64.
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
2008-11-03 07:12:53 +01:00
Juan RP
af7dd8bb55 binutils: use --enable-64-bit-bfd in configure_args.
--HG--
extra : convert_revision : 0975f52d5f19b291e110ca37b1a14188807158ae
2008-10-31 02:28:35 +01:00
Juan RP
2c0cb83289 util-linux-ng: disable wall as the CLFS book mentions.
--HG--
extra : convert_revision : 05a8fbf66aa069c385fe8754bbcf676ab7822cc6
2008-10-31 02:15:14 +01:00
Juan RP
313c0179e2 Added util-linux-ng-2.14.1 template.
--HG--
extra : convert_revision : cdfbc8bfa6f95118ee0d32ce34f7932a6e1d4c5a
2008-10-31 02:09:14 +01:00
Juan RP
9c28282cc4 e2fsprogs: install headers, fix pkgconfig files, misc stuff.
--HG--
extra : convert_revision : 853491bcabaf5050e04271b8090395f23e00fcb3
2008-10-31 02:08:36 +01:00
Juan RP
5bb36505b1 Rename helper-templates to just helpers.
--HG--
extra : convert_revision : cbaa30da99805accbe250d8dee5494c78cb93291
2008-10-30 23:34:05 +01:00
Juan RP
25a6af5a07 Remove unzip helper and make pkg add a build dep to unzip.
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
2008-10-30 23:28:59 +01:00
Juan RP
4bbeb31d60 jasper: indent $distfiles and $long_desc.
--HG--
extra : convert_revision : 436eb00ea7a7d5d36e57611ee9f332266aa94e1b
2008-10-30 23:10:34 +01:00
Juan RP
21b736cd31 jasper: update depends and checksum.
--HG--
extra : convert_revision : 331966f198dab283997af7ce4ed856910e86c680
2008-10-30 23:06:26 +01:00
Juan RP
77b4826fdc Sync unzip and its helper with latest code.
--HG--
extra : convert_revision : a2ea9f303afba4d3838a39b6908d134245b1fb01
2008-10-30 23:05:58 +01:00
Juan RP
e765a9c0e4 binutils: updated to 2.19.
--HG--
extra : convert_revision : 84b72a259842d6429aefe6c25f6988646a2d1434
2008-10-30 02:20:34 +01:00
Juan RP
de7879388a groff: needs disable_parallel_build.
--HG--
extra : convert_revision : fedbea9b6c75364b71538b2aab5e20563f1e67cf
2008-10-30 02:20:15 +01:00
Juan RP
c0147b35d6 kernel26: make a symlink of /usr/src/linux-$version not hardlink.
--HG--
extra : convert_revision : 3b72fcb0d81d6a8bfdcb02ecfb4c159ac656db36
2008-10-30 01:10:06 +01:00
Juan RP
ee9d9d99f3 openssl: needs disable_parallel_build.
--HG--
extra : convert_revision : db07e20e74108a139d2ffe18baec1984f2eaa902
2008-10-29 22:45:09 +01:00
Juan RP
3c6daaa6e3 klibc: needs kernel26 builddep.
--HG--
extra : convert_revision : 3575fe53f065df7ea7e92ceb34e499bf311dbf69
2008-10-29 21:17:32 +01:00
Juan RP
74182a7c99 wget, gstreamer: indent $long_desc.
--HG--
extra : convert_revision : e903388167ce461c2e7f3fd56e376b6273e2c5ce
2008-10-29 20:27:11 +01:00
Juan RP
97964298e5 Added dash-0.5.4 and make /bin/sh -> /bin/dash symlink.
Removed item from TODO.

--HG--
extra : convert_revision : b9f0d02cf0ec6ff9e41a34b06eb2ec6ebbd413b3
2008-10-29 20:19:35 +01:00
Juan RP
2680b4827d Looks like I removed a line accidentally for the configure phase.
--HG--
extra : convert_revision : 4554d5b18761b54653785df10117fda04d88ac42
2008-10-29 05:34:57 +01:00
Juan RP
c1146599ee bash: apply all patches for current version and bump to 3.2.039.
--HG--
extra : convert_revision : 71bad58aac0268656be9ce48bace60ba8f573ea4
2008-10-29 04:49:24 +01:00
Juan RP
ac80ddda40 Use bash features to improve $distfiles parsing.
That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.

--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
2008-10-28 23:57:52 +01:00
Juan RP
75f9cf1401 wget: s/gawk/wget/
--HG--
extra : convert_revision : 0baaca23a94b80309d5bac32c8a65d520e73ad54
2008-10-28 16:17:40 +01:00
Juan RP
3ec0e3ec05 gstreamer: fix $distfiles, remove unused stuff.
--HG--
extra : convert_revision : d20c0b7cf3b6108e904b6ab9665b2ad677f9867d
2008-10-28 16:17:02 +01:00
pancake
1732450967 Added wget package (dependency of xbps-base-chroot)
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
2008-10-28 12:45:30 +01:00
Juan RP
4c11bc34e4 man-db: needs less(1).
--HG--
extra : convert_revision : a0ff0190d06ec5654643dec4a86cc696196d7882
2008-10-28 08:08:27 +01:00
Juan RP
e53b11c451 initramfs-tools: typo that fucked up chroot.
--HG--
extra : convert_revision : 5637dc71461f19822c7e96385a0de9e60a4ef290
2008-10-28 07:41:20 +01:00
Juan RP
3c3dd07d3f Rename linux-headers to kernel-headers.
--HG--
extra : convert_revision : 2439fd1aedddad1611f6ba8a0351c81edfd5c8f1
2008-10-28 06:17:21 +01:00
Juan RP
15bb23dae4 Added initramfs-tools-0.92l template.
--HG--
extra : convert_revision : 4342296871b4bfd1d0409b2ee9de547995e2ca2f
2008-10-28 05:02:24 +01:00
Juan RP
de7d1b10e7 Added klibc-1.5.14 template.
--HG--
extra : convert_revision : 580665d1b6fbd552c48fd8167c61762cfa8a0541
2008-10-28 03:25:18 +01:00
Juan RP
53a48438ee libtool: remove not relevant patches.
--HG--
extra : convert_revision : 51708b70e4d44a576582789bfbdfed721abf3cc7
2008-10-27 15:35:41 +01:00
Juan RP
4d45eca7f8 firefox: remove not relevant patches.
--HG--
extra : convert_revision : c33431cc8a0336367694810e36cb42cf10a89207
2008-10-27 15:34:50 +01:00
Juan RP
c8513f9fd3 MesaLib: remove not relevant patches.
--HG--
extra : convert_revision : 0724a014176224504f0231815e307788a11cbeaf
2008-10-27 15:33:44 +01:00
Juan RP
0079e0289d xorg-server: remove not relevant patches.
--HG--
extra : convert_revision : 56c864d7e1e2f076292b8a91658a9c618bc9674d
2008-10-27 15:32:42 +01:00
Juan RP
2053a45e7d Added kernel26-2.6.27.3 template. Latest stable kernel.
--HG--
extra : convert_revision : 1ea61392bfeb8f06cf8d5b08e2985029e5baab69
2008-10-27 14:13:10 +01:00
Juan RP
d006008d5e tar: needs base_chroot=yes.
--HG--
extra : convert_revision : 808044519127d267f245be5013c8749a6adc3481
2008-10-27 10:35:38 +01:00
Juan RP
7518727c64 xbps-base-chroot: needs base_chroot=yes.
--HG--
extra : convert_revision : 4fa3514c16a48026df6e598140cf1469ee17a65a
2008-10-27 10:28:56 +01:00
Juan RP
dc0383b059 upstart: remove unneeded CPPFLAGS.
--HG--
extra : convert_revision : 2714517f31f893ce703ed167bcad35e80363b99b
2008-10-27 09:14:49 +01:00
Juan RP
cb98b31ee8 groff: pre_build_cmd is no more.
--HG--
extra : convert_revision : a239cfd8612f3d8a13030bdbd1d01d1436264ae0
2008-10-27 08:27:33 +01:00
Juan RP
b45aae4025 mng: use pre_configure() in template file.
--HG--
extra : convert_revision : 1a4477ec9af51431ccf7a6af1a2c6d6864f545a2
2008-10-27 07:49:03 +01:00
Juan RP
5a249b6c4f Require to configure/build/install in the chroot all packages.
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
2008-10-27 07:42:40 +01:00
Juan RP
e9231b5999 More changes to {pre,post}_<stage> stuff.
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
2008-10-27 06:12:30 +01:00
Juan RP
aca77c9284 grep: disable perl regexp to avoid pcre dependency.
--HG--
extra : convert_revision : 7c3ed8141c4ed3ebfa078f87245b6d5e53402f9b
2008-10-27 05:22:43 +01:00
Juan RP
5ef5ca8d35 Simplify templates by not needing $patch_files in some cases.
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
2008-10-27 04:08:55 +01:00