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
app-editors/remarkable: new package #22341
Conversation
Pull Request assignmentSubmitter: @madmartin app-editors/remarkable: @gentoo/proxy-maint (new package) Linked bugsBugs linked: 616208 New packagesThis Pull Request appears to be introducing new packages only. Due to limited manpower, adding new packages is considered low priority. This does not mean that your Pull Request will not receive any attention, however, it might take quite some time for it to be reviewed. In the meantime, your new ebuild might find a home in the GURU project repository: the ebuild repository maintained collaboratively by Gentoo users. GURU offers your ebuild a place to be reviewed and improved by other Gentoo users, while making it easy for Gentoo users to install it and enjoy the software it adds. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
56d5a6a
to
da1076e
Compare
Pull request CI reportReport generated at: 2021-09-20 16:59 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
')" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" | ||
PATCHES=( "${FILESDIR}"/disable-spellcheck.patch ) |
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.
Why?
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.
Why what? please ask more specific
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.
Why include a disable spellcheck patch?
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.
I suppose looking further it may be because that package doesn't exist. If you wanted to you could add it here! Up to you of course
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.
Yes, that's the reason. pygtkspellcheck has no gentoo package, and I am not motivated to do this yet.
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.
Please add PN and preferably some PV to the patch name so it's identifiable.
https://devmanual.gentoo.org/ebuild-writing/misc-files/patches/index.html#file-naming
PYTHON_COMPAT=( python3_{8..10} ) | ||
inherit desktop gnome2-utils python-single-r1 | ||
|
||
DESCRIPTION="a fully featured markdown editor, supports github markdown dialect" |
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.
DESCRIPTION="a fully featured markdown editor, supports github markdown dialect" | |
DESCRIPTION="A fully featured markdown editor, supports github markdown dialect" |
or
DESCRIPTION="a fully featured markdown editor, supports github markdown dialect" | |
DESCRIPTION="Fully featured markdown editor, supports github markdown dialect" |
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.
I choose the second variant, saves 2 bytes!
SRC_URI="https://github.com/jamiemcg/remarkable/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" | ||
S="${WORKDIR}/Remarkable-${GIT_COMMIT}" | ||
|
||
LICENSE="MIT" |
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.
Please re-check this, e.g. https://github.com/jamiemcg/Remarkable/blob/master/remarkable/findBar.py is GPL-2+. And https://github.com/jamiemcg/Remarkable/blob/master/remarkable/undobuffer.py is LGPL-2.1+
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.
Looks like it needs LICENSE="BSD-2 GPL-2+ LGPL-2.1+ MIT"
DEPEND=" | ||
${PYTHON_DEPS} | ||
net-libs/webkit-gtk | ||
$(python_gen_cond_dep ' | ||
dev-python/beautifulsoup4[${PYTHON_USEDEP}] | ||
dev-python/pycairo[${PYTHON_USEDEP}] | ||
dev-python/pygobject[${PYTHON_USEDEP}] | ||
dev-python/markdown[${PYTHON_USEDEP}] | ||
')" | ||
RDEPEND="${DEPEND}" |
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.
# remarkable
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.8/remarkable", line 65, in <module>
import remarkable
File "/usr/lib/python3.8/site-packages/remarkable/__init__.py", line 30, in <module>
from remarkable import RemarkableWindow
File "/usr/lib/python3.8/site-packages/remarkable/RemarkableWindow.py", line 26, in <module>
gi.require_version('GtkSource', '3.0')
File "/usr/lib/python3.8/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkSource not available
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.
Hmmm.... I am a bit clueless here. Maybe the use-flags of webkit-gtk are different at your side? My installation has
[I] net-libs/webkit-gtk ... Installed versions: 2.32.4(4/37)^t(23:24:37 10/05/21)(X egl geolocation gstreamer introspection jpeg2k jumbo-build libnotify opengl seccomp spell -aqua -examples -gamepad -gles2-only -gnome-keyring -gtk-doc -systemd -test -wayland)
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'll have to depend on x11-libs/gtksourceview:3.0 (:3.0 specifically). And you need the [introspection]
from it.
Oh you also need to depend on gtk+-3[introspection] and webkit-gtk[introspection] too.
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.
@juippis Thanks for pointing that out!
All changes done.
dev-python/markdown[${PYTHON_USEDEP}] | ||
')" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" |
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.
Can be removed.
')" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" | ||
PATCHES=( "${FILESDIR}"/disable-spellcheck.patch ) |
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.
Please add PN and preferably some PV to the patch name so it's identifiable.
https://devmanual.gentoo.org/ebuild-writing/misc-files/patches/index.html#file-naming
ewarn "Known issues:" | ||
ewarn "- export to HTML/PDF does not work (\"wkhtmltopdf\" not packetized/will never be)" | ||
ewarn "- spellchecking is disabled (would need python module \"pygtkspellcheck\")" |
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.
Maybe these could be shipped with a readme file, via https://devmanual.gentoo.org/eclass-reference/readme.gentoo-r1.eclass/index.html?
What's wrong with shipping wkhtmltopdf?
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.
wkhtmltopdf declares himself to be almost dead and depends on qtwebkit....
I will take a look at readme.gentoo-r1.eclass for sure.
Pull request CI reportReport generated at: 2021-10-16 13:11 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
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.
Few things to improve, but looking really good! Got the program to launch and it works.
DEPEND=" | ||
${PYTHON_DEPS} | ||
net-libs/webkit-gtk | ||
$(python_gen_cond_dep ' | ||
dev-python/beautifulsoup4[${PYTHON_USEDEP}] | ||
dev-python/pycairo[${PYTHON_USEDEP}] | ||
dev-python/pygobject[${PYTHON_USEDEP}] | ||
dev-python/markdown[${PYTHON_USEDEP}] | ||
')" | ||
RDEPEND="${DEPEND}" |
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'll have to depend on x11-libs/gtksourceview:3.0 (:3.0 specifically). And you need the [introspection]
from it.
Oh you also need to depend on gtk+-3[introspection] and webkit-gtk[introspection] too.
@@ -0,0 +1,10 @@ | |||
|
|||
Known issues: |
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.
Known issues: | |
Known Gentoo-related issues: |
"wkhtmltopdf" which is not packetized for gentoo and most probably will | ||
never be - it depends on deprecated Qt WebKit) | ||
- spellchecking is disabled (would need python module pygtkspellcheck which) | ||
is also not packetized for gentoo yet) |
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.
is also not packetized for gentoo yet) | |
is also not packaged for gentoo yet) |
I'm not a native English speaker but "packetized" doesn't sound like any word to me :P
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.
I'm also not a native english speaker, but the two dictionaries I ask know "to packetize"... which is more or less the same meaning as "to package". If you think "packaged" sounds nicer I'll change that.
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.
Yes please.
inherit desktop gnome2-utils python-single-r1 readme.gentoo-r1 | ||
|
||
DESCRIPTION="Fully featured markdown editor, supports github markdown dialect" | ||
HOMEPAGE="http://remarkableapp.github.io/ https://github.com/jamiemcg/remarkable" |
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.
HOMEPAGE="http://remarkableapp.github.io/ https://github.com/jamiemcg/remarkable" | |
HOMEPAGE="https://remarkableapp.github.io/ https://github.com/jamiemcg/remarkable" |
remarkable is a full featured markdown editor, supporting the github markdown dialect Closes: https://bugs.gentoo.org/616208 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Pull request CI reportReport generated at: 2021-10-27 21:31 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
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 a lot!
remarkable is a full featured markdown editor, supporting
the github markdown dialect
Closes: https://bugs.gentoo.org/616208
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Martin Dummer martin.dummer@gmx.net