memeco / osd-lyrics

Automatically exported from code.google.com/p/osd-lyrics
GNU General Public License v3.0
1 stars 0 forks source link

Patch for DeaDBeeF #217

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
DeaDBeeF不支持MPRIS,需要额外的插件。
DeaDBeeF的MPRIS插件。http://code.google.com/p/deadbeef-mpris-plugin/

Original issue reported on code.google.com by huangcongyu2006 on 19 Jun 2011 at 9:27

Attachments:

GoogleCodeExporter commented 8 years ago
多谢你的补丁,我会整合到程序里的

Original comment by tigerso...@gmail.com on 23 Jun 2011 at 2:46

GoogleCodeExporter commented 8 years ago
补丁有问题,automake无法通过
configure.ac有很大问题

Original comment by tigerso...@gmail.com on 24 Jun 2011 at 2:41

GoogleCodeExporter commented 8 years ago
今天完成了MPRIS组件的重构,所有正确实现MPRIS的播放器都可�
��自动识别并支持了

希望你能尽快处理好autotools脚本,如果有需要的话我可以帮��
�:)

Original comment by tigerso...@gmail.com on 24 Jun 2011 at 3:00

GoogleCodeExporter commented 8 years ago
补丁里面并没有对configure.ac做任何修改。只是增加了ol_player_d
eadbeef.{c,h},修改了src中的Makefile.am和ol_player.c。在我这里在0.4
.0源码上可以正常编译。

Original comment by huangcongyu2006 on 24 Jun 2011 at 3:26

GoogleCodeExporter commented 8 years ago
这个是要集成到deadbeaf代码里的么?最好能单独出来独立编译

Original comment by tigerso...@gmail.com on 24 Jun 2011 at 3:30

GoogleCodeExporter commented 8 years ago
如果独立编译的话编译成什么?库还是可执行文件?这个很��
�独立编译。

Original comment by huangcongyu2006 on 24 Jun 2011 at 3:39

GoogleCodeExporter commented 8 years ago
编译为库

为什么会很难独立编译?deadbeef没有提供插件开发的头文件和
库么?为了一个插件把整个播放器编译一次是不现实的

Original comment by tigerso...@gmail.com on 25 Jun 2011 at 4:46

GoogleCodeExporter commented 8 years ago
DeaDBeeF中就是编译成了动态库。deadbeef插件本身就是以动态库�
��形式存在的。你说的automake错误是编译osd-lyrics还是编译deadbe
ef?
在http://code.google.com/p/deadbeef-mpris-plugin/downloads/list有编译好的�
��态库插件可以下载。

Original comment by huangcongyu2006 on 25 Jun 2011 at 5:15

GoogleCodeExporter commented 8 years ago
deadbeef有一份插件开发的文档,你可以看看: 
http://sourceforge.net/apps/mediawiki/deadbeef/index.php?title=Plugin_HOWTO

作为一个插件,你的代码应该符合以下期望
从svn库中checkout下原代码
autoreconf --install
./configure --prefix=/usr
make
sudo make install

执行上述步骤后,应该生成一个.so文件,并安装到deadbeef插件
目录中。而你的插件在autoreconf一步就执行不下去了,因为你�
��要求别人把代码放到deadbeef代码中编译,编译出来的是带着�
��个插件的整个deadbeef。

另外,你提供的只是i386的so文件,64位系统的呢?以后gcc要是
升级了,有了ABI break,或者deadbeef本身发生了ABI 
break,那么你的so文件本身也会用不了的。这就是源代码可用�
��必要性。

Original comment by tigerso...@gmail.com on 25 Jun 2011 at 5:55

GoogleCodeExporter commented 8 years ago
我会尽快处理这个问题的。

Original comment by huangcongyu2006 on 25 Jun 2011 at 7:26

GoogleCodeExporter commented 8 years ago
已经可以单独编译了。你看看还有什么需要修改的。很感谢��
�告诉我这些~~

Original comment by huangcongyu2006 on 25 Jun 2011 at 8:10