-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
add mingw-w64-python-xpra #5037
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to see this. I love Xpra.
mingw-w64-python-xpra/PKGBUILD
Outdated
url='https://xpra.org' | ||
license=('GPL2') | ||
optdepends=('libnotify: notification support' | ||
'gst-plugins-bad: extra audio codecs' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All mingw packages have "${MINGW_PACKAGE_PREFIX}-" prefixes. Probably you must completely remove optdepends
from here as every subpackage have its own optdepends
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Alexpux the idea was to have the common dependencies here, those that aren't python version specific.
Are you saying that I need to duplicate them into each package instead?
If so, can I not declare a common_optdepends variable and reference that? (feels cleaner than cut & paste)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must remove optdepends from header completely because:
- Packages described in it not present
- optdepends entries in subpackages override it.
Or if you mean that this is common deps for both python2 and python3 then you must fix packages names and in subpackages instead optdepends=
write optdepends+=
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback.
- I must have copied the optdepends from an archlinux example, fixed
- the deps are common to both python2 and python3, so I've used
optdepends+=
…nds for xpra-common package, remove outdated websocket-client dependency (no longer used as per xpra ticket 2121)
@totaam see errors on CI:
And
|
@Alexpux Thanks, I am looking into this, but I can't seem to figure it out. First the harmless warnings:
This should always return 0:
And if you run the pkg-config command by hand, it does:
Why is python subprocess.Popen failing on those systems? |
Never mind, I found the solution here #5043, updated pull request will follow. |
@totaam no need add twice dependencies to makedepends and depends. Does x265 need to be in deps too? |
@Alexpux x265 is optional and not recommended at present. |
@totaam remove this from makedepends as it already in depends:
|
@Alexpux Ah, gotcha. Thanks. |
For more information, see xpra.org and in particular this ticket: 1883: packaging for mingw64 / MSYS2