I can confirm that @Rhinoceros PKGBUILD fixes the problem. The maintainer @carlosal1015 should just change the pkgbuild
Search Criteria
Package Details: lyx 2.4.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/lyx.git (read-only, click to copy) |
---|---|
Package Base: | lyx |
Description: | An advanced WYSIWYM document processor & LaTeX front-end |
Upstream URL: | https://www.lyx.org |
Keywords: | latex |
Licenses: | GPL-2.0-or-later |
Submitter: | arojas |
Maintainer: | carlosal1015 |
Last Packager: | carlosal1015 |
Votes: | 102 |
Popularity: | 0.77 |
First Submitted: | 2022-04-01 17:55 (UTC) |
Last Updated: | 2025-01-19 13:04 (UTC) |
Dependencies (14)
- desktop-file-utils (desktop-file-utils-gitAUR)
- enchant
- file (file-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hunspell (hunspell-gitAUR)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR)
- libmythes
- python (python37AUR, python311AUR, python310AUR)
- qt6-svg
- bc (bc-ghAUR) (make)
- boost (boost-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (optional) – support for python scripts
- rcs (optional) – built-in version control system
- texlive-latexextra (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR) (optional) – float wrap support
Required by (2)
- libzlog (make)
- tremulous-gpp (optional)
Sources (3)
nihil39 commented on 2024-06-01 18:06 (UTC)
ajdunlap commented on 2024-06-01 15:41 (UTC)
The package installs org.lyx.LyX.metainfo.xml in /usr/share/metainfo by default, so do we need any manual installation of it at all?
nihil39 commented on 2024-06-01 07:31 (UTC)
Looks like appdata.xml got moved to org.lyx.LyX.metainfo.xml:
https://git.lyx.org/gitweb/?p=lyx.git;a=commitdiff;h=837791c5ef4daab5b3244c4afbd9adf0dbbfb5a2
I have the same problem, should we move it manually?
Rhinoceros commented on 2024-06-01 07:30 (UTC)
Thanks @petris. Build also fails for me. I can confirm that the following change to the PKGBUILD
fixes it
--- a/PKGBUILD 2024-06-01 17:17:20.569229943 +1000
+++ b/PKGBUILD 2024-06-01 17:24:51.012546571 +1000
@@ -39,7 +39,7 @@
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# install appdata
- install -Dm644 lib/appdata.xml "$pkgdir"/usr/share/metainfo/lyx.appdata.xml
+ install -Dm644 lib/org.lyx.LyX.metainfo.xml "$pkgdir"/usr/share/metainfo/lyx.appdata.xml
# install default config file
install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist"
petris commented on 2024-06-01 00:25 (UTC)
2.4.0-1 fails to build:
install: cannot stat 'lib/appdata.xml': No such file or directory
Looks like appdata.xml got moved to org.lyx.LyX.metainfo.xml:
https://git.lyx.org/gitweb/?p=lyx.git;a=commitdiff;h=837791c5ef4daab5b3244c4afbd9adf0dbbfb5a2
je-vv commented on 2024-05-20 21:50 (UTC)
BTW, currently default servers not working, however the mirrors do, for example https://mirrors.ibiblio.org is working fine...
rellieberman commented on 2024-05-19 22:46 (UTC)
Thanks for the clarification, and many thanks for maintaining the lyx package. Have a nice day!
carlosal1015 commented on 2024-05-19 17:57 (UTC)
Our default server, which is located in France, may sometimes be slow or unavailable. If so, you might prefer to use one of the mirrors listed below. Usually, choosing one close to you is a good idea. Source code will be found in the stable/ directory, and binaries in the bin/ directory.
Both ftp://ftp.lyx.org/ and https://ftp.lip6.fr/pub/lyx/ point to the same primary server, but unless you actively check the signatures of downloaded files, we recommend that you use the https protocol.
rellieberman commented on 2024-05-19 10:34 (UTC)
Why is the source downloaded from https://ftp.lip6.fr and not from the official lyx domain?
rellieberman commented on 2024-02-07 09:30 (UTC)
Hi and thanks for maintaining this package. Do you have any insight as to why the package refers to $srcdir:
==> WARNING: Package contains reference to $srcdir usr/bin/lyxclient usr/bin/lyx usr/bin/tex2lyx
Thanks
Pinned Comments
carlosal1015 commented on 2022-04-03 19:23 (UTC) (edited on 2022-04-03 19:24 (UTC) by carlosal1015)
Important note: Is recommended to receive the following key before to install:
Also is possible skip the verification, adding the flag for (e.g
makepkg
,yay
)--skippgpcheck
,--nopgpfetch
, respectively.