Discussion:
[Bug 726831] New: Allow install to different path with pygobject3
"GStreamer" (bugzilla.gnome.org)
2014-03-21 16:01:31 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

Summary: Allow install to different path with pygobject3
Classification: Platform
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-***@lists.freedesktop.org
ReportedBy: ***@gmail.com
QAContact: gstreamer-***@lists.freedesktop.org
GNOME version: ---


Currently, it not work.

See:
http://git.gnome.org/browse/pygobject/commit?id=b1a9848a7a7255e6b1ccd98712dd62b1514078b9
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-03-22 13:51:34 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

--- Comment #1 from 宋文武 <***@gmail.com> 2014-03-22 14:16:33 UTC ---
Well, __init__.py does exist in git repo, but not in tarball and final install.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-09 09:22:01 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

Thibault Saunier <tsaunier> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |***@gnome.org
Resolution| |NOTABUG

--- Comment #2 from Thibault Saunier <***@gnome.org> 2014-06-09 09:21:56 UTC ---
If you set PYTHON=python3 when compiling it will be installed in the python3
prefix, then if you set it to python2 it will be installed in the python3
prefix.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-09 09:46:50 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

Tim-Philipp Müller <t.i.m> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@zen.co.uk

--- Comment #3 from Tim-Philipp Müller <***@zen.co.uk> 2014-06-09 09:46:47 UTC ---
Out of curiosity: why do we default to python2 instead of python3?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-09 09:52:25 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

--- Comment #4 from Thibault Saunier <***@gnome.org> 2014-06-09 09:52:22 UTC ---
Just because, I will make sure to change that before releasin 1.4 :)
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-16 12:48:14 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

--- Comment #5 from 宋文武 <***@gmail.com> 2014-06-16 12:48:11 UTC ---
(In reply to comment #2)
Post by "GStreamer" (bugzilla.gnome.org)
If you set PYTHON=python3 when compiling it will be installed in the python3
prefix, then if you set it to python2 it will be installed in the python3
prefix.
Sorry, I wrote a misleading bug title, and gave a unclearly description.
It can be installed but will not work correctly when installed into a different
prefix than pygobject3.

For example, what I have:
gst-python at /x/lib/python2.7/site-packages/gi
pygobject3 at /y/lib/python2.7/site-packages/gi
The GI overrides installed into different directories.

Actually, I run into this bug when package pitivi for nixpkgs[1].
For nix[2] package manager, each packages must installed in its own unique
subdirectory.

We should modify some autotools stuff to make gi/overrides/__init__.py install.

[1] https://github.com/NixOS/nixpkgs/pull/2001
[2] http://nixos.org/nix/about.html
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-16 12:54:56 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

--- Comment #6 from Thibault Saunier <***@gnome.org> 2014-06-16 12:54:53 UTC ---
It is how pygobject people told me it was supposed to work, overrides should
all land in the same directory.

I am not against installing __init__.py in case we are installing in another
directory as it should work (given that we are *guaranteed* that
/y/lib/python2.7/site-packages/gi will be scanned by python before
/x/lib/python2.7/site-packages/gi (setting PYTHONPATH in the right order for
example)).But that should be done *only* if we are not installing in the same
directory as PyGobject as we clearly do not want to override the __init__.py
installed by pygobject.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-19 10:59:42 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

--- Comment #7 from 宋文武 <***@gmail.com> 2014-06-19 10:59:37 UTC ---
Thanks for explaining.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-19 21:45:13 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

Thibault Saunier <tsaunier> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|NOTABUG |

--- Comment #8 from Thibault Saunier <***@gnome.org> 2014-06-19 21:45:09 UTC ---
Actually we should look for a proper solution, reopening the bug.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-19 21:45:27 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

Thibault Saunier <tsaunier> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (bugzilla.gnome.org)
2014-06-19 21:47:19 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831
GStreamer | gst-python | unspecified

Thibault Saunier <tsaunier> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Allow install to different |Allow installing to a
|path with pygobject3 |different path than
| |pygobject3 main overrides
| |path
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-11-03 15:36:41 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=726831

GStreamer system administrator <***@gstreamer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE

--- Comment #9 from GStreamer system administrator <***@gstreamer.net> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/gstreamer/gst-python/issues/3.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...