Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux的iTunes替代 - PyMusique安装详解
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
mar_ning_2000
n00b
n00b


Joined: 30 Sep 2004
Posts: 24
Location: Victoria BC, Canada

PostPosted: Sat May 28, 2005 3:59 am    Post subject: Linux的iTunes替代 - PyMusique安装详解 Reply with quote

什么是PyMusique?
PyMusique是Linux下的一个以Python为平台的iTunes Music Store界面。用户可以像在iTunes下一样试听,购买音乐(当然还是要用信用卡注册,支付)。PyMusique和iTunes对比的最大优势就是"购买的歌曲没有DRM"!!! 也就是说购买的歌曲可以在任何电脑,任何iPod或Portable Player上播放。
截图
PyMusique作者的网站

Gentoo的安装过程
* 首先,下载PyMusique和Python-Mcrypt的ebuild(官方Portage是没有的):
PyMusique 0.5
Python-Mcrypt 1.1

* 然后输入以下指令:
$ mkdir /usr/local/portage
$ cd /usr/local/portage
$ mkdir media-sound
$ mkdir medis-sound/pymusique
$ mkdir dev-python
$ mkdir dev-python/python-mcrypt

* 之后把PyMusique的eBuild放到/usr/local/medis-sound/pymusique,
再把Python-Mcrypt的eBuild放到/usr/local/dev-python/python-mcrypt

* 修改PyMusique的eBuild:
把以下:
IUSE="gstreamer"

DEPEND=">=dev-lang/python-2.3
dev-python/gnome-python
gstreamer? ( dev-python/gst-python
media-libs/faad2
media-plugins/gst-plugins-faad )
dev-python/pygtk
dev-python/twisted
dev-python/python-mcrypt"
改为:
IUSE="gstreamer gnome"

DEPEND=">=dev-lang/python-2.3
gnome? (dev-python/gnome-python)
gstreamer? ( dev-python/gst-python
media-libs/faad2
media-plugins/gst-plugins-faad )
dev-python/pygtk
dev-python/twisted
dev-python/python-mcrypt"

* 然后运行:
$ ebuild /usr/local/medis-sound/pymusique/pymusique-0.5.ebuild digest
$ ebuild /usr/local/medis-sound/pymusique/python-mcrypt-1.1.ebuild digest

* 接着创建Portage Overlay,把以下加入/etc/make.conf:
PORTDIR_OVERLAY="/usr/local/portage"

* Emerge之前必须先Unmask PyMusique和Python-Mcrypt:
$ echo "=media-sound/pymusique-0.5 ~x86" >> /etc/portage/package.keywords
$ echo "=dev-python/python-mcrypt-1.1 ~x86" >> /etc/portage/package.keywords

* 如果想用"试听"功能,Unmask GStreamer:
$ echo "=dev-python/gst-python-0.8.1 ~x86" >> /etc/portage/package.keywords

* Emerge
安装PyMusique并加入Gnome支援:
$ USE="gstreamer gnome" emerge pymusique
安装PyMusique但不加入Gnome支援:
$ USE="gstreamer -gnome" emerge pymusique
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat May 28, 2005 7:07 am    Post subject: Reply with quote

强力支持大家多发这种分享经验心得的帖子 ;)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) 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