Commit graph

881 commits

Author SHA1 Message Date
Juan RP
ef9cfa20bf strip_files: skip this pass completely if $noarch is set. 2010-12-11 01:53:14 +01:00
Juan RP
eaf3247352 builddep_funcs: if there are no build deps, do not print a wrong message. 2010-12-11 01:46:55 +01:00
Juan RP
e96fc4bf11 pcre: update to 8.11, added libpcre subpkg. 2010-12-11 01:22:05 +01:00
Juan RP
4b71f4195b xbps-src-doinst-helper: if 'make install' fails print the log file and inform the user. 2010-12-11 00:48:32 +01:00
Juan RP
43ecc9f661 xbps-src-chroot-capumount: fix error message. 2010-12-11 00:47:39 +01:00
Juan RP
408373cb17 binutils: update to 2.21. 2010-12-10 16:12:36 +01:00
Juan RP
38a0a4eb53 xbps-src: add openrc_services trigger before system_users.
Packages that use both will try to remove the system user when the openrc services
are launched, so they report "user still logged in" errors.

While being here remove unnecessary empty lines in the generated scripts.
2010-12-07 17:51:17 +01:00
Juan RP
919b60c0b5 helpers/python-module: added a do_build() that runs setup.py build. 2010-11-27 22:32:13 +01:00
Juan RP
633a86162f Added atkmm-2.22.1 build template. 2010-11-27 16:36:04 +01:00
Juan RP
06cc6a0230 pulseaudio: update to 0.9.22. 2010-11-26 10:27:03 +01:00
Juan RP
4749310585 Added gupnp-0.14.0 build template. 2010-11-23 00:26:15 +01:00
Juan RP
43538beb7c Added gssdp-0.9.0 build template. 2010-11-23 00:14:06 +01:00
Juan RP
a71ba2eeb1 Added tdb-1.2.2 build template. 2010-11-21 16:44:55 +01:00
Juan RP
8b33ba4701 Added gst-plugins-bad-0.10.20 build template. 2010-11-20 18:54:45 +01:00
Juan RP
558ad76280 Added glade3-3.6.7 build template. 2010-11-20 16:10:56 +01:00
Juan RP
4830e9a19c Added totem-pl-parser-2.32.0 build template. 2010-11-20 03:31:31 +01:00
Juan RP
6af02373e0 Added gmime-2.4.19 build template. 2010-11-20 02:54:02 +01:00
Juan RP
9e7c87f789 Added orc-0.4.11 build template. 2010-11-20 01:31:20 +01:00
Juan RP
ea8d667378 gnome-media: build with pulseaudio support, bumprev. 2010-11-20 00:17:11 +01:00
Juan RP
ffde65e31f Added pulseaudio-0.9.21 build template. 2010-11-20 00:10:49 +01:00
Juan RP
2a3b53358d Added speex-1.2rc1 build template. 2010-11-19 23:09:26 +01:00
Juan RP
669baed1bd libsndfile: update to 1.0.23. 2010-11-19 22:58:45 +01:00
Juan RP
aa47437394 Added unrar-3.9.10 build template. 2010-11-18 14:10:56 +01:00
Juan RP
7a8c4ccc4e man-db: update to 2.5.8. 2010-11-17 12:08:02 +01:00
Juan RP
af284b261b xbps-src: do not hardcode unzip/xz path for extracting, assume it's in PATH. 2010-11-17 02:46:08 +01:00
Juan RP
c960f3f730 Added ftgl-2.1.3rc5 build template. 2010-11-11 02:25:04 +01:00
Juan RP
c004fc8af0 Added libxml++-2.32.0 build template. 2010-11-11 02:13:59 +01:00
Juan RP
9c8e8a7d68 Added ntfsprogs-2.0.0 build template. 2010-11-10 00:58:38 +01:00
Juan RP
4bdf2e615b xbps-src: be silent while checking for required host cmds. 2010-11-09 00:47:29 +01:00
Juan RP
4c9fc31241 xfce4: update to 4.8.0pre1 (goodies not yet updated). 2010-11-08 16:56:59 +01:00
Juan RP
8b8165a334 Added libxfce4ui-4.7.4 build template. 2010-11-08 15:18:52 +01:00
Juan RP
6f2c7d782d Added garcon-0.1.3 build template, required by XFCE 4.8. 2010-11-08 15:03:04 +01:00
Juan RP
67266488d5 Added seahorse-2.32.0 build template. 2010-11-06 08:36:00 +01:00
Juan RP
446fee00ff Fix gpgme SONAMEs. 2010-11-06 08:14:31 +01:00
Juan RP
2228ff6684 Added gpgme-1.3.0 build template. 2010-11-06 08:03:53 +01:00
Juan RP
56439d2f12 Added libassuan-2.0.1 build template. 2010-11-06 08:01:24 +01:00
Juan RP
7f522a8cf4 xbps-src: remove the triggers, they will be handled by the xbps-triggers pkg. 2010-11-04 13:52:10 +01:00
Juan RP
722db61ea2 xbps-src: improve how patches can be applied.
1) $patch_args can be used if all patches need special args other than "-Np0"
   (set by default).
2) If the $PATCHESDIR/series file exist, it will specify how the patches
   will be applied, in that order.
2010-11-03 15:56:37 +01:00
Juan RP
9ed2018ba4 Added at-spi-1.32.0 build template. 2010-11-02 23:06:36 +01:00
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
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
Juan RP
6b0555680c Added libcanberra-0.23 build template.
--HG--
extra : convert_revision : c072ed46cabc5ad8d3c6bb428d5a53617bb8ba39
2010-04-11 15:05:09 +02:00
Juan RP
53aaf7de51 Added libgnomekbd-2.30 build template.
--HG--
extra : convert_revision : c9fcd7af50b800b398d4bd5ff63ca9d4aae01426
2010-04-11 14:11:04 +02:00
Juan RP
6645bf4764 libxklavier: update to 5.0, bump abi_depends.
--HG--
extra : convert_revision : b463637dfe25bc18276e2821128052dcf5b750ef
2010-04-11 14:01:32 +02:00
Juan RP
f341559cf7 Added polkit-gnome-0.96 build template.
--HG--
extra : convert_revision : a36e915dad4ce3bfc759f006bb2e86c5ea79ec3b
2010-04-11 13:10:10 +02:00
Juan RP
ec0f955d70 Added gconf-schemas new trigger.
Two new vars can be used in templates to handle GConf schemas files,
gconf_entries and gconf_schemas.

--HG--
extra : convert_revision : 315756b79166538ef0efae5a70c7ec8d9f7f61d9
2010-04-11 12:50:35 +02:00
Juan RP
8d09c3f65a Added upower-0.9.2 build template (gnome-2.30 here I go!)
--HG--
extra : convert_revision : f5965c49d74cd0b7ef4b43b58cff0619bd40d2e9
2010-04-10 18:06:10 +02:00
Juan RP
d020e43ac9 Bump revision after openssl abi_depends update.
--HG--
extra : convert_revision : 959459dfd308499581def2c41d978adca81bda77
2010-04-09 18:29:18 +02:00
Juan RP
49fc84ce2a menu-cache: update to 0.3.2.
--HG--
extra : convert_revision : 5b614f19f9624a487983b4b8f27e469e3ae52e50
2010-03-31 14:40:29 +02:00
Juan RP
a845d7b4c7 xbps-src: add -p to usage().
--HG--
extra : convert_revision : 72bf7994f7aa968b09d8905dbc435427f4f32da0
2010-03-30 23:26:08 +02:00
Juan RP
4804461547 xbps-src: added -p flag to specify pkg directory.
This overwrittes the value set in the configuration file.

--HG--
extra : convert_revision : 0d46804055edf3400a20d70d5d2917da3064f9f9
2010-03-30 17:01:59 +02:00
Juan RP
e4e2d00f94 gst-plugins-base: update to 0.10.28.
--HG--
extra : convert_revision : 9e7574215446e359e152c50efdd898ce65700d44
2010-03-29 15:25:42 +02:00
Juan RP
60c226b59d gmp: update to 5.0.1, bump abi_depends.
--HG--
extra : convert_revision : f3cc47c30a96976069e3505c98df033fb4f3878d
2010-03-29 14:58:36 +02:00
Juan RP
086d883230 Added mit-krb5-1.8 build template.
--HG--
extra : convert_revision : c7489f1b59883963631accf1f44066a73ba6a80b
2010-03-13 06:14:39 +01:00
Juan RP
2f5d1187a3 shutils: prepare for upcoming "$conflicts" support.
--HG--
extra : convert_revision : 021b9ea71ef7dbd8bcdef844a9e1379613db88d3
2010-03-08 10:52:55 +01:00
Juan RP
73dab0587b verify_rundeps: handle same shlib provided by multiple pkgs.
--HG--
extra : convert_revision : 5d021d453acd0fdf440cbafbec89613340e9e349
2010-03-08 10:47:25 +01:00
Juan RP
9d08571dcc Added heimdal-1.3.1 build template.
--HG--
extra : convert_revision : a6a118c58ee1ac50a1df444f1fd99a1165355889
2010-03-08 05:17:26 +01:00
Juan RP
e160915f6e ffmpeg: update to 0.5.1, bump abi_depends.
--HG--
extra : convert_revision : e27a5d428c55117efa017eaafb156678851ab412
2010-03-05 04:22:27 +01:00
Juan RP
97141837ec binutils: update to 2.20.1.
--HG--
extra : convert_revision : 4a37cd4d27550b1089f5ce83c7966a5434f970ca
2010-03-05 03:02:55 +01:00
Juan RP
1534f5be21 Added mysql-5.1.14 build template.
--HG--
extra : convert_revision : 7414719ac4625fd2f8805d18fbd71096cba41eb6
2010-03-04 13:50:13 +01:00
Juan RP
888834d9c5 Added postgresql-8.4.2 build template.
--HG--
extra : convert_revision : bc2fb198b40e73611b230fdd576883f7cb1c0a06
2010-03-02 06:01:46 +01:00
Juan RP
96a0926cce Added strigi-0.7.2 build template.
--HG--
extra : convert_revision : 24c96c1bdb7d9d673928badb6de162a227c68957
2010-03-02 02:27:53 +01:00
Juan RP
c125bf50e1 Added exiv2-0.18.2 build template.
--HG--
extra : convert_revision : 1366ff80169c2fbc984777f0f1745f2ccd178ec7
2010-03-02 02:16:00 +01:00
Juan RP
4f1ca3513a gimp: update to 2.6.8, sanitize deps.
--HG--
extra : convert_revision : 52f6986ab27ffb09141013ff6e5a41b483979c8a
2010-02-28 15:37:45 +01:00
Juan RP
fb3d3c09f3 midori: update to 0.2.3, sanitize deps.
--HG--
extra : convert_revision : 9bd50a81d47eb9cc25e3ca2aa59e723b92298c7a
2010-02-28 14:48:27 +01:00
Juan RP
c4a994c353 webkit-gtk: update to 1.1.15.4, sanitize deps.
--HG--
extra : convert_revision : 6828fd4b1b374ff97c9ef13a205e2391b10b33ff
2010-02-28 08:29:33 +01:00
Juan RP
b83b81b0c7 GConf: sanitize deps.
--HG--
extra : convert_revision : 125fd5428829c69f0866be34bf423c08c7769971
2010-02-28 06:30:13 +01:00
Juan RP
8126c9686b ORBit2: sanitize deps.
--HG--
extra : convert_revision : e8ffc9ca7980aee10f7cd1902ebd84d4be69e8ca
2010-02-28 06:19:39 +01:00
Juan RP
8daa4155ba enchant: sanitize deps, bumprev.
--HG--
extra : convert_revision : a6cfca6b8eae8803dcd567c4c67ea13e39d7dffc
2010-02-26 16:30:47 +01:00
Juan RP
d5b2774dcb hunspell: sanitize deps, bumprev.
--HG--
extra : convert_revision : 557e5fa823c5940dd8df7f922b9fe69c343ad8ac
2010-02-26 16:27:47 +01:00
Juan RP
f1d3736139 aspell: sanitize deps, bumprev.
--HG--
extra : convert_revision : f656ffec8c6f5c9ca59c11996c28e4fe117743c7
2010-02-26 16:24:33 +01:00
Juan RP
43cb0c429c mapping_shlib: add icu shlibs.
--HG--
extra : convert_revision : 1879d7f65165e5641c4cb147bf616f641596fad4
2010-02-26 16:20:02 +01:00
Juan RP
8b854a4401 mapping_shlib: add babl/gegl shlibs.
--HG--
extra : convert_revision : a8d1094cb65a514d68b243152932e3d6930c16b2
2010-02-26 16:02:10 +01:00
Juan RP
9a763e1982 Added xen-3.4.2, latest stable hypervisor and utils for xen dom0.
--HG--
extra : convert_revision : 40184def13fe87600d69623069bccbb0011cdc2f
2010-02-23 23:56:13 +01:00
Juan RP
e488ef4f49 ImageMagick: update to 6.5.9.8, convert to subpkgs.
--HG--
extra : convert_revision : 095965c19de7b479da5d072e598b0f04de515f28
2010-02-19 22:58:07 +01:00
Juan RP
9d29d2d001 xbps-src: repair build/configure targets in chroot.
--HG--
extra : convert_revision : b4a21b4621d0114a22eaf686a60896f3f088a69e
2010-02-19 07:18:22 +01:00
Juan RP
877486087d ruby: update to 1.9.1p376, convert to subpkgs.
--HG--
extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
2010-02-18 04:47:45 +01:00
Juan RP
8b9cce55a2 ntfs-3g: update to 2010.1.16.
--HG--
extra : convert_revision : ddc9238dd57c63d0f40ff1576c7d944e96c2d8ed
2010-02-17 18:05:35 +01:00
Juan RP
a4070a27a9 Add "$noverifyrdeps" to disable verifyrundeps code.
--HG--
extra : convert_revision : 07510b345b3831360d0ef7697be98103dc465181
2010-01-29 05:41:10 +01:00
Juan RP
9cd358be11 shutils: remove mktoolchain.sh, outdated and useless.
--HG--
extra : convert_revision : bc4cf29c4e8d76f80fba322e545eaa81b10a7062
2010-01-29 04:19:13 +01:00
Juan RP
259d7f0ce7 shutils/metadata.sh: if xbps-uhelper sanitize-plist fails, return error.
--HG--
extra : convert_revision : 949a19e83aff79731b2d315669114568fe4f81aa
2010-01-28 19:05:03 +01:00
Juan RP
bc01681ea7 shutils/metadata.sh: replace '><' in maintainer obj with &[gl]t;
--HG--
extra : convert_revision : 6de3978f0cc7442bec1fc08523387884ae8809c9
2010-01-27 03:21:53 +01:00
Juan RP
d9670229d4 mapping_shlib_binpkg: added libopenobex shlib.
--HG--
extra : convert_revision : 3495a605bf3cd96df7cc569a0cd26be4e14cb09e
2010-01-27 01:46:44 +01:00
Juan RP
5ef117ebf2 Added parted-2.1 build template.
--HG--
extra : convert_revision : e66b8072fd11019cb17e5a5f896cf7b7e83ba593
2010-01-25 17:12:59 +01:00
Juan RP
45b8a06f71 Added graphviz-2.26.0 build template.
--HG--
extra : convert_revision : 46693a44c8f9f52ad2dde15707c0fd0a01631938
2010-01-21 17:17:39 +01:00
Juan RP
0da86577ab Changed $replaces to accept pkg patterns, like Add_dependency().
Changed all packages using $replaces to the new format and bump
the revision. Require XBPS utils >= 20100121 for this to work.

--HG--
extra : convert_revision : 7593b3cb7465f7613f48aba0f2e86cdcd5430ac0
2010-01-21 03:33:26 +01:00
Juan RP
740ed4e896 shutils/metadata: fix incorrect syntax in subst $replaces values.
--HG--
extra : convert_revision : f57eaffc05e99b021aeb77c213b8ca13121b978e
2010-01-20 15:10:23 +01:00
Juan RP
9b4d6d474e shutils/metadata: fix creation of scripts due to false positive.
--HG--
extra : convert_revision : 6fecbcf1ae9f6addd319cece6bf8731e23efc196
2010-01-17 22:22:12 +01:00
Juan RP
5d778d212d mapping_shlib_binpkg: added another libvorbis shlib.
--HG--
extra : convert_revision : 604017ca4ce812e78f93d60ad172c6179b660762
2010-01-17 18:39:58 +01:00
Juan RP
6e6b08ade3 mapping_shlib_binpkg: added SDL_ttf shlib.
--HG--
extra : convert_revision : fb17a6e0df02226c6bea4c55ab2a50fb7c4c2d1b
2010-01-17 18:30:26 +01:00
Juan RP
e52a17db81 mapping_shlib_binpkg: add physfs shlib.
--HG--
extra : convert_revision : d0149ee3f9b7563bdbf23593acd1b82ecfe38f76
2010-01-17 18:06:09 +01:00
Juan RP
8077fd7472 shutils: bump copyright year for touched files in 2010.
--HG--
extra : convert_revision : 967ce0c8f98299db161ccb746a9e633ca0457640
2010-01-17 08:50:36 +01:00
Juan RP
5f94abb06a shutils/buildvars_funcs: don't set useless vars in the chroot.
--HG--
extra : convert_revision : b75790e760fe12b2ac1d1f8dbc9c01aa3683e416
2010-01-17 08:47:14 +01:00
Juan RP
eeeebb5915 shutils/metadata_scripts: do not create empty INSTALL/REMOVE scripts.
--HG--
extra : convert_revision : 149185cfd371a88802cc4e05c06fbe006b7cc006
2010-01-16 06:13:12 +01:00
Juan RP
e57940985e Added support to build pkgs in the chroot as normal user via capchroot.
Please read the comment in xbps-src.conf to use it. Fully tested
and working nicely, probably some pkgs will need minimal changes.

--HG--
extra : convert_revision : 820ad6d48aa74cf5b6db1871adea750acccaa82f
2010-01-16 02:11:44 +01:00
Juan RP
dec6b4651e shutils/build_funcs: "custom-install" pkgs can use do_build() func.
That means that you can now build "custom-install" build_style
packages in two stages, one for building and one for installation.

--HG--
extra : convert_revision : 4fd76075a1a0bd173854272437c6ca3b263a6f62
2010-01-16 00:04:40 +01:00
Juan RP
e7791982ec mapping_shlib_binpkg.txt: add some glibc stuff.
--HG--
extra : convert_revision : a3c76756ad51e45010ca117bf01c062f70404c68
2010-01-15 19:25:05 +01:00
Juan RP
0432bdf228 mapping_shlib_binpkg.txt: add xfsprogs-libs shlib.
--HG--
extra : convert_revision : daccb7bf23e4f6ebdb21fac5c3c705c41e9fce20
2010-01-15 05:03:36 +01:00
Juan RP
ae9fe929a4 shutils/pkgtarget_funcs: don't exit if pkg is already installed.
--HG--
extra : convert_revision : 3f7a084f70f9cfb65e4db28f478b0a44b2083d2d
2010-01-15 00:15:39 +01:00
Juan RP
6f5aa28a94 shutils/builddep_funcs: install from source if binpkg failed.
--HG--
extra : convert_revision : 2d902d3ccaf92fdc42d3be0b789c16412da516f1
2010-01-15 00:14:29 +01:00
Juan RP
0cab41b261 shutils/chroot: sync groups list with shadow pkg.
--HG--
extra : convert_revision : 0fb123e3e4400ff278c26a98b657ff349cb0f93a
2010-01-14 18:52:14 +01:00
Juan RP
3cdafeb9ca Added initial support to install binpkgs to resolve builddeps.
if XBPS_PREFER_BINPKG_DEPS is set in xbps-src.conf, the local binpkg
repo in XBPS_PACKAGESDIR will be used to install binpkgs.

To use this feature you'll need xbps utils >= 20100114 from head.

--HG--
extra : convert_revision : 7317e0e2741997007e81ed478f819c36e4858e5d
2010-01-14 17:45:41 +01:00
Juan RP
6a31389aa3 udev: add new libudev{,-devel} subpkgs, bumprev.
--HG--
extra : convert_revision : 46a690a7dc90fc74e16adbfc5575d6382f02a13e
2010-01-14 16:58:23 +01:00
Juan RP
f29a2b53d4 shutils/metadata.sh: reset {sgml,xml}_{entries,catalogs} for subpkgs.
--HG--
extra : convert_revision : 491a636c86b6c5baa720f616e76a21e3a45f28a3
2010-01-14 16:24:40 +01:00
Juan RP
3e96d1aa00 thunderbird: sanitize deps, remove libsqlite3.so. Bumprev.
--HG--
extra : convert_revision : 881951d686bc19b5d3acf767c7f213d77bd46e53
2010-01-13 16:09:03 +01:00
Juan RP
f0af23b62e Added xfce4-sensors-plugin-0.10.99.6 build template.
--HG--
extra : convert_revision : 98babdb3d55e32a22be21818f7d23da0dc8599c7
2010-01-12 21:50:37 +01:00
Juan RP
2f9c35c258 mapping_shlib_binpkg.txt: add libsensors shlib.
--HG--
extra : convert_revision : 1c2cb71d62d8a3c83261a83126a1df10c9f90e7a
2010-01-12 20:26:53 +01:00
Juan RP
69129ed89c mapping_shlib_binpkg.txt: added libsysfs shlib.
--HG--
extra : convert_revision : 13a9dac3b8b22b8b3a279d21072bcbbdb8d932c7
2010-01-12 14:33:39 +01:00
Juan RP
6090e4f97b sylpheed: sanitize deps, bumprev.
--HG--
extra : convert_revision : e7e158298970dd866aa1ada1275154ddba731702
2010-01-12 12:16:43 +01:00
Juan RP
9a35cefb11 mapping_shlib_binpkg.txt: add all vlc related shlibs.
--HG--
extra : convert_revision : 7c3eb2b261ebb3a3ce862cf8eea071a2c22a37c6
2010-01-12 12:01:31 +01:00
Juan RP
9d087a2119 configure_funcs.sh: skip python-module pkgs.
--HG--
extra : convert_revision : 7da164a93545c7f5dc8cc160a69e461cd70aae2f
2010-01-11 17:58:52 +01:00
Juan RP
9290042b07 mapping_shlib_binpkg.txt: add all xfce4 related shlibs.
--HG--
extra : convert_revision : 0f42956ee1f8f7dd96692b3c550c3e2a9281bc69
2010-01-11 15:46:02 +01:00
Juan RP
836cb9c9a8 mapping_shlib_binpkg.txt: correct some entries.
--HG--
extra : convert_revision : e9b7dc8ec7b2066768cdba861a1a299995e90d4f
2010-01-11 02:03:52 +01:00
Juan RP
6d1b9cdc99 mapping_shlib_binpkg.txt: add all xorg related shlibs.
--HG--
extra : convert_revision : bf733ef7712fc8e2cf99683085d9ab39442eca49
2010-01-11 01:59:06 +01:00
Juan RP
0e5c0a0bbe xbps-src: added code to verify required pkg rundeps.
Every pkg containing shared libs must register them in
common/mapping_shlib_binpkg.txt, this is where the code looks
for transforming required libs to required binpkgs.

The code will also report if a required rundep is missing from
pkg run_depends array and will suggest to add some lines to
the package template.

--HG--
extra : convert_revision : 2d26d45b8e8f62218473abdbed7cc7aab7074e28
2010-01-10 17:09:23 +01:00
Juan RP
cf604ea6ca common_funcs.sh: add msg_*_nochroot funcs.
--HG--
extra : convert_revision : cd4750816d89848c7496b564536a56a86f2ab978
2010-01-10 14:34:07 +01:00
Juan RP
667095b4ae xbps-src: remove XBPS_DESTDIR from conf file.
Rather than make it configurable, put this always under
XBPS_MASTERDIR/pkg-destdir, so you don't have to care about it anymore.

--HG--
extra : convert_revision : 34cc3102272bfcf95b2fc3a8961cb9cb2429ab91
2010-01-09 23:35:11 +01:00
Juan RP
3e8bd5917c xbps-src: remove non-working -u flag, make -C work in chroot.
--HG--
extra : convert_revision : a9fb1c09b4d29f35888abf9615c40d3cccbeb239
2010-01-09 15:49:36 +01:00
Juan RP
c18153b92c Add $create_wrksrc for use in templates.
If set the specified wrksrc will be created and its distfiles will be
extracted into it.

--HG--
extra : convert_revision : c6b0ff2634a9f764d45fcdd97ecee5d32c8a7ace
2010-01-04 16:05:13 +01:00
Juan RP
1667c062b8 Fix conditionals for $build_wrksrc.
--HG--
extra : convert_revision : c85c8bed3cf76b909ae08b40bb73e9585e9656dc
2009-12-30 22:33:30 +01:00
Juan RP
9b74f9ebc8 Added new var "build_wrksrc" for use in templates.
This var sets a relative path to $wrksrc that is used to
configure/build/install a package.

--HG--
extra : convert_revision : 690f4d435f3d4e6a9228f7f5f09ecf8b490a273a
2009-12-30 22:16:33 +01:00
Juan RP
925e22e0f9 shutils/make-binpkg: reset noarch for subpkgs.
--HG--
extra : convert_revision : dec3deb9321b1689b79a6d9035f947cd15088ca5
2009-12-27 16:48:27 +01:00
Juan RP
1e8ba0a3ef shutils/chroot: copy host /etc/localtime if found.
--HG--
extra : convert_revision : d3961bbaa2b8fd51d59d5ccd4e2023b2cf31a60a
2009-12-24 01:10:08 +01:00
Juan RP
26c9441b87 extract_funcs: always extract all distfiles into builddir.
--HG--
extra : convert_revision : 0ba3269604f8d0059fda5a36c30eac2d7e17d6c3
2009-12-23 15:41:58 +01:00
Juan RP
465f9229c8 python-module: enable configure and build stages.
--HG--
extra : convert_revision : 0f12cbd184a51cae91f580be3e51c285e4de5c7a
2009-12-23 02:07:11 +01:00
Juan RP
a267c68cbb helpers/python-module: set prefix to /usr.
--HG--
extra : convert_revision : 2d0ddde369fa4f4e69a183e9ee7a41beb7cb50be
2009-12-23 02:06:45 +01:00
Juan RP
5d95da2067 metadata.sh: fix scripts in subpkgs, add shadow rundep if $system_accounts set.
--HG--
extra : convert_revision : 80e31c482ea3fd6c3ed91a6758a09c54820efcd5
2009-12-19 04:58:25 +01:00
Juan RP
a88cee9039 make-binpkg: also add symlinks to dirs!
--HG--
extra : convert_revision : 75d65479ff0f7c59b8dbfbe92ed158018458966b
2009-12-19 04:57:39 +01:00
Juan RP
780381e8ae extract_distfiles(): recognize .tar.xz distfiles, reorganize code.
--HG--
extra : convert_revision : 18cc1457f76ddbaadfec8557ab36bd2a67bcff03
2009-12-13 13:38:53 +01:00
Juan RP
4c2cc8b588 Add a trigger to (un)register system user/groups.
The following vars can be used for this:

- system_accounts="foo blah"
- foo_homedir, foo_shell, foo_descr, foo_groups.

--HG--
extra : convert_revision : bc7d002e00abc5c84f83a3716a8ecf97f9c9ff24
2009-12-11 12:03:21 +01:00
Juan RP
af1b82c40a Update triggers to use passed args, use /bin/sh -e.
Bump xbps-base-files to 0.30.

--HG--
extra : convert_revision : 6158c0bed798e097ba75c902a0be2498e3361e02
2009-12-11 07:23:49 +01:00
Juan RP
1a7a23a4cc extract_distfiles(): after extracting if $wrksrc doesn't exist, create
it.

--HG--
extra : convert_revision : b72bf0188c83e9a676448ba5da3ca1b25c4df493
2009-12-06 01:46:32 +01:00
Juan RP
d27595922c Added a new "preserve" var for build templates.
When a package has this defined, its files won't be removed after
a removal or upgrade process. This should be used in a few cases,
mostly for the kernel pkg to always preserve a working kernel+modules.

--HG--
extra : convert_revision : 03b19d1df2b029b6671865072b4d9529b0b86aa4
2009-12-02 03:20:26 +01:00
Juan RP
c077559a89 Improve build templates by not having to set ${triggers} in some cases.
There's no need to update triggers in the following cases:
 * Packages installing stuff into /usr/share/applications.
 * Packages setting $gtk_iconcache_dirs.
 * Packages setting $font_dirs.
 * Packages setting ${sgml,xml}_entries.

--HG--
extra : convert_revision : 11c74b41f8cf474e9bf4dbb961b1aa9c6f6540bf
2009-12-02 01:55:51 +01:00
Juan RP
c6d8fa2eba reset_tmpl_vars: add missed font_dirs.
--HG--
extra : convert_revision : 25993a79cd7a0ed9d70bd094f707a193a3fbf0b8
2009-11-30 20:45:42 +01:00
Juan RP
0194df5512 xbps-src: fix properly refusing to install installed pkgs.
--HG--
extra : convert_revision : e8013bdb452c482331b19bed2199c58fb79f43fc
2009-11-26 23:59:25 +01:00
Juan RP
5ecfdb4c2f xbps-src: refuse to install a pkg already installed.
--HG--
extra : convert_revision : dae07c3aa547ac13bc955dea44049f31242c02ed
2009-11-26 23:33:45 +01:00
Juan RP
c6f4aa322b Use the new xbps-uhelper bin, require xbps utils 20091124-1.
--HG--
extra : convert_revision : d29be962c344de65b805f4690afc335db32b541e
2009-11-24 12:21:49 +00:00
Juan RP
a94b2511d0 shutils/make-binpkg.sh: cleanup while creating unfinished binpkgs.
- If creating the binpkg fails remove the file, the same if
  SIGINT is caught.

--HG--
extra : convert_revision : 113ce6580cc514c791835d87bf572a566b3341f8
2009-11-23 10:50:18 +00:00
Juan RP
faed7daa5c shutils/chroot.sh: run prepare_chroot before anything else!
--HG--
extra : convert_revision : 0ca996d5cca9028b33bdbb49c7078c9443e592ad
2009-11-23 06:32:42 +00:00
Juan RP
dbb02a1930 Kill run_template(), use setup_tmpl() instead.
--HG--
extra : convert_revision : 6aaf4f637d28f476e88c05ee8608e418642a01fa
2009-11-23 05:30:04 +00:00
Juan RP
5c2f6d0982 xbps-src: remove cross-compiler stuff, won't work.
--HG--
extra : convert_revision : b1cb584d15bceca0b84adfc5f688facf6fe978a2
2009-11-23 02:21:32 +00:00
Juan RP
ff49f2b52a shutils/metadata.sh: fix multiple inclusion of subpkg templates.
--HG--
extra : convert_revision : 2a1d8c9996d1790817c672e66293be3b63480768
2009-11-23 02:13:21 +00:00
Juan RP
16808930aa xbps-src/shutils: remove unused $origin_tmpl stuff.
--HG--
extra : convert_revision : de50b832bdd8fc64c1a94856248e749eafac84c9
2009-11-23 02:12:38 +00:00
Juan RP
38496b3618 xbps-src: required xbps utils 20091123.
--HG--
extra : convert_revision : 9f05994720679b5ec2058114305b0083b59677b8
2009-11-23 00:33:37 +00:00
Juan RP
881cc4566b xbps-src: require at least xbps utils from 20091119.
--HG--
extra : convert_revision : 1de2441b10f450e2847ee663bd6a9fd6cb3ce2c5
2009-11-22 08:44:25 +01:00
Juan RP
85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00
Juan RP
3c58e3ad40 shutils/builddep_funcs.sh: conditionalize info msg.
--HG--
extra : convert_revision : 54d778eab5904fcda0a0d0e506b00f0ee046cbaf
2009-11-19 17:56:27 +01:00
Juan RP
5ddea61b22 Don't strip off binaries in pkgs with noarch set.
--HG--
extra : convert_revision : 962dcb897e2f6074631a358cd0c3ef5bbb6f3b14
2009-11-09 03:43:01 +01:00
Juan RP
2c53035fb7 Added support for extended pkgdep version matching.
xbps from launchpad head branch has gained support for extended
pkg version matching, as specified in:

https://blueprints.launchpad.net/xbps/+spec/improved-version-matching

Now it's required to specify the operator(s) for required versions
in the depends files and "Add_dependency" option in build templates.

xbps-src now requires xbps utils 20091107.

--HG--
extra : convert_revision : fc09fa707483a75e0b6f68445721fc1a9166cdad
2009-11-07 05:01:00 +01:00
Juan RP
8c89fbd90b Fixed launchpad #474467 bug.
Make xbps-base-chroot depend on bash and use it for the chroot
environment. Depending in host's bash wasn't a good idea...

--HG--
extra : convert_revision : dfff2287dec5c3fb64725e601f70fe4a2ab2db98
2009-11-05 17:51:26 +01:00
Juan RP
f4a2a9aebe builddep_funcs.sh: use $XBPS_CMPVER_CMD.
--HG--
extra : convert_revision : 079d2d36a9fd7454ec6f4e53a4f917b7f92334a3
2009-11-05 14:26:15 +01:00
Juan RP
faf1d22b22 builddep_funcs.sh: fix local var def.
--HG--
extra : convert_revision : 5066c52062d1dff62a97662f0d78bd0bdd40fd79
2009-11-02 00:25:50 +01:00
Juan RP
a1a9d65822 builddep_funcs.sh: remove unused func, wrap long line.
--HG--
extra : convert_revision : 28a65da6438a2b756be93f7c9d9574aba9d417a2
2009-11-02 00:22:40 +01:00
Juan RP
9c72819434 pkgtarget_funcs.sh: fix a comment.
--HG--
extra : convert_revision : d1b5fe808705b449eb9b9ece303b8a108ad94d26
2009-11-02 00:22:05 +01:00
Juan RP
1ebe5e6b5e Mega-commit removing deps in xbps-base-chroot.
xbps-src:
  * ALWAYS use the static bins, to avoid breakage in the chroot.
  * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's
    useful to download all distfiles in xbps-base-system.
  * Use busybox in the chroot and create links in /usr/local/bin
    at creation time. This helps to remove many packages that
    had problems with host/target libs (acl, attr, libarchive, etc).

build templates:
  * Add explicit gettext and texinfo build dependencies in all
    packages that need them, because they aren't built anymore
    by xbps-base-chroot.
  * Fixed some packages using build_style=gnu_makefile, that were
    broken because pre/post_configure() is not executed for a while,
    they should use pre/post_build() instead.

--HG--
extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
2009-10-30 22:14:09 +01:00
Juan RP
e2b7c462c1 shutils/metadata.sh: use xbps static bins.
--HG--
extra : convert_revision : cc7d591b7913eb7a301dc3fce0a59f29c54ccd88
2009-10-29 16:35:22 +01:00
Juan RP
22774572da xbps-src: use the xbps static bins.
--HG--
extra : convert_revision : 7b8f360971f28668dae1032fccdc5819bafe5054
2009-10-27 16:52:40 +01:00
Juan RP
ef3da70478 xbps-src: build binpkgs compressed with xz by default.
- Added two new options for xbps-src.conf:
    XBPS_COMPRESS_CMD by default set to xz.
    XBPS_COMPRESS_LEVEL by default not set.

Change these options to override the behaviour.

--HG--
extra : convert_revision : cbf096e3ff8c290ec0dfd96e5e7cf81f82cbf26a
2009-10-20 15:19:09 +02:00
Juan RP
4a26a07d56 xbps-src: make 'build-pkg all' ignore building subpkgs, use sourcepkg.
--HG--
extra : convert_revision : a552d1c2db44ca7a6427bf1e08a2d86e995c1383
2009-10-20 10:49:41 +02:00
Juan RP
de15937c98 shutils/make-binpkg.sh: make 'build-pkg' target build all subpkgs.
--HG--
extra : convert_revision : 9b1f6d0dcbf65550e393d00eb3bea8939a644055
2009-10-20 10:06:02 +02:00
Juan RP
72554fbe8a xbps-src/shutils/chroot.sh: fix path to the shutils.
--HG--
extra : convert_revision : 7d06e6083358b1cbfd6733989d966e2a5a417bf0
2009-10-18 11:31:56 +02:00
Juan RP
745192ef37 Added xbps-src and its associated code again.
It's better to keep it outside of XBPS.

--HG--
extra : convert_revision : 34f9c316585b972158d6ee55492c02c9bc5d3fcd
2009-10-18 11:17:26 +02:00