Commit graph

579 commits

Author SHA1 Message Date
Juan RP
5d7873a5b2 xbps-src: massive rewrite of builddeps resolving code.
This speeds up the process of resolving builddeps with
XBPS_PREFER_BINPKG_DEPS enabled and disabled by ~15% aproximately.

This fixes also some bugs I've found while building a massive rebuild
of all packages with XBPS_PREFER_BINPKG_DEPS enabled.
2011-07-01 17:48:29 +02:00
Juan RP
a09089a9b0 Remove compiz and friends, 0.9.x series are really broken. 2011-07-01 17:28:09 +02:00
Juan RP
6227b9f1f7 xbps-src: append /usr/local/{s,}bin to PATH in INSTALL/REMOVE scripts. 2011-07-01 16:15:59 +02:00
Juan RP
ca8369eada xbps-src [chroot]: ignore busybox tar, xz, gzip and bunzip2 applets. 2011-07-01 01:43:19 +02:00
Juan RP
92740bd661 xbps-src [extract]: use decompress utils and pipe to tar(1). 2011-07-01 01:00:18 +02:00
Juan RP
a48dc4c512 xbps-src [chroot]: try different shells for /bin/sh symlinks. 2011-07-01 00:29:11 +02:00
Juan RP
44ff75e0d4 xbps-src: remove libhal shlib mappings. 2011-06-30 22:30:07 +02:00
Juan RP
09370643f1 xbps-src: [install_pkg_from_repos] handle 2nd ENOENT. 2011-06-30 13:45:11 +02:00
Juan RP
9f2990bd31 xbps-src [chroot]: make sure that we sync with rootdir == /. 2011-06-30 12:33:53 +02:00
Juan RP
55ada9c447 xbps-src [install_pkg_from_repos]: if unset, create it. 2011-06-30 12:33:04 +02:00
Juan RP
87f2599c17 xbps-src: improve PREFER_BINPKG_DEPS, take 2.
When installing pkgdeps from repositories more errno values are handled
from xbps-bin, this help us to find why a package failed to install.

Also stdout/stderr output from xbps-bin is redirected to
$wrksrc/.xbps_install_dependency_$pkgdepname.log to see how it was
installed or why it failed to install.

Do autoremove packages in more places to be sure that if something went
wrong those packages are always removed.
2011-06-30 10:26:31 +02:00
Juan RP
9be28af618 weechat: new -lua subpkg, add missing builddeps. 2011-06-30 10:26:31 +02:00
Juan RP
5535e59afc xbps-src: only use /cachedir in chroot, if it was set in conffile. 2011-06-29 09:35:36 +02:00
Juan RP
8b6343a59a xbps-src: fix remove_pkg(), it's msg_warn(). 2011-06-29 08:24:32 +02:00
Juan RP
a0ea610634 Revert "xbps-src: allow to use install-destdir for pkgs already installed."
This reverts commit 4478b5ead3.
2011-06-28 23:57:31 +02:00
Juan RP
f9b1494648 xbps-src: ignore PREFER_BINPKG_DEPS for bootstrap pkgs. 2011-06-28 23:27:41 +02:00
Juan RP
5ecc88fcf8 xbps-src: make a warning if pkg is installed when removing. 2011-06-28 19:57:41 +02:00
Juan RP
4478b5ead3 xbps-src: allow to use install-destdir for pkgs already installed. 2011-06-28 19:37:41 +02:00
Juan RP
a3ec116aeb xbps-src: [checkvers] improve output, show outdated pkgs in masterdir. 2011-06-28 19:34:18 +02:00
Juan RP
17ea977f79 New package: lua-5.1.4. Contributed by DigitalKiwi. 2011-06-28 18:35:32 +02:00
Juan RP
b0cf505357 xbps-src: XBPS_CACHEDIR *must be* /cachedir in chroot, omg. 2011-06-28 17:27:01 +02:00
Juan RP
daf986ed33 xbps-src: set XBPS_CACHEDIR in conf file for chroot ops. 2011-06-28 17:18:48 +02:00
Juan RP
ecd20056c3 xbps-src: make-repoidx failed for repos with only noarch pkgs. 2011-06-28 16:02:32 +02:00
str1ngs
a2fea027f7 xbps-src: fix shlibs tab formatting 2011-06-27 14:33:51 -07:00
str1ngs
901c7b69cb xbp-src: shlib mappings for gls gc 2011-06-26 16:55:14 -07:00
str1ngs
5280ebf018 xbps-src: wrap filesum output 2011-06-26 13:38:17 -07:00
Juan RP
4d086d2b1d xbps-src: do not fail if XBPS_CACHEDIR is unset. 2011-06-26 01:51:58 +02:00
Juan RP
8b40d5cd68 xbps-src: added suport for XBPS_CACHEDIR in configuration file.
XBPS_CACHEDIR will be bind mounted as read/write in target masterdir
into /cachedir. This directory must have read/write perms for the user
running xbps-src.
2011-06-26 01:45:12 +02:00
Juan RP
6166c5ebc6 xbps-src: revert 8271950e94.
This broke info files dir handling because empty dirs are removed
*after* metadata code is executed. So back to previous and known way.
2011-06-25 18:36:10 +02:00
Juan RP
09c08fe732 xbps-src: simplify a bit resolving deps with binpkgs code. 2011-06-25 17:41:52 +02:00
Juan RP
5d2006f290 xbps-src: really sync remote repo's index for xbps>=0.9.0 in chroot. 2011-06-25 17:25:27 +02:00
Juan RP
fabaa81a1f xbps-src: TODO: xbps-base-files -> base-files. 2011-06-25 12:20:56 +02:00
Juan RP
5efd8cdd4d xbps-src: if checksum fails, print out its hash too. 2011-06-24 23:22:59 +02:00
Juan RP
517f1cfd06 xbps-src: added support for PREFER_BINPKG_DEPS with xbps >= 0.9.0. 2011-06-24 22:00:47 +02:00
Juan RP
8271950e94 xbps-src: when compressing info files, check if /usr/share/info exists. 2011-06-24 21:39:12 +02:00
str1ngs
0455c8342f xbps-src: GNU_SITE to fetch_sites.sh . 2011-06-24 11:54:24 -07:00
Juan RP
93ff6b22d7 xbps-src: adapt for xbps-base-chroot -> base_chroot rename. 2011-06-23 03:25:23 +02:00
Juan RP
aea5cc99ed xbps-base-chroot: renamed to base-chroot. 2011-06-23 03:21:50 +02:00
Juan RP
8419094808 xbps-src: really fix previous. 2011-06-22 21:06:14 +02:00
Juan RP
46fee555ec xbps-src: fix bad quoting when installing from binpkgs. 2011-06-22 20:55:06 +02:00
Juan RP
b41a474199 xbps-src: install_pkg_with_binpkg(): fix bad quoting. 2011-06-22 13:32:45 +02:00
Juan RP
9163a2e18f xbps-src: xbps-bin autoremove must be executed via fakeroot. 2011-06-22 13:22:46 +02:00
Juan RP
a461919eea xbps-src: improve XBPS_PREFER_BINPKG_DEPS code. 2011-06-22 12:33:18 +02:00
Juan RP
bcbfb0c63c xbps-src: install_dependencies_pkg(): use install_pkg_with_binpkg(). 2011-06-22 12:32:16 +02:00
Juan RP
47e5390ea6 xbps-src: install_pkg_with_binpkg(): minor cosmetics. 2011-06-22 12:29:56 +02:00
Juan RP
8a49fffda2 xbps-src: redirect msg_{error,warn}* output to stderr. 2011-06-21 15:40:28 +02:00
Juan RP
505ed23e8e xbps-src: don't fully error out if pkgdestdir not found while removing.
We do the 'xbps-bin remove' way as last resort, and return early in that
case.
2011-06-21 15:19:34 +02:00
Juan RP
279bda852a xbps-src: only autoremove pkgs if not installing builddeps. 2011-06-21 15:19:01 +02:00
Juan RP
dcd8d8bd70 xbps-src: sync some old stuff with reality in README. 2011-06-21 14:44:30 +02:00
Juan RP
e35f372523 Added giblib-1.2.4 build template. 2011-06-21 11:36:22 +02:00
Juan RP
ab620de428 libtorrent: finish previous and properly add it. 2011-06-20 21:42:00 +02:00
Juan RP
6f5d00003c xbps-src: fail when a binpkg builddep cannot be installed. 2011-06-20 19:08:47 +02:00
Juan RP
66c3ae82d3 xbps-src: autoremove pkgdeps if XBPS_PREFER_BINPKG_DEPS is set. 2011-06-20 18:45:29 +02:00
Juan RP
cd099f626e xbps-src: copy pkg metadata files into XBPS_PKGMETADIR. 2011-06-20 18:33:30 +02:00
Juan RP
24617c38ee xbps-src: do some checks in the chroot for /run related stuff. 2011-06-20 18:32:43 +02:00
Juan RP
d2ad1c2b12 xbps-src: if XBPS_PREFER_BINPKG_DEPS is set install deps as automatic. 2011-06-20 18:31:50 +02:00
Juan RP
d712879ee7 xbps-src: added another item in TODO. 2011-06-20 11:06:06 +02:00
Juan RP
831abd5514 xbps-src: fully remove check for xbps version check. 2011-06-20 10:58:33 +02:00
Juan RP
21f9ae3757 xbps-src: sync README file with reality. 2011-06-20 10:15:53 +02:00
str1ngs
efd09f9b3d vanilla: TODO belongs to xbps-src 2011-06-19 10:28:11 -07:00
str1ngs
02b6a158e2 xbps-src: moved README from root of project 2011-06-19 10:08:00 -07:00
strings
3895a1405b new synergy package
remove xbps-bin ABI check
2011-06-19 15:33:05 +00:00
Juan RP
215bc7f5e2 Added openjade-1.3.2 and opensp-1.5.2 build templates. 2011-06-16 16:37:40 +02:00
Juan RP
c912ce0eef xbps-src: remove a pkg thru the chroot handler to fix some bugs in pre/post_remove funcs. 2011-06-16 12:21:12 +02:00
Juan RP
205d066e7c xbps-src: another way to get the target of symlinks. 2011-06-14 15:26:15 +02:00
Juan RP
670dc453e2 xbps-src: (metadata.sh): if readlink -f returns nothing try without -f. 2011-06-04 20:37:55 +02:00
Juan RP
f190895d30 xbps-src::info_tmpl(): also print $homepage and $license. 2011-06-02 09:01:11 +02:00
Juan RP
1bcd94905c xbps-src: update pkg metadata files.plist "links" array with a new object "target".
The "target" object should point to the target file for the symlink. Will be
used by an upcoming xbps utils version.
2011-05-31 16:39:02 +02:00
Juan RP
4bde972282 eggdbus is not required by any package, remove it. 2011-05-27 16:21:00 +02:00
Juan RP
6ed4e562cc xbps-src: add three new metadata objects in binary pkgs.
homepage (string): package upstream URL.
license (string): package licenses.
build_date (string): package build date in UTC.
2011-05-26 10:40:31 +02:00
Juan RP
80f784e0eb shutils/chroot.sh: update ld.so(8) before entering the chroot. 2011-05-26 10:14:39 +02:00
Juan RP
cbb34ca605 lightdm: update to 0.3.3. 2011-05-18 12:25:00 +02:00
Juan RP
94e6f73061 xfce4-panel: update to 4.8.3. 2011-05-18 11:24:40 +02:00
Juan RP
991889f75c Added libwnck2-2.30.6 (GTK+2) build template required by some pkgs. 2011-05-18 11:20:54 +02:00
Juan RP
5567ff7066 shutils/chroot.sh: only cleanup /tmp files if /xbps hasn't been mounted. 2011-05-02 21:35:41 +02:00
Juan RP
e0611f10ab shutils/chroot.sh: create /tmp dir if doesn't exist in masterdir. 2011-04-29 22:40:32 +02:00
Juan RP
672c4cdf91 mapping_shlib_binpkg: update for man-db-2.6.0.2. 2011-04-14 15:18:21 +02:00
Juan RP
15bc8e1eee xbps-src: remove pre/post and install status file when removing a pkg. 2011-04-12 10:03:24 +02:00
Juan RP
162e484254 man-db: update to 2.6.0. 2011-04-12 08:58:13 +02:00
Juan RP
fe5af7f4ae ntfs-3g: update to 2011.4.12, replaces ntfsprogs. 2011-04-11 09:40:58 +02:00
Juan RP
0c38432293 Bumprev for pkgs depending on xulrunner. 2011-04-08 22:24:26 +02:00
Juan RP
cff814a12a glade3: update to 3.10.0 (gtk+3 port), a new pkg 'glade' will be imported for gtk+2. 2011-04-08 09:21:15 +02:00
Juan RP
31889ee37c llvm: update to 2.9. 2011-04-07 11:30:38 +02:00
Juan RP
707a7e4ca9 Added vte3-0.28.0 build template (gtk+3).
--HG--
branch : gnome3
2011-04-05 11:52:13 +02:00
Juan RP
379693af32 mutter: update to 2.91.92.
--HG--
branch : gnome3
2011-03-23 10:41:06 +01:00
Juan RP
ae90a2f606 at-spi2-core: update to 1.91.92.
--HG--
branch : gnome3
2011-03-23 10:28:34 +01:00
Juan RP
82c0e35914 Remove gnome-vfs, obsolete in gnome3.
--HG--
branch : gnome3
2011-03-16 07:35:35 +01:00
Juan RP
17aa34c9a1 Removed libgnome, obsolete in gnome3.
--HG--
branch : gnome3
2011-03-16 07:34:38 +01:00
Juan RP
48cd9953cb Removed libbonobo{,ui}, obsoletes in gnome3.
--HG--
branch : gnome3
2011-03-16 07:32:46 +01:00
Juan RP
036959008b Remove at-spi, superseded by at-spi2.
--HG--
branch : gnome3
2011-03-16 07:31:20 +01:00
Juan RP
c2c3ad1abd folks: update to 0.4.0, bump abi_depends.
--HG--
branch : gnome3
2011-03-15 10:54:06 +01:00
Juan RP
641bf6ff02 icu: update to 4.6.1, bump abi_depends.
--HG--
branch : gnome3
2011-03-14 16:27:02 +01:00
Juan RP
b33afe3100 mapping_shlib_binpkg: added libkms.so from libdrm.
--HG--
branch : gnome3
2011-03-11 15:47:28 +01:00
Juan RP
eb102efc5b Added at-spi2-core-1.91.91 build template.
--HG--
branch : gnome3
2011-03-11 11:25:15 +01:00
Juan RP
ed0f784e2b ffmpeg: update to 0.6 and split libs into multiple subpkgs.
--HG--
branch : gnome3
2011-03-09 18:29:50 +01:00
Juan RP
2b35c83b59 Added libvpx-0.9.6 build template.
--HG--
branch : gnome3
2011-03-09 17:49:21 +01:00
Juan RP
635f04e59e gnome-shell: update to 2.91.91.
--HG--
branch : gnome3
2011-03-08 09:08:56 +01:00
Juan RP
df6c05e20b Added empathy-2.91.90.2 build template.
--HG--
branch : gnome3
2011-03-03 17:13:16 +01:00
Juan RP
859eb4286f Added geoclue-0.12.0 build template.
--HG--
branch : gnome3
2011-03-03 17:00:35 +01:00
Juan RP
c6543d553a Added libchamplain-0.9.0 build template.
--HG--
branch : gnome3
2011-03-03 16:46:35 +01:00