Commit graph

1264 commits

Author SHA1 Message Date
Juan RP
75b6468fa0 Introduce a way to override dependencies for all pkgs thru a file.
The `etc/defaults.virtual` file contains the default replacement
for our use cases; at this moment we only use it to use `eudev`
rather than `systemd` for udev.

If `etc/virtual` exists it overrides the settings of `etc/defaults.virtual`.
2014-09-06 12:43:24 +02:00
Dominik Honnef
191c1eaf51 add vopt_conflict helper
vopt_conflict prints an error and exits if two options are set at the
same time.
2014-09-05 16:57:47 +02:00
Dominik Honnef
62b3c65d77 tidy up vopt helpers 2014-09-05 16:42:34 +02:00
Juan RP
ad79b8e7e2 Revert "xbps-src: when all deps have been processed exit directly."
This reverts commit 9bf1ba5f88.

I still think the behaviour I observed was related to something else.
2014-09-05 12:57:15 +02:00
Juan RP
13c2ca3bd2 xbps-src: reorganize code in more sections. 2014-09-05 11:10:07 +02:00
John Galt
dfb7a0419c MesaLib-git: build with --disable-gallium-egl @xtraeme
As suggested by wayland. This option also disables libOpenVG, so remove
it completely.
2014-09-04 11:39:14 -07:00
Juan RP
d0a258ac63 MesaLib: build with --disable-gallium-egl as suggested by wayland.
This option also disables libOpenVG, so remove it completely.
2014-09-05 01:23:54 +02:00
Juan RP
843b5d5afb common/shlibs: bump device-mapper version: new symbols have appeared. 2014-09-05 00:35:19 +02:00
Juan RP
c7d055d213 New package: libucl-0.5.2. 2014-09-03 09:41:42 +02:00
Dominik Honnef
090ec92d5f gnucash: update to 2.6.3, restructure packages 2014-09-02 14:36:04 +02:00
Christian Neukirchen
99b94afd27 New package: openjdk-8u20 2014-09-02 00:45:40 +02:00
Juan RP
eb6d8422b5 New package: atril-1.8.0. 2014-09-01 20:41:08 +02:00
Juan RP
f105df15eb libcanberra: split stuff into -utils, -gtk and -gtk3 to avoid extra rdeps. 2014-09-01 15:22:12 +02:00
Alessio Sergi
edcf1c3e07 New package: lz4-122
Extremely fast compression algorithm.
2014-09-01 01:13:41 +02:00
Christian Neukirchen
c8e1a2ba15 mate-control-center: update common/shlibs 2014-08-31 23:44:27 +02:00
Juan RP
e232c0873b New package: mate-panel-1.8.0. 2014-08-31 19:56:31 +02:00
Juan RP
db2ce5400d New package: libmateweather-1.8.0. 2014-08-31 19:46:04 +02:00
Juan RP
642a6b65e4 New package: mate-control-center-1.8.1. 2014-08-31 19:33:02 +02:00
Juan RP
4de4f02701 New package: mate-session-manager-1.8.1. 2014-08-31 19:16:56 +02:00
Juan RP
60fae50292 New package: libmatekbd-1.8.0. 2014-08-31 18:43:43 +02:00
Juan RP
3cb10b3770 New package: caja-1.8.1. 2014-08-31 18:29:47 +02:00
Juan RP
76738b399c New package: mate-menus-1.8.0. 2014-08-31 18:12:28 +02:00
Juan RP
b9aaaf6102 New package: marco-1.8.0. 2014-08-31 17:57:08 +02:00
Juan RP
c853daf569 mate-polkit: remove lib; it's not too useful. 2014-08-31 17:33:55 +02:00
Juan RP
0016f5cb1f New package: mate-desktop-1.8.0. 2014-08-31 17:32:32 +02:00
Juan RP
0051e09fb1 New package: mate-polkit-1.8.0. 2014-08-31 17:09:46 +02:00
Juan RP
2f07dc8532 lxdm: add consolekit build option (on). 2014-08-31 15:40:54 +02:00
Juan RP
9bf1ba5f88 xbps-src: when all deps have been processed exit directly. 2014-08-30 20:45:57 +02:00
Christian Neukirchen
be2187270a New package: cinnamon-menus-2.2.0 2014-08-30 20:10:23 +02:00
Juan RP
58707d3733 libmng: update to 2.0.2 (soname bump). 2014-08-30 10:41:17 +02:00
Juan RP
6d20b9a05a xbps-src: move vopt_* helpers to environment/setup/options.sh. 2014-08-30 09:10:11 +02:00
Juan RP
790202ddbd xbps-src: move helpers to environment; there's no need to have them.
Those helpers were just setting up some extra functions that can be used
on templates, and this can be done already via environment, so let's remove
the helpers completely.
2014-08-30 09:01:29 +02:00
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