找回密码
 注册
查看: 1121|回复: 9

ape for beep-media-player 编译方法

[复制链接]
发表于 2005-9-3 11:56:38 | 显示全部楼层 |阅读模式
准备源码包。
bmp-mac-0.3.0.tar.bz2   
mac-3.99u4.tar.bz2


下载地址
http://www.magiclinux.org/people/jiangtao9999/bmp-0.9.7-final/mac/
http://www.magiclinux.org/people/jiangtao9999/bmp-0.9.7-final/source-tar/
ps:这里面还有wma的插件什么的,都可以下载下来编译
准备编译环境,需求。在这里按照debian sid的命名方法。
beep-media-player-dev
libgtk2.0-dev
libglib1.2-dev


这里的开发包我可能写的不全,因为我在debian下面直接
[code:1]
apt-get install libglib1.2-dev
apt-get install beep-media-player-dev
[/code:1]
就给我安装了一堆开发包。。。

首先编译
mac-3.99u4.tar.bz2
步骤如下
[code:1]
tar jxvf mac-3.99u4.tar.bz2
cd mac-3.99u4
./configure
make
make install
[/code:1]

这会在你的/usr/lib
里面添加一些libmac*之类的库

然后编译
bmp-mac-0.3.0.tar.bz2
[code:1]
tar jxvf bmp-mac-0.3.0.tar.bz2
cd bmp-mac-0.3.0
./configure
make
make install
[/code:1]

这会在你的/usr/lib/bmp/Input里面添加ape插件。

now 运行你的beep-media-player
在首选项的插件里面可以看到
Monkey's Audio Codec Player 0.3.0的字样,
现在打开一个ape文件测试一下。

Enjoy it !!!!!!
发表于 2005-9-3 12:06:05 | 显示全部楼层
哈,正需要呢,试试去 ~多谢。
回复

使用道具 举报

 楼主| 发表于 2005-9-3 12:08:38 | 显示全部楼层
有错误告诉我
我好修改。。。
别骂我就好了。
回复

使用道具 举报

发表于 2005-9-3 13:05:00 | 显示全部楼层
哦耶,终于成功了。昨天我直接下载编译好的就不行,看了你这篇文章一步一步操作下来就可以了。多谢~
回复

使用道具 举报

 楼主| 发表于 2005-9-3 13:35:05 | 显示全部楼层
搞定就好,呵呵
回复

使用道具 举报

发表于 2005-9-6 03:50:59 | 显示全部楼层

按照上面的方法去做,可是我出错了,请大家看一下,谢谢!!!

mac.cpp:282: error: expected primary-expression before "static"
mac.cpp:282: error: expected `;' before "static"
mac.cpp:284: error: `aboutbox' undeclared (first use this function)
mac.cpp:290: error: `xmms_show_message' undeclared (first use this function)
mac.cpp:292: error: `GTK_OBJECT' undeclared (first use this function)
mac.cpp:293: error: `gtk_widget_destroyed' undeclared (first use this function)
mac.cpp:293: error: `GTK_SIGNAL_FUNC' undeclared (first use this function)
mac.cpp:293: error: `gtk_signal_connect' undeclared (first use this function)
mac.cpp: In function `void mac_play_file(char*)':
mac.cpp:319: error: `gchar' undeclared (first use this function)
mac.cpp:319: error: `name' undeclared (first use this function)
mac.cpp:325: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:327: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp:327: error: 'struct PlayerInfo' has no member named 'sample_format'
mac.cpp:332: error: 'struct PlayerInfo' has no member named 'title'
mac.cpp: In function `void mac_stop()':
mac.cpp:342: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:344: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:346: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp:353: error: `g_free' undeclared (first use this function)
mac.cpp: In function `void mac_pause(short int)':
mac.cpp:361: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp: In function `void mac_seek(int)':
mac.cpp:368: error: 'struct PlayerInfo' has no member named 'eof'
mac.cpp:372: error: `xmms_usleep' undeclared (first use this function)
mac.cpp: In function `int mac_get_time()':
mac.cpp:383: error: 'struct PlayerInfo' has no member named 'playing'
mac.cpp:383: error: 'struct PlayerInfo' has no member named 'eof'
mac.cpp:383: error: `mac_plugin_info' undeclared (first use this function)
mac.cpp: In function `void mac_get_song_info(char*, char**, int*)':
mac.cpp:412: error: `g_malloc' undeclared (first use this function)
mac.cpp: At global scope:
mac.cpp:277: warning: 'void mac_init()' defined but not used
mac.cpp:281: warning: 'void mac_about()' defined but not used
mac.cpp:297: warning: 'void mac_configure()' defined but not used
mac.cpp:301: warning: 'int mac_is_our_file(char*)' defined but not used
mac.cpp:318: warning: 'void mac_play_file(char*)' defined but not used
mac.cpp:341: warning: 'void mac_stop()' defined but not used
mac.cpp:360: warning: 'void mac_pause(short int)' defined but not used
mac.cpp:365: warning: 'void mac_seek(int)' defined but not used
mac.cpp:378: warning: 'int mac_get_time()' defined but not used
mac.cpp:394: warning: 'void mac_cleanup()' defined but not used
mac.cpp:398: warning: 'void mac_get_song_info(char*, char**, int*)' defined butnot used
make[2]: *** [libxmms_mac_la-mac.lo] 错误 1
make[2]: Leaving directory `/home/majian/bmp-mac-0.3.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/majian/bmp-mac-0.3.0'
make: *** [all] 错误 2
以上是出错的信息,不知道为什么会这样,请帮帮忙啊,我不想把那么多的ape转成mp3啊,谢谢!!!!
回复

使用道具 举报

发表于 2005-9-6 18:36:31 | 显示全部楼层
楼上再多贴一点

PS: supermmx 已经有真正 for bmp 的插件了,就是那个 0.1.0 版
回复

使用道具 举报

 楼主| 发表于 2005-9-7 09:13:28 | 显示全部楼层
。。。汗,都不知道你是怎么做的。
回复

使用道具 举报

发表于 2005-9-7 10:26:54 | 显示全部楼层
支持cue吗?
回复

使用道具 举报

发表于 2005-9-7 20:25:12 | 显示全部楼层

cue 有另一个插件
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-8-6 00:07 , Processed in 0.028756 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表