On 11/1/19 7:11 PM, Carsten Haitzler (The Rasterman) wrote: > On Fri, 1 Nov 2019 07:39:13 +0100 Vincent Torri <[email protected]> > said: > >> On Fri, Nov 1, 2019 at 12:57 AM Carsten Haitzler <[email protected]> >> wrote: >>> >>> On Thu, 31 Oct 2019 11:52:30 +0100 Quelrond Q <[email protected]> said: >>> >>>> Hi, >>>> >>>> Would it be possible to fix https://phab.enlightenment.org/T8360 >>>> <https://phab.enlightenment.org/T8360> before the release? >>> >>> Reading that ticket... this is not something that is for us to work at in >>> efl. Meson itself (which is out of our tree - it's a system installed tool) >>> chooses the install location for pc files. We literally use the meson built >>> in pkgconfig.generate() to generate it and do not have any say on where it >>> is installed at all - it's not part of our build at all. check the pkgconfig >>> targets in our meson.build files. Meson itself (not our build) decides >>> where to put it on install. >> >> i do not agree : https://mesonbuild.com/Pkgconfig-module.html and see >> install_dir option > > we don't SET it, modify it or otherwise do anything with it. meson chooses for > the system it's running on and that's the right thing to do. if that OS has > decided that pkgconfig files go somewhere else meson's default should change > for that OS. then everything will just get moved there as opposed to every > project having to add special options to their meson builds to work around an > OS's choice of doing things differently from the defaults. do you insist 100's > or 1000's of projects all adapt their builds because an OS decided to do > something that is not default, or do you modify it in ONE place only (meson)? > > we don't touch the install dir. we're not saying "install here". we're leaving > it to meson to decide. we don't have a say in it in this case as we don't > touch > the install dir option.
Well in the openSUSE case we have an rpm macro that does the following
so all packages get setup correctly
export LANG=C.UTF-8
export CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables}"
export CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables}"
export FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables}"
export FCFLAGS="${FCFLAGS:--O2 -g -m64 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables}"
/usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64
--libexecdir=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin
--includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man
--infodir=/usr/share/info --localedir=/usr/share/locale
--sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib
--wrap-mode=nodownload --auto-features=enabled . build
--
Simon Lees (Simotek) http://simotek.net
Emergency Update Team keybase.io/simotek
SUSE Linux Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
signature.asc
Description: OpenPGP digital signature
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
