Commit graph

164 commits

Author SHA1 Message Date
Juan RP
9963231e31 xbps-src: only set --{build,host} if build_style is unset or gnu-configure. 2014-11-12 09:16:54 +01:00
Juan RP
9a168e4463 xbps-src: introduce XBPS_TRIPLET and set it in the build-profiles.
This is for cases where host does not match build environment (x86_64 building for x86).
So we just force build/host triplet in native builds.
2014-11-11 22:24:40 +01:00
Juan RP
4709ea9187 env/setup-subpkg: also unset "reverts". 2014-11-07 17:45:01 +01:00
Christian Neukirchen
4015ecf3c1 xbps-src: add update_* to common/environment/setup/sourcepkg.sh 2014-11-07 16:03:52 +01:00
Juan RP
97a5e16fab xbps-src: make "repository" per srcpkg, i.e don't override it for subpkgs. 2014-11-07 11:35:53 +01:00
Enno Boland
bf9ea156d8 move "repository" variable from environment/setup to environment/setup-subpkg 2014-11-05 14:15:25 +01:00
Enno Boland
59cc3e0d45 replace nonfree=yes with repository=nonfree.
This way it is possible to set up package specific repositories for
i.e. specific devices.
2014-11-05 14:15:25 +01:00
Juan RP
29fd09339a env/setup/install: use chmod 755 for runit scripts. 2014-11-03 17:03:27 +01:00
Juan RP
d4025450ae xbps-src: vsv: take into account log service too. 2014-10-13 13:02:04 +02:00
Juan RP
b700bf40e4 xbps-src: vsv: chmod +x run/finish scripts; create supervise symlink. 2014-10-13 12:37:33 +02:00
Enno Boland
33fd83f6be common/environment/setup: add vsv command to add runit services. 2014-10-13 11:12:05 +02:00
Juan RP
d9ff56e873 common/environment/setup/sourcepkg.sh: unset do_clean() too. 2014-10-11 10:19:16 +02:00
Juan RP
b2976da1c8 xbps-src: use "disable_debug" to disable -dbg subpkg creation. 2014-10-11 09:57:27 +02:00
Juan RP
3b6b9eb774 environment/setup: added reverts var (hi @Gottox) 2014-09-30 06:22:11 +02:00
Juan RP
f7146ea652 environment/pkg-config: unset PKG_CONFIG; find it via PATH instead.
... otherwise some pkgs fail to build due to host vs target (gtk+3).
2014-09-28 08:01:18 +02:00
Juan RP
8ddf256957 xbps-src: set PKG_CONFIG env var to the triplet-pkg-config wrapper. 2014-09-26 12:07:23 +02:00
Juan RP
535117078c xbps-src: create a <cross-target>-pkg-config wrapper when cross compiling.
This wrapper sets the env vars required for proper cross compiling, rather
than always setting them.
2014-09-25 14:38:16 +02:00
Juan RP
cc4a8b9597 environment/configure: override some more funcs. 2014-09-17 03:49:27 +02:00
Alessio Sergi
6f171bcd2f Add PyPI to master sites 2014-09-10 23:52:34 +02:00
Juan RP
289bc58776 xbps-src: added support to append additional shlibs to shlib-{provides,requires}. 2014-09-10 11:23:33 +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
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
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
108a6d3fac xbps-src: introduce "nocross" to not allow cross compilation. 2014-08-21 12:07:44 +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
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
50ee22fe0a environment/setup: remove obsolete shell snippet. 2014-06-20 09:26:41 +02:00
Juan RP
ac91238431 xbps-src: added "pycompile_version" to specify python version used in the pycompile trigger. 2014-06-18 11:31:32 +02:00
Juan RP
4a941c6dce environment/gnu-configure-args: only set --libdir if build_style unset or gnu-configure. 2014-06-11 09:24:44 +02:00
Juan RP
8b30d9d657 xbps-src: make "nonfree" shared by the main pkg and its subpkgs. 2014-06-09 12:07:44 +02:00
Juan RP
1b4e6ecaac xbps-src: added support for the "tags" variable and require xbps>=0.37. 2014-06-06 20:51:47 +02:00
Enno Boland
2415b98064 common/build_style: adding python_versions variable
This variable contains the versions of python for which this packages
will be built. Multiple versions can be seperated by whitespace.
2014-05-01 16:07:07 +02:00
Juan RP
6db4f4a209 common/environment: move some linux defs to common-linux, for musl. 2014-04-26 00:25:37 +02:00
Juan RP
77451b1845 Use --libdir=/usr/lib32 on x86 and create/remove the symlink via hooks.
This is to make all pkgs that use ${configure_args} work without changes
to the templates on x86_64.
2014-04-05 11:52:22 +02:00
Juan RP
576b865cf4 Update for xbps>=0.35 which contains xbps-uchroot.
That means that the Makefile and xbps-src generated files are not required
anymore, and the xbps-src script can be used as is.

Bump xbps requirement to 0.35 and enable XBPS_INSTALL_ARGS by default.
2014-04-01 11:29:21 +02:00
Juan RP
2bc0162208 environment/setup: require xbps-src >= 112. 2014-03-19 09:06:04 +01:00
Juan RP
0026342862 Infrastructure changes to allow unsetting template vars/funcs.
xbps-src-112 does not unset those vars/funcs anymore, so it's a work
that must be done via common/environment/setup{,-subpkg}.
2014-03-19 09:03:21 +01:00
Juan RP
083012db40 environment/configure: append cross gnu-configure args to configure_args even if build_style isn't set. 2014-03-11 19:14:19 +01:00
Juan RP
9b4fc0c2d5 common/environment: require xbps-src >= 110 and xbps >= 0.33. 2014-03-11 11:15:15 +01:00
Juan RP
7a9b2552f9 common/environment: add configure cache overrides for socat. 2014-03-10 11:31:23 +01:00
Juan RP
8e2b6811c1 common/environment/configure: only set up cross --host/--sysroot vars for build_style=gnu-configure. 2014-03-05 12:01:49 +01:00
Juan RP
00f2680291 common/environment: override wcwidth_broken autoconf test. 2014-02-27 15:16:26 +01:00
Juan RP
9314bae3ef common/environment: override some configure vars for bash. 2014-02-27 07:13:10 +01:00
Juan RP
b1db0ccf08 configure/autoconf_cache: switch ac_cv_sizeof_off_t to 8 on 32bit platforms.
We'll assume that all code is compiled with _FILE_OFFSET_BITS=64...
2014-02-21 17:19:23 +01:00
Juan RP
5793380e1f autoconf_cache/common-linux: override ac_cv_file__dev_ptmx. 2014-02-18 09:20:10 +01:00
Juan RP
837c4c21fb environment/configure: added autoconf cache vars for varnish. 2014-02-16 11:21:06 +01:00
Juan RP
09703ae245 environment/configure/gnu-configure-args.sh: also use common-linux for glibc. 2014-02-14 14:37:18 +01:00
Juan RP
445d610a19 Require xbps-src>=103 (hint: 'xbps-src bootstrap-update' is your friend). 2014-02-12 14:37:26 +01:00
Juan RP
d93531f326 common/environment: create dummy files for all dirs to not remove them. 2014-02-11 18:22:46 +01:00
Juan RP
081ff484c0 Require xbps-src>=101. 2014-02-11 11:42:32 +01:00
Juan RP
0c5b36027d common/environment: create dummy files to add required dirs. 2014-02-11 11:29:30 +01:00
Juan RP
16ed344975 Update environment shell snippets for xbps-src>=101. 2014-02-11 11:09:16 +01:00
Juan RP
251489067f common/environment/autoconf_cache: override c_cv_sizeof_struct_iovec. 2014-02-10 10:12:19 +01:00
Juan RP
6217ab55af common/environment/0002-cross.sh: only export autoconf cache vars for supported build styles. 2014-02-09 10:57:26 +01:00
Juan RP
69c6729620 autoconf_cache/common-glibc: override ac_cv_func_working_mktime. 2014-02-04 17:24:44 +01:00
Juan RP
df63dde740 autoconf_cache/common-glibc: override ac_cv_func_strtod. 2014-02-04 17:16:00 +01:00
Juan RP
7a2274f404 autoconf_cache/common-glibc: override ac_cv_func_chown_works. 2014-02-04 17:11:06 +01:00
Juan RP
5e9bcce860 autoconf_cache/common-glibc: override ac_cv_func_{fork{,_works},strdup}. 2014-02-04 17:07:44 +01:00
Juan RP
4363e661d5 Import a bunch of files from OpenEmbedded to setup some autoconf cache vars. 2014-02-04 16:48:49 +01:00
Juan RP
6b8b12f123 environment/0002-cross.sh: only pass cross configure_args in some cases. 2014-01-28 17:50:55 +01:00
Juan RP
f0584130c3 Require xbps-src >= 100. 2014-01-28 13:13:34 +01:00
Juan RP
9b3f5617f4 Update infrastructure for xbps-src >= 100. 2014-01-28 13:07:02 +01:00