-
Notifications
You must be signed in to change notification settings - Fork 22
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
Help Wanted #44
Comments
I can help with the archlinux package, what improvements would you like? |
@orestisf1993, actually I'm working on that. We want to add support for recently added man page. |
Would be cool to make the PKGBUILD follows the arch packaging standards, iirc we have to add numpy as an optdep and if we fix the releases, we can also add an stable package(not git one) |
@Roger, what do you mean here under the "fix"? |
I only mean, have a new release, the last one is from 2014 |
I've updated PKGBUILD. Changes: added some dependencies, use recommended package version, package man page. |
Sent a PR #54 |
@vchimishuk just released new version "1.0.0" can you check the aur package and maybe is time to release a non git version, downloaded from pypi |
Thanks, @Roger. Will do it soon. |
@Roger, I have a problem to make the latest version works. I have the same issue for Python 2 & 3. Looks like there is some issue in setup.py. Could you help me with that, please?
|
@vchimishuk this depends on python-gobject, I think we need to add that as a dependency in the PKGBUILD, btw, python2 is not supported anymore in latest version |
@Roger, the thing is it is installed and present in PKGBUILD. Also, I've tried to experiment with https://files.vchimishuk.pp.ua/a3d5677b-7997-4ff0-bf7d-2ed2212db37b |
Replace My PKGBUILD, just in case:
|
@trinaldi, strange things here. Your PKGBUILD causes the same exception at the end. I've checked the actual files installed with the package and it is the latest version from Github repo. |
That's weird, I manage to install it with no issues.
There's something else missing, then.
|
I'm not familiar with easy install and stuff, but it looks like problem somewhere on that level. I can import the package when running python shell.
|
And this doesn't work. |
I'm not able to reproduce it:
Can you post the output from |
Could you send me the |
My output is:
I'll send the EDIT: Make sure you also have
It's worth a look :) |
Yeah, I have it. Here is the list of all installed python packages on my machine. https://files.vchimishuk.pp.ua/6638c325-d164-4708-bfd9-e7eab4718b2c P. S. P. S. S. |
All my packages, including Python[2]'s, are described in the BUILDINFO file inside the package. |
Very strange. I have installed all the |
Indeed. I'm not sure what you can do. Try some Gtk related packages? I'm just brainstorming here... I used GNOME for a long time before i3, maybe some GNOME related package and/or required packages? |
I've tried all python3 related packages, still cannot find the issue. Thanks, @trinaldi. Will try to dig it further. |
I wrote this derivation that builds It requires #56 and #57, that are currently applied as patches in the derivation. The produced binary works, but it returns some warnings:
It seems that |
Nice, @guyonvarch . As I've mentioned, my DE was GNOME and probably some requirements were being met. |
This is the wrong approach. Tags up to |
Independent of this issue I created a new PKGBUILD from scratch using the latest Arch Python packaging guidelines and some simplifications. pkgname=escrotum-git
pkgver=0.2.1.r41.e7ed25d
pkgrel=1
pkgdesc='Linux screen capture using pygtk, inspired by scrot'
arch=('x86_64')
url='https://github.com/Roger/escrotum'
license=('GPL3')
depends=('python' 'python-gobject' 'python-xcffib')
makedepends=('git' 'python-setuptools')
optdepends=('python-numpy: fast image generation'
'ffmpeg: screen recording')
provides=('escrotum')
source=('git+https://github.com/Roger/escrotum.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-git}"
python setup.py build
}
package() {
cd "$srcdir/${pkgname%-git}"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 "man/escrotum.1" "$pkgdir/usr/share/man/man1/escrotum.1"
} |
The first three warnings are from your GTK theme. I don't get the warning about missing numpy with my PKGBUILD. But I get the last error |
Hi. Greetings! |
I don't have a lot of time this days to work with this project, so I'm looking for people who wants to mantain it, currently is working as I want but could have some improvements, like finishing #25 or releasing new versions(the last one it's from 2014), also packaging on archlinux should have some improvements.
If anyone it's interested, please let me know.
The text was updated successfully, but these errors were encountered: