Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398955 - gnome-base/libglade-2.6.4: please split the python dependency
Summary: gnome-base/libglade-2.6.4: please split the python dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 11:21 UTC by Maxim Kammerer
Modified: 2014-06-18 08:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Kammerer 2012-01-15 11:21:10 UTC
Python is only needed by libglade-convert, which is a tool for upgrading old .glade files.

I suggest splitting this dependency into a "tools" USE-flag or similar.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-02-12 13:58:03 UTC
It is not clear what you want exactly.

pygtk requires libglade to provide python libglade module, but this is deprecated by usage of gobject-introspection.

gtk+:2 provides tools to convert glade files to gtk-builder files but this tool should not be needed as soon as upstream developers finish their migration work. In the meantime, these application must still rely on gtk+:2 providing this tool.
Comment 2 Maxim Kammerer 2012-02-12 15:49:48 UTC
> pygtk requires libglade to provide python libglade module

I don't see any libglade Python module on my system:

# find /usr/lib/python2.7 -name '*glade*'
# qlist -e libglade | grep py
# 

> gtk+:2 provides tools to convert glade files to gtk-builder files but this tool
should not be needed as soon as upstream developers finish their migration
work. In the meantime, these application must still rely on gtk+:2 providing
this tool.

Do applications rely on libglade-convert at build-time, or only the upstream developers? If only the developers need it, then it can be split into a default-on "tools" flag, for instance.

From http://www.linuxfromscratch.org/blfs/view/svn/general/libglade.html:
libglade-convert is used to convert old Glade interface files to Glade-2.0 standards.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-02-12 16:08:04 UTC
Ok so this is another tool. I guess it can be made optional then. It is most likely unneeded by now.
Comment 4 Maxim Kammerer 2012-02-14 07:11:37 UTC
A similar issue was just handled in gtk+:2: bug #402905.
Comment 5 Maxim Kammerer 2012-02-14 07:16:34 UTC
A similar issue was just handled in gtk+:2: bug #402905.
Comment 6 Maxim Kammerer 2013-01-01 23:07:29 UTC
Ping?
Comment 7 Maxim Kammerer 2013-08-20 23:10:47 UTC
Ping?
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-17 06:17:03 UTC
+*libglade-2.6.4-r2 (17 Jun 2014)
+
+  17 Jun 2014; Michał Górny <mgorny@gentoo.org> +libglade-2.6.4-r2.ebuild,
+  metadata.xml:
+  Enable multilib support. Remove redundant shebang fixing, bug #512362. Make
+  libglade-convert optional, bug #398955. Remove unnecessary gtk-doc dependency
+  since the docs are pre-built.
Comment 9 Arfrever Frehtes Taifersar Arahesis 2014-06-18 08:49:42 UTC
gnome-base/libglade-2.6.4-r2 now contains:

REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="... tools? ( ${PYTHON_DEPS} )"
pkg_setup() {
    use tools && python-single-r1_pkg_setup
}


You probably forgot to include "tools?" conditional in REQUIRED_USE.
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-18 08:57:38 UTC
You are correct, thanks.

+  18 Jun 2014; Michał Górny <mgorny@gentoo.org> libglade-2.6.4-r2.ebuild:
+  Wrap REQUIRED_USE in tools? as well.