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

New package: havoc-0.1.0 #22708

Closed
wants to merge 1 commit into from
Closed

Conversation

paper42
Copy link
Member

@paper42 paper42 commented Jun 9, 2020

No description provided.

@paper42 paper42 force-pushed the new-package-havoc branch 2 times, most recently from 5117d52 to c6fe567 Compare June 9, 2020 15:55
checksum=a214f55317e394a2b3fc90d8bc7ceec497ecc9fb7a79418cff19b08ca2832b1a

pre_build() {
cp /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should work without copying this. Was there some problem with VPATH? Perhaps VPATH needs to be modified with += in the makefile.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works without this when I install pkg-config. This was an experiment if it will solve building on arm architectures. It didn't work, I am not sure why pkg-config isn't detecting xdg-shell on arm architectures.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although wayland-protocols is architecture independent, the files will probably still be installed in the cross-compilation dependency base path. Not sure why pkg-config can't find it there, perhaps something in my makefiles pkg-config usage is not cross-compilation friendly.

You can check with CROSS_BUILD if cross compilation is happening, and XBPS_CROSS_BASE will be the root directory relative to which xdg-shell.xml should exist.

@ii8
Copy link
Contributor

ii8 commented Jun 11, 2020

@PaperMountainStudio I released 0.2.0, that should fix cross-compilation so it works on arm. But you also need to add wayland-devel to hostmakedepends as well as makedepends because the wayland-scanner is used during build.

@paper42
Copy link
Member Author

paper42 commented Jul 29, 2020

I can't get it to work. @ii8 if you want, you can try doing it yourself.

@paper42 paper42 closed this Jul 29, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
@paper42 paper42 deleted the new-package-havoc branch April 8, 2022 11:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants