Commit graph

921 commits

Author SHA1 Message Date
Juan RP
37725c0e97 xbps_sort_pkg_deps: there's no need to sort direct/indirect in two passes.
--HG--
extra : convert_revision : a6666b0605f34ac2440c61d09f25831dee9e67fa
2009-02-14 06:06:01 +01:00
Juan RP
5a894ad5e5 sortdeps: use a SIMPLEQ rather than a TAILQ, it's enough and faster.
--HG--
extra : convert_revision : b42935d05f31a74838140ef46293b65f9f0cb07d
2009-02-14 05:45:04 +01:00
Juan RP
ee309578f7 binpkg-genindex.sh: add a filename-size obj.
--HG--
extra : convert_revision : b41d98800583d7d1681a1181a1fe67976e3975c8
2009-02-14 05:34:24 +01:00
Juan RP
3cec555fa5 TODO: remove item for xbps-repo that has been fixed.
--HG--
extra : convert_revision : 250444dbbb78c07c09e2ec2986ef4a6158f79ac5
2009-02-14 05:15:04 +01:00
Juan RP
3084354cec Fix previous.
--HG--
extra : convert_revision : a8073bfa4782f6c6a3e2afe760b184598f268807
2009-02-14 03:57:29 +01:00
Juan RP
b55346ae64 Show an informative error if binpkg cannot be found in repos.
--HG--
extra : convert_revision : 0c1e639cb598b19d258c1e1413dd1cb5930c4c61
2009-02-14 03:25:55 +01:00
Juan RP
afa0eeae72 plist.c: bah, forgot to update copyright's year.
--HG--
extra : convert_revision : 0ff12fa85651c077528e2ad147b845e63dd6ef76
2009-02-14 02:26:57 +01:00
Juan RP
83ed100fcf Use xbps_callback_array_iter_in_repolist() and removed dup code.
--HG--
extra : convert_revision : 7eb9c1b3df3fc7fde2ff61ac0cce1d635c3fef18
2009-02-14 02:26:11 +01:00
Juan RP
90fd3828e6 repository.c: update copyright's year.
--HG--
extra : convert_revision : 61a62966cd090b32a63254341b10e5f33ee85c4f
2009-02-14 01:58:26 +01:00
Juan RP
cfd928d563 Fix xbps_unregister_repository() func cb.
While here, change a var type to ssize_t... int64_t is overkill.

--HG--
extra : convert_revision : d5128f9d0c7da549fa2894d42b4a012c68478473
2009-02-14 01:50:18 +01:00
Juan RP
3c7b8186e6 Fix binpkg installation with multiple repositories.
New changes include a modified algorithm of the previous one, which
finally does not fail even with multiple repos, YAY!

Fixed some leaks as well, thanks to valgrind.

--HG--
extra : convert_revision : 3cffe1e9e9e9f7abf225ca3c6643377fc12a94bd
2009-02-14 01:37:12 +01:00
Juan RP
6afd85a491 initramfs-tools: needs gzip rundep.
--HG--
extra : convert_revision : fbbc72e501aeb3b71d9bc19afeda22bcfc7ae604
2009-02-14 01:18:43 +01:00
Juan RP
252b190c64 curl: add missing glibc rundep.
--HG--
extra : convert_revision : 32bd6adee1f5fdda70a26c85d6607ac17521bc36
2009-02-13 15:01:49 +01:00
Juan RP
6cbe5e54f3 libidn: add missing glibc rundep.
--HG--
extra : convert_revision : 710afefb29de6a2f8cfa9d20e8e0c2f65831c521
2009-02-13 15:01:28 +01:00
Juan RP
d420d00081 xbps_unregister_repository: return ENOENT if not found, not ENODEV.
--HG--
extra : convert_revision : c1be34bc1840ac351e8e2d301e2c71d247f0ea9c
2009-02-13 00:18:28 +01:00
Juan RP
5b841b8a7d readline: add official patches for 5.2.
--HG--
extra : convert_revision : e346d1b9d83bce77e97101dba76479e655ef80dc
2009-02-13 00:17:47 +01:00
Juan RP
756c0a77d8 python: update to 2.6.1, depend on ncurses.
--HG--
extra : convert_revision : f63949096c6cecd147d6af7f28bee16339bbe0ae
2009-02-12 23:47:19 +01:00
Juan RP
f3f5192d5b Use xbps_check_is_installed_pkg(), which performs version checking too.
--HG--
extra : convert_revision : 510a9bceec5e54791be76cc28f36f0e5b6d513eb
2009-02-12 22:51:46 +01:00
Juan RP
774d14ac93 xbps_install_pkg_deps: fix a leak if installing a required dep fails.
--HG--
extra : convert_revision : e29096f8929dfcf41f6a0c75f758f9d8f4b67596
2009-02-12 21:17:35 +01:00
Juan RP
bd29a1f180 Another round of libX11 pkgs updated for xbps.
--HG--
extra : convert_revision : 1d32c5b049eab2af01ce01e4fcde53f02c3c4138
2009-02-12 21:07:35 +01:00
Juan RP
03c899b33c xbps_sort_pkg_deps: fix a leak if all deps are satisfied.
--HG--
extra : convert_revision : 04f0a2ced6d83f57d7ea08650c1ed48ea860f6b0
2009-02-12 19:00:03 +01:00
Juan RP
c9d4ea5527 xbps-pkgdb: use EXIT_FAILURE.
--HG--
extra : convert_revision : 0a41128bdf379ca2dfdf1be7053a42e85fddc81a
2009-02-12 18:59:43 +01:00
Juan RP
97ceef46a8 xbps_register_pkg: check for NULL pointer.
--HG--
extra : convert_revision : ccc656dc49c75e371d4de10bdcd0c07bf01090f2
2009-02-12 18:59:14 +01:00
Juan RP
28cfeea6d1 New dependency sorting algorithm made in 2 days.
This algorithm works for all packages currently usable on xbps.
Previous code didn't take into account the correct order between
indirect and direct deps.

--HG--
extra : convert_revision : c49a20ce300e6e9dfa565325b40745b5a78b78ed
2009-02-12 17:30:38 +01:00
Juan RP
3b419a365e xbps_update_pkg_requiredby: fix a double free.
--HG--
extra : convert_revision : f821d215c3b97ca253ab1c170262d6bd9ae4f3fc
2009-02-10 12:04:10 +01:00
Juan RP
939a63036e Added support to keep track of reverse depends on installed packages.
--HG--
extra : convert_revision : 9e3e46f726ef28843dc52b95ce818637c2a18de5
2009-02-10 02:52:12 +01:00
Juan RP
e32d15605b TODO: add two items and note I'm working on them.
--HG--
extra : convert_revision : 898d33ad0eb7a94fb5b825516c05ca67a19ce32b
2009-02-09 17:37:12 +01:00
Juan RP
1eb9ea591a Fix binpkg dependency installation with new code.
--HG--
extra : convert_revision : fc6c3fd108caf4cedec0edd3b813edbdfb6bd8be
2009-02-09 16:39:55 +01:00
Juan RP
126928ca8d Merge branch 'master' of ssh://xtraeme@repo.or.cz/srv/git/xbps
Conflicts:
	lib/depends.c

--HG--
extra : convert_revision : 568341c7637aa537838880da03bd4dda819902ea
2009-02-09 16:09:39 +01:00
Juan RP
535d2128e5 Another set of changes for X11 related pkgs.
--HG--
extra : convert_revision : 25c37e03bcec3ec8d52cc67fb6f7df9ec2e075c3
2009-02-09 16:02:42 +01:00
Juan RP
a38260c568 Rename freetype2 to freetype and update to 2.3.8.
--HG--
extra : convert_revision : ca7363ff5e1e8b8b8868584527222c260f97f633
2009-02-09 14:25:13 +01:00
Juan RP
c397ef5864 Fix build/run deps in some xorg lib pkgs.
--HG--
extra : convert_revision : e2cc40e6fa780e8060860a56c41a59fff77a5268
2009-02-09 04:31:42 +01:00
Juan RP
2ff54fadeb xbps-src: ignore pkgs with unexistent destdir in 'build-pkg all'.
--HG--
extra : convert_revision : 7fe1a6d09fb90bed64b93f7b589641a34036511a
2009-02-09 03:52:08 +01:00
Juan RP
27c5d48ec6 libX11: fix installation.
--HG--
extra : convert_revision : 063fa9fab9f17ab0d2c8312c5475d9c2bd261e19
2009-02-09 02:51:22 +01:00
Juan RP
2eb071d4b9 Update checksum and build/run_depends for a bunch of X11 pkgs.
--HG--
extra : convert_revision : 42396fcf8a9452c70352835ee2e1e9c94bb5fc7b
2009-02-09 02:01:28 +01:00
Juan RP
4a4f70b005 xbps-src: add -u flag, if used with fetch update $checksum in tmpl file.
--HG--
extra : convert_revision : a11fe9147498fb4a60ecb2633493d2d4789c288d
2009-02-09 01:01:14 +01:00
Juan RP
807d8feb14 xcmiscproto, xproto: glibc rundep is not needed.
--HG--
extra : convert_revision : 746dd2c87e889dea1c910886be89539d75e9468b
2009-02-09 00:38:24 +01:00
Juan RP
71ae32ad3c xcmiscproto: update checksum and run_depends.
--HG--
extra : convert_revision : f90992f1b8da7ef7665675e9b881fae00d5895ac
2009-02-09 00:36:29 +01:00
Juan RP
d12ecba392 xproto: update checksum and run_depends.
--HG--
extra : convert_revision : 35c486702b13d47b5a6e1db2493bf17ea6157f5f
2009-02-09 00:34:20 +01:00
Juan RP
72455c2f45 tmpl_vars: add XORG_SITE var.
--HG--
extra : convert_revision : 1a769e159d45d55164623f66956445ee61999432
2009-02-09 00:33:57 +01:00
Juan RP
e3dfd26fed gcc: add binutils rundep, and gmp (should not be added indirectly).
--HG--
extra : convert_revision : 5b3928fe34428c7add7a37d02f89e91c18139f15
2009-02-09 00:23:27 +01:00
Juan RP
bb6355fe12 Allow installing/removing binpkgs as non-root.
--HG--
extra : convert_revision : 3781ef0a422530623cf64f45f87948e00d7e50e8
2009-02-07 18:05:40 +01:00
Juan RP
2178112dac Add a plist file explaining pkg's dependency chain format.
--HG--
extra : convert_revision : 65b569dbd420e0201aca3fb30f0696e72cb5708f
2009-02-07 17:22:09 +01:00
Juan RP
a6f956257d Add a file to explain the property list of a pkg's dependency chain.
--HG--
extra : convert_revision : 889beac875cdcdd1332805b684f2997cd7976bf6
2009-02-07 17:20:48 +01:00
Juan RP
c0c746b67d Fix some trailing whitespace and indentation bits.
--HG--
extra : convert_revision : f1dd75ffa567945c74ded99e2ea9355eed56df97
2009-02-07 13:33:20 +01:00
Juan RP
7e48132dde Fix some stuff committed in previous.
--HG--
extra : convert_revision : a0daf5c9d6bf623d3a35c5e2195cc7adaa3ed753
2009-02-07 13:30:02 +01:00
Juan RP
61f0b09698 New dependency/install/unpack WIP code.
This implementation will be faster and resolv the dependency chain
correctly taking into account indirect/direct deps and priority.

--HG--
extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
2009-02-07 13:27:24 +01:00
Juan RP
11cb15060d irssi: add missing openssl rundep.
--HG--
extra : convert_revision : 5d28425cdb492d8946981c102b271f3b694faa54
2009-02-07 13:11:09 +01:00
Juan RP
d58debb35c find_deps_in_pkg: no need to call xbps_pkg_has_rundeps() in the loop.
--HG--
extra : convert_revision : d9a1f3cc1e598a3d00cd7f26cc862bd7945523ee
2009-02-06 00:47:31 +01:00
Juan RP
3f72a92c98 sudo: update to 1.7.0.
--HG--
extra : convert_revision : 528d515fba47cd1ec4090899ca2ee23854dbe569
2009-02-05 19:14:19 +01:00