|
1 | | -LDOCE5 Viewer |
2 | | -============= |
3 | | - |
4 | | -The LDOCE5 Viewer is an alternative dictionary viewer for the Longman Dictionary of Contemporary English 5th Edition (LDOCE 5). |
5 | | - |
6 | | -It runs on Linux and Microsoft Windows. |
7 | | - |
8 | | -Website: http://hakidame.net/ldoce5viewer/ |
9 | | - |
10 | | -This software is free and open source software licensed under the terms of GPLv3. |
11 | | - |
12 | | - |
13 | | -Prerequisites |
14 | | -------------- |
15 | | - |
16 | | -* Python 2.7 or 2.6 (not 3.x) |
17 | | - |
18 | | -* PyQt |
19 | | - |
20 | | - - `python-qt4` (in Ubuntu/Mint/Debian) |
21 | | - - `python2-pyqt` (in Arch Linux) |
22 | | - |
23 | | -* lxml |
24 | | - |
25 | | - - `python-lxml` (in Ubuntu/Mint/Debian) |
26 | | - - `python2-lxml` (in Arch Linux) |
27 | | - |
28 | | -* [On Linux] Python bindings for Gstreamer |
29 | | - |
30 | | - - `python-gst` (in Ubuntu/Mint/Debian) |
31 | | - - `gstreamer0.10-python` (in Arch Linux) |
32 | | - |
33 | | - |
34 | | -Installation |
35 | | ------------- |
36 | | - |
37 | | -###Linux |
38 | | - |
39 | | -1. Enter the following commands in the terminal: |
40 | | - |
41 | | -```bash |
42 | | -$ sudo python2.7 ./setup.py install --optimize |
43 | | -$ sudo cp ./ldoce5viewer.desktop /usr/share/applications/ |
44 | | -$ sudo cp ./ldoce5viewer/qtgui/resources/ldoce5viewer.svg /usr/share/pixmaps/ |
45 | | -$ [ -x /usr/bin/update-desktop-database ] && sudo update-desktop-database -q |
46 | | -``` |
47 | | - |
48 | | -2. Copy the 'ldoce5.data' directory from the LDOCE5 DVD-ROM to an arbitrary location in your HDD or SSD. |
49 | | - |
50 | | -3. Start the LDOCE5 Viewer. |
51 | | - |
52 | | -4. The application will ask you the location where you put 'ldoce5.data'. |
53 | | - |
| 1 | +LDOCE5 Viewer |
| 2 | +============= |
| 3 | + |
| 4 | +The LDOCE5 Viewer is an alternative dictionary viewer for the Longman Dictionary of Contemporary English 5th Edition (LDOCE 5). |
| 5 | + |
| 6 | +It runs on Linux and Microsoft Windows. |
| 7 | + |
| 8 | +Website: http://hakidame.net/ldoce5viewer/ |
| 9 | + |
| 10 | +This software is free and open source software licensed under the terms of GPLv3. |
| 11 | + |
| 12 | + |
| 13 | +Prerequisites |
| 14 | +------------- |
| 15 | + |
| 16 | +* Python 2.7 or 2.6 (not 3.x) |
| 17 | + |
| 18 | +* PyQt |
| 19 | + |
| 20 | + - `python-qt4` (Ubuntu/Mint/Debian) |
| 21 | + - `python2-pyqt` (Arch Linux) |
| 22 | + |
| 23 | +* lxml |
| 24 | + |
| 25 | + - `python-lxml` (Ubuntu/Mint/Debian) |
| 26 | + - `python2-lxml` (Arch Linux) |
| 27 | + |
| 28 | +* [On Linux] Python bindings for Gstreamer |
| 29 | + |
| 30 | + - `python-gst` (Ubuntu/Mint/Debian) |
| 31 | + - `gstreamer0.10-python` (Arch Linux) |
| 32 | + |
| 33 | +* [On Linux] Gstreamer plugins for MP3 audio playback |
| 34 | + |
| 35 | + - `gst-plugins-good` and `gst-plugins-ugly` (Ubuntu/Mint/Debian) |
| 36 | + - `gstreamer-plugins-good` and `gstreamer-plugins-ugly` (Arch Linux) |
| 37 | + |
| 38 | + |
| 39 | +Installation |
| 40 | +------------ |
| 41 | + |
| 42 | +###Linux |
| 43 | + |
| 44 | +1. Enter the following commands in the terminal: |
| 45 | + |
| 46 | +```bash |
| 47 | +$ sudo python2.7 ./setup.py install --optimize |
| 48 | +$ sudo cp ./ldoce5viewer.desktop /usr/share/applications/ |
| 49 | +$ sudo cp ./ldoce5viewer/qtgui/resources/ldoce5viewer.svg /usr/share/pixmaps/ |
| 50 | +$ [ -x /usr/bin/update-desktop-database ] && sudo update-desktop-database -q |
| 51 | +``` |
| 52 | + |
| 53 | +2. Copy the 'ldoce5.data' directory from the LDOCE5 DVD-ROM to an arbitrary location in your HDD or SSD. |
| 54 | + |
| 55 | +3. Start the LDOCE5 Viewer. |
| 56 | + |
| 57 | +4. The application will ask you the location where you put 'ldoce5.data'. |
| 58 | + |
0 commit comments