Commit Graph

2179 Commits

Author SHA1 Message Date
Juan RP a03ed3d1eb cairo: update to 1.8.6, new deps style, converted to subpkgs.
--HG--
extra : convert_revision : b025bf6c9b65bd84ad7137e37a6c9ee443755dc1
2009-04-17 00:29:12 +02:00
Juan RP 33e926a9cf Merge branch 'master' of ssh://xtraeme@repo.or.cz/srv/git/xbps
--HG--
extra : convert_revision : 0aabf4a75f1688bed608d061a259d5e5b28a847f
2009-04-17 00:12:27 +02:00
Juan RP 150a53d247 glitz: new deps style, converted to subpkgs.
--HG--
extra : convert_revision : fcec777fd194ab263278ed5503e9ffa6e36ee924
2009-04-17 00:08:41 +02:00
Juan RP dabdd783df Added xcb-util-0.3.4 template.
--HG--
extra : convert_revision : 44879b88ca99bdbe9ced04550000a651c7c683bb
2009-04-16 23:49:44 +02:00
Juan RP 2927cf7dda Added gperf-3.0.3 template.
--HG--
extra : convert_revision : 85a25a11ee681726402dbf7325786a23fc5d2f25
2009-04-16 23:46:11 +02:00
Juan RP 300219715a libX11: make it use libxcb. Bump revision.
--HG--
extra : convert_revision : 85cdfea982012da78a34e1506d0508982baa196b
2009-04-16 23:31:14 +02:00
Juan RP 07a1d40dbb Added libxcb-1.2 template.
--HG--
extra : convert_revision : 876fb26d98b406c962388ba91119df92c7de53e0
2009-04-16 23:31:03 +02:00
Juan RP a952b751be Added xcb-proto-1.4 template.
--HG--
extra : convert_revision : 07a5298b8945705189955d4e5e7f5a35e9033843
2009-04-16 23:30:41 +02:00
Juan RP 1b7ba309d0 glib: update to 2.20.1.
--HG--
extra : convert_revision : 07fdb656e5cd706f4dedbc089517bf86b76c4f03
2009-04-16 17:24:13 +02:00
Juan RP a78fc95994 xf86-video-intel: update to 2.7.0.
--HG--
extra : convert_revision : 18cd8c7ae6ad61b9917e5ea4471bc8e23b2ddecd
2009-04-16 16:09:37 +02:00
Juan RP 9418530629 libdrm: update to 2.4.9.
--HG--
extra : convert_revision : 12861e19422a7b7b1e1a81c8d6db7c70dde4db70
2009-04-16 16:09:23 +02:00
Juan RP 5ce7128616 xbps-repo: use HN_B|HN_DECIMAL in humanize_number.
--HG--
extra : convert_revision : 8d7d34a9d6f79d063e0069357a968c9d2fce6c6f
2009-04-16 16:08:59 +02:00
Juan RP 38150a9ca0 pcre: update to 7.9.
--HG--
extra : convert_revision : 13adcf72c0bc98dcb4e3f2bcbe173cbd18159474
2009-04-16 00:49:23 +02:00
Juan RP a96fa98786 xorg-server: update to 1.6.1.
--HG--
extra : convert_revision : fe10c62d0e966a882f3a3febc700f12b0a9d095d
2009-04-16 00:45:03 +02:00
Juan RP 848a0920d1 less: update to 429.
--HG--
extra : convert_revision : 1a6fe6e16f5d772d9d119ce7f3d1744f2360600a
2009-04-16 00:38:16 +02:00
Juan RP 8c6fe3d746 klibc-udev: add missing rules into the initramfs-tools hook.
--HG--
extra : convert_revision : c9fa316dc7de97d092aee5b276686783f712cae2
2009-04-13 05:21:27 +02:00
Juan RP 394dfb9c1e rcorder: only build with -Wall and -Wextra.
--HG--
extra : convert_revision : ada319665138be88b0dfc9c5670b8389f605fc4a
2009-04-11 16:21:00 +02:00
Juan RP 504e123044 Build code with -Wconversion.
--HG--
extra : convert_revision : ac2ea951cae1e739335e428e0fc4d0f90045b77d
2009-04-11 16:15:06 +02:00
Juan RP bd3484fa6b Build code with -Wcast-qual, -Wcast-align and -Wsign-compare.
--HG--
extra : convert_revision : d489ad995bb69850cba5a352f3ac85b74a54b5cf
2009-04-11 15:52:32 +02:00
Juan RP ae1fb7b50c lib/Makefile: run ranlib(1) against the static lib.
--HG--
extra : convert_revision : 269ad3844ef145e0a962f7424258135aa2f74cd1
2009-04-10 19:09:13 +02:00
Juan RP 565482ce3e m4: update to 1.4.13.
--HG--
extra : convert_revision : 75bc3da9f89a8a2377f034fcbd1a1fc72633e69d
2009-04-10 18:52:22 +02:00
Juan RP 15de6e8715 man-pages: update to 3.20.
--HG--
extra : convert_revision : a282c2f4a861a36a369a9f16b419dde2a158f91d
2009-04-10 18:48:40 +02:00
Juan RP 5e7c72d53f man-db: update to 2.5.5.
--HG--
extra : convert_revision : 6c282d8b618c2bc42cbe5e2bc12a69bfe8b8896b
2009-04-10 18:46:00 +02:00
Juan RP db6b1526d4 lib/sortdeps.c: remove useless check.
--HG--
extra : convert_revision : f1fd20ffc9f77187173422e44aee1a3c369f96cb
2009-04-10 18:38:09 +02:00
Juan RP c1bc7a6a3c lib/Makefile: fix install target.
--HG--
extra : convert_revision : 4ab223f606cac1d5d8b1baea93f87909c607829c
2009-04-10 18:37:41 +02:00
Juan RP d0d45c2ea9 Install the static libxbps library.
--HG--
extra : convert_revision : ff19e2c3f10ac330c4364d40b036ea0bd50b87a8
2009-04-10 17:09:12 +02:00
Juan RP f0bbfad2ae lib/depends.c: remove some extra unneeded checks.
--HG--
extra : convert_revision : f7acb4754894690941a2087bc09b011c50ea3add
2009-04-10 01:46:05 +02:00
Juan RP 01be3b5920 Fix xbps_prepare_pkg() in pkgs without deps.
--HG--
extra : convert_revision : 9be76ef482e54bfbd7e6a038a504f8225aa89cfe
2009-04-10 01:36:22 +02:00
Juan RP ad0bdbc375 kernel: (i386-dotconfig) build some acpi modules, remove trace opts, etc.
--HG--
extra : convert_revision : b3e5307fa3189a30b4b2fa38eef150fabf03326f
2009-04-09 23:37:12 +02:00
Juan RP a2ce888b97 udev: update to 141.
--HG--
extra : convert_revision : 6ffe63b6e975e60e30843ef56d6c09d066fe6eab
2009-04-09 21:16:54 +02:00
Juan RP 21dc41b4ce xf86-video-radeonhd: update to 1.2.5.
--HG--
extra : convert_revision : 801f0d0977339763ad5dcaf2c1a93bbb9d5043c1
2009-04-09 19:07:38 +02:00
Juan RP 41d9b9acb8 lib/unpack.c: use fsync(), there's not much difference with fdatasync().
--HG--
extra : convert_revision : 9632271e53f4d44890d711943642afddedf69e72
2009-04-09 18:43:00 +02:00
Juan RP f0f53cb07e xbps-bin: use -f to bypass questions while installing/removing.
--HG--
extra : convert_revision : edefc4dbf4dbbcdac53579100732e77004a45463
2009-04-09 18:42:07 +02:00
Juan RP 58c6a31297 Define ARCHIVE_READ_BLOCKSIZE and use it rather than using magic numbers.
--HG--
extra : convert_revision : b8e6755400eb6f2bef0ea1eb25a258f9ed1714c2
2009-04-09 18:38:05 +02:00
Juan RP 053abca5ef Use glibc's sys/queue.h and remove the NetBSD local copy.
--HG--
extra : convert_revision : 2e6967a2666bcb7cd826293c03863890649f4c6d
2009-04-09 16:33:42 +02:00
Juan RP 288f3519c3 xbps-bin: check binpkg hash after asking the question.
--HG--
extra : convert_revision : c858349b4c9e52b75b12612677c583841cdcc926
2009-04-09 16:16:57 +02:00
Juan RP ecd5d55f17 xbps-repo: added shell style match patterns for the 'search' target.
So you can do you now:

$ xbps-repo search '*'

and it will list all registered packages.

--HG--
extra : convert_revision : d65edb4be6a0d815410d215774acf9ebeb23fa49
2009-04-09 13:14:30 +02:00
Juan RP 1a26816aa3 xbps-repo: use list_strings_sep_in_array() for 'list' target.
--HG--
extra : convert_revision : 0f06fdb6172b0ef8e55af44037166508c4c9996b
2009-04-09 12:59:46 +02:00
Juan RP 6ff28f6d79 xbps-bin: fix a leak in install.c.
--HG--
extra : convert_revision : b333ca851cf33efe1f63af1637192552ff8f7de4
2009-04-09 12:47:17 +02:00
Juan RP 92d2087c7e xbps-{bin,repo}: print with correct indentation.
--HG--
extra : convert_revision : be65d8b98702e23eaeac6ff2adb2e726824b64f7
2009-04-09 12:24:15 +02:00
Juan RP 679117e9a9 xbps-bin: move (auto)remove code into its own file, use xbps_noyes().
--HG--
extra : convert_revision : 20398840d20154d90c7457b7318c651c513c1f72
2009-04-09 11:56:40 +02:00
Juan RP 3698644967 xbps-bin: use xbps_noyes() in the install/update targets.
Now it looks like this:

$ xbps-bin -r ~/blah install initscripts
Finding/sorting required binary packages...
Checking binary package file(s) integrity...

The following new packages will be installed:

  xbps-base-files-0.8_1 gcc-libgcc-4.3.3 glibc-locales-2.9
  ncurses-base-5.7 glibc-2.9 ncurses-libs-5.7 gawk-3.1.6 grep-2.5.4
  coreutils-7.1 sed-4.1.5 ncurses-5.7 kbd-1.15 findutils-4.4.0_1
  net-tools-1.60 rcorder-2009.01 minilogd-2009.01 dhcpcd-4.0.12
  bash-4.0 procps-3.2.7 udev-140_2 initscripts-2009.03_2

Total download size: 16M
Total installed size: 48M

Do you want to continue? [y/N]
...

--HG--
extra : convert_revision : e32a136ee882160637c1930d998c0f5ae3a6b108
2009-04-09 04:54:09 +02:00
Juan RP aaf5f8fb40 Add some funcs from pacman: question(), yesno(), noyes() and strtrim().
--HG--
extra : convert_revision : 82fbbd28253b02968826bebe4252523c47903a49
2009-04-09 04:52:46 +02:00
Juan RP f80e1753a8 Remove knowledge from the library to install packages.
The library is only responsible now to find all binary packages
from repositories, sort them and create a dictionary with all
details. The frontend (xbps-bin) provides support for this,
and this allows for more flexibility and removes some stuff
that didn't belong in the library.

While here implemented support to show total download/installed
size for all packages that are going to be installed.

Next step will be to implement user interactivity before
installing/removing/updating packages.

--HG--
extra : convert_revision : 858e9a89bc6a60b348435f2416a8af3ebb6ea5c9
2009-04-09 02:29:15 +02:00
Juan RP acd07f61e3 Modify the INSTALL/REMOVE scripts to use predef vars and unneeded chroot calls.
--HG--
extra : convert_revision : dfd737c502bea327054ecff5bc1fa152db6e2009
2009-04-08 03:24:57 +02:00
Juan RP 201be83c73 shadow: enable group shadowed passwords at install and remove chroot calls.
--HG--
extra : convert_revision : 85eebfb288da88754b9d03e5a2a30cef3e29e12e
2009-04-08 03:24:02 +02:00
Juan RP 22f6b0eac7 triggers: there's no need to call chroot anymore.
--HG--
extra : convert_revision : cea0ba9863c0934d8d876801989947e03588d835
2009-04-08 03:23:09 +02:00
Juan RP 2ff413127b shadow: disable creating mailbox files and use /var/mail instead.
--HG--
extra : convert_revision : abd5e24ab085b0efbaf0c52f5afede8add835d48
2009-04-08 03:22:28 +02:00
Juan RP e0ece941e0 Remove CWD as first argument to INSTALL/REMOVE scripts, it's unneeded.
--HG--
extra : convert_revision : ce8d9cbdb0a83748304ba25e53950385a9442b3f
2009-04-08 03:21:31 +02:00
Juan RP 32e81e7555 For INSTALL/REMOVE scripts use xbps_file_chdir_exec().
This will chroot() to rootdir and removes many chroot() commands
from those scripts.

--HG--
extra : convert_revision : 4845df1949996da1bcd2776fcc50c3d0a00b451b
2009-04-08 03:20:13 +02:00