Commit Graph

342 Commits

Author SHA1 Message Date
Juan RP d03b5a43a3 boost: update to 1.44.0. 2010-11-02 19:42:43 +01:00
Juan RP ad2695a838 openssl: split libs into libssl subpkg, bumprev. 2010-11-02 08:30:51 +01:00
Juan RP 0703d35d3a perl-module: update for new perl. 2010-11-01 11:47:58 +01:00
Juan RP f85dba88f3 xbps-src::tmpl_funcs: add two comments for BUILD_32BIT. 2010-10-31 01:40:23 +02:00
Juan RP c5f1097f4e xbps-src: added -s flag to override default XBPS_SRCDISTDIR value. 2010-10-30 18:25:04 +02:00
Juan RP 71e5c38598 xbps-src: added XBPS_LDFLAGS into the configuration file.
This is to specify common LDFLAGS settings for all packages, by default
it's set to '-Wl,--as-needed' to avoid linking extra libraries into
the binaries. This helped to find such cases.
2010-10-29 10:23:25 +02:00
Juan RP 6387ead759 Added new shlibs for libproxy and qt. 2010-10-29 10:21:34 +02:00
Juan RP e92e7e69fe xbps-src: don't ignore pkgs that use $nostrip for verify rundeps code. 2010-10-28 04:22:00 +02:00
Juan RP cce5ca5f2b xz: update to 5.0.0, provide liblzma{,-devel} subpkgs. Bump abi_depends.
--HG--
rename : srcpkgs/xz/xz-devel.template => srcpkgs/xz/liblzma-devel.template
2010-10-26 03:08:32 +02:00
Juan RP 07350651fc Added dconf-0.5.1 build template. 2010-10-25 21:21:34 +02:00
Juan RP e77c14ecab xbps-triggers: update to 0.4, improve gsettings-schemas trigger. 2010-10-25 18:36:16 +02:00
Juan RP ddcfee311e xbps-triggers: update to 0.3, added a gsettings-schemas trigger. 2010-10-25 18:23:36 +02:00
Juan RP f3449d7527 ntfs-3g: update to 2010.10.2. 2010-10-25 17:44:37 +02:00
Juan RP 34d6ea0c35 llvm: update to 2.8. 2010-10-25 11:36:54 +02:00
Juan RP 4650b74209 gnome-panel: update to 2.32.0. 2010-10-24 17:52:41 +02:00
Juan RP a004f2ea1f evolution-data-server: update to 2.32.0, bump abi_depends. 2010-10-24 16:42:23 +02:00
Juan RP c67a83a2ce mapping_shlib: added libgdata. 2010-10-24 16:32:53 +02:00
Juan RP f446cf5b2b xbps-triggers: update to 0.2.
Update gtk-pixbuf-loaders trigger for the new gdk-pixbuf package.
2010-10-23 17:49:36 +02:00
Juan RP 68198645d9 Added gdk-pixbuf-2.22.0 build template. 2010-10-23 17:48:31 +02:00
Juan RP 2b1c03f94f Added talloc-2.0.1 build template. 2010-10-22 03:58:24 +02:00
Juan RP b257ba41fc xbps-src: do not overwrite PATH, just append it to the new one. 2010-10-21 17:21:23 +02:00
Juan RP 20093232cc poppler: update to 0.14.0, bump abi_depends. 2010-06-09 15:50:25 +02:00
Juan RP 0c5f31342c xbps-src: do not overwrite masterdir if -c not set and -m set. 2010-06-03 01:49:33 +02:00
Juan RP f5bc858199 Added gtksourceview-2.10.3 build template. 2010-06-02 22:38:35 +02:00
Juan RP 0432cc3785 xbps-src: remove dup strip_files() in pkgtarget_funcs.sh. 2010-05-26 15:47:59 +02:00
Juan RP c34e13336b xbps-src: multiple changes to improve infrastructure.
- Remove buildvars_funcs.sh, its code has been moved into set_tmpl_common_vars().
- Move stripping code into its own file, and don't run it via fakeroot.
- Remove unnecesary reset_tmpl_vars() call in install_pkg().
- Misc changes.
2010-05-26 15:41:26 +02:00
Juan RP f6b57540bd xbps-src: fucking (un)set_build_vars() crap! 2010-05-21 01:06:22 +02:00
Juan RP 9408af3761 xbps-src: make BUILD_32BIT work for packages using C++. 2010-05-21 00:30:27 +02:00
Juan RP 127a8e42f7 xbps-src: make it possible to build bootstrap packages on x86_64 for 32bit,
by setting the envvar BUILD_32BIT.

So now you can build bootstrap pkgs for i686 on x86_64 like this:

1) install gcc-multilib and ncurses32.
2) env BUILD_32BIT=yes linux32 xbps-src bootstrap
2010-05-20 22:20:52 +02:00
Juan RP c785787fdd xbps-src: added 'clean' target to remove pkg build directory. 2010-05-20 04:05:35 +02:00
Juan RP f00c51a6a3 xbps-src: support -m with 'checkvers' target. 2010-05-19 03:04:42 +02:00
Juan RP b9d0db9470 xbps-src: added new 'checkvers' target to check for new versions from srcpkgs
against current installed packages.
2010-05-19 03:00:52 +02:00
Juan RP c99f975f63 xbps-src: also check for xbps static utils. 2010-05-17 22:26:58 +02:00
Juan RP 73eb032904 xbps-src: check for required utilities in the host system. 2010-05-17 22:23:52 +02:00
Juan RP 66321f05e6 xbps-src: fix an error in the unstow case. 2010-05-17 22:21:19 +02:00
Juan RP 9e285b9608 xbps-src: improve multiple mount/umount chroot handling. 2010-05-17 12:09:44 +02:00
Juan RP a0432bffa5 xbps-src: do not set CFLAGS/CXXFLAGS multiple times via build_vars. 2010-05-15 18:20:56 +02:00
Juan RP ab3193c208 xbps-src: do not umount if <masterdir>/.xbps_chroot_working is there. 2010-05-15 17:28:18 +02:00
Juan RP fecc9617dd Pass XBPS_MASTERDIR to the xbps-src signal handler. 2010-05-14 15:25:07 +02:00
Juan RP fe36d782ca xbps_chroot_handler: do not umount, leave this to the signal handler of xbps-src. 2010-05-14 15:17:58 +02:00
Juan RP a599311f15 xbps-src: always try to unmount via xbps-src-chroot-helper before exiting. 2010-05-14 14:48:55 +02:00
Juan RP 561783f002 fetch_funcs: print a message if using $nofetch. 2010-05-14 02:27:38 +02:00
Juan RP 816b0945a8 chroot.sh: mention that xbps-src.conf in the chroot is autogenerated. 2010-05-14 01:12:53 +02:00
Juan RP 148f1d5db5 xbps-src: reinstall xbps-src any time we are entering into the chroot. 2010-05-14 00:16:37 +02:00
Juan RP ceefb18bff xbps-src: multiple improvements to messages and phases.
- Prefix all messages with 'Package 'pkgname (version)': ..." to really
  understand what's going on. Add more messages in some stages...
- Do not run pre/post_{configure,build,install} or do_{build,install} stages
  if they were executed successfully in the past.
2010-05-14 00:07:47 +02:00
Juan RP 85f018289f builddep_funcs: add extra space to the deps message. 2010-05-13 22:22:05 +02:00
Juan RP 8a9c6d1033 xbps-src: install required deps if necessary in the configure/build target. 2010-05-13 22:21:08 +02:00
Juan RP d1791dad60 make-binpkg: pass correct vars as arguments to the signal handler. 2010-05-13 21:21:36 +02:00
Juan RP ea1e29a43c xbps-src: don't forget to clean up $wrksrc in the bootstrap target!
Thanks to pancake for finding the bug.
2010-05-13 20:43:08 +02:00
Juan RP a4468b1fe8 pkgtarget_funcs: print a msg while installing the origin pkg. 2010-05-13 17:42:39 +02:00
Juan RP fdd96d947b buildvars: also (un)set CPPFLAGS and LDFLAGS in the chroot. 2010-05-13 17:42:07 +02:00
Juan RP 200a33e3c7 common_shlib_binpkg: add ntfs-3g new shlib. 2010-05-13 17:41:26 +02:00
Juan RP 65619596d0 stow_funcs: check for file and links before dirs while stowning in the chroot. 2010-05-13 15:28:17 +02:00
Juan RP 8f5898fa63 build_funcs: unset_build_vars before returning. 2010-05-13 15:27:41 +02:00
Juan RP e675201990 Improve how build deps are processed, return on errors immediately. 2010-05-12 17:23:35 +02:00
Juan RP a42db9b593 curl: update to 7.20.1, rename curl-{libs,devel} to libcurl{,-devel} respectively.
--HG--
rename : srcpkgs/curl/curl-devel.template => srcpkgs/curl/libcurl-devel.template
rename : srcpkgs/curl/curl-libs.template => srcpkgs/curl/libcurl.template
2010-05-12 07:27:58 +02:00
Juan RP c57efc958f install_pkg(): remove another return value test. 2010-05-12 02:16:31 +02:00
Juan RP a785022b62 reset_tmpl_vars: add do_{build,install}. 2010-05-12 01:51:53 +02:00
Juan RP 8d383c1c83 builddep_funcs: skip some return values from install_pkg(). 2010-05-11 23:39:37 +02:00
Juan RP 218482d3e9 gettext: update to 0.18. 2010-05-11 22:46:34 +02:00
Juan RP 622c398a66 build_vars: (un)set PKG_CONFIG also in the chroot. 2010-05-11 22:15:33 +02:00
Juan RP d3047787ba configure_funcs: unset build vars before return. 2010-05-11 22:10:51 +02:00
Juan RP f964d9b8fb install_dependencies_pkg(): install_pkg_deps() might return non 0, don't treat this as fatal. 2010-05-11 21:30:01 +02:00
Juan RP 84a4e9e377 {un,-}set_build_vars(): set PKG_CONFIG_LIBDIR. 2010-05-11 15:46:34 +02:00
Juan RP 037b066e92 xbps-src: required XBPS utils >= 20100511, hardcode fakeroot path. 2010-05-11 15:03:36 +02:00
Juan RP 8620b39842 Added libelf-0.8.13 build template. 2010-05-10 12:50:57 +02:00
Juan RP caf9d4ac62 install_pkg_deps() may return 1 sometimes, do not treat it as fatal error. 2010-05-10 12:18:41 +02:00
Juan RP 2ee55de018 Finally fix fakeroot on Arch linux, return on errors while processing deps. 2010-05-10 12:09:06 +02:00
Juan RP 2850e6ed79 xbps-src-doinst-helper is run via fakeroot so set build vars before and after! 2010-05-10 11:17:58 +02:00
Juan RP 823f820827 xbps-src-doinst-helper: unset build vars later. 2010-05-10 11:08:34 +02:00
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