Commit graph

72 commits

Author SHA1 Message Date
Đoàn Trần Công Danh
32e2827145 wrapper: valac: pass --vapidir after real arguments
Due to constant change in vala, some projects includes some old and
pre-generated vapi in their source tree and uses that version
instead of system one.

Pass system vapidir after real arguments in order to prefer its bundled
vapi.
2021-01-24 12:45:14 +07:00
Đoàn Trần Công Danh
6547bbb473 freetype: clean XBPS_CROSS_TRIPLET reference in freetype-config
* $XBPS_CROSS_TRIPLET-pkg-config is our wrapper not a real executable
* In a build that have both freetype-config and pkg-config,
  $XBPS_CROSS_BASE will be prepended twice with current system,
  let's fix it.
2021-01-05 06:41:36 +07:00
Đ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
Đ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
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
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
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
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
e02a68f524 hooks/pre-configure/02-script-wrapper.sh: add wrapper for install(1) to prevent stripping. 2015-04-01 14:11:20 +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
Juan RP
0e42bf442e hooks/script-wrapper: multiple run protection. 2015-01-14 11:31:52 +01:00
Juan RP
86df9de56b hooks/script-wrapper: create a fox-config wrapper. 2015-01-12 09:18:53 +01:00
Juan RP
10454449cd hooks/script-wrapper: fix python-wrapper and update PATH. 2014-12-19 11:01:15 +01:00
Juan RP
9b3c55b8a3 hooks/script-wrapper: use XBPS_WRAPPERDIR. 2014-12-19 10:54:48 +01:00
Juan RP
3540a97b45 hooks/script-wrapper: create proper x{ml2,slt}-config cross wrappers. 2014-11-19 07:31:30 +01:00
Juan RP
e8358f26b1 hooks/script-wrapper: also create a ncursesw5-config cross wrapper. 2014-11-16 19:59:50 +01:00
Juan RP
c85d5db336 hooks/script-wrapper: create a fltk-config cross wrapper. 2014-11-16 08:48:38 +01:00
Juan RP
def9cee898 hooks/script-wrapper: create libmikmod-config wrapper. 2014-10-12 09:16:02 +02:00
Juan RP
c48d5ce913 hooks/script-wrapper: fix generated cups-config wrapper.
This was changing cups_serverbin to the cross toolchain sysroot
and caused cups-filters to install bins to this path.
2014-09-28 07:47:14 +02:00
Juan RP
6ab69ef143 xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper.
...otherwise the envvars for cross compilation won't be set and
lots of packages are broken.
2014-09-27 04:57:20 +02:00