Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no ci] Introduction to aur package #328

Merged
merged 1 commit into from
Oct 2, 2022
Merged

Conversation

luozhiya
Copy link
Contributor

@luozhiya luozhiya commented Oct 2, 2022

@da-liii
Copy link
Contributor

da-liii commented Oct 2, 2022

Awesome!

@da-liii da-liii changed the title Introduction to aur package [no ci] Introduction to aur package Oct 2, 2022
@da-liii
Copy link
Contributor

da-liii commented Oct 2, 2022

For doc only changes, please use [no ci] to help protect our earth!

@da-liii da-liii merged commit d21586d into XmacsLabs:main Oct 2, 2022
@luozhiya
Copy link
Contributor Author

luozhiya commented Oct 2, 2022

For doc only changes, please use [no ci] to help protect our earth!

I get it

@da-liii
Copy link
Contributor

da-liii commented Oct 2, 2022

Mogan does not support Qt 6 officially! Qt 6 support is done by @PikachuHy in #136 .

I remember there are severe bugs in the Qt 6 version. And I suggest that you should switch to Qt 5 in AUR.

@luozhiya
Copy link
Contributor Author

luozhiya commented Oct 4, 2022

And I suggest that you should switch to Qt 5 in AUR.

It is depends on #330 to switch AUR to Qt 5

@luozhiya
Copy link
Contributor Author

luozhiya commented Oct 4, 2022

@darcy-shen AUR package has been updated.

@da-liii
Copy link
Contributor

da-liii commented Dec 25, 2022

We switched from CMake to xmake. And xmake is now in Arch Linux: https://archlinux.org/packages/community/x86_64/xmake/ and installable via pacman.

When we release Mogan 1.1.2 betaX with debian packages, you may try to change the PKGBUILD of the AUR package.

1.1.2 would be a great release, for Chinese user, we do not need the Fandol font any more.

@luozhiya
Copy link
Contributor Author

@darcy-shen LGTM

@da-liii
Copy link
Contributor

da-liii commented Jun 5, 2023

@luozhiya 1.1.3 is released, and cmake support has been removed.

@luozhiya
Copy link
Contributor Author

@darcy-shen Updated

@da-liii
Copy link
Contributor

da-liii commented Jun 22, 2023

@taoky We need a pull request on xmake.lua to use the libraries shipped by Archlinux. But I think it is ok to manage the libraries by xrepo. Because using xrepo, the env could be pinned. When there are new libraries in archlinux and there are breaking changes, we do not have to make any modifications in this way.

@hammerfunctor
Copy link

hammerfunctor commented Jul 28, 2023

Both mogan and mogan-git fails to build on archlinux now. The latter depends on ninja but there is no cmakelists anymore. The former fails to find a decompression program:

huzf@archlinux: ~/.cache/yay/mogan/src/mogan makepkg
$ xrepo update-repo                                                                                                 [11:36:04]
error: failed to find unzip or 7zip! please install one of them first
error: execv(xmake repo --update) failed(255)
FAIL

huzf@archlinux: ~/.cache/yay/mogan/src/mogan makepkg
$ yay -Q | rg zip                                                                                                   [11:36:11]
bzip2 1.0.8-5
gzip 1.12-2
libzip 1.10.0-1
minizip 1:1.2.13-3
p7zip 1:17.05-1
unzip 6.0-19
zip 3.0-10
zziplib 0.13.72-2

Update:
This problem disappears after a reboot.

@hammerfunctor
Copy link

Turns out xmake-io/xmake#3056 (comment)

@luozhiya
Copy link
Contributor Author

luozhiya commented Jul 30, 2023

@hammerfunctor Both mogan and mogan-git aur have been updated.

  • mogan bump to 1.1.4
  • mogan-git cmake to xmake

The former fails to find a decompression program

Error occurred during execution xrepo update-repo, this seems to be a problem belonging to xmake or xmake scirpt.

The latter depends on ninja but there is no cmakelists anymore.

Try the new xmake based version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants