Commit Graph

87 Commits

Author SHA1 Message Date
Đoàn Trần Công Danh ca8b0789b9 wrapper: bring valac and vapigen to current version
Current wrappers hard-coded them at 0.42 which is very long ago.
Hence, those wrappers insert a versioned vapidir that no longer exists.
The build still work because valac will look into host's versioned vapidir
instead.

Let's check the version we're having and wrap that instead of changing
the hard-coded number from time to time.
2020-11-26 20:57:52 +07:00
Andrew J. Hesford e590822d93 python3: update to 3.9.0. 2020-10-10 10:21:09 -04:00
Piotr Wójcik 6efc7dd98d xbps-src: quote wrksrc to allow whitespace 2020-09-03 21:03:32 +02:00
Đoàn Trần Công Danh 74f0186fd9 common/wrapper: python*-config: answer --includes
We haven't run into trouble with this because most configure script
check if $PYTHON-config exist,
thus force packager uses /usr/bin/python{,3}
2020-07-04 22:22:10 +07:00
John 953f4b47a9
xbps-src/common: add option to disable generic pkg-config link
closes #21728
2020-05-26 21:21:23 +02:00
q66 1fdd919d3b 02-script-wrapper: preserve original timestamps of wrapper scripts
At least since 0.53, the meson buildsystem checks whether the
"date" command's file is outdated and if it is, it'll trigger
regeneration of the build files.

Since the wrappers are reinstalled from scratch on every build step,
this would result in meson being re-run on each of those steps.
Which resulted in broken builds in some projects (e.g. efl) since
our meson build-style by default uses LTO and that requires the AR
environment variable being exported in a specific way, which was
only being done for the do_configure step but not build/install,
which resulted in meson being run with one env for configure and
another env for build, which broke everything.
2020-03-02 00:58:35 +01:00
Jürgen Buchmüller a32b6efd23 02-script-wrapper: add wrappers for ap{r,u}-1-config 2020-01-31 20:28:15 +01:00
q66 80b96a0ea0 common: better location for config.{sub,guess} + update 2019-11-18 20:36:27 +01:00
John 0108c2a60e common/02-script-wrapper.sh: add generic_wrapper2 gdal-config 2019-05-12 20:21:26 +02:00
maxice8 3d372ddc32 02-script-wrapper.sh: avoid useless use of echo
Co-authored-by: duncaen <duncaen@voidlinux.org>
2019-04-15 12:18:00 -03:00
maxice8 f638b4e04f xbps-src: add valac wrapper
Projects like zeitgeist and gtksourceview4 need it
2019-02-06 20:13:27 -02:00
maxice8 fbb17f5cda
xbps-src: make vapigen_wrapper install vapigen-0.42 2019-02-05 23:19:27 -02:00
maxice8 1c1490217a xbps-src: Add wrapper for vapigen on cross 2019-02-05 19:43:56 -02:00
Helmut Pozimski ee4e6ad061 02-script-wrapper.sh: add wx-config-gtk3 for the generic_wrapper 2018-09-10 14:43:09 +02:00
newbluemoon 05fb5e4ad7 common/hooks/pre-configure: fix python3 wrapper [skip ci] (#1005) 2018-08-21 19:33:52 +02:00
newbluemoon e8842e10d7 wxWidgets: fix cross compilation
xbps-src: add wx-config to 02-script-wrapper.sh
2017-12-16 01:48:46 +01:00
Jürgen Buchmüller 9fbeba39f1 compiler wrapper: add ccache or distcc prefix (#4575)
Closes #4574
2016-08-08 08:37:06 +02:00
Enno Boland 3db4efd013 hooks/pre-configure: do not set configure_script outside of build_style.
fixes #4201.
2016-05-16 20:38:09 +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
Jürgen Buchmüller 8ce51e70cf timestamp-macros: fix creation and add cleanup
As described in #3765
2016-03-07 09:46:34 +01:00
Christian Neukirchen 150c0b11b3 hooks/pre-configure/00-gnu-configure-asneeded.sh: don't error on $configure_script with spaces. 2016-02-05 12:10:46 +01:00
Juan RP aafe90e3c4 xbps-src/hooks: create a giblib-config wrapper for cross.
Required by scrot and probably others (#3464).
2016-01-26 07:46:00 +01:00
Enno Boland d8f7d1a8d6 common/hooks/pre-configure: fix script wrapper pkgconfig paths. 2016-01-21 00:07:05 +01:00
Juan RP c373ae50d4 xbps-src: get rid of 'broken_as_needed'; not used anymore. 2015-11-28 09:24:01 +01:00
Juan RP bd165ccdf6 wrappers: rename cc to cross-cc to clarify it's used only in cross mode. 2015-10-25 11:03:16 +01:00
Juan RP b7d05057f9 xbps-src: create a cc/g++ wrapper to drop -I/usr/include -L/usr/lib in cross.
I'm tired of wasting extra time to fix software to remove standard include/lib dirs.
2015-10-23 11:56:30 +02:00
Enno Boland 66cdb281f1 hooks/pre-configure: don't overwrite PKG_CONFIG_* vars in the wrapper.
This may have side effects do other packages but it was needed to fix
gnome-online-accounts for cross build. goa ships a subproject that uses
this vars to link against it. This commit changes the pkg-config that it
preserves values in PKG_CONFIG_* if set.
2015-10-13 15:01:32 +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
Christian Neukirchen eaa6ab4b81 pre-configure/02-script-wrapper.sh: use generic_wrapper2 for nspr-config. 2015-06-24 14:08:56 +02:00
Christian Neukirchen 93853b06e5 pre-configure/02-script-wrapper.sh: taglib-config needs generic_wrapper2. 2015-06-10 13:51:38 +02:00
Juan RP 7fec5d6aac hooks/script-wrapper: fix generic_wrapper3: just replace prefix/libdir. 2015-06-08 08:01:59 +02:00
beefcurtains af3eea3a2c network-ups-tools: enable snmp module 2015-06-04 05:27:14 +00:00
Juan RP 58749959da xbps-src: create a nspr-config wrapper to unbreak mozjs24 cross and others. 2015-05-20 07:30:52 +02:00
Juan RP 1e340ceb79 hooks: activate override-config by default. 2015-05-18 09:33:39 +02:00
Juan RP ee7d319c73 hooks/musl-override-config: activate this for musl targets. 2015-05-12 22:58:24 +02:00
Juan RP 0ca0c67819 hooks/pre-configure: one hook to override config.{sub.guess} for musl is enough. 2015-05-12 22:53:33 +02:00
Juan RP 0be33d385a xbps-src: move wrappers to common/wrappers. 2015-04-21 10:48:30 +02:00
Juan RP 62a643d5c7 xbps-src: create a dummy ldconfig wrapper.
This fixes build/installation of some pkgs that exec ldconfig gratuitously
(ntfs-3g fails with musl due to this).
2015-04-21 10:29:58 +02:00
Juan RP 1f2eb30af2 hooks/script-wrapper: add pcre-config wrapper. 2015-04-13 14:14:23 +02:00
Christian Neukirchen 964c0e2b4e hooks/pre-configure/install-wrapper: also drop -o/-g, they break in xbps-uunshare environments. 2015-04-04 19:50:40 +02:00
Christian Neukirchen e02a68f524 hooks/pre-configure/02-script-wrapper.sh: add wrapper for install(1) to prevent stripping. 2015-04-01 14:11:20 +02:00
Christian Neukirchen 8f1abb9242 hooks/pre-configure/01-aarch64-override-config.sh: new hook. 2015-03-30 18:33:43 +02:00
Juan RP 64bbc33ca2 hooks/script-wrapper: create libetpan-config wrapper. 2015-03-30 08:33:00 +02:00
Juan RP b181f41497 hooks/script-wrapper: fix mysql_config and others. 2015-03-11 12:14:00 +01:00
Juan RP 7f5496db7f hooks/script-wrapper: fix ncurses5{,w}-config wrappers for alsa-utils. 2015-02-27 10:10:16 +01:00
Juan RP 336612fc24 hooks/script-wrapper: fix generic_wrapper2 --cflags. 2015-02-24 10:00:33 +01:00
Juan RP cb90b79acc hooks/script-wrapper: create a xapian-config wrapper. 2015-02-22 08:39:09 +01:00
Juan RP fa512a5109 hooks/script-wrapper: use generic_wrapper3 for libpng-config.
Fixes dillo cross compilation.
2015-02-11 15:11:15 +01:00
Juan RP c111653c6b hooks/script-wrapper: create libassuan-config wrapper. 2015-01-18 17:05:08 +01:00
Juan RP 8be6b7b103 hooks/script-wrapper: revert 0e42bf442e.
it's unnecessary and breaks cross compilation of gnome-ssh-askpass.
2015-01-14 14:28:19 +01:00