Jürgen Buchmüller
c459dade15
gcc: add support for SOURCE_DATE_EPOCH environment
...
+ Create symlinks from gcc/patches/libcpp-source_date_epoch.patch to cross-*/files/
+ Make all the _apply_patch() functions the same
2016-03-08 13:49:52 +01:00
Enno Boland
d84d62940d
common/environment: check if package is under version control.
...
only use git commit date for SOURCE_DATE_EPOCH if the template is under version
control. Fall back to templates mtime if it's not managed by git.
2016-03-06 13:07:10 +01:00
Enno Boland
d285f4dcdb
common/environment: only load git commit date when in chroot.
2016-03-02 07:47:35 +01:00
Enno Boland
b5e49c48e7
common: replace XBPS_COMMIT_TIMESTAMP by SOURCE_DATE_EPOCH
...
This way we are compatible to the Debians proposal. See [1].
[1] https://gcc.gnu.org/ml/gcc-patches/2015-06/msg02210.html
2016-03-01 18:27:49 +01:00
Enno Boland
3c04642877
environment/build: overwrite __DATE__, __TIME__, and __TIMESTAMP__ macros.
...
This commit overwrites timestamps that depend on timestamps with the
commit date of a package.
2016-03-01 15:33:09 +01:00
Enno Boland
144a59a796
srcpkgs: fix MOZILLA_SITE update checks.
2016-02-12 00:50:34 +01:00
Juan RP
917024dd19
Merge pull request #2998 from Gottox/no-force_debug_pkgs
...
common/xbps-src: remove force_debug_pkgs variable
2015-11-17 16:54:10 +01:00
Juan RP
3fdad91bf9
xbps-src: make 'build_pie' the default; use 'nopie' to disable it.
...
Discussed with @chneukirchen.
2015-11-17 16:47:19 +01:00
Enno Boland
c7f2f9840f
common/xbps-src: remove force_debug_pkgs variable
2015-11-17 15:36:51 +01:00
Christian Neukirchen
5093d6b0c1
New build_style haskell-stack.
2015-09-14 16:13:13 +02:00
Juan RP
bcdacb66a0
xbps-src: replace basename(1) with ${var##*/}.
...
Reduce number of fork+exec due to using a subshell to execute basename(1).
2015-09-11 07:55:40 +02:00
Juan RP
279ead0999
xbps-src: added XBPS_ALLOW_RESTRICTED conf option for restricted pkgs.
...
Such packages should set the `restricted' var to allow building a binary package.
Note that such packages do not allow redistribution of sources and binaries,
so that it's up to the user if (s)he wants to pkg it locally.
2015-07-26 10:22:35 +02:00
Juan RP
db0f20706d
env/setup/misc: switch GNU_SITE to http://ftp.gnu.org .
2015-06-25 07:06:25 +02:00
jbu
17107adbca
vopt_enable: check for excess parameters
2015-06-20 10:08:44 +02:00
Juan RP
9870868948
xbps-src: added "build_pie" var to build PIE binaries.
2015-03-04 17:00:19 +01:00
Juan RP
da68a7b63f
xbps-src: reverts is now propagated to subpkgs.
2015-01-18 19:34:20 +01:00
Eivind Uggedal
3b7a76512d
update_check.sh: use external update file for overrides
2015-01-15 11:16:30 +00:00
Juan RP
f917bf259a
environment/setup: fix vmove with pkgs that use a var named "f".
2014-11-30 21:17:52 +01:00
Eivind Uggedal
154c5cd605
update_check.sh: support for update_version (upstream version).
2014-11-24 14:57:41 +00:00
Juan RP
8ade12549f
xbps-src: rename disable_debug to nodebug, to follow our naming convention.
2014-11-16 11:52:36 +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
Alessio Sergi
6f171bcd2f
Add PyPI to master sites
2014-09-10 23:52:34 +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
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
8b30d9d657
xbps-src: make "nonfree" shared by the main pkg and its subpkgs.
2014-06-09 12:07:44 +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
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
9b4fc0c2d5
common/environment: require xbps-src >= 110 and xbps >= 0.33.
2014-03-11 11:15:15 +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
16ed344975
Update environment shell snippets for xbps-src>=101.
2014-02-11 11:09:16 +01:00