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

Possible to compile it without rpm? flag to use + documentation? #428

Open
rubyFeedback opened this issue Feb 11, 2022 · 2 comments
Open

Comments

@rubyFeedback
Copy link

Is it possible to build it without rpm? I don't use a rpm-based system but gimp
seems to want to use appstream-glib.

If it is possible to compile it without rpm, perhaps the flag could be mentioned
in the main README? That would be quite helpful. Right now I can not get
gimp to compile because of appstream-glib.

@hughsie
Copy link
Owner

hughsie commented Feb 11, 2022

-Drpm=false ?

@FabioLolix
Copy link

On Arch Linux is builded without rpm and with documentation https://github.com/archlinux/svntogit-packages/blob/packages/appstream-glib/trunk/PKGBUILD

  arch-meson $pkgname build \
    -D alpm=true \
    -D gtk-doc=true \
    -D rpm=false

arch-meson is a wrapper to

$ cat /usr/bin/arch-meson
#!/bin/bash -ex
# Highly opinionated wrapper for Arch Linux packaging

exec meson setup \
  --prefix        /usr \
  --libexecdir    lib \
  --sbindir       bin \
  --buildtype     plain \
  --auto-features enabled \
  --wrap-mode     nodownload \
  -D              b_lto=true \
  -D              b_pie=true \
  "$@"

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

No branches or pull requests

3 participants