[Github-comments] [geany/geany] WIP: Meson build system (#2761)
elextr
notifications at xxxxx
Mon Mar 14 00:44:19 UTC 2022
I tried following the meson instructions in the `README` (what read the instructions??) and it works!!! :rocket:
For me plugins configures, compiles and add-ons works!!! (only one that I use :-) with `./autogen.sh --prefix=/home/lex/geany-meson --with-geany-libdir=/home/lex/geany-meson/lib/x86_64-linux-gnu`.
@eli-schwartz the `--with-geany-libdir` was introduced to geany-plugins autotools build by the Geany Debian package maintainer because it was supposedly the "standard" way of doing things there instead of using `--libdir`.
But the statement in the Geany `README`
```
By default, meson will install Geany to `/usr/local`. A different
prefix can be selected at the initial command or via reconfiguration:
`meson --prefix /opt build` or `meson configure --prefix /opt build`
```
is incomplete on Debian and derivates. I suggest something like:
```
By default, meson will install Geany to `/usr/local`. A different
prefix can be selected at the initial command or via reconfiguration:
`meson --prefix /opt build` or `meson configure --prefix /opt build`
Meson will use the distro's preferred library location
(eg `$prefix/lib/x86_64-linux-gnu` on Debian) or `$prefix/lib`.
Note, the Geany plugins autotools build assumes `$prefix/lib` so if your
distro uses a different location geany plugins must be built with the
`--with-geany-libdir=` set to the libdir used by the meson build.
```
The Geany autotools build also seems to work after this PR is applied.
So I'm ok with it.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761#issuecomment-1066224545
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/2761/c1066224545 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220313/a504e80a/attachment-0001.htm>
More information about the Github-comments
mailing list