Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Pithos - Gnome Pandora.com client
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 543
Location: Cracow, Poland

PostPosted: Tue Nov 09, 2010 2:08 pm    Post subject: [solved] Pithos - Gnome Pandora.com client Reply with quote

Any body can write ebuild for that!

http://kevinmehall.net/p/pithos/


Last edited by emc on Fri Dec 03, 2010 12:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 543
Location: Cracow, Poland

PostPosted: Wed Nov 17, 2010 12:13 pm    Post subject: Reply with quote

only beginning, no ebuild yet:
https://bugs.gentoo.org/show_bug.cgi?id=345877
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 543
Location: Cracow, Poland

PostPosted: Fri Dec 03, 2010 12:33 pm    Post subject: Reply with quote

ebuild is in sunrise overlay ;)
Back to top
View user's profile Send private message
Katherine1
n00b
n00b


Joined: 06 Oct 2010
Posts: 26

PostPosted: Wed Dec 08, 2010 6:12 pm    Post subject: Reply with quote

Funny. According to the sunrise site, it is in there, but when I search with eix or manually look through the svn folders, it's not there. Has the svn address changed? This wouldn't be the first time layman has lagged behind on overlay addresses. The initng repository in layman is still the old now non-existant svn where they have been using a git repository for quite some time now.
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 222
Location: Detroit, MI, USA

PostPosted: Thu Dec 09, 2010 12:32 am    Post subject: Reply with quote

Sunrise is still using Subversion.

media-sound/pithos has not been reviewed yet. You will not see it in the normal layman checkout until a gentoo dev reviews it and moves it to the "reviewed" branch.

You can check out the un-reviewed "sunrise" branch manually if you want to get it sooner.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3383

PostPosted: Sat Jan 29, 2011 1:50 am    Post subject: Reply with quote

Please pardon my ignorance for asking what must be an FAQ, but I'm not quite sure how to search for this one.

It appears that media-sound/pithos-9999 is now sort-of available in Sunrise, at least it appears on an emerge request. However it's masked, and it appears that there is no sort of arch or ~arch keyword on it. I figure I could copy the ebuild over to my private overlay, add ~amd64, add it to package.keywords, etc. But I'm figuring that the -9999 version number is such a normal thing (for checking the source code out of some sort of control system) that there must be some more standard way to enable emerging it.

Clue please?
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 222
Location: Detroit, MI, USA

PostPosted: Mon Jan 31, 2011 4:01 am    Post subject: Reply with quote

You need to use the double-star (**) keyword to install packages without any keywords. For example:
package.keywords:
media-sound/pithos **
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3383

PostPosted: Mon Jan 31, 2011 1:30 pm    Post subject: Reply with quote

Thanks, I knew there had to be a correct way to do that.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Tue May 15, 2012 7:49 am    Post subject: Reply with quote

I'm having trouble with the sunrise ebuild. When I go to install it, I get
Code:

>>> Compiling source in /var/tmp/portage/media-sound/pithos-9999/work/pithos-9999 ...
 * Building of media-sound/pithos-9999 with CPython 2.7...
python2.7 setup.py build -b build
No protocol specified
No protocol specified
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/lib64/python2.7/site-packages/keybinder/__init__.py:26: GtkWarning: IA__gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  from _keybinder import *
/usr/lib64/python2.7/site-packages/keybinder/__init__.py:26: GtkWarning: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  from _keybinder import *
/var/tmp/portage/media-sound/pithos-9999/temp/environment: line 1025: 17882 Segmentation fault      "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build -b "$(_distutils_get_build_dir)" "$@"
 * ERROR: media-sound/pithos-9999 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function


I assume this is just something setup wrong on my end, but I'm not sure where to look.
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
Quake_Sinatra
n00b
n00b


Joined: 22 Feb 2003
Posts: 30

PostPosted: Sun Jun 03, 2012 12:10 am    Post subject: Reply with quote

had the same problem :
tried
Code:
layman -S


got this message:
Code:
* Warnings:
* ------
*
* The source of the overlay "sunrise" seems to have changed.
* You currently sync from
*
*   svn://overlays.gentoo.org/proj/sunrise/reviewed/
*
* while the remote lists report
*
*   1. http://git.overlays.gentoo.org/gitroot/proj/sunrise-reviewed.git
*   2. git://git.overlays.gentoo.org/proj/sunrise-reviewed.git
*   3. git+ssh://git@git.overlays.gentoo.org/proj/sunrise-reviewed.git
*
* as correct locations.
* Please consider removing and re-adding the overlay.


did
Code:
layman -d sunrise

and a
Code:
layman -a sunrise


get this on attempting to
Code:
emerge -v pithos


Code:
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~kevin-mehall/pithos/git-import is permanently redirected to http://bazaar.launchpad.net/~kevin-mehall/pithos/git-import/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
bzr: ERROR: These branches have diverged. Use the missing command to see how.
Use the merge command to reconcile them.

found that the bazaar message is "not important" ...?
so i removed pithos via
Code:
emerge -C pithos
and attempted a re-emerge
still fails on the pull

BTW i use and am listening to pianobar/pandora so no big loss while i tinker with pithos (which i had working prior to pandora updating)
so i went
Code:

cd /tmp
git clone https://github.com/kevinmehall/pithos.git
python setup.py install --prefix=/usr/local

and now i can run from the /tmp/pithos directory ./bin/pithos and it works

if i run from anywhere else (which i assume is something to do with the previous emerged install and me breaking it )

so then i thought hmmmm python .. lets
Code:
run python-updater

and i will post back when that runs through - and update progress or digress

i shouldnt be allowed to play with scissors :twisted:

python-updater fixed some other stuff (i needed to run it anyway but not for this problem)
but it got me thinking :: which version am i running on ....
Code:
eselect python list       
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1
  [3]   python3.2

looks like 2.7
and the error says
that pithos fails to import AboutPithosDialog
so i
Code:
locate AboutPithosDialog
/usr/local/lib64/python2.7/site-packages/pithos/AboutPithosDialog.py
/usr/local/lib64/python2.7/site-packages/pithos/AboutPithosDialog.pyc
/usr/local/share/pithos/ui/AboutPithosDialog.ui

and they are in 2.7 as well...

diggin through the 9999 ebuild from sunrise found this
Code:
src_install() {
        distutils_src_install --prefix="${EPREFIX}/usr"
}

went back to /tmp/pithos and did
Code:
sudo python setup.py install --prefix=/usr

and now i can launch pithos
from the command line with no errors - and can launch from the menu icon (which i think is left over from the emerge)
so what i think worked was this:
as user (assuming you have sudo .. if not su to root to run the last part)




ALL IDIOCY POSTED TO HELP OTHERS NOT MAKE MY MISTAKES :)
Code:

cd /tmp
git clone https://github.com/kevinmehall/pithos.git
sudo python setup.py install --prefix=/usr/


Last edited by Quake_Sinatra on Sun Jun 03, 2012 9:18 pm; edited 2 times in total
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Sun Jun 03, 2012 1:50 am    Post subject: Reply with quote

Quake_Sinatra wrote:
had the same problem

Sorry, I forgot to mention I have an ebuild that fixes this. The fixed ebuild is available in Bug 345815. The latest ebuild fixes the above issue and uses the github repository instead of bazaar.

As to why this isn't in sunrise, the first set of changes were reviewed (and approved) by someone on the sunrise team. I was told I would need commit access next, but nobody ever got back to me. I don't have time to keep pestering people, so I threw the ebuild up in the bug in hopes someone would find it useful.

PS: Quake_Sinatra, I would suggest using Code or Quote blocks around your command lines next time. Your post is somewhat confusing without them.
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum