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

python-gtksourceview2 deprecated, please port to PyGI #125

Closed
Vincent-C opened this issue Apr 25, 2016 · 18 comments
Closed

python-gtksourceview2 deprecated, please port to PyGI #125

Vincent-C opened this issue Apr 25, 2016 · 18 comments

Comments

@Vincent-C
Copy link

Forwarded from Debian BTS #822586

cherrytree depends on python-gtksourceview2, which is long deprecated and going to be removed from the archive. cherrytree should switch to using the GObject Introspection bindings for gtksourceview, gir1.2-gtksource-3.0.

This would mean switching to GObject Introspection for other bindings as well, e.g. GLib and GTK+ 3.

For more information on GObject Introspection see [1] and [2].

[1] https://wiki.gnome.org/action/show/Projects/GObjectIntrospection
[2] https://wiki.gnome.org/action/show/Projects/PyGObject

@giuspen
Copy link
Owner

giuspen commented Apr 28, 2016

Thank you Vincent.
I plan to issue a major release 0.37 and after that I will start the porting.

@City-busz
Copy link
Contributor

Is there any news? Version 0.38.0 is just released, but still uses gtk2 and the old python bindings.

@giuspen
Copy link
Owner

giuspen commented Feb 15, 2017

Yes, I will start the porting in few days, 0.38.x will be the last with gtk2

@giuspen
Copy link
Owner

giuspen commented May 16, 2017

Bad news unfortunately, as discussed in http://www.giuspen.com/topic/status-of-the-development/ I got stuck in the porting for the lack of binding of the function gtk_clipboard_set_with_data() which is essential in cherrytree. At the moment I'm evaluating the option to port to PyQt5.

@jbicha
Copy link

jbicha commented Nov 12, 2017

cherrytree was removed from Debian Testing a couple months ago and will probably be removed from Ubuntu before 18.04 LTS because python-gtksourceview is being removed from the repositories.

@giuspen
Copy link
Owner

giuspen commented Nov 12, 2017

I'm porting to gtkmm3 but it will take a while

@rhertzog
Copy link

Hello @giuspen what's the status of your port? cherrytree is a very much appreciated application in Kali Linux and we have kept it around despite the removal of python-gtksourceview2 hoping that you would complete the rewrite/transition at some point.

Also I wonder if time would not be better spent in actually getting the suggested patch merged upstream:
https://gitlab.gnome.org/GNOME/gtk/issues/364

Also in the mean time, would it not be possible to just make cherrytree work without python-gtksourceview2? If it's required only for a specific feature, then that feature could be disabled when the module is not available... but at least the package could be kept in Debian for longer.

@giuspen
Copy link
Owner

giuspen commented Sep 12, 2018

Hi @rhertzog the porting to gtkmm3 is proceeding slowly, you can see the commits in the subfolder "future". I still struggle to find time because of the kids.
I still think the best future for cherrytree is gtkmm and I will try and push a first complete but with less features version as soon as possible for then adding back all the features gradually.
GtkSourceView is paramount for the syntax highlighting in code nodes and code boxes, couldn't be that it was removed because integrated into newer python-gtk2 package?

@KitchM
Copy link

KitchM commented Jun 20, 2019

Hang in there, giuspen. Your work is appreciated.

I too found a problem with it not working on Debian. Since I am moving to the latest, I am in a pickle. (Like many others, no doubt.) I could not find a way around getting it going on my system, so I must boot into an old OS to get to my database.

Please let me know if there is anything I can do with testing or whatever.

Say hi to the kids, and keep up the good work. We appreciate it.

@giuspen
Copy link
Owner

giuspen commented Jun 20, 2019

Thanks @KitchM the porting is going ok especially thanks to the great contributions coming from @txe. The plan is to have the first release for the end of the year, we will probably make it. I will ask for help in testing when we will have an usable version, too early now for that. Take care 😉

@MarS-83
Copy link

MarS-83 commented Jun 28, 2019

Hey, i also want to say that im thankfully that u are porting cherrytree. I use this tool now for a few months and i like it realy much. but today i started to convert my developing vm to debian 10 and was a bit frustrated to see that cherrytree isnt working. I also sent u a few bucks via paypal. i know its not much but better then nothing. :)

@giuspen
Copy link
Owner

giuspen commented Jun 29, 2019

Thanks @mayo83

@goodleixiao
Copy link
Contributor

Checking: gtk#364 (closed) it seems to be closed with the last comment of "The GtkClipboard api is gone."
Not sure how this affects this issue though.

https://gitlab.gnome.org/GNOME/gtk/issues/364

@KitchM
Copy link

KitchM commented Sep 26, 2019 via email

@ghost
Copy link

ghost commented Jan 25, 2020

It seems there is a snap to be released, @giuspen any news on
#608 and any avail .snap - either snapstore or via https://github.com/giuspen/cherrytree/releases?

@ghost
Copy link

ghost commented Feb 5, 2020

Congratulations guys/gals

$ snap find cherrytree
Name        Version  Publisher   Notes  Summary
cherrytree  0.38.11  hellsworth  -      Hierarchical note taking application

@txe
Copy link
Contributor

txe commented Oct 29, 2020

Closing, cherrytree was ported on Gtk3/C++

@txe txe closed this as completed Oct 29, 2020
@KitchM
Copy link

KitchM commented Nov 4, 2020

Yea! Well done Giuseppe and team!

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

No branches or pull requests

9 participants