Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9410 - meld should depend on gnome-python-desktop

Attached to Project: Arch Linux
Opened by Ionut Biru (wonder) - Wednesday, 30 January 2008, 22:11 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 03 July 2008, 11:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
meld package doesn't detect gnome-python-desktop


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
install meld, go to preferences and check Show line numbers or Use sintax highlighting. meld complained that gnome-python-desktop isn't installed
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 03 July 2008, 11:23 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Wednesday, 30 January 2008, 22:35 GMT
maybe i wasn't been clear. i installed gnome-python-desktop and meld doesn't detect that i installed that. is complaining that "Line numbers are only available if you have gnome-python-desktop installed." when i check show line numbers
Comment by A. K. (Misery) - Tuesday, 22 April 2008, 03:22 GMT
Package "gtksourceview" is required for meld to show it. It will still complain that it misses "gnome-python-desktop" even it is installed.
Comment by cristian (fancris3) - Thursday, 01 May 2008, 18:44 GMT
gnome-python-desktop need to be rebuild.
maibe a new report ?
Comment by Ionut Biru (wonder) - Saturday, 17 May 2008, 12:40 GMT
i installed gtksourceview and meld doesn't complain that gnome-python-desktop isn't installed.
i think gtksourceview is a dependency for gnome-python-desktop or for meld
Comment by A. K. (Misery) - Monday, 26 May 2008, 00:40 GMT
/usr/lib/python2.5/site-packages/gtk-2.0/gtksourceview.so needs missing libgnomeprint-2-2.so.0 libgtksourceview-1.0.so.0
/usr/lib/python2.5/site-packages/gtk-2.0/gtksourceview.so -> gnome-python-desktop

gnome-python-desktop needs a "recommend=('gtksourceview')" ;-)
Comment by Abhishek Dasgupta (abhidg) - Tuesday, 10 June 2008, 18:00 GMT
From what I understood after googling a bit:

gnome-python-desktop is a library of python modules interfacing various gnome components.
those components include metacity, gtksourceview, etc.
now those python components are linked against (or they use) the various libraries
of the GNOME desktop.
so technically, gnome-python-desktop should depend on all these things so that any application which calls gnome-python-desktop is assured that it can use the underlying libraries properly.
meld uses the gtksourceview component of the gnome-python-desktop.

Problems:
Since Arch does not package libraries and binaries separately (for the most part), adding
a depends on metacity gtksourceview etc.. will pull in loads of dependencies which might irritate users.

One way out is to add a depends=('gtksourceview') to meld so that meld will properly
work. gnome-python-desktop cannot possibly have all those dependencies... so best way
out IMO is to manually specify the underlying GNOME component(s) of gnome-python-desktop
which the application uses.
Comment by Xavier (shining) - Tuesday, 10 June 2008, 18:29 GMT
Hmm, that is an interesting problem :P
So indeed, meld requires BOTH gnome-python-desktop and gtksourceview for syntax highlighting and line number to work.
If one is missing, it will complain that gnome-python-desktop is not installed.
However, these two features are optional, meld is still functional without them.

So I would suggest using the following deps for meld :
depends=('gnome-python')
optdepends=('gnome-python-desktop:syntax highlighting' 'gtksourceview:syntax highlighting')

Also, I think all the optional deps for gnome-python-desktop should be listed in its optdepends. According to namcap, they are :
gnome-media
gnome-panel
nautilus-cd-burner
totem-plparser
libgtop
gtksourceview
Comment by Abhishek Dasgupta (abhidg) - Tuesday, 10 June 2008, 18:42 GMT
That'll be depends=('gnome-python-desktop') :)

I didn't know about optdepends. Does
pacman have the ability to print out or do anything with the
optdepends (like a switch to install them?)
Comment by Xavier (shining) - Tuesday, 10 June 2008, 19:12 GMT
No, it was not a mistake, I did mean depends=('gnome-python').
gnome-python-desktop is not required for meld to work, it is optional.

About optdepends, currently they are only printed on -Si / -Qi operation.
They should probably be printed out on installation, this needs to be discussed in more details.
A switch to install them is lower priority, but it would be interesting to discuss it too.
Do you mind opening a feature request on pacman for a better optdepends support, to discuss both of your proposals?
Comment by Abhishek Dasgupta (abhidg) - Wednesday, 11 June 2008, 02:57 GMT Comment by Andreas Radke (AndyRTR) - Wednesday, 02 July 2008, 20:17 GMT
please check if it is solved in meld-1.2-1
Comment by Ionut Biru (wonder) - Thursday, 03 July 2008, 09:13 GMT
you can close it. is working

Loading...