Commit graph

715 commits

Author SHA1 Message Date
Juan RP
bc754a46dd xbps: indent, use local vars in more places, misc.
--HG--
extra : convert_revision : 2e202b8f7b4a7ff87002dca7fd8ef286aece083a
2008-11-04 02:22:21 +01:00
pancake
2fde13b869 * Fix path to gcc for mktoolchain
--HG--
extra : convert_revision : 4a333c50d906e64243aa826da1b7cae59ddd5bdb
2008-11-03 12:16:04 +01:00
Juan RP
83e4088313 xbps: fix argc handling.
--HG--
extra : convert_revision : f623bdaf61b0d86c8d2eaa2105f9836601b7e93d
2008-11-03 11:01:42 +01:00
Juan RP
5e64daeed6 chroot: rmdir xbps_crossdir while exiting.
--HG--
extra : convert_revision : 734fef927ce93ce24c605025501318002fa56267
2008-11-03 10:33:54 +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
a172a9f604 Fix previous.
--HG--
extra : convert_revision : 3498fa3f50a519c98ebdeaecf07201b6da2bfe4d
2008-11-03 09:02:21 +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
cb099eba8c Use XBPS_CROSS_HOST in more places.
--HG--
extra : convert_revision : 13a5e424372d073fedd37f2e344a9bf2417afc2c
2008-11-03 07:50:58 +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
1ae9019da2 mktoolchain: added new flags to specify dirs and misc stuff.
--HG--
extra : convert_revision : f5f9eb9aa5cedf41c1a99b862d31e5a8368b6e8b
2008-11-03 00:29:33 +01:00
Juan RP
af67e8f905 Added a new script: mktoolchain.sh.
This will build you a cross toolchain from scratch; currently it's
only working for x86 targets, but should be easy to change it for
other targets.

--HG--
extra : convert_revision : 6ffd8f60b67606bc2068f29d86377e6fc9bab753
2008-11-02 23:09:47 +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
faef73b60c remove_pkg doesn't need $short_desc.
--HG--
extra : convert_revision : ad34005ecd15a99d74f17bec7df37cda3d8d8684
2008-10-30 09:44:02 +01:00
Juan RP
cf2015f692 xbps-pkgdb: add function to internalize plist file.
--HG--
extra : convert_revision : 0a303377d6c17b80eb9ff36b0309247a624c3e3e
2008-10-30 08:47:00 +01:00
Juan RP
40103061c7 Typo in previous.
--HG--
extra : convert_revision : 7f525fd6268414128c211e57904541a57a5aed8f
2008-10-30 07:38:14 +01:00
Juan RP
227c4af4a4 Update README with some random and stupid comments.
--HG--
extra : convert_revision : 0aa3457561682eee9074bd28eac3bf6682bc75ed
2008-10-30 07:36:18 +01:00
Juan RP
000b040397 Just run xbps-pkgdb list and remove list_pkgs().
--HG--
extra : convert_revision : 8aec0a58b00abe86418ce0d906db03d70f8d62ff
2008-10-30 07:18:21 +01:00
Juan RP
f2846165f0 Missed another change for previous.
--HG--
extra : convert_revision : 32531d00f580c993d05c76308b7908859cec0e8d
2008-10-30 07:14:32 +01:00
Juan RP
35df6d0c6e Rewrite xbps-pkgdb to use an array of dictionaries per pkg.
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
2008-10-30 06:40:11 +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
7fce51f267 chroot: support multiple users, i.e don't mount/umount if already done.
--HG--
extra : convert_revision : bd5197a38f42fd82a290aaa35a576d0997b1f6f8
2008-10-30 00:51:48 +01:00
Juan RP
167cf768a1 TODO: added another item about xbps-cmpver.
--HG--
extra : convert_revision : df3ad4ae384a7714d3ed922c297afc6509354a70
2008-10-29 23:48:27 +01:00
Juan RP
9baabc8f80 TODO: added another item.
--HG--
extra : convert_revision : 17f01683c5ff575173edc1f8185415068324b5df
2008-10-29 23:46:36 +01:00
Juan RP
b061a3665e Simplify even more by making msg_error() exit by itself.
--HG--
extra : convert_revision : bd27f0be7b00bef29b8ab4767273c7339ca91c10
2008-10-29 23:34:05 +01:00
Juan RP
f19481b477 Remove register_pkg_handler() and use directly xbps-pkgdb.
--HG--
extra : convert_revision : 5984773a47b003a8669a21c3e7f3a9f3c0f46695
2008-10-29 22:53:26 +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
c467d31a66 Simplify check_installed_pkg to avoid calling xbps-pkgdb unnecessarily.
--HG--
extra : convert_revision : 6e0f6f96a65b346e2e2e3c3253e5469d5eed8ede
2008-10-29 22:05:29 +01:00
Juan RP
3c6daaa6e3 klibc: needs kernel26 builddep.
--HG--
extra : convert_revision : 3575fe53f065df7ea7e92ceb34e499bf311dbf69
2008-10-29 21:17:32 +01:00
Juan RP
728daf9254 $grep_cmd is not needed anymore.
--HG--
extra : convert_revision : 6322150664a1774c4cc2913101b1e3668d4ffda0
2008-10-29 21:14:02 +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
de6947e0c9 Misc tweaks to messages in xbps-pkgdb.
--HG--
extra : convert_revision : 33bac6965b2efc2d212a95d15114661bd8170255
2008-10-29 20:20:22 +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
fb4b091270 Integrate xbps-cmpver and misc tweaks found in the way.
--HG--
extra : convert_revision : dc30942ce1cdf3631972466766e2af6d6f46ffeb
2008-10-29 19:59:06 +01:00
Juan RP
5638a5a4e5 ANSI colors are not supported anymore.
--HG--
extra : convert_revision : d9e7bfcb963a0bf6dff276e8d15b0df22de24143
2008-10-29 19:43:29 +01:00
Juan RP
de67397983 xbps-digest: accept any number of arbitrary files in argv.
--HG--
extra : convert_revision : 42a96b8435a2508a06b48f327f25dc97e16db233
2008-10-29 18:42:23 +01:00
Juan RP
5803db23a3 Fix spurious chars passed to grep in extract_distfiles().
--HG--
extra : convert_revision : 6f1f9ca0640b8cbb0dcb8ef7f42046566d479fc0
2008-10-29 18:37:04 +01:00
Juan RP
2cb592e66e Remove bash specific features to not depend on it.
--HG--
extra : convert_revision : 0ff8eac00a603d8aae549a8bfa568bb710e4b0bf
2008-10-29 18:33:55 +01:00
pancake
7d8701190d Fixes for cmpver..use strrchr and control last char
- should make util-linux work now

--HG--
extra : convert_revision : 3a02003c06ba3b84d2b8df6acef790765a7750f3
2008-10-29 17:51:29 +01:00