Added installation instructions for Fedora#22
Added installation instructions for Fedora#22PavelStishenko wants to merge 1 commit intochr-editor:mainfrom
Conversation
|
Thank you for your contribution. However, I have packaged the dependencies in my copr since a few months ago already, and as of yesterday, the editor itself as well. What do you think about including instructions on how to use those instead? |
| or in Fedora: | ||
|
|
||
| See also [Tui Widgets](https://tuiwidgets.namepad.de/) | ||
| and [Termpaint](https://termpaint.namepad.de/) |
There was a problem hiding this comment.
These links should stay here. If we want to avoid repeating them they should be removed from the fedora specific parts.
| git clone https://github.com/istoph/editor | ||
| cd editor | ||
| meson setup _build | ||
| PKG_CONFIG_PATH=$HOME/opt/tuiwidgets-prefix/lib/x86_64-linux-gnu/pkgconfig meson setup _build -Dprefix=$HOME/opt/tuiwidgets-prefix -Dsyntax_highlighting=true |
There was a problem hiding this comment.
While these paths match the build / install example from tuiwidgets, i don't think we should assume here that the user has followed these instructions. So these paths come somewhat out of the blue here. Setting prefix to tuiwidgets-prefix doesn't seem like the best suggestion (it's ok to do that when one understands the tradeoffs but it is not what i would recommend for someone just copy and pasting).
Maybe this whole change should instead be a sentence explaining that setting these parameters is needed in certain situations.
| sudo dnf install gcc gcc-c++ meson ninja-build pkg-config qt5-qtbase-devel qt5-linguist | ||
| ``` | ||
|
|
||
| Fedora do not have packages for [Tui Widgets](https://tuiwidgets.namepad.de/) and [Termpaint](https://termpaint.namepad.de/) so you have to install them from sources. |
There was a problem hiding this comment.
I hope this is going to be outdated soon.
Maybe this would be better phrased as a condition ("if your distribution does not have ... in a recent enough version ..." style).
I think building from source is likely a use case too, but using the copr repo is a nice additional option that we could mention. |
istoph
left a comment
There was a problem hiding this comment.
Great that you have done the work to describe this for Fedora as well.
|
|
||
| Installing dependencies in Fedora: | ||
| ``` | ||
| sudo dnf install gcc gcc-c++ meson ninja-build pkg-config qt5-qtbase-devel qt5-linguist |
There was a problem hiding this comment.
just like Debian, please only list the packages not how it can be installed.
In my test ci (Fedora33 - 38) I install the following:
dnf -y groupinstall "Development Tools" && \
dnf -y install git devscripts ninja-build pkgconfig qt5-qtbase-devel which python-setuptools python3-testresources chrpath
I assume that qt5-linguist is not needed?
No description provided.