{"id":2266,"date":"2012-12-12T17:12:26","date_gmt":"2012-12-12T09:12:26","guid":{"rendered":"https:\/\/www.deepin.org\/?p=2266"},"modified":"2012-12-12T17:12:26","modified_gmt":"2012-12-12T09:12:26","slug":"install-deepin-music-mplayer-on-another-distro","status":"publish","type":"post","link":"https:\/\/www.deepin.org.cn\/zh\/install-deepin-music-mplayer-on-another-distro\/","title":{"rendered":"\u5176\u4ed6\u53d1\u884c\u7248\u5b89\u88c5\u6df1\u5ea6\u97f3\u4e50\u6700\u65b0 git \u7248\u672c\u2014\u2014\u4ee5 Slackware Linux \u4e3a\u4f8b"},"content":{"rendered":"\u6211\u4eec\u4ee5\u6700\u4f20\u7edf\u7684 Slackware Linux \u4e3a\u4f8b\uff0c\u8bb2\u89e3 Deepin Music Player \u5728\u5176\u4e0a\u9762\u7684\u5b89\u88c5\u65b9\u6cd5\u3002\u9996\u5148\uff0c\u5f53\u7136\u8981\u786e\u4fdd\u6211\u4eec\u5b89\u88c5\u4e86 Deepin UI \u56fe\u5f62\u5e93\u3002<\/p>\n<h2>\u5b89\u88c5 Deepin UI<\/h2>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u8d77\u89c1\uff0c\u6211\u4eec\u5148\u5728\u5bb6\u76ee\u5f55\u521b\u5efa\u4e00\u4e2a project \u76ee\u5f55\u3002<br \/>\n\u5904\u7406\u4f9d\u8d56\uff1a<br \/>\n\u5bf9\u4e8e\u4e00\u4e2a\u5b8c\u6574\u5b89\u88c5\u7684 Slackware Linux\uff0c\u4f5c\u4e3a\u4f9d\u8d56\uff0c\u53ef\u4ee5\u4f7f\u7528 sbopkg \u5de5\u5177\u7f16\u8bd1\u5b89\u88c5 webkitgtk\uff1a<\/p>\n<pre>$ sudo sbopkg -i webkitgtk<\/pre>\n<p>\u8fd9\u4e2a\u8fc7\u7a0b\u9700\u8981\u6f2b\u957f\u7684\u65f6\u95f4\uff0c\u7f16\u8bd1\u7684\u540c\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06 deepin-ui \u7684 git \u7248\u672c\u4ece\u4ed3\u5e93\u4e2d\u590d\u5236\u4e0b\u6765\uff1a<\/p>\n<pre>$ git clone https:\/\/github.com\/linuxdeepin\/deepin-ui.git<\/pre>\n<p>\u6211\u4eec\u6682\u5c06\u8be5\u76ee\u5f55\u5b9a\u4e49\u4e3a $srcdir\uff1a<\/p>\n<pre>$ srcdir=deepin-ui<\/pre>\n<p>\u5728\u8be5\u76ee\u5f55\u4e0b\u65b0\u5efa\u4e00\u540d\u4e3a build \u7684\u76ee\u5f55\u5e76\u5c06 deepin-ui \u5b89\u88c5\u4e8e\u8be5\u76ee\u5f55\u4e0b\uff1a<\/p>\n<pre>$ mkdir build\n$ python2 setup.py install --root=$srcdir\/build --optimize=2<\/pre>\n<p>\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u6587\u4ef6\uff1a<\/p>\n<pre>$ rm usr\/dtk\/locale\/{*po,deepin-ui.pot}<\/pre>\n<p>\u62f7\u8d1d\u6587\u4ef6\u5230\u76f8\u5e94\u76ee\u5f55\uff1a<\/p>\n<pre>$ cd $srcdir\/build\n$ mkdir usr\/share\/locale -p\n$ mv usr\/dtk\/locale\/ usr\/share\/\n$ mv usr\/dtk\/theme\/ usr\/lib\/python2.7\/site-packages\/dtk\n$ rm -r usr\/dtk\/\n$ mkdir install\n$ cd install<\/pre>\n<p>\u5728 install \u76ee\u5f55\u4e0b\uff0c\u65b0\u5efa\u540d\u4e3a slack-desc \u7684\u6587\u4ef6\uff1a\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<!--more--><\/p>\n<pre># HOW TO EDIT THIS FILE:\n# The \"handy ruler\" below makes it easier to edit a package description.  Line\n# up the first '|' above the ':' following the base package name, and the '|'\n# on the right side marks the last column you can put a character in.  You must\n# make exactly 11 lines for the formatting to be correct.  It's also\n# customary to leave one space after the ':'.\n\n               |-----handy-ruler------------------------------------------------------|\ndeepin-ui: deepin-ui (Deepin Graphics Library)\ndeepin-ui:\ndeepin-ui: This is the graphics library needed by some packages including deepin-music\ndeepin-ui:\ndeepin-ui: player, deepin-media-player etc.\ndeepin-ui:\ndeepin-ui: Upstream site:  \ndeepin-ui:\ndeepin-ui: https:\/\/github.com\/linuxdeepin\/deepin-ui.git\ndeepin-ui:\ndeepin-ui:<\/pre>\n<p>\u91cd\u65b0\u56de\u5230 build \u76ee\u5f55\uff0c\u5f00\u59cb\u5236\u4f5c\u8f6f\u4ef6\u5305\uff1a<\/p>\n<pre>$ makepkg -l y -c n ..\/deepin-ui-1.0-i486-20121212git.tgz<\/pre>\n<p>\u5b89\u88c5\u8be5\u8f6f\u4ef6\u5305\uff1a<\/p>\n<pre>$ installpkg ..\/deepin-ui-1.0-i486-201212git.tgz<\/pre>\n<h2>\u5b89\u88c5\u6df1\u5ea6\u97f3\u4e50<\/h2>\n<p>\u5b89\u88c5\u76f8\u5173\u4f9d\u8d56\uff0c\u4e00\u822c\u53ef\u5728 slackbuilds.org \u4e2d\u627e\u5230\uff0c\u7ecf\u8fc7\u4e2a\u4eba\u4e0d\u5b8c\u5168\u8bd5\u9a8c\uff0c\u5176\u4f9d\u8d56\u4e3a\uff08\u4e0d\u518d\u6b21\u63d0\u53ca\u4e0a\u8ff0\u7684 deepin-ui\uff09\uff1apyquery, gst-python, python2-chardet, mugagen, scipy, python-xlib, cddb-py, gst-plugins-ugly-0.10, gst-plugins-ffmpeg-0.10, gst-plugin-mms, pymmkeys\u3002<br \/>\n\u5c06 Deepin Music Player \u7684 git \u7248\u672c\u590d\u5236\u5230\u672c\u5730\uff1a<\/p>\n<pre>$ git clone https:\/\/github.com\/linuxdeepin\/deepin-music-player.git<\/pre>\n<p>\u8fdb\u5165\u5230 tools \u76ee\u5f55\uff0c\u751f\u6210\u591a\u56fd\u8bed\u8a00 mo \u6587\u4ef6\uff1a<\/p>\n<pre>.\/generatemo.py<pe>\n\u56de\u5230\u4e4b\u524d\u7684\u76ee\u5f55\uff0c\u5220\u9664\u4e0d\u5fc5\u8981\u6587\u4ef6\uff1a\n<pre>$ rm -rf repos.sh tools\/ locale\/*po* TODO README.md dmusic .git*<\/pre>\n<p>\u628a\u6587\u4ef6\u590d\u5236\u5230\u76f8\u5e94\u76ee\u5f55\uff1a<\/p>\n<pre>$ mkdir -p usr\/share\/{applications,icons,deepin-music-player}\n$ mv {app_theme,skin,src,plugins,wizard}\/ usr\/share\/deepin-music-player\/\n$ mv {AUTHORS,COPYING,Changelog} usr\/share\/deepin-music-player\/<\/pre>\n<p>\u5728 usr\/share\/applications \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u672c\u6587\u4ef6 deepin-music-player.desktop\uff0c\u5176\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre>[Desktop Entry]\nName=Deepin Music Player\nName[zh_CN]=\u6df1\u5ea6\u97f3\u4e50\u64ad\u653e\u5668\nComment=Play your music collection\nComment[zh_CN]=\u4e3a\u60a8\u64ad\u653e\u672c\u5730\u53ca\u7f51\u7edc\u97f3\u9891\u6d41\nGenericName=Music Player\nExec=deepin-music-player %F\nIcon=deepin-music-player\nType=Application\nCategories=AudioVideo;Player;GTK;Multimedia;\nMimeType=audio\/musepack;application\/musepack;application\/x-ape;audio\/ape;audio\/x-ape;audio\/x-musepack;application\/x-musepack;audio\/x-mp3;application\/x-id3;audio\/mpeg;audio\/x-mpeg;audio\/x-mpeg-3;audio\/mpeg3;audio\/mp3;audio\/x-m4a;audio\/mpc;audio\/x-mpc;audio\/mp;audio\/x-mp;application\/ogg;application\/x-ogg;audio\/vorbis;audio\/x-vorbis;audio\/ogg;audio\/x-ogg;audio\/x-flac;application\/x-flac;audio\/flac;<\/pre>\n<p>\u521b\u5efa install \u76ee\u5f55\u5e76\u5728\u5176\u4e0b\u7f16\u5199 slack-desc \u6587\u4ef6\u4e3a\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre># HOW TO EDIT THIS FILE:\n# The \"handy ruler\" below makes it easier to edit a package description.  Line\n# up the first '|' above the ':' following the base package name, and the '|'\n# on the right side marks the last column you can put a character in.  You must\n# make exactly 11 lines for the formatting to be correct.  It's also\n# customary to leave one space after the ':'.\n\n        |-----handy-ruler------------------------------------------------------|\ndeepin-music-player: deepin-music-player (Deepin Music Player)\ndeepin-music-player:\ndeepin-music-player: Awesome music player with brilliant and tweakful UI.\ndeepin-music-player:\ndeepin-music-player:\ndeepin-music-player:<\/pre>\n<p>\u5728 install \u76ee\u5f55\u4e0b\u521b\u5efa\u540d\u4e3a doinst.sh \u7684\u6587\u672c\u6587\u4ef6\u5e76\u52a0\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre>( cd usr\/bin ; rm -rf deepin-music-player )\n( cd usr\/bin ; ln -sf \/usr\/share\/deepin-music-player\/src\/main.py deepin-music-player )<\/pre>\n<p>\u5236\u4f5c\u8f6f\u4ef6\u5305\uff1a<\/p>\n<pre>$ sudo makepkg -l y -c n ..\/deepin-music-player-1.0-i486-20121212git.tgz<\/pre>\n<p>\u5b89\u88c5\u8f6f\u4ef6\u5305\uff1a<\/p>\n<pre>$ sudo installpkg ..\/deepin-music-player-1.0-i486-20121212git.tgz<\/pre>","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u4ee5\u6700\u4f20\u7edf\u7684 Slackware Linux \u4e3a\u4f8b\uff0c\u8bb2\u89e3 Deepin Music Player \u5728\u5176\u4e0a\u9762\u7684\u5b89\u88c5\u65b9\u6cd5\u3002\u9996\u5148\uff0c\u5f53\u7136\u8981\u786e\u4fdd\u6211\u4eec\u5b89\u88c5\u4e86 Deepin UI \u56fe\u5f62\u5e93\u3002 \u5b89\u88c5 Deepin UI \u4e3a\u4e86\u65b9\u4fbf\u8d77\u89c1\uff0c\u6211\u4eec\u5148\u5728\u5bb6\u76ee\u5f55\u521b\u5efa\u4e00\u4e2a project \u76ee\u5f55\u3002 \u5904\u7406\u4f9d\u8d56\uff1a \u5bf9\u4e8e\u4e00\u4e2a\u5b8c\u6574\u5b89\u88c5\u7684 Slackware Linux\uff0c\u4f5c\u4e3a\u4f9d\u8d56\uff0c\u53ef\u4ee5\u4f7f\u7528 sbopkg \u5de5\u5177\u7f16\u8bd1\u5b89\u88c5 webkitgtk\uff1a  ...<a href=https:\/\/www.deepin.org.cn\/zh\/install-deepin-music-mplayer-on-another-distro\/>\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":27,"featured_media":9982,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[93],"tags":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/2266"}],"collection":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/comments?post=2266"}],"version-history":[{"count":0,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/2266\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/media?parent=2266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/categories?post=2266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/tags?post=2266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}