maxice8
5465d131f6
environment/setup/sourcepkg.sh: unset build_helper
2019-01-25 20:44:41 -02:00
maxice8
202b6a7b97
setup/sourcepkg.sh: unset fetch_cmd
2019-01-21 16:17:02 -02:00
maxice8
26eb17f941
setup/sourcepkg.sh: unset more variables that can be set by the template
2019-01-19 23:02:28 -02:00
maxice8
673504e524
meta: add vsed function
2019-01-16 17:25:46 -02:00
maxice8
c714d13f37
setup/install.sh: support bzipped (.bz2) manpages
2018-10-17 11:28:58 -03:00
Alessio Sergi
08408ed943
common/environment/setup/python.sh: always expose py{2,3}_* vars
...
Their values are static now, so remove the tests.
2018-09-15 01:49:45 +02:00
maxice8
e42406c070
setup/install.sh: transparently deal with gzipped manpages
...
[ci skip]
2018-08-12 04:21:46 -03:00
Piotr Wójcik
31097aca86
common/environment/fetch/misc.sh: use https for MOZILLA_SITE
...
Closes #14901 .
Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-06-05 09:17:45 +02:00
Duncaen
94ed33657b
Revert "common/: add support for changelog field."
...
This reverts commit 8599efd9fd
.
2018-05-04 16:46:46 +02:00
maxice8
daf68c6d59
rename vopt_onoff to vopt_bool which returns -D<prop>=true|false
...
This makes it more generic and allows us to use it freely between
cmake and meson build styles.
2018-05-04 10:56:26 +02:00
maxice8
8599efd9fd
common/: add support for changelog field.
...
This commits allows ./xbps-src show to show the changelog field and for
changelog to be included with the -c/--changelog option via xbps-create.
Closes : #14102 [via git-merge-pr]
2018-05-03 22:58:27 -04:00
Michael Carlberg
d5c58a3c60
xbps-src: new vopt_onoff helper
...
CMake helper function used to set bool argument values
Usage example:
configure_args+=" $(vopt_onoff logging WITH_LOGGING)"
configure_args+=" -DWITH_LOGGING=OFF"
2018-05-03 01:26:32 -04:00
maxice8
babcd991bc
common/environment/fetch/misc.sh: add KDE_SITE.
...
there are 272 occourences of download.kde.org/stable, to avoid
repetition add a KDE_SITE variable to be used instead.
2018-04-22 19:16:50 -04:00
Michael Gehring
b137c5393a
xbps-src: ensure GIT_CMD is invoked on the distdir
2018-03-14 15:47:56 +00:00
Michael Gehring
a4a229cf64
xbps-src: use HEAD commit time for SOURCE_DATE_EPOCH
...
In order to make builds more reproducible SOURCE_DATE_EPOCH was set to
the time of the last commit that touched the template. Since trying to
reproduce a build from a different revision is futile (the most obvious
reason is that the source-revisions property includes the HEAD commit
hash) and looking up the commit in question can take several seconds,
stop wasting time an just use HEAD.
Closes : #12314 [via git-merge-pr]
2018-03-14 12:58:36 +00:00
Alessio Sergi
7cac47c7d5
common/environment/setup/python.sh: hardcode values
2018-01-31 16:38:53 +01:00
Leah Neukirchen
986d4dbc7d
common/environment/setup/git.sh: ensure untracked files are checked.
2017-11-24 14:10:00 +01:00
Enno Boland
0d446641e7
build-style/gnu-configure.sh: use generic do_check function
2017-11-19 20:50:48 +01:00
Michael Gehring
a8b8efe636
common/environment/setup/sourcepkg.sh: unset {pre,do,post}_check, checkdepends
2017-11-18 14:24:12 +01:00
Leah Neukirchen
83909fc6b9
common/environment/setup/misc.sh: set CPAN_SITE to www.cpan.org.
...
cpan.perl.org is currently broken.
2017-08-19 17:29:05 +02:00
Toyam Cox
ef77435890
Merge pull request #6733 from The-Fred/xorg-to-https-and-new-url
...
xbps-src: use https and new url for XORG_SITE
2017-06-15 00:40:50 -04:00
The_Fred
6ec374fa2d
xbps-src: use https and new url for XORG_SITE
2017-06-14 21:11:32 -07:00
The_Fred
95bbfa6a6e
xbps-src: use https for FREEDESKTOP_SITE
2017-06-12 09:18:45 -07:00
Toyam Cox
2b19b7eb58
build_style/gnu-makefile: allow good makefiles
2017-04-25 16:20:59 -04:00
Alessio Sergi
49931349ed
xbps-src: use https for KERNEL_SITE
2017-03-09 13:51:18 +01:00
Jürgen Buchmüller
272114cd05
xbps-src: trying to fix FFLAGS construction
...
This still isn't perfect. When the common/xbps-src/shutils/chroot.sh
function chroot_init() is called, the value for $XBPS_FFLAGS, which is
defined in common/build-profiles/bootstrap.sh, is empty.
Put the immediate value into the generated /etc/xbps/xbps-src.conf
file until someone finds out where passing the value of $XBPS_FFLAGS
throughout the scripts is missing.
2017-03-08 17:36:22 +01:00
Alessio Sergi
29c37543cf
xbps-src: introduce python_version
2016-11-17 17:42:54 +01:00
Michael Gehring
f82da0a8f7
common/environment/setup/install.sh: quote filename in vinstall
...
Fixes #5011
2016-10-21 01:46:06 +02:00
Alessio Sergi
4e6576e7a4
xbps-src: add support for python3 pkgs
...
- python_module build style now builds modules for python2/3 by default
- new python2_module and python3_module build styles for building
python2-only and python3-only packages respectively
- no more python_versions
- no need to define pycompile_version for Python modules anymore
(still needed for non-Python modules though)
- Python version and paths are now guessed automatically and a set of
useful variables can now be used in templates
- #!/usr/bin/python2 and #!/usr/bin/python3 are now the default shebangs
- /usr/bin/foo2 and /usr/bin/foo3 are now the default names for bin
scripts (for use with alternatives)
2016-10-16 16:59:31 +02:00
Alessio Sergi
da4d9b7f23
xbps-src: PYPI_SITE: use files.pythonhosted.org for less redirections
2016-05-13 17:35:35 +02:00
Alessio Sergi
0be83d098d
xbps-src: switch PYPI_SITE to Warehouse (pypi.io)
2016-04-25 00:25:04 +02:00
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