Commit graph

1232 commits

Author SHA1 Message Date
Dominik Honnef
cdd2ce0da4 add helpers for working with options
Add the helpers vopt_if, vopt_with and vopt_enable that simplify common
option-based operations.

Instead of a bunch of

if [ "$build_option_foo" ]; then
	configure_args+=" --with-foo"
	makedepends+=" foo-devel"
else
	configure_args+=" --without-foo"
fi

one can use

configure_args="... $(vopt_with foo)
makedepends="... $(vopt_if foo foo-devel)"

instead.

We're adding these functions to common/xbps-src/shutils/common.sh but
that might not be the ideal place. I would've preferred
common/helpers/options.sh, but helpers are only available in the
individual phases, not when the template itself gets parsed.
2014-08-30 00:39:46 +02:00
Alessio Sergi
1cfb846ae6 New package: lapack-3.5.0; supersedes liblapack
New (sub)package: blas-3.5.0; supersedes libBLAS
2014-08-29 19:20:59 +02:00
Juan RP
c0049997be ecryptfs-utils: update to 104. 2014-08-28 19:00:47 +02:00
Christian Neukirchen
6cfe8adfc9 New package: ganv-1.4.2 2014-08-28 16:16:43 +02:00
Christian Neukirchen
ed53c63554 openmpi: update to 1.8.2. 2014-08-28 00:51:19 +02:00
Juan RP
44be72f5d2 common/shlibs: remove obsolete telepathy-logger soname. 2014-08-26 18:57:27 +02:00
Juan RP
e582f328b3 xbps-src: repair and improve the bootstrap target (from scratch).
- There's no need to install rdeps into the masterdir, just base-files.
- There's no need to exit if XBPS_TARGET_PKG == sourcepkg, just return.
- After building base-chroot, install bootstrap binary packages.
2014-08-26 10:33:15 +02:00
Juan RP
b019b5df6f hooks/generate-runtime-deps: also make "virtual?" subst on noarch/noverifyrdeps pkgs. 2014-08-26 09:58:58 +02:00
Juan RP
1651a5fe6e xbps-src/doinstall: there's no need to remove pkg metafiles on destdir. 2014-08-26 09:55:40 +02:00
Juan RP
aec1b80e86 hooks/generate-gitrevs: fallback to the git cmd for bootstrap builds. 2014-08-26 07:53:31 +02:00
Juan RP
3fdd0e180e xbps-src: run pre-pkg hooks in the install to destdir target.
The prepare-32bit hook has been moved to the pre-pkg stage and now
those hooks are executed as part of the install phase. That means that
pre-pkg hooks are now independently run for the subpkgs and the sourcepkg
after the install-destdir phase and pre/do/install hooks.

As bonus, finally correct rdeps can now be collected for the 32bit pkgs
and works for all them, without the need to sort the order of subpkgs!
2014-08-25 22:34:13 +02:00
Juan RP
93e9ff4eaa New package: libstrophe-0.8.6. 2014-08-25 19:51:46 +02:00
Juan RP
5290c2a839 xbps-src: change order of how subpackages are processed.
10 Non development packages are processed first lexically.
20 Development packages are processed after 10.

This resolves the issue of 32bit pkg creation with development pkgs
that depend on other non-development subpkgs, and result in wrong
dependencies being propagated to the 32bit development pkgs.
2014-08-25 17:43:08 +02:00
Juan RP
22e0c33b39 xbps-src: chroot: do not copy /etc/services; we use iana-etc now. 2014-08-25 15:30:57 +02:00
Juan RP
58963b23e1 New package: libsodium-0.7.0. 2014-08-25 09:50:01 +02:00
Juan RP
12a3b16e42 Introduce "broken" var to skip building broken packages; make "nocross" not error out.
- broken var simply exits (without error) and skips building a pkg.
- nocross var now simply exits without an error, to make buildbot continue building pkgs.
2014-08-22 16:49:23 +02:00
Juan RP
d27e135986 hooks/gen-pkg: keep and transform "replaces" in 32bit pkgs. 2014-08-22 09:21:04 +02:00
Juan RP
8fc5850fd4 cross-profiles/armv7hf: use the arm-linux-gnueabihf cross compiler.
There's no reason to use the gnueabihf7 variant, because the only difference
are the CFLAGS to build it. Use the gnueabihf one (used by Rpi too).
2014-08-21 16:56:03 +02:00
Juan RP
7e9f329643 xbps-src: remove_pkg: exit early if destdir does not exist. 2014-08-21 12:16:53 +02:00
Juan RP
108a6d3fac xbps-src: introduce "nocross" to not allow cross compilation. 2014-08-21 12:07:44 +02:00
Juan RP
954e1aff05 xbps-src/chroot: disable xbps/repo.d/00-main.conf with a symlink; rather than removing the file. 2014-08-21 11:42:51 +02:00
Dominik Honnef
5c53ca14dd New package: libpar2-0.4 2014-08-20 12:34:15 +02:00
Christian Neukirchen
4cc17d7b04 libunwind: fixes for ARM 2014-08-19 21:13:57 +02:00
Juan RP
7d41c7bcd8 environment/autoconf_cache: switch to off_t=4 for 32bit archs;
Assume that _FILE_OFFSET_BITS=64 is always defined to get proper 64bit support.

Setting it to 8 was giving unexpected results in e2fsprogs, which does not
defined _FILE_OFFSET_BITS=64, and checks for sizeof(off_t) >= sizeof(long long)
to use lseek() rather than lseek64().
2014-08-19 18:28:11 +02:00
Enno Boland
bd5dd12b53 New package: libdshconfig-devel-0.20.10. 2014-08-19 16:38:58 +02:00
Juan RP
f52419ed0c polarssl: update to 1.3.8. 2014-08-19 15:34:50 +02:00
Eivind Uggedal
723a461f24 fcgi-devel: add missing shlibs 2014-08-18 16:59:16 +00:00
Juan RP
e13c7ffe78 hooks/prepare-32bit: fix shlib-provides detection for non subpkgs. 2014-08-18 13:43:39 +02:00
Juan RP
f06932f34d hooks/prepare-32bit: even more debugging. 2014-08-18 13:17:49 +02:00
Juan RP
344ca13dab hooks/prepare-32bit: add some more debugging to see what's going on. 2014-08-18 13:11:46 +02:00
Juan RP
f1822d43af hooks/prepare-32bit: update paths to lib32 correctly in pkgconfig files. 2014-08-18 10:54:33 +02:00
Juan RP
cdc60029eb hooks/prepare-32bit: convert -devel pkgs to 32bit to have proper rdeps. 2014-08-18 10:12:37 +02:00
Juan RP
9d50c2fb05 xbps-src: use "virtual?" keyword to declare virtual runtime dependencies.
The syntax "pkg?vpkg" can be used in hostmakedepends, makedepends and depends;
but the "virtual" keyword can be declared specifically for runtime dependencies
(depends).
2014-08-17 19:21:25 +02:00
John Galt
528f17bf3e llvm-git: update to current master 2014-08-17 00:46:50 -07:00
Juan RP
b0aedbb03a xbps-src: added -D to generate repository binary deltas; disabled for now. 2014-08-14 12:28:27 +02:00
Juan RP
234a4fd685 hooks/xdelta: use silent output; those warnings are too noisy. 2014-08-14 08:56:48 +02:00
Alessio Sergi
3dba8f05d1 tk: install bin symlink; common/shlibs: tk: add missing shlibs; revbump 2014-08-14 00:28:14 +02:00
Enno Boland
0f20ab1139 common/hooks: delta creation: only generate own delta for own XBPS_TARGET_MACHINE 2014-08-13 22:30:51 +02:00
Enno Boland
b317e8ff03 common/hooks: delta creation: don't hide stderr 2014-08-13 22:22:38 +02:00
Enno Boland
e8d0b810b1 common/hooks: remove file before copy 2014-08-13 22:21:03 +02:00
Enno Boland
d29b40ee46 common/hooks: use ln -f instead of cp 2014-08-13 22:19:30 +02:00
Enno Boland
179c07cc30 common/hooks: use cp instead of ln 2014-08-13 22:17:10 +02:00
Juan RP
c0afddcdbc hooks/xdelta: style twerks. 2014-08-13 21:59:20 +02:00
Enno Boland
bdb339f5fa common/hooks: remove config variable enable vcdiff generation. 2014-08-12 09:42:05 +02:00
Enno Boland
27e96f018b common/hooks: enable repackaging of indexes for xdelta 2014-08-12 08:28:43 +02:00
Enno Boland
b713c62413 common/hooks: generate null diffs to the new files itself. 2014-08-11 19:55:14 +02:00
Enno Boland
f4544b82a6 common/hooks: add support for vcdiff creation 2014-08-11 18:05:13 +02:00
Enno Boland
5a55427d97 New package: swc-git-20140809 2014-08-09 13:49:37 +02:00
Enno Boland
9946a2a020 libinput: Update to 0.5.0 2014-08-09 13:04:24 +02:00
Enno Boland
ccf88fd5e9 New package: wld-git-20140809 2014-08-09 11:15:07 +02:00
Christian Neukirchen
8cfc31126e New package: libnftnl-1.0.2 2014-08-07 15:17:44 +02:00
Christian Neukirchen
7e8df0ded7 New package: libmnl-1.0.3 2014-08-07 15:17:44 +02:00
Juan RP
2e7abbf387 openssl: removed; not necessary anymore after switching to libressl. 2014-08-06 10:09:55 +02:00
Juan RP
cf9cb3cdcc Welcome to KDE SC 4.13.3. 2014-08-06 02:21:26 +02:00
Juan RP
d84e57a4b8 wireshark: unbreak build by adding new sonames (HI GOTTOX) 2014-08-05 23:02:54 +02:00
Juan RP
0ac14b23ad xbps-src: remove a local var introduced in previous. 2014-08-05 11:52:12 +02:00
Juan RP
1e1136cfac xbps-src: do not skip build deps that are also runtime deps. 2014-08-05 11:51:25 +02:00
Juan RP
2943ac19b7 lightdm: update to 1.10.1. 2014-08-03 17:35:16 +02:00
Juan RP
7ab7ba07fd hooks/create-xbps-metadata-scripts: fix system account props. 2014-08-03 17:21:23 +02:00
Alessio Sergi
06e6b685bd common/shlibs: libwebp: add missing shlibs; revbump 2014-08-03 11:55:52 +02:00
Juan RP
933513adaa Improve how run-time deps (aka "depends") are handled in packages.
Run-time dependencies declared via "${depends}" are now also part of the
build process, but those are not installed to the master directory; rather
those dependencies are only checked if a binary package exists in a
local repository to satisfy the required version.

Thanks to @dominikh for idea and suggestions.
2014-07-30 17:58:17 +02:00
Dominik Honnef
032e76c7b4 New package: qalculate-0.9.7 2014-07-30 16:39:52 +02:00
Dominik Honnef
feeb0756bf New package: cln-1.3.3 2014-07-30 16:39:52 +02:00
Juan RP
53655c45e8 hooks/xbps-metadata-scripts: add support for system_accounts=foo:uid. 2014-07-30 11:09:51 +02:00
Dominik Honnef
f045d01cd6 New package: openjpeg2-2.1.0
This is version 2.x of openjpeg – as the soname is libopenjpeg2, and
most other distributions package it as openjpeg2 as well, we'll call it
openjpeg2, instead of bumping the openjpeg package, which tracks the 1.x
release.
2014-07-30 00:04:17 +02:00
Juan RP
62d3fbb344 upower0: split libupower-glib.so.1 into its own subpkg. 2014-07-28 14:57:55 +02:00
Juan RP
5ddff3fa86 upower: split shlib into its subpkg. 2014-07-28 14:23:34 +02:00
Juan RP
c47530a7e5 libxkbcommon: update to 0.4.2; added -x11 subpkg. 2014-07-27 19:41:03 +02:00
Juan RP
af6ee5374e xbps-src: s/git/chroot-git/g 2014-07-27 16:29:18 +02:00
Juan RP
fa35d4557f ffmpeg: update to 2.3 (libavfilter soname bump). 2014-07-27 11:27:18 +02:00
Christian Neukirchen
b32df236e4 vconf: install to /etc, not /etc/${pkgname} 2014-07-26 17:10:10 +02:00
Christian Neukirchen
81d7ce46ac New package: libspiro-0.2 2014-07-26 16:44:18 +02:00
Juan RP
566c2b04c2 hooks/script-wrapper: create Magick-config wrapper. 2014-07-25 19:17:26 +02:00
Juan RP
d8316ad893 libsasl: update to 2.1.26 (soname bump). 2014-07-25 16:34:30 +02:00
Juan RP
1ef6ad461c Merge pull request #489 from RealJohnGalt/topic-git2
New package: MesaLib-git
2014-07-25 10:41:44 +02:00
John Galt
e42fbb78be New package: MesaLib-git 2014-07-25 01:37:07 -07:00
Juan RP
20e24b99d1 Merge pull request #484 from RealJohnGalt/topic-git
New package: llvm-git
2014-07-25 08:06:14 +02:00
John Galt
471d45df63 New package: llvm-git 2014-07-24 17:44:30 -07:00
Juan RP
8cefd7e1cc xbps-src: make sure to re-read template for build options.
The issue was that when building dependencies of target pkg, the
template wasn't re-read with defined build options and those were
completely ignored.
2014-07-24 18:40:52 +02:00
Juan RP
ad48dcebae xen4.2: removed; I don't want to deal with additional patches...
Get a 64bit CPU and run Xen >= 4.4 instead.
2014-07-24 15:48:28 +02:00
Juan RP
0511998f2e ImageMagick: update to 6.8.9-5 (soname bump) and enable OpenCL support. 2014-07-23 16:31:41 +02:00
Juan RP
c49e01fc15 xbps-src: make it possible to override the subpackages list via ${subpackages}.
This overrides the automatic list generated by xbps-src and it's overridable
to change the processing order of subpackages.
2014-07-23 15:44:36 +02:00
Juan RP
99d8ab648e hooks/gen-pkg: keep provides for 32bit conversion before creating -dbg subpkgs. 2014-07-23 15:23:18 +02:00
Juan RP
49133f9b62 hooks/gen-pkg: use local vars for 32bit provides conversion. 2014-07-23 15:19:16 +02:00
Juan RP
00040a63fa hooks/gen-pkg: convert provides for 32bit pkgs. 2014-07-23 13:07:46 +02:00
Juan RP
a29e0f1f9d hooks/prepare-32bit: fix shlib-provides detection for subpkgs. 2014-07-23 12:54:37 +02:00
Juan RP
1ad8dcfbd9 util-linux: update to 2.25. 2014-07-22 15:50:19 +02:00
Juan RP
1bc5dfa3c4 hooks/script-wrapper: create a workable cups-config wrapper to fix gtk+ cross build. 2014-07-22 08:51:27 +02:00
Christian Neukirchen
faa764fb59 ruby: update to 2.1.2.
This revamps and simplifies the ruby template.
ruby now subsumes ruby-rdoc, ruby-irb and ruby-gems.
ruby-ri stays separate because of size, but has an exact dependency.

Added patches for LibreSSL (removal of RAND_egd) and libffi detection.
2014-07-21 20:49:39 +02:00
Juan RP
f6c46a3c99 hooks/post-install/prepare-32bit: fix rdep conversion with subpkgs.
If a required dependency is a subpackage and it does not contain shlib-provides,
do not convert to 32bit.

This fixes the issue of gtk+-32bit requiring gtk-update-icon-cache-32bit,
which was simply wrong because the latter does not provide any shlib.
2014-07-20 11:18:21 +02:00
Juan RP
e372fcc6e0 xbps-src: fix pkg options parsing in package names containing dashes.
When using per-pkg options via etc/conf, all dashes should be replaced by
underscores, i.e:

	XBPS_PKG_OPTIONS_xorg_server=opt,~opt2
2014-07-19 10:39:22 +02:00
Juan RP
b65d0ce4c3 glamor-egl: removed; superseded by xorg-server-1.16. 2014-07-18 13:39:43 +02:00
Juan RP
3db3e2ec86 xorg-server: merge -wrapper; does not do any harm if it's always there. 2014-07-17 20:09:55 +02:00
Christian Neukirchen
45657b3394 New package: libfakekey-0.1 2014-07-17 19:43:35 +02:00
Christian Neukirchen
fb96a25cfc add vconf helper to install in /etc 2014-07-17 19:43:32 +02:00
Juan RP
3a5373950e New package: libepoxy-1.2. 2014-07-17 17:59:14 +02:00
Juan RP
9067c2e4f7 xbps-src: xbps-src-doextract: change cwd to wrksrc for post_extract(). 2014-07-17 15:54:37 +02:00
Enno Boland
cfe623bc39 New package: libndp-1.3 2014-07-17 13:01:28 +02:00
Enno Boland
d82d933ffd New package: geis-2.2.16 2014-07-17 08:37:44 +02:00
Enno Boland
3ee3900ab6 New package: frame-2.5.0 2014-07-17 08:37:44 +02:00
Juan RP
c85c3042b2 libgit2: update to 0.21.0. 2014-07-15 18:27:22 +02:00
Juan RP
d44c0a6d44 gst-plugins-bad: switch to libressl. 2014-07-15 17:11:54 +02:00
Christian Neukirchen
29ff4483e3 New package: sox-14.4.1 2014-07-14 20:10:09 +02:00
Juan RP
67358807ea xbps-src: chroot: remove xbps conf remote repos with -N. 2014-07-14 12:28:08 +02:00
Juan RP
6a2974bd3c opusfile: update to 0.6. 2014-07-14 10:20:58 +02:00
Juan RP
95adbd6586 libressl: update to 2.0.1. 2014-07-14 08:26:11 +02:00
Christian Neukirchen
011a85a949 common/shlibs: add libFLAC++ 2014-07-12 21:55:17 +02:00
Juan RP
3386b0666f rc: move option descriptions to common/options.description.
Also the readline and libedit options are mutually exclusive, so you cannot
enable both at the same time. If one is enabled the other is disabled.
2014-07-12 18:15:29 +02:00
Juan RP
805fc50cf0 New build_style: "fetch" to only fetch files and copy them to ${wrksrc}.
This is based on the first approach by chneukirchen.
2014-07-12 17:44:54 +02:00
Juan RP
407a882b1a xbps-src/xbps-src-doextract: if build_style declares do_extract(), use it rather than hooks. 2014-07-12 17:44:54 +02:00
Juan RP
85a0d8034e hooks/uncompress-manpages: make it less verbose. 2014-07-12 17:10:40 +02:00
Juan RP
adace6585e Use the third field in common/shlibs to skip checks in soname bumps.
Any value can be used in this field, but as reference I've used "ignore".
2014-07-12 17:06:25 +02:00
Juan RP
758ea97981 xbps-src: fix -o in chroot (reported by al3hex). 2014-07-12 15:56:40 +02:00
Enno Boland
ebf2972d27 New package: portmidi-217 2014-07-12 02:14:49 +02:00
Juan RP
213069a606 New package: libressl-2.0.0. 2014-07-11 20:25:41 +02:00
Christian Neukirchen
ee222dff65 New package: ghc-bin-7.8.2 2014-07-09 20:03:06 +02:00
Christian Neukirchen
729f378f5d New package: jq-1.4 2014-07-08 22:27:17 +02:00
Juan RP
719de35774 xbps-src: print some more details if installation of cross pkgs fails. 2014-07-08 15:09:21 +02:00
Dominik Honnef
eebaa8b0c7 New package: girara-0.2.2 2014-07-08 13:31:42 +02:00
Christian Neukirchen
5d411d5e70 New package: id3lib-3.8.3 2014-07-07 23:27:47 +02:00
Christian Neukirchen
ce79d978a8 libnet-snmp: forgot shlib libsnmp.so.30 2014-07-07 23:27:45 +02:00
Christian Neukirchen
825d751b03 new hook: post-install/00-uncompress-manpages.sh 2014-07-07 23:27:44 +02:00
Dominik Honnef
89b6aac74a vman: respect target name even if it doesn't contain language code 2014-07-06 23:15:30 +02:00
Juan RP
4d55b696c3 xbps-src: chroot_init: do not propagate XBPS_MASTERDIR to the generated xbps-src.conf.
Fixes Ypnose issue where he has XBPS_MASTERDIR set in `etc/conf`.
2014-07-05 16:12:14 +02:00
Dominik Honnef
94556b367f change vman helper to automatically detect section
Given a filename like "foo.1" or "foo.fr.1", it is possible to calculate
the correct directory to install to, without requiring the user to
specify it.

Suggested-by: Christian Neukirchen <chneukirchen@gmail.com>
2014-07-04 16:55:04 +02:00
Dominik Honnef
d7b66721b6 add vbin, vman, vdoc, vsconf and vlicense helpers 2014-07-04 08:03:36 +02:00
Juan RP
45582abb4d exiv2: update to 0.24 (soname bump). 2014-07-03 15:18:51 +02:00
Juan RP
a060591ca0 v4l-utils: update to 1.2.1. 2014-07-03 12:50:37 +02:00
Juan RP
09cf6aa794 netpbm: create lib and devel subpkgs; use our CFLAGS; use hostmakedepends. 2014-07-02 14:47:38 +02:00
Juan RP
e5c297ee80 tidy: fix -devel: set rdeps, move .so symlink. 2014-07-02 14:18:07 +02:00
Juan RP
aee9d60bec xbps-src: document xbps-install(8) ENXIO rval. 2014-07-02 11:09:41 +02:00
Juan RP
71f0a912ef xbps-src: chroot.sh: XBPS_CONFIG_FILE could be unset, handle it. 2014-07-01 18:47:39 +02:00
Juan RP
6c5c1eb060 Added default void RSA pubkey to avoid interactivity in binary-bootstrap. 2014-07-01 18:44:38 +02:00
Juan RP
ff00dc5448 xbps-src: destroy <masterdir>/tmp before entering the chroot. 2014-07-01 15:07:01 +02:00
Juan RP
e64f3d8a95 xbps-src: make sure XBPS_CONFIG_FILE is set. 2014-07-01 13:15:52 +02:00
Juan RP
c06d1e4d85 xbps-src: partial revert of 871d2fa87.
We can't pass XBPS_OPTIONS to xbps-uchroot(8) as is.
2014-07-01 11:04:34 +02:00
Juan RP
871d2fa873 xbps-src: added -G to enable XBPS_USE_GIT_REVS. 2014-07-01 10:33:54 +02:00
Juan RP
67947330cc xbps-src: set XBPS_HOSTDIR correctly for chroot ops. 2014-06-30 12:03:56 +02:00
Juan RP
a5e726c4ec xbps-src: copy XBPS_* settings from etc/conf only if the file exists. 2014-06-30 11:52:52 +02:00
Juan RP
fe02622116 Switch to generic options.description all applicable pkgs. 2014-06-30 11:48:00 +02:00
Juan RP
9d34c36e0a Implemented support for permanent pkg build options (globally or per-pkg).
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.

Close GH #452.
2014-06-30 11:32:07 +02:00
Alessio Sergi
01e6bc866f telepathy-farstream: revbump (soname bump)
Remove obsolete shlibs.
2014-06-27 13:43:28 +02:00
Juan RP
cf49b68c09 hooks/generate-gitrevs: simplify and just use "sourcepkg:gitshortrev".
Previous way was way too slow and somewhat redundant. Just with the
latest git short rev is enough to know at what point a pkg was built.
2014-06-27 12:00:24 +02:00
Juan RP
a10eb89855 hooks: enable script-wrapper also in pre-install, some pkgs might need this. 2014-06-26 22:39:43 +02:00
Juan RP
6fe802d0c4 hooks/script-wrapper: create taglib-config wrapper. 2014-06-26 10:07:59 +02:00
Juan RP
fdf825f724 hooks/script-wrapper: create krb5-config and mysql_config wrappers. 2014-06-26 10:04:17 +02:00
Juan RP
4316138685 hooks/script-wrapper: create xmlrpc-c-config wrapper. 2014-06-25 09:29:25 +02:00
Juan RP
5f59f7ec3e hooks/script-wrapper: create curl-config wrapper. 2014-06-25 09:01:51 +02:00
Juan RP
90d3e1230c hooks/script-wrapper: create xml2-config wrapper. 2014-06-25 08:54:41 +02:00
Juan RP
145134ebbf New package: xmlrpc-c-1.25.28. 2014-06-25 08:46:48 +02:00