Commit graph

272 commits

Author SHA1 Message Date
Juan RP d4441c94d3 set_build_vars(): use different var for LD_LIBRARY_PATH. 2010-05-10 10:41:36 +02:00
Juan RP 81d6978f02 xbps-src: propagate error returned by xbps-src in the chroot.
Rather than pointing the user to cat the .log file, just cat it before exiting.
2010-05-09 19:46:28 +02:00
Juan RP 97adf4e62a Added libmtp-1.0.2 build template. 2010-05-09 18:57:08 +02:00
Juan RP 0d0b8de04c mapping_shlib_binpkg: add some glibc shlibs. 2010-05-09 10:29:53 +02:00
Juan RP f6a0806229 xbps-src: piping with tee(1) and groupping command is not possible sometimes... 2010-05-08 09:46:23 +02:00
Juan RP 23abcd7679 mapping_shlib_binpkg: add libpng-1.4 shlib. 2010-05-07 14:38:07 +02:00
Juan RP 97811e8af0 Workaround Arch Linux path for libfakeroot, tested and reported by pancake. 2010-05-07 13:45:26 +02:00
Juan RP 22774084ab xbps-src: always create logs for configure/build/install stages in $wrksrc.
Fixed -C and install-destdir in the chroot, $# wasn't consistent :-)
2010-05-07 12:25:24 +02:00
Juan RP 9615930eb4 init_funcs.sh::set_defvars() bailout if required dirs cannot be found. 2010-05-06 22:01:36 +02:00
Juan RP 71aa49c397 buildvars_func.sh::set_build_vars() append to LD_LIBRARY_PATH no overwrite. 2010-05-06 22:00:43 +02:00
Juan RP 08d5783d7b xbps-base-files: update to 0.36.
The initramfs-tools trigger now runs 'update-initramfs' with -B and
if grub-mkconfig exists runs it before exiting.
2010-05-06 02:37:34 +02:00
Juan RP 481e74178e xbps-src: do not append $PATH to $PATH on every prepare_tmpl() call!
--HG--
rename : xbps-src/shutils/tmpl_funcs.sh => xbps-src/shutils/tmpl_funcs.sh.in
2010-05-06 01:21:27 +02:00
Juan RP b382fb9c94 shutils/tmpl_funcs: do not overwrite $PATH. 2010-05-04 23:49:09 +02:00
Juan RP 69fa39a72f xbps-src: fix xbps-src.conf installation!
--HG--
rename : xbps-src/etc/xbps-src.conf.in => xbps-src/etc/xbps-src.conf
2010-05-04 23:47:48 +02:00
Juan RP ae9417a4af xbps-src: added 'bootstrap' target to build/install xbps-base-chroot in masterdir. 2010-05-04 22:23:54 +02:00
Juan RP d3312cc604 Added openmpi-1.4.1 build template. 2010-05-04 13:05:31 +02:00
Juan RP c0fb9c3805 xbps-src: make -p work with the 'make-repoidx' target. 2010-05-03 22:33:52 +02:00
Juan RP 6e968f72bf Added netpgp-20100313 build template. 2010-05-02 18:33:31 +02:00
Juan RP 501288745a Added apache-2.2.15 build template.
--HG--
extra : convert_revision : 6af8d5066efdc5af0f4e2dd7939b07f9a277d9c4
2010-04-30 16:27:07 +02:00
Juan RP ec350afe22 Added apr-util-1.3.9 build template.
--HG--
extra : convert_revision : 8dd8c25e495881a7265414ebc2a6b7ce3474557a
2010-04-30 02:06:45 +02:00
Juan RP 01cecbdd7b Added apr-1.4.2 build template.
--HG--
extra : convert_revision : 5c1c0cd09a56162e8d4bb5e2bf1c926cd424ccec
2010-04-30 01:26:15 +02:00
Juan RP 6baa28a6e3 Redirect stderr to a file in ${wrksrc} for run_func().
So that you can use 'set -x' in a template and see the output.

--HG--
extra : convert_revision : 7b3225b2ed3f1fab410c43af12f5d5f66f8504d7
2010-04-29 16:04:09 +02:00
Juan RP 6d01070826 The 'essential' object metadata was removed long ago, fully remove it.
--HG--
extra : convert_revision : d110ecf59b07e84c6930d1212702b67cc4a4112b
2010-04-29 05:20:36 +02:00
Juan RP 2f835d24a3 Added llvm-2.7 (clang is a subpkg) build template.
--HG--
extra : convert_revision : e2cfab9c10b455a3abd71aa5650fb0d358c61ba9
2010-04-28 18:11:40 +02:00
Juan RP ff412882de Improve messages while entering into the chroot.
--HG--
extra : convert_revision : 13354e2dc1a3c13071a9b662f74609ca79a4dd78
2010-04-27 23:22:48 +02:00
Juan RP 522437b90f Multiple improvements for XBPS_PREFER_BINPKG_DEPS.
- Added a new var XBPS_REPO_LIST for the conf file, to specify
  a list of remote repositories to be used in a masterdir.
- Install all required binpkgs in one pass, if that fails install
  one of them at every pass.
- Fixed xbps-src-chroot-helper to properly catch SIG{INT,QUIT}
  when -m is specified.
- Misc cosmetics improvements.

--HG--
extra : convert_revision : 0ad7d559477ccc1fc04ab09deb791343ee453de6
2010-04-27 23:09:08 +02:00
Juan RP da63915397 Fix 'xbps-src -m' to mount stuff in the correct place.
--HG--
extra : convert_revision : 930efb41ec285f2b65310629fe758397c178d681
2010-04-27 21:52:36 +02:00
Juan RP 9ddcd8fe72 xbps-src: add -h flag to show usage.
--HG--
extra : convert_revision : 51fbff55d296a3f818e736835a10763aff278f2d
2010-04-27 14:23:53 +02:00
Juan RP cb582f7373 xbps-src: add -m flag and make-repoidx target.
* -m flag to specify a custom XBPS_MASTERDIR, overwritting the value
  from xbps-src.conf.
* make-repoidx target to create a package index plist file for
  the local repository associated with a masterdir, or one specified
  by the -p flag.

--HG--
extra : convert_revision : dbd502b532fd49cd17a79a187488a1e92f361ee0
2010-04-27 01:34:19 +02:00
Juan RP ce1f7f15a9 Rename XBPS_USE_CAPCHROOT to XBPS_USE_CAPABILITIES.
--HG--
extra : convert_revision : fdb1b307c8bbd34f1a280474c29ea329ccd588e7
2010-04-26 14:54:06 +02:00
Juan RP e3dc3e3066 Added native utilities to mount/umount/chroot via capabilities(7).
Three new helpers will now be installed into ${libexecdir}:
 - xbps-src-capchroot needs to have set CAP_SYS_CHROOT ep.
 - xbps-src-chroot-cap{,u}mount: needs to have set CAP_SYS_ADMIN ep.

That means that libcap and setcap(8) are now required to install
xbps-src and use it as normal user.

--HG--
extra : convert_revision : 586d6526079e085f86bf3e393459d429f6f0ef99
2010-04-26 14:15:49 +02:00
Juan RP 6673252679 Infrastructure changes to simplify the conf file.
* Removed the following vars from the conf file: XBPS_BUILDDIR,
  XBPS_PACKAGESDIR and XBPS_SRCDISTDIR. They are always relative
  to XBPS_MASTERDIR and cannot be changed.
* Removed XBPS_INSTALLDIR, it was unused in the code.
* Prepend /tools/bin in PATH for the chroot.
* Don't register a repo in the chroot if the XBPS_PREFER_BINPKG_DEPS
  is not set.

--HG--
extra : convert_revision : 4df03ffa64f0bbf81cd1dd0baf38f1b7e4f47549
2010-04-26 02:51:48 +02:00
Juan RP 6b321c569a mapping_shlib_binpkg: add SDL_mixer shlib.
--HG--
extra : convert_revision : 3771c6e2518ceb3b74b7f713e7552e7847e572f5
2010-04-25 19:16:11 +02:00
Juan RP 02883b89dc mapping_shlib_binpkg: add libevent shlib.
--HG--
extra : convert_revision : bf4d68a579d9cc9497407cc72d2a500e2cec0627
2010-04-25 18:08:38 +02:00
Juan RP 4404ae4a63 gegl: update to 0.1.2.
--HG--
extra : convert_revision : 62cb03417542cce9287b67016b485a9e480b337b
2010-04-25 17:27:57 +02:00
Juan RP c07e85629d babl: update to 0.1.2.
--HG--
extra : convert_revision : cd4abf4889468c495b81690458d6eac2cf132860
2010-04-25 17:25:17 +02:00
Juan RP 0b7e6f0020 mapping_shlib_binpkg: update for new x264 pkg.
--HG--
extra : convert_revision : 90c3b24d7eff038ef0a2f3011324743ba656db72
2010-04-24 18:37:05 +02:00
Juan RP 7d9172b9ea Set $XBPS_FETCH_DONE after extracting not fetching.
--HG--
extra : convert_revision : fd65f2da02fd6da2c8a9f169f777d7511888704c
2010-04-24 12:52:29 +02:00
Juan RP 4240afc516 Only check distfiles once, not every time.
--HG--
extra : convert_revision : 6e3a5e715aea21956395018360cae66b8f211d67
2010-04-23 18:45:47 +02:00
Juan RP 0d68a49660 Multiple changes in the infrastructure for improving the (un)stow stuff.
- Added pre_remove/post_remove/post_stow support for templates.

- When stowning pkgs, symlink all files into the chroot. This only works
  for packages that need to be built on it, also templates that set
  stow_copy will copy its files, or selectively via stow_copy_files.

--HG--
extra : convert_revision : 51f47120a5478ceb1319bde01c3ab999f637b359
2010-04-23 15:25:03 +02:00
Juan RP 9150ddb5b8 gobject-introspection: update to 0.6.10, update subpkgs.
--HG--
extra : convert_revision : 11c74e7c8c5bb25c957329c8126ea410d1e65d7e
2010-04-23 10:56:45 +02:00
Juan RP 3fa8a3a284 install_pkg(): exit immediately on errors.
--HG--
extra : convert_revision : ac0332748a5390d3324329a2aa5630ef35e0bf7d
2010-04-22 13:40:53 +02:00
Juan RP 1874cbadda shutils/metadata: return if required stuff fails.
--HG--
extra : convert_revision : c8225a2a9ace45bbc7eed5b309e26336ce94f9ae
2010-04-22 12:06:16 +02:00
Juan RP 70f7b0aaf4 shutils/stow_funcs: use rm -f.
--HG--
extra : convert_revision : d669d311bd19ba41fd6244a62e3430a2c4f71947
2010-04-22 09:02:49 +02:00
Juan RP 33770e8bbc When using run_func() we don't care about stderr output.
--HG--
extra : convert_revision : 618d1c2eda49e1c55abec28d36f3430f37b9b867
2010-04-22 06:50:11 +02:00
Juan RP 8536af44ef run_func: use simply 'type foo', -t is a bash extension.
--HG--
extra : convert_revision : 8a94c0a961f4819bfada61823158c81965d31908
2010-04-21 16:48:58 +02:00
Juan RP b0c64c181b shutils/metadata.sh: use find(1) -follow.
--HG--
extra : convert_revision : 1815c225aab07ca970d14f1340439d67fee2d88a
2010-04-21 15:29:23 +02:00
Juan RP 5d9675e435 shutils/metadata.sh: use find and readlink rather than find -L.
--HG--
extra : convert_revision : 489747f192448a175f24cee7762a51e2568a1b54
2010-04-21 11:54:14 +02:00
Juan RP c95a77a60c shutils/extract_func.sh: check that distfiles are there.
--HG--
extra : convert_revision : 210dd5e1204adcd5c1eee91af76000c1e08d5039
2010-04-18 18:50:43 +02:00
Juan RP 55fcdb3fc2 Added libldap-2.4.21 build template.
--HG--
extra : convert_revision : e2fb0d6c45e405b79277bceaaf5f91b4ac982bfc
2010-04-18 15:12:31 +02:00
Juan RP fad23ff1e7 Added libsasl-2.1.23 build template.
--HG--
extra : convert_revision : e4c7b8ab096894e2ce819a1f5f39164c3ee6276a
2010-04-18 14:41:17 +02:00
Juan RP 7c5840381a Added gnome-bluetooth-2.30.0 build template.
--HG--
extra : convert_revision : 0ad57b8d9f591fb5eae93a75c0beb1ff1f249965
2010-04-18 03:03:40 +02:00
Juan RP 4037450621 triggers/openrc-service: add third argument to register or not services.
--HG--
extra : convert_revision : 29be73bbbfedd384a7f6d10276aac3399cc524e7
2010-04-16 20:09:14 +02:00
Juan RP 065f967e16 Added seed-2.30.0 build template.
--HG--
extra : convert_revision : 482b0e531df26f8b7abcb4df3f4fa67024b59c97
2010-04-16 13:22:20 +02:00
Juan RP 29960881cc Added libgksu-2.0.12 build template.
--HG--
extra : convert_revision : 744924d91f0e90f1f567bcdf5eafc98feae34c32
2010-04-16 10:54:14 +02:00
Juan RP a9e3a5d5cd Added gtkmm-2.20.1 build template.
--HG--
extra : convert_revision : 9877340581bf3a1e053746fc665cdc0b0327648c
2010-04-16 10:20:50 +02:00
Juan RP a441a57052 Added pangomm-2.26.0 build template.
--HG--
extra : convert_revision : 13808d9d87270c6deb669a4fa42a8cd3de2ccbb9
2010-04-16 10:05:01 +02:00
Juan RP f3eb95085c Added cairomm-1.8.4 build template.
--HG--
extra : convert_revision : f5cda68e500eceb56417f70c0174cad6e6dde01c
2010-04-16 09:56:37 +02:00
Juan RP 68caf5ffd4 Added glibmm-2.4.0 build template.
--HG--
extra : convert_revision : 67859a761939bdb619c50896287723c8d879eb6c
2010-04-16 09:48:47 +02:00
Juan RP bea6788c29 Added libsigc++-2.2.5 build template.
--HG--
extra : convert_revision : 1b814899fbecc6f15684fafaeb21ecf941e1d2da
2010-04-16 09:30:22 +02:00
Juan RP 6a29a33fa8 Added mpc-0.8.1 build template.
--HG--
extra : convert_revision : 2e4ad16ee28b3910bcd894154b16e111db1cd29f
2010-04-15 19:04:48 +02:00
Juan RP ec927329dc xbps-src-doinst-helper: find -empty not impl in busybox, use other way.
--HG--
extra : convert_revision : c9057a59ba09fbc62c44310a8e71ef59525df7cb
2010-04-15 01:23:25 +02:00
Juan RP c428a8bdd2 Added libgnomeui-2.24.3 build template.
--HG--
extra : convert_revision : fd6e813b3ed7d828d97cf152027d11836202d83b
2010-04-14 21:55:14 +02:00
Juan RP 305daf6d45 Added gnome-utils-2.30.0 build template.
--HG--
extra : convert_revision : e2cafcca152c0fc66accaf73471fe60f2eaa410c
2010-04-14 19:30:51 +02:00
Juan RP 5f1168ceab Added nautilus-2.30.0 build template.
--HG--
extra : convert_revision : 8706bbf2d34f71537fdc53f406aa61e9056fd262
2010-04-14 14:46:10 +02:00
Juan RP e1ed8a616c Added gvfs-1.6.0 build template.
--HG--
extra : convert_revision : ab77dcadf348399dc388a6957da3ca52ad9c3c06
2010-04-14 14:29:33 +02:00
Juan RP 92fa047a22 Added a trigger for gio-querymodules.
--HG--
extra : convert_revision : dbc14cc698cf3a070592964fdc290118aa39bb2d
2010-04-14 14:11:11 +02:00
Juan RP 5c40f72266 hal: add libhal{,-devel} subpkgs, bumprev.
--HG--
extra : convert_revision : 16e51ff62788e761e562cefb7623e39bc5575d60
2010-04-14 12:50:19 +02:00
Juan RP b63dc06b75 Added gucharmap-2.30.0 build template.
--HG--
extra : convert_revision : 467eb8e17287a29f4b14a8379c1fd30014c89ca1
2010-04-13 22:15:23 +02:00
Juan RP e830dbcac3 Added cpufrequtils-007 build template.
--HG--
extra : convert_revision : d2fc9512e2e2c55d1fb5b2f2d2b75438aec6c85d
2010-04-13 21:50:33 +02:00
Juan RP c842754e06 Added gnome-disk-utility-2.30.1 build template.
--HG--
extra : convert_revision : 72e4396abd243c0643028a595d4f13f86ffea446
2010-04-13 16:31:02 +02:00
Juan RP b398f85a23 mapping_shlib_binpkg: fix liblvm2app soname.
--HG--
extra : convert_revision : cca35f0f3b20bd6aac78c0cd6757ec47569325cc
2010-04-13 16:17:28 +02:00
Juan RP e23ddee5a6 lvm2: build liblvm2applib and create two new subpkgs.
--HG--
extra : convert_revision : 80c1f4057b9cf02301f4f0ec417080222d5eb6df
2010-04-13 16:10:05 +02:00
Juan RP 52d3280790 Added sg3_utils-1.28 build template.
--HG--
extra : convert_revision : 0a8637526996ea647fe200522873426b1a212ca6
2010-04-13 15:43:55 +02:00
Juan RP e27ffef786 Added libatasmart-0.17 build template.
--HG--
extra : convert_revision : fbf5b0acb2f546737de286f15cb83cdac2d14940
2010-04-13 15:36:01 +02:00
Juan RP c666391149 Added exempi-2.1.1 build template.
--HG--
extra : convert_revision : 65727d5b36258a070221bdaf64e7b30e5e091ee0
2010-04-13 06:19:55 +02:00
Juan RP 127ae4fddd Added boost-1.42.0 build template. (GRR How I hate this one!)
--HG--
extra : convert_revision : 40d1a631cd76289ae191a8e33743761d594f2864
2010-04-13 06:12:15 +02:00
Juan RP da5276fd64 Added gnome-control-center-2.30.0 build template.
--HG--
extra : convert_revision : c0a855a0102a9d6ec14cde755d2ca98d7cb20f09
2010-04-13 02:48:00 +02:00
Juan RP b7366d2097 Added gnome-panel-2.30.0 build template.
--HG--
extra : convert_revision : c587e1115baed772615725790aa49004e80cd32b
2010-04-13 02:23:12 +02:00
Juan RP 966f15c62c Added NetworkManager-0.8 build template.
--HG--
extra : convert_revision : 6c249476a93d26d30303d88f132bce99c416704a
2010-04-13 01:44:24 +02:00
Juan RP 4bc904a3ca Added iptables-1.4.7 build template.
--HG--
extra : convert_revision : 0dec638dfbf3583a0fb60e29c5ec475a5a724fd2
2010-04-13 01:15:32 +02:00
Juan RP b73f2e0e0f Added libpcap-1.1.1 build template.
--HG--
extra : convert_revision : eda0ff99a5628347d24202c595b33991729b49c2
2010-04-12 23:35:11 +02:00
Juan RP 69a4399f8f Added evolution-data-server-2.30.0 build template.
--HG--
extra : convert_revision : 4091b0a96b0d24875c6dd55290369edb7f0c403b
2010-04-12 21:54:34 +02:00
Juan RP 2af5334d9a Added libical-0.44 build template.
--HG--
extra : convert_revision : b348c440ebb85ee938a139034d687fc91b909ef6
2010-04-12 21:19:40 +02:00
Juan RP 94c0200541 Reset some vars in subpkgs.
--HG--
extra : convert_revision : cfe73e71aa363f5d297660925cd7b29e731f4951
2010-04-12 19:07:24 +02:00
Juan RP 16b8a492d4 libsoup: update to 2.30.0, add -gnome{,-devel} subpkgs.
--HG--
extra : convert_revision : 0ed4f63ebc1879e1222a98051c474f1f815b2f02
2010-04-12 16:35:39 +02:00
Juan RP d2142fadb6 Added libgnome-keyring-2.30.0 build template.
--HG--
extra : convert_revision : e1dbbe92e74e7ffb187fc721c887d8d5cec3f1b9
2010-04-12 16:24:11 +02:00
Juan RP 3b7c7754d5 Added gnome-keyring-2.30.0 build template.
--HG--
extra : convert_revision : 17f5f9aaa41ca109e1333f845f7e7f67cfa2bf48
2010-04-12 16:16:55 +02:00
Juan RP fa5a575f03 Added libbonoboui-2.24.3 build template.
--HG--
extra : convert_revision : d3d06cc21a1eb95cdc36598b034dc17dae8fd44f
2010-04-12 15:54:24 +02:00
Juan RP 644b4304d6 Added libgnomecanvas-2.30.1 build template.
--HG--
extra : convert_revision : cca505a38f078c999b1cebe95290e48ee4ce3412
2010-04-12 15:46:52 +02:00
Juan RP 5bb229406a Added gnome-menus-2.30.0 build template.
--HG--
extra : convert_revision : 82b01973665b9de991d7190155ab6f4fd6581ef4
2010-04-12 15:12:09 +02:00
Juan RP 7f750b09fc Added gnome-media-2.30.0 build template.
--HG--
extra : convert_revision : 8eb259afb26460ae9e9f46bf55afc3762d58cc37
2010-04-12 15:01:06 +02:00
Juan RP 12e9e89438 Added libgnome-2.30.0 build template.
--HG--
extra : convert_revision : d5cab0fc571bf9d452a2f1cd7aaefb03497633ee
2010-04-12 14:15:29 +02:00
Juan RP 4aec48a05d Added gnome-vfs-2.24.2 build template.
--HG--
extra : convert_revision : 98e1af8be4277cc87b7e3fc9d183ef7005e8348f
2010-04-12 14:03:18 +02:00
Juan RP 0b8b380cd3 Added libbonobo-2.24.3 build template.
--HG--
extra : convert_revision : 77e045308ec9c050e021ab28bdfd6f556eef1ac2
2010-04-11 18:44:17 +02:00
Juan RP d63e06647e Added metacity-2.30.1 build template.
--HG--
extra : convert_revision : 19b1b4bc2a33b3c241f40850470a3db317ea4872
2010-04-11 17:59:08 +02:00
Juan RP d3ca293be6 mapping_shlib_binpkg: fix gnome-desktop soname.
--HG--
extra : convert_revision : bdfc8c3488b699dd7ddf13358512561d41e2b1ba
2010-04-11 17:39:24 +02:00
Juan RP 49caf52534 Added gnome-desktop-2.30.0 build template.
--HG--
extra : convert_revision : 2ff10e8f02769038cc432046091429b358702364
2010-04-11 17:20:03 +02:00
Juan RP a705da1303 Added rarian-0.8.1 build template.
--HG--
extra : convert_revision : dc8e55a80e9fd23a067ba41b44f593f3973a8bfa
2010-04-11 16:54:49 +02:00
Juan RP 02cec7fca2 Added libgtop-2.28.1 build template.
--HG--
extra : convert_revision : 8a8bb6a62fd23e28df5efdfb25ffad42e880c358
2010-04-11 15:13:42 +02:00