Difference between pages "Funtoo Linux Localization" and "Package:DeaDBeeF"

(Difference between pages)
(Correcting order: First set default language, *then* install correct fonts)
 
 
Line 1: Line 1:
== Set Default Language ==
+
{{Ebuild
 
+
|Summary=A foobar2000-like music player
On Funtoo, there are two configuration files responsible for your language settings: <code>/etc/locale.gen</code> and <code>/etc/env.d/00basic</code>. First file has only en_US.UTF-8 locale enabled. Last one is a default shipped file comes from stage3 and responsible for en_US.UTF-8 locale system-wide. Not recommended to edit.
+
|CatPkg=media-sound/deadbeef
The following steps will guide you through the process of setting up the default system language, using French Canadian as an example.
+
|Maintainer=damex
First you will need to edit <code>/etc/locale.gen</code>:
+
<console>
+
# ##i##nano -w /etc/locale.gen
+
</console>
+
Specify your preferred locale with the accompanying character format (you will mostly want UTF-8):
+
{{fancynote|It is recommended to keep the preconfigured en_US.UTF-8 locale as a fallback.}}
+
{{file|name=/etc/locale.gen|body=
+
en_US.UTF-8 UTF-8
+
fr_CA.UTF-8 UTF-8
+
 
}}
 
}}
To determine an appropriate locale for your system, you should take a look into <code>/usr/share/i18n/SUPPORTED</code> for the default list of supported combinations or check the <code>/usr/share/i18n/locales/</code> directory for a list of valid values.
 
{{fancywarning|You are strongly advised to use ''at least one'' UTF-8 locale since some applications may require it.}}
 
  
Now, those locales need to be generated:
+
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, *BSD, OpenSolaris and other UNIX-like systems. There's also the Android version, which is a very different product. There are no Windows, OSX or iOS versions though, sorry for that.
<console>
+
# ##i##locale-gen
+
##g##*##!g## Generating 2 locales (this might take a while) with 1 jobs
+
*  (1/2) Generating en_US.UTF-8 ... [ ok ]
+
* (2/2) Generating fr_CA.UTF-8 ... [ ok ]
+
##g##*##!g## Generation complete
+
</console>
+
  
Once done, you can apply your locale settings system-wide. First display all available options:
+
Main features (the list is most likely far from complete):
<console>
+
$ ##i##eselect locale list
+
##b####g##Available targets for the LANG variable:
+
  ##b##[1]##!b##  C
+
  ##b##[2]##!b##  POSIX
+
  ##b##[3]##!b##  fr_CA.utf8
+
  ##b##[4]##!b##  en_US.utf8 ##bl##*
+
  ##b##[ ]##!b##  (free form)
+
</console>
+
The blue star indicates the current default system locale. You can now change it according your wishes:
+
<console>
+
# ##i##eselect locale set 3
+
Setting LANG to fr_CA.utf8 ...
+
Run ". /etc/profile" to update the variable in your shell.
+
</console>
+
Alternatively, you can set the default locale manually. This file should be created first with your prefered editor:
+
{{file|name=/etc/env.d/02locale|body=LANG="fr_CA.utf8"}}
+
You can verify your actions using:
+
<console>
+
$ ##i##eselect locale show
+
##b####g##LANG variable in profile:
+
  ##b##fr_CA.utf8
+
</console>
+
  
For an immediate effect it is required to reload the environment:
+
    mp3, ogg vorbis, flac, ape, wv/iso.wv, wav, m4a/mp3 (aac and alac), mpc, tta, cd audio, and many more
<console>
+
    nsf, ay, vtx, vgm/vgz, spc and many other popular chiptune formats
# ##i##env-update && source /etc/profile
+
    SID with HVSC song length database support for sid
>>> Regenerating /etc/ld.so.cache...
+
    tracker modules - mod, s3m, it, xm, etc
</console>
+
    ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, Xing/Info, VorbisComments tag reading and writing, as well as reading many other tag/metadata formats in most supported formats
Congratulations! You have successfully set up your default language on Funtoo.
+
    automatic character set detection for non-unicode id3 tags - supports cp1251, iso8859-1, and now chinese cp936 (optional), as well as SHIFT-JIS and MS-DOS CP866 for selected formats
 
+
    unicode tags are fully supported as well (both utf8 and ucs2)
== Read Your Language ==
+
    cuesheet (.cue files) support, including charset detection/conversion
 
+
    clean fast GUI using GTK2 and GTK3, you pick what you like more!
A newly installed Funtoo Linux does not able to read all the languages. You want to read the stuff, say, in Mozilla Firefox. You need to install fonts - A good sign that you have not installed the proper fonts is that the following characters appear as boxes with numbers inside: 日本語フォント
+
    no GNOME or KDE dependencies
 
+
    minimization to system tray, with scrollwheel volume control, etc
Check if you have your language installed (Chinese) by using the <tt>fc-list</tt> command from the <tt>media-libs/fontconfig</tt> ebuild:
+
    drag and drop, both in playlist, and from other apps
 +
    control playback from command line
 +
    global hotkeys
 +
    multiple playlists using tabbed interface
 +
    album cover display
 +
    OSD notifications about current playing songs
 +
    18-band graphical equalizer and other DSP plugins
 +
    built-in high quality tag editor, with custom fields support
 +
    customizable groups in playlists
 +
    customizable columns with flexible title formatting
 +
    streaming radio support for ogg vorbis, mp3 and aac streams
 +
    gapless playback for correctly encoded files
 +
    lots of plugin, such as global hotkeys, last.fm scrobbler, converter, and many more, sdk is included
 +
    comes with advanced Converter plugin, which allows to transcode files to other formats
 +
    was tested on x86, x86_64, powerpc, arm, mips architectures, should work on most modern platforms
 +
    new features are being added all the time -- check for updates frequently!
  
 +
== Installing DeaDBeeF ==
 +
To install deadbeef, emerge it:
 
<console>
 
<console>
# ##i##fc-list :lang=zh
+
###i## emerge deadbeef
 
</console>
 
</console>
  
A easier way to get the correct font installed is copy this to <tt>/etc/portage/make.conf</tt> (Simplified Chinese)
+
DeaDBeeF have many use flags and they're self explanatory. They're for built'in functional of the player or installing a 3rd party plugins.
  
<console>
+
3party plugins installed via use flags explained here:
# ##i##LANGUAGE="en_US zh_CN"
+
</console>
+
  
After editing the file, run emerge:
+
{| class="wikitable sortable"
 
+
|-
<console>
+
! USE flag !! Plugin package !! Description
# ##i##emerge -avuDN world
+
|-
</console>
+
| archive || media-plugins/deadbeef-archive-reader
 
+
|-
If you are lucky, the right font will be installed, and your apps will also be able to use Chinese as the default language. But in case you not have the right font installed in this way, you need to install them manually.
+
| bookmark-manager || media-plugins/deadbeef-bookmark-manager
 
+
|-
For Japanese:
+
| bs2b || media-plugins/deadbeef-bs2b
 
+
|-
<console>
+
| filebrowser || media-plugins/deadbeef-fb
# ##i##emerge media-fonts/kochi-substitute
+
|-
</console>
+
| gnome-mmkeys || media-plugins/deadbeef-gnome-mmkeys
 
+
|-
For Chinese:
+
| infobar || memedia-plugins/deadbeef-infobar
<console>
+
|-
# ##i##emerge media-fonts/arphicfonts
+
| jack || media-plugins/deadbeef-jack
</console>
+
|-
 
+
| mpris || media-plugins/deadbeef-mpris
For Korean:
+
|-
 
+
| musical-spectrum || media-plugins/deadbeef-musical-spectrum
<console>
+
|-
# ##i##emerge media-fonts/baekmuk-fonts
+
| replaygain-control || media-plugins/deadbeef-replaygain-control
</console>
+
|-
 
+
| spectrogram || media-plugins/deadbeef-spectrogram
== Keymap ==
+
|-
 
+
| stereo-widener || media-plugins/deadbeef-stereo-widener
Funtoo Linux defaults to a US English keyboard. If you are using another type of keyboard, edit <tt>/etc/conf.d/keymaps</tt> and set keymap to your keyboard model. For example, cf for French Canadian keyboard, fr for French Azerty.
+
|-
 
+
| vk || media-plugins/deadbeef-vk
<console>
+
|-
# ##i##nano -w /etc/conf.d/keymaps
+
| vu-meter || media-plugins/deadbeef-vu-meter
</console>
+
|-
 
+
| waveform-seekbar || media-plugins/deadbeef-waveform-seekbar
== Input Method ==
+
|}
 
+
ibus is an Intelligent Input Bus for Linux.
+
 
+
<console>
+
# ##i##emerge -av ibus
+
</console>
+
 
+
You also need to install language table for ibus (Chinese)
+
 
+
<console>
+
# ##i##emerge -av ibus-table-chinese
+
</console>
+
  
[[Category:Install|Localization]]
+
{{EbuildFooter}}

Revision as of 14:56, 14 September 2014

media-sound/deadbeef


Current Maintainer(s):damex
Source Repository:Funtoo DeaDBeeF Overlay

Summary: A foobar2000-like music player


Use Flags

aac
Advanced Audio Coding (AAC) plugin
adplug
Adplug plugin
alac
Apple Lossless Audio Codec (ALAC) plugin
cdda
Compact Disc Digital Audio (CDDA) plugin
converter
Support for converting media files
cover
Album artwork plugin
cover-imlib2
Album artwork (with support for imlib2) plugin
cover-network
Plugin for downloading album artwork from internet
curl
cURL plugin
dts
Digital Theater System (DTS) plugin
dumb
Tracker music (MOD, S3M, XM, IT, STM, 669, PTM, PSM, MTM, DSM, ASYLUM AMF, UMX, J2B) plugin
equalizer
Equalizer plugin
ffmpeg
FFmpeg plugin
flac
Free Lossless Audio Codec (FLAC) plugin
gme
Game Music Emu (NSF, AY and other formats) plugin
gtk2
GTK2 based user interface
gtk3
GTK3 based user interface
hotkeys
Hotkeys support plugin
lastfm
Last.fm scrobbling plugin
libnotify
Notification daemon support plugin
libsamplerate
Sample rate conversion plugin
m3u
m3u playlist plugin
mac
Monkey's Audio plugin
midi
midi support (via timidity) plugin
mms
Microsoft Media Server (MMS) plugin
mono2stereo
mono2stereo plugin
mp3
MPEG-1/2/2.5 Layer 3 (MP3) plugin
nls
Native Language Support (NLS)
nullout
NULL output plugin
oss
Open Sound System (OSS) output plugin
playlist-browser
Playlist browser user interface plugin
psf
AOSDK-based PSF(QSF,SSF,DSF) plugin
pulseaudio
PulseAudio output plugin
shell-exec
Support for running shell commands
shn
Shorten (SHN) plugin
sid
Commodore64 SID music player plugin
sndfile
PCM wave support (via libsndfile) plugin
tta
True Audio TTA plugin
vorbis
Ogg Vorbis plugin
unity
Gnome Unity support
vtx
Libayemy VTX ZX-Spectrum music player plugin
wavpack
WavPack plugin
wma
Windows media audio plugin
zip
vfs_zip plugin

DeaDBeeF

DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, *BSD, OpenSolaris and other UNIX-like systems. There's also the Android version, which is a very different product. There are no Windows, OSX or iOS versions though, sorry for that.

Main features (the list is most likely far from complete):

   mp3, ogg vorbis, flac, ape, wv/iso.wv, wav, m4a/mp3 (aac and alac), mpc, tta, cd audio, and many more
   nsf, ay, vtx, vgm/vgz, spc and many other popular chiptune formats
   SID with HVSC song length database support for sid
   tracker modules - mod, s3m, it, xm, etc
   ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, Xing/Info, VorbisComments tag reading and writing, as well as reading many other tag/metadata formats in most supported formats
   automatic character set detection for non-unicode id3 tags - supports cp1251, iso8859-1, and now chinese cp936 (optional), as well as SHIFT-JIS and MS-DOS CP866 for selected formats
   unicode tags are fully supported as well (both utf8 and ucs2)
   cuesheet (.cue files) support, including charset detection/conversion
   clean fast GUI using GTK2 and GTK3, you pick what you like more!
   no GNOME or KDE dependencies
   minimization to system tray, with scrollwheel volume control, etc
   drag and drop, both in playlist, and from other apps
   control playback from command line
   global hotkeys
   multiple playlists using tabbed interface
   album cover display
   OSD notifications about current playing songs
   18-band graphical equalizer and other DSP plugins
   built-in high quality tag editor, with custom fields support
   customizable groups in playlists
   customizable columns with flexible title formatting
   streaming radio support for ogg vorbis, mp3 and aac streams
   gapless playback for correctly encoded files
   lots of plugin, such as global hotkeys, last.fm scrobbler, converter, and many more, sdk is included
   comes with advanced Converter plugin, which allows to transcode files to other formats
   was tested on x86, x86_64, powerpc, arm, mips architectures, should work on most modern platforms
   new features are being added all the time -- check for updates frequently!

Installing DeaDBeeF

To install deadbeef, emerge it:

# emerge deadbeef

DeaDBeeF have many use flags and they're self explanatory. They're for built'in functional of the player or installing a 3rd party plugins.

3party plugins installed via use flags explained here:

USE flag Plugin package Description
archive media-plugins/deadbeef-archive-reader
bookmark-manager media-plugins/deadbeef-bookmark-manager
bs2b media-plugins/deadbeef-bs2b
filebrowser media-plugins/deadbeef-fb
gnome-mmkeys media-plugins/deadbeef-gnome-mmkeys
infobar memedia-plugins/deadbeef-infobar
jack media-plugins/deadbeef-jack
mpris media-plugins/deadbeef-mpris
musical-spectrum media-plugins/deadbeef-musical-spectrum
replaygain-control media-plugins/deadbeef-replaygain-control
spectrogram media-plugins/deadbeef-spectrogram
stereo-widener media-plugins/deadbeef-stereo-widener
vk media-plugins/deadbeef-vk
vu-meter media-plugins/deadbeef-vu-meter
waveform-seekbar media-plugins/deadbeef-waveform-seekbar