Add gir1.2-tepl-5 package depedency

Bug #1901446 reported by Jeffery To
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Debian)
Fix Released
Unknown
gedit (Ubuntu)
Invalid
Low
Unassigned

Bug Description

(This is most likely a bug/request for Debian, but since I use Ubuntu I thought I would report it here first.)

gedit in groovy depends on libtepl-5-0. It would be great if the package also depended on gir1.2-tepl-5 so that gedit plugins written in Python can call functions from tepl.

Changed in gedit (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Jeffery To (jefferyto) wrote :

I would argue that this is more a bug than a wishlist item.

Functionality is being moved from gedit into tepl (a "Text editor product line" library). For instance, gedit_utils_str_middle_truncate() was deprecated in gedit 3.36 and removed in 3.38[1], replaced with tepl_utils_str_middle_truncate().

For my plugin Control Your Tabs, I had to inline the function[2] because I couldn't count on users (on Debian and Debian-derived OSes) having gir1.2-tepl-5 installed so that I could call tepl_utils_str_middle_truncate(). (Contrast this with the Fedora tepl rpm, which has the GObject introspection binding included in the same package[3] and so does not have this problem.)

Should I file an issue upstream (Debian)? Would submitting a patch help?

[1]: https://gitlab.gnome.org/GNOME/gedit/-/commit/b200001585d0f3ff2081626f6ffb7e1dc1b7a52e
[2]: https://github.com/jefferyto/gedit-control-your-tabs/commit/644c2b9d9a61ffd1d8f9aba44866b301ba47bf39
[3]: https://src.fedoraproject.org/rpms/tepl/blob/49ace7de0be692b500d7b2be23224197f96ae296/f/tepl.spec#_60

Revision history for this message
Sebastien Bacher (seb128) wrote :

Right, indeed the source is the Debian unmodified one so it would probably be better to report the issue to the debian tracker directly

Changed in gedit (Ubuntu):
importance: Wishlist → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

(the plugin as package should depends on the binding but we could probably let gedit recommends the gir so it's installed by default)

Changed in gedit (Debian):
status: Unknown → New
Revision history for this message
Jeremy Bícha (jbicha) wrote :

gedit no longer uses tepl, so I'm closing this bug.

Changed in gedit (Ubuntu):
status: New → Invalid
Changed in gedit (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.