Browse Source
https://snapshot.debian.org/package/codeine/1.0.1-3.dfsg-3.1/ Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/1/head
commit
5f44f7b187
78 changed files with 9005 additions and 0 deletions
@ -0,0 +1,52 @@
|
||||
1.0.1 |
||||
Mute button for KPart |
||||
Play DVD entry for KDE 3.5 + media:/ when DVD inserted |
||||
DVD-Menu-Toggle is no longer a KToggleAction because I can't detect when DVD menus change, but it still acts as a toggle button |
||||
Made record work for systems other than mine! (hard-coded path) |
||||
Made record shortcut CTRL-R so it doesn't conflict with the DVD-Root-Menu toggle |
||||
videoWindow doesn't judder when toolbar appears in fullscreen anymore |
||||
dvd-toolbar is gone, instead root menu button appears when dvd is playing |
||||
toolbar in fullscreen mode shows on mouse move |
||||
toolbar in fullscreen mode respects user-positioning |
||||
media kioslave support |
||||
double-clicking the video toggles fullscreen |
||||
don't show part in K-Menu |
||||
a volume toolbar button, - available from the configure-toolbar dialog, it's not very good yet |
||||
|
||||
1.0-rc2 |
||||
Seek fixes |
||||
Improved error messages |
||||
KPart crash on exit fix |
||||
|
||||
1.0-beta6 |
||||
Frame capture function |
||||
Aspect Ratio setting |
||||
Snap for videoSettings dialog sliders |
||||
Polish to all dialogs, menus |
||||
Hide cursor in fullscreen mode bug fixed |
||||
Many other fixes and lots of polish |
||||
|
||||
1.0-beta3 |
||||
Made Codeine single-window |
||||
Removed Pause KAction, instead toggling play pauses |
||||
Made it remember all details about how you like to view videos (eg. |
||||
contrast, brightness, size) |
||||
Shows toolbar when mouse is a screen-top in fullscreen mode |
||||
Bug fixes |
||||
|
||||
1.0-beta2 |
||||
Fixed fullscreen not covering Kicker |
||||
Added stop KAction |
||||
Added "You must install!" message after make does linking |
||||
Set busy cursor during unresponsive init period |
||||
Made the GUI detect lack of a ui file and show a useful message |
||||
If you quit during playback, the track volume fades out |
||||
Various feel/feedback fixes |
||||
Recent-files list in initial definately doesn't have duplicates anymore, sort order is also corrected |
||||
Routed out some nasty freeze bugs |
||||
Automatic frame format change handling |
||||
Stream recording |
||||
Many little bug-fixes and improvements |
||||
|
||||
1.0-beta1 |
||||
Initial release |
@ -0,0 +1,17 @@
|
||||
pkgname=codeine |
||||
pkgver=1.0.1 |
||||
pkgrel=1 |
||||
pkgdesc="A simple xine-based video player" |
||||
url="http://www.methylblue.com/codeine/" |
||||
|
||||
build() { |
||||
echo -e "\033[0;34m==>\033[0;0;1m Configure \033[0;0m" |
||||
cd "$startdir" |
||||
./configure prefix=/opt/kde |
||||
|
||||
echo -e "\033[0;34m==>\033[0;0;1m Make \033[0;0m" |
||||
make || return 1 |
||||
|
||||
echo -e "\033[0;34m==>\033[0;0;1m Install \033[0;0m" |
||||
DESTDIR="$startdir/pkg" make install |
||||
} |
@ -0,0 +1,48 @@
|
||||
INTRODUCTION |
||||
Codeine is a very simple xine-based media player. |
||||
|
||||
I make the following promises: |
||||
|
||||
* I will not add any substantial features after version 1.0.0 |
||||
* After then, improvements will only be in the realm of usability and bug |
||||
fixes |
||||
|
||||
You can rely on Codeine for now and until xine is obsolete to be a simple |
||||
no-frills video(/media) player. |
||||
|
||||
Visit #codeine on freenode.net! |
||||
|
||||
Max Howell |
||||
|
||||
|
||||
REQUIREMENTS |
||||
You will need at least: |
||||
|
||||
* Qt 3.3.0 (Qt 3.2.x may work, it is just not tested) |
||||
* KDElibs 3.3.0 |
||||
* xine-lib 1.0.0-rc4 |
||||
|
||||
You also need python installed in order to build Codeine. |
||||
|
||||
|
||||
INSTALLATION |
||||
I use scons + bksys as the build system. But you can still do the following: |
||||
|
||||
% ./configure && make && su -c "make install" |
||||
|
||||
Or if you have scons installed, simply: |
||||
|
||||
% scons && su -c "scons install" |
||||
|
||||
Note that scons is a little silly and this kind of thing doesn't work: |
||||
|
||||
% ./configure --prefix=/foo/bar --debug=full |
||||
|
||||
Instead do: |
||||
|
||||
% ./configure prefix=/foo/bar debug=full |
||||
|
||||
|
||||
TRANSLATIONS |
||||
I will make the po file available for translation at the 1.0-rc1 stage, if |
||||
you want to make a translation I thank you in advance :-) |
@ -0,0 +1,168 @@
|
||||
#!/usr/bin/python |
||||
|
||||
########################################### |
||||
## Common section, for loading the tools |
||||
|
||||
## Load the builders in config |
||||
env = Environment(TARGS=COMMAND_LINE_TARGETS, ARGS=ARGUMENTS, tools=['default', 'generic', 'kde', 'codeine'], toolpath=['./scons/']) |
||||
|
||||
|
||||
## the configuration should be done by now, quit |
||||
if 'configure' in COMMAND_LINE_TARGETS: |
||||
env.Exit(0) |
||||
|
||||
|
||||
|
||||
""" |
||||
Overview of the module system : |
||||
|
||||
Each module (kde.py, generic.py, sound.py..) tries to load a stored |
||||
configuration when run. If the stored configuration does not exist |
||||
or if 'configure' is given on the command line (scons configure), |
||||
the module launches the verifications and detectioins and stores |
||||
the results. Modules also call exit when the detection fail. |
||||
|
||||
For example, kde.py stores its config into kde.cache.py |
||||
|
||||
This has several advantages for both developers and users : |
||||
- Users do not have to run ./configure to compile |
||||
- The build is insensitive to environment changes |
||||
- The cache maintains the objects so the config can be changed often |
||||
- Each module adds its own help via env.Help("message") |
||||
""" |
||||
|
||||
## Use the variables available in the environment - unsafe, but moc, meinproc need it :-/ |
||||
import os |
||||
env.AppendUnique( ENV = os.environ ) |
||||
## If you do not want to copy the whole environment, you can use this instead (HOME is necessary for uic): |
||||
#env.AppendUnique( ENV = {'PATH' : os.environ['PATH'], 'HOME' : os.environ['HOME']} ) |
||||
|
||||
## The target make dist requires the python module shutil which is in 2.3 |
||||
env.EnsurePythonVersion(2, 3) |
||||
|
||||
## Bksys requires scons 0.96 |
||||
env.EnsureSConsVersion(0, 96) |
||||
|
||||
""" |
||||
Explanation of the 'env = Environment...' line : |
||||
* the command line arguments and targets are stored in env['TARGS'] and env['ARGS'] for use by the tools |
||||
* the part 'tools=['default', 'generic ..' detect and load the necessary functions for doing the things |
||||
* the part "toolpath=['./']" tells that the tools can be found in the current directory (generic.py, kde.py ..) |
||||
""" |
||||
|
||||
""" |
||||
To load more configuration modules one should only have to add the appropriate tool |
||||
ie: to detect alsa and add the proper cflags, ldflags .. |
||||
a file alsa.py file will be needed, and one should then use : |
||||
env = Environment(TARGS=COMMAND_LINE_TARGETS, ARGS=ARGUMENTS, tools=['default', 'generic', 'kde', 'alsa'], toolpath=['./']) |
||||
|
||||
You can also load environments that are targetted to different platforms |
||||
ie: if os.sys.platform = "darwin": |
||||
env = Environment(... |
||||
elsif os.sys.platform = "linux": |
||||
env = Environment(... |
||||
|
||||
""" |
||||
|
||||
## Setup the cache directory - this avoids recompiling the same files over and over again |
||||
## this is very handy when working with cvs |
||||
env.CacheDir('cache') |
||||
env.SConsignFile('scons/signatures') |
||||
|
||||
## If you need more libs and they rely on pkg-config |
||||
## ie: add support for GTK (source: the scons wiki on www.scons.org) |
||||
# env.ParseConfig('pkg-config --cflags --libs gtk+-2.0') |
||||
|
||||
""" |
||||
This tell scons that there are no rcs or sccs files - this trick |
||||
can speed up things a bit when having lots of #include |
||||
in the source code and for network file systems |
||||
""" |
||||
env.SourceCode(".", None) |
||||
dirs = [ '.', 'src', 'src/part', 'src/app' ] |
||||
for dir in dirs: |
||||
env.SourceCode(dir, None) |
||||
|
||||
## If we had only one program (named kvigor) to build, |
||||
## we could add before exporting the env (some kde |
||||
## helpers in kde.py need it) : |
||||
# env['APPNAME'] = 'kvigor' |
||||
|
||||
## Use this define if you are using the kde translation scheme (.po files) |
||||
env.Append( CPPFLAGS = ['-DQT_NO_TRANSLATION'] ) |
||||
|
||||
## Uncomment the following if you need threading support threading |
||||
#env.Append( CPPFLAGS = ['-DQT_THREAD_SUPPORT', '-D_REENTRANT'] ) |
||||
#if os.uname()[0] == "FreeBSD": |
||||
# env.Append(LINKFLAGS=["-pthread"]) |
||||
|
||||
## Important : export the environment so that SConscript files can the |
||||
## configuration and builders in it |
||||
Export("env") |
||||
|
||||
|
||||
def string_it(target, source, env): |
||||
print "Visit #codeine on irc.freenode.net!" |
||||
return 0 |
||||
|
||||
env.AddPostAction( "install", string_it ) |
||||
|
||||
env.SConscript( "src/SConscript", build_dir='build', duplicate=0 ) |
||||
|
||||
|
||||
if 'dist' in COMMAND_LINE_TARGETS: |
||||
|
||||
APPNAME = 'codeine' |
||||
VERSION = os.popen("cat VERSION").read().rstrip() |
||||
FOLDER = APPNAME+'-'+VERSION |
||||
ARCHIVE = FOLDER+'.tar.bz2' |
||||
|
||||
GREEN ="\033[92m" |
||||
NORMAL ="\033[0m" |
||||
|
||||
import shutil |
||||
import glob |
||||
|
||||
## check if the temporary directory already exists |
||||
if os.path.isdir(FOLDER): |
||||
shutil.rmtree(FOLDER) |
||||
|
||||
## create a temporary directory |
||||
startdir = os.getcwd() |
||||
# TODO copying the cache takes forever! delete it first |
||||
shutil.copytree(startdir, FOLDER) |
||||
|
||||
## remove the unnecessary files |
||||
os.popen("find "+FOLDER+" -name \"{arch}\" | xargs rm -rf") |
||||
os.popen("find "+FOLDER+" -name \".arch-ids\" | xargs rm -rf") |
||||
os.popen("find "+FOLDER+" -name \".arch-inventory\" | xargs rm -f") |
||||
os.popen("find "+FOLDER+" -name \".scon*\" | xargs rm -rf") |
||||
os.popen("find "+FOLDER+" -name \"kdiss*-data\" | xargs rm -rf") |
||||
os.popen("find "+FOLDER+" -name \"*.pyc\" | xargs rm -f") |
||||
os.popen("find "+FOLDER+" -name \"*.cache.py\" | xargs rm -f") |
||||
os.popen("find "+FOLDER+" -name \"*.log\" | xargs rm -f") |
||||
os.popen("find "+FOLDER+" -name \"*.kdevelop.*\" | xargs rm -f") |
||||
os.popen("find "+FOLDER+" -name \"*~\" | xargs rm -f") |
||||
|
||||
os.popen("rm -rf "+FOLDER+"/autopackage") |
||||
os.popen("rm -rf "+FOLDER+"/build") |
||||
os.popen("rm -rf "+FOLDER+"/cache") |
||||
os.popen("rm -f " +FOLDER+"/codeine-*.tar.bz2") |
||||
os.popen("rm -f " +FOLDER+"/config.py*") |
||||
os.popen("rm -f " +FOLDER+"/src/configure.h") |
||||
os.popen("rm -f " +FOLDER+"/Doxyfile") |
||||
os.popen("rm -f " +FOLDER+"/Makefile") |
||||
os.popen("rm -rf "+FOLDER+"/packages") |
||||
os.popen("rm -rf "+FOLDER+"/screenshots") |
||||
os.popen("rm -f " +FOLDER+"/scons/signatures.dblite") |
||||
|
||||
## make the tarball |
||||
print GREEN+"Writing archive "+ARCHIVE+NORMAL |
||||
os.popen("tar cjf "+ARCHIVE+" "+FOLDER) |
||||
|
||||
## remove the temporary directory |
||||
if os.path.isdir(FOLDER): |
||||
shutil.rmtree(FOLDER) |
||||
|
||||
env.Default(None) |
||||
env.Exit(0) |
@ -0,0 +1,87 @@
|
||||
#! /bin/sh |
||||
# TODO parse each passed argument and remove any "--" prefix |
||||
|
||||
BOLD="\033[1m" |
||||
RED="\033[91m" |
||||
GREEN="\033[92m" |
||||
YELLOW="\033[93m" |
||||
CYAN="\033[96m" |
||||
NORMAL="\033[0m" |
||||
|
||||
if command -v scons >/dev/null 2>&1; |
||||
then |
||||
SCONS=scons |
||||
else |
||||
if [ ! -e "scons/scons" ]; then |
||||
echo "" |
||||
echo -ne "Unpacking mini-scons..."$RED |
||||
|
||||
pushd scons >/dev/null 2>&1 |
||||
tar xjvf scons-mini.tar.bz2 > /dev/null 2>&1 |
||||
|
||||
if [[ "$?" == "0" ]]; then |
||||
echo -e $GREEN"done"$NORMAL |
||||
else |
||||
echo -e $RED"failed!"$NORMAL |
||||
exit 2 |
||||
fi |
||||
|
||||
popd > /dev/null |
||||
fi |
||||
|
||||
SCONS=scons/scons |
||||
fi |
||||
|
||||
if [[ "$1" == "--help" ]]; then |
||||
$SCONS -Q configure --help |
||||
exit |
||||
fi |
||||
|
||||
echo "" |
||||
echo "Configuring Codeine "`cat VERSION`"..." |
||||
echo "" |
||||
|
||||
#TODO remove all prefixed "--" |
||||
|
||||
$SCONS -Q configure $@ || exit 1 |
||||
|
||||
echo "" |
||||
echo -e "Your configure completed "$GREEN"successfully"$NORMAL", now type "$BOLD"make"$NORMAL |
||||
echo "" |
||||
|
||||
cat > Makefile << EOF |
||||
## Makefile automatically generated by unpack_local_scons.sh |
||||
|
||||
SCONS=$SCONS |
||||
|
||||
# scons : compile |
||||
# scons -c : clean |
||||
# scons install : install |
||||
# scons -c install : uninstall and clean |
||||
|
||||
# default target : use scons to build the programs |
||||
all: |
||||
\$(SCONS) -Q |
||||
|
||||
### There are several possibilities to help debugging : |
||||
# scons --debug=explain, scons --debug=tree .. |
||||
# |
||||
### To optimize the runtime, use |
||||
# scons --max-drift=1 --implicit-deps-unchanged |
||||
debug: |
||||
\$(SCONS) -Q --debug=tree |
||||
|
||||
clean: |
||||
\$(SCONS) -c |
||||
|
||||
install: |
||||
\$(SCONS) install |
||||
|
||||
uninstall: |
||||
\$(SCONS) -c install |
||||
|
||||
## this target creates a tarball of the project |
||||
dist: |
||||
\$(SCONS) dist |
||||
EOF |
||||
|
@ -0,0 +1,9 @@
|
||||
[Desktop Entry] |
||||
Name=Codeine |
||||
Exec=codeine %u |
||||
Icon=codeine |
||||
Type=Application |
||||
Encoding=UTF-8 |
||||
MimeType=video/x-theora;video/x-ogm;video/x-ms-wmv;video/x-msvideo;video/x-ms-asf;video/x-matroska;video/mpeg;video/avi;video/quicktime;video/vnd.rn-realvideo;video/x-flic; |
||||
Categories=Qt;KDE;AudioVideo;Player |
||||
GenericName=Video Player |
@ -0,0 +1,10 @@
|
||||
[Desktop Entry] |
||||
Encoding=UTF-8 |
||||
Icon=codeine |
||||
MimeType=video/x-theora;video/x-ogm;video/x-ms-wmv;video/x-msvideo;video/x-ms-asf;video/x-matroska;video/mpeg;video/avi;video/quicktime;video/vnd.rn-realvideo;video/x-flic; |
||||
Name=Codeine |
||||
Comment=Embeddable Video Player |
||||
ServiceTypes=KParts/ReadOnlyPart |
||||
Type=Service |
||||
X-KDE-Library=libcodeine |
||||
InitialPreference=9 |
@ -0,0 +1,10 @@
|
||||
[KFileDialog Settings] |
||||
ShowPreviews=false |
||||
|
||||
[MainWindow Toolbar dvdToolBar] |
||||
Hidden=true |
||||
IconText=IconTextRight |
||||
Index=0 |
||||
|
||||
[MainWindow Toolbar mainToolBar] |
||||
Index=1 |
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE kpartgui> |
||||
<kpartgui name="codeine" version="4"> |
||||
<MenuBar> |
||||
<Menu name="file" noMerge="1"><text>&Play</text> |
||||
<Action name="play_media"/> |
||||
<Separator/> |
||||
<Action name="play"/> |
||||
<Action name="stop"/> |
||||
<Separator/> |
||||
<Action name="file_quit"/> |
||||
</Menu> |
||||
<Menu name="settings" noMerge="1"><text>&Settings</text> |
||||
<Separator/><!-- this seperator doesn't show :( --> |
||||
<Action name="fullscreen"/> |
||||
<Separator/><!-- this seperator doesn't show :( --> |
||||
<Action name="options_configure_keybinding"/> |
||||
<Action name="options_configure_toolbars"/> |
||||
<Separator/> |
||||
<Action name="video_settings"/> |
||||
<Action name="xine_settings"/> |
||||
</Menu> |
||||
</MenuBar> |
||||
|
||||
<ToolBar name="mainToolBar"><text>Main Toolbar</text> |
||||
<Action name="play"/> |
||||
<Separator lineSeparator="false"/> |
||||
<Action name="position_slider"/> |
||||
<Separator lineSeparator="false"/> |
||||
<Action name="toggle_dvd_menu"/> |
||||
<Action name="fullscreen"/> |
||||
</ToolBar> |
||||
|
||||
</kpartgui> |
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 870 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,484 @@
|
||||
# SOME DESCRIPTIVE TITLE. |
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
||||
# This file is distributed under the same license as the PACKAGE package. |
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
||||
# |
||||
#, fuzzy |
||||
msgid "" |
||||
msgstr "" |
||||
"Project-Id-Version: PACKAGE VERSION\n" |
||||
"Report-Msgid-Bugs-To: \n" |
||||
"POT-Creation-Date: 2005-08-01 17:30+0100\n" |
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
||||
"Language-Team: LANGUAGE <LL@li.org>\n" |
||||
"MIME-Version: 1.0\n" |
||||
"Content-Type: text/plain; charset=CHARSET\n" |
||||
"Content-Transfer-Encoding: 8bit\n" |
||||
|
||||
#: ../src/app/videoSettings.cpp:91 |
||||
msgid "Video Settings" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playDialog.cpp:27 |
||||
msgid "Play Media" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playDialog.cpp:33 |
||||
msgid "What media would you like to play?" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playDialog.cpp:38 |
||||
msgid "Play File..." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playDialog.cpp:42 |
||||
msgid "Play VCD" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playDialog.cpp:46 |
||||
msgid "Play DVD" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playDialog.cpp:73 |
||||
msgid "Recently Played Media" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineConfig.cpp:60 |
||||
msgid "Configure xine" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineConfig.cpp:84 |
||||
msgid "" |
||||
"xine's defaults are usually sensible and should not require modification. " |
||||
"However, full configurability is provided for your pleasure ;-)." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/adjustSizeButton.cpp:31 |
||||
msgid "Preferred Scale" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/adjustSizeButton.cpp:35 |
||||
msgid "Scale 100%" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/adjustSizeButton.cpp:41 |
||||
msgid "<b>Adjust video scale?" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/insertAspectRatioMenuItems.cpp:15 |
||||
msgid "Determine &Automatically" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/insertAspectRatioMenuItems.cpp:17 |
||||
msgid "&Square (1:1)" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/insertAspectRatioMenuItems.cpp:18 |
||||
msgid "&4:3" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/insertAspectRatioMenuItems.cpp:19 |
||||
msgid "Ana&morphic (16:9)" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/insertAspectRatioMenuItems.cpp:20 |
||||
msgid "&DVB (2.11:1)" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:14 |
||||
msgid "A video player that has a usability focus" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:15 |
||||
msgid "Copyright 2005, Max Howell" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:19 |
||||
msgid "Play 'URL'" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:28 |
||||
msgid "Handbook" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:29 |
||||
msgid "Great reference code" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:30 |
||||
msgid "The current Codeine icon" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/main.cpp:31 |
||||
msgid "The video for \"Call on Me\" encouraged plenty of debugging! ;)" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playlistFile.cpp:32 |
||||
msgid "The file is not a playlist" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playlistFile.cpp:39 |
||||
msgid "Codeine could not download the remote playlist: %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playlistFile.cpp:54 |
||||
msgid "" |
||||
"<qt>The playlist, <i>'%1'</i>, could not be interpreted. Perhaps it is empty?" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/playlistFile.cpp:58 |
||||
msgid "Codeine could not open the file: %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/stateChange.cpp:83 |
||||
msgid "&Pause" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/stateChange.cpp:83 |
||||
msgid "&Play" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/stateChange.cpp:147 |
||||
msgid "No media loaded" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/stateChange.cpp:150 |
||||
msgid "Paused" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/actions.cpp:13 ../src/part/part.cpp:38 |
||||
msgid "Play" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:127 ../src/part/xineEngine.cpp:50 |
||||
msgid "xine was unable to initialize any video-drivers." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:129 ../src/part/xineEngine.cpp:48 |
||||
msgid "xine was unable to initialize any audio-drivers." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:231 |
||||
msgid "Loading media: %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:333 |
||||
msgid "Recording to: %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:364 |
||||
msgid "Playback paused" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:369 |
||||
msgid "Playback resumed" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:382 |
||||
msgid "There is no input plugin that can read: %1." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:385 |
||||
msgid "There is no demux plugin available for %1." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:388 |
||||
msgid "Demuxing failed for %1." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:393 |
||||
msgid "Internal error while attempting to play %1." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:433 |
||||
msgid "xine cannot currently seek in flac media" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:585 ../src/app/xineEngine.cpp:593 |
||||
msgid "Channel %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:692 ../src/part/xineEngine.cpp:282 |
||||
msgid "The source is encrypted and can not be decrypted." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:694 ../src/part/xineEngine.cpp:284 |
||||
msgid "The host is unknown for the URL: <i>%1</i>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:696 ../src/part/xineEngine.cpp:286 |
||||
msgid "The device name you specified seems invalid." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:698 ../src/part/xineEngine.cpp:288 |
||||
msgid "The network appears unreachable." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:700 ../src/part/xineEngine.cpp:290 |
||||
msgid "Audio output unavailable; the device is busy." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:702 ../src/part/xineEngine.cpp:292 |
||||
msgid "The connection was refused for the URL: <i>%1</i>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:704 ../src/part/xineEngine.cpp:294 |
||||
msgid "xine could not find the URL: <i>%1</i>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:706 ../src/part/xineEngine.cpp:296 |
||||
msgid "Access was denied for the URL: <i>%1</i>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:708 ../src/part/xineEngine.cpp:298 |
||||
msgid "The source cannot be read for the URL: <i>%1</i>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:710 ../src/part/xineEngine.cpp:300 |
||||
msgid "A problem occurred while loading a library or decoder." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/xineEngine.cpp:737 ../src/part/xineEngine.cpp:327 |
||||
msgid "Sorry, no additional information is available." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/captureFrame.cpp:82 |
||||
msgid "Capture - %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/captureFrame.cpp:98 |
||||
msgid "" |
||||
"*.png|PNG Format\n" |
||||
"*.jpeg|JPEG Format" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/captureFrame.cpp:100 |
||||
msgid "Save Frame" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/captureFrame.cpp:111 |
||||
msgid "%1 saved successfully" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/captureFrame.cpp:113 |
||||
msgid "Sorry, could not save %1" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/fullScreenAction.cpp:31 |
||||
msgid "Exit F&ull Screen Mode" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/fullScreenAction.cpp:37 |
||||
msgid "F&ull Screen Mode" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:94 |
||||
msgid "&Subtitles" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:95 |
||||
msgid "A&udio Channels" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:96 |
||||
msgid "Aspect &Ratio" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:106 |
||||
msgid "<qt>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:106 |
||||
msgid " could not load its interface, this probably means that " |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:106 |
||||
msgid "" |
||||
" is not installed to the correct prefix. If you installed from packages " |
||||
"please contact the packager, if you installed from source please try running " |
||||
"the <b>configure</b> script again like this: <pre> % ./configure --" |
||||
"prefix=`kde-config --prefix`</pre>" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:139 |
||||
msgid "<qt>xine could not be successfully initialised. " |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:139 |
||||
msgid "" |
||||
" will now exit. You can try to identify what is wrong with your xine " |
||||
"installation using the <b>xine-check</b> command at a command-prompt." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:208 |
||||
msgid "Play &Media..." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:214 |
||||
msgid "Record" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:216 |
||||
msgid "Reset Video Scale" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:217 ../src/app/mainWindow.cpp:423 |
||||
msgid "Media Information" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:218 |
||||
msgid "Menu Toggle" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:219 |
||||
msgid "&Capture Frame" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:221 |
||||
msgid "Video Settings..." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:222 |
||||
msgid "Configure xine..." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:224 |
||||
msgid "Position Slider" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:317 |
||||
msgid "Codeine was asked to open an empty URL; it cannot." |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:366 |
||||
msgid "Supported Media Formats" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:366 |
||||
msgid "All Files" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:367 |
||||
msgid "Select A File To Play" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:438 |
||||
msgid "&Determine Automatically" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:450 |
||||
msgid "&Off" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/mainWindow.cpp:492 |
||||
msgid "Sorry, no media was found in the drop" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:107 |
||||
msgid "Metadata" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:109 |
||||
msgid "Title" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:110 |
||||
msgid "Comment" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:111 |
||||
msgid "Artist" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:112 |
||||
msgid "Genre" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:113 |
||||
msgid "Album" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:114 |
||||
msgid "Year" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:116 |
||||
msgid "Audio Properties" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:118 |
||||
msgid "Bitrate" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:118 |
||||
msgid "%1 bps" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:119 |
||||
msgid "Sample-rate" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:119 |
||||
msgid "%1 Hz" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:121 |
||||
msgid "Technical Information" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:123 |
||||
msgid "Video Codec" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:124 |
||||
msgid "Audio Codec" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:125 |
||||
msgid "System Layer" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:126 |
||||
msgid "Input Plugin" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/theStream.cpp:127 |
||||
msgid "CDINDEX_DISCID" |
||||
msgstr "" |
||||
|
||||
#: ../src/app/videoWindow.cpp:140 |
||||
msgid "Pause" |
||||
msgstr "" |
||||
|
||||
#: ../src/part/xineEngine.cpp:159 |
||||
msgid "The Codeine video player could not find an input plugin for '%1'." |
||||
msgstr "" |
||||
|
||||
#: ../src/part/xineEngine.cpp:162 |
||||
msgid "The Codeine video player could not find a demux plugin for '%1'." |
||||
msgstr "" |
||||
|
||||
#: ../src/part/xineEngine.cpp:165 |
||||
msgid "" |
||||
"The Codeine video player failed to demux '%1'; please check your xine " |
||||
"installation." |
||||
msgstr "" |
||||
|
||||
#: ../src/part/xineEngine.cpp:170 |
||||
msgid "" |
||||
"The Codeine video player reports an internal error; please check your xine " |
||||
"installation." |
||||
msgstr "" |
||||
|
||||
#: ../src/_translatorinfo.cpp:1 |
||||
msgid "" |
||||
"_: NAME OF TRANSLATORS\n" |
||||
"Your names" |
||||
msgstr "" |
||||
|
||||
#: ../src/_translatorinfo.cpp:3 |
||||
msgid "" |
||||
"_: EMAIL OF TRANSLATORS\n" |
||||
"Your emails" |
||||
msgstr "" |
@ -0,0 +1,60 @@
|
||||
#!/bin/sh |
||||
|
||||
# Inspired by Makefile.common from coolo |
||||
# this script is used to update the .po files |
||||
|
||||
# To update the translations, you will need a specific gettext |
||||
# patched for kde and a lot of patience, tenacity, luck, time .. |
||||
|
||||
|
||||
# I guess one should only update the .po files when all .cpp files |
||||
# are generated (after a make or scons) |
||||
|
||||
# If you have a better way to do this, do not keep that info |
||||
# for yourself and help me to improve this script, thanks |
||||
# (tnagyemail-mail tat yahoo d0tt fr) |
||||
|
||||
SRCDIR=../src # srcdir is the directory containing the source code |
||||
TIPSDIR=$SRCDIR # tipsdir is the directory containing the tips |
||||
|
||||
KDEDIR=`kde-config --prefix` |
||||
EXTRACTRC=extractrc |
||||
KDEPOT=`kde-config --prefix`/include/kde.pot |
||||
XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x $KDEPOT " |
||||
|
||||
## check that kde.pot is available |
||||
if ! test -e $KDEPOT; then |
||||
echo "$KDEPOT does not exist, there is something wrong with your installation!" |
||||
XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale " |
||||
fi |
||||
|
||||
> rc.cpp |
||||
|
||||
## extract the strings |
||||
echo "extracting the strings" |
||||
|
||||
# process the .ui and .rc files |
||||
$EXTRACTRC `find $SRCDIR -iname *.rc` >> rc.cpp |
||||
$EXTRACTRC `find $SRCDIR -iname *.ui` >> rc.cpp |
||||
echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > $SRCDIR/_translatorinfo.cpp |
||||
|
||||
# process the tips - $SRCDIR is supposed to be where the tips are living |
||||
pushd $TIPSDIR; preparetips >tips.cpp; popd |
||||
|
||||
$XGETTEXT `find $SRCDIR -name "*.cpp"` -o codeine.pot |
||||
|
||||
# remove the intermediate files |
||||
rm -f $TIPSDIR/tips.cpp |
||||
rm -f rc.cpp |
||||
rm -f $SRCDIR/_translatorinfo.cpp |
||||
|
||||
## now merge the .po files .. |
||||
echo "merging the .po files" |
||||
|
||||
for i in `ls *.po`; do |
||||
msgmerge $i kdissert.pot -o $i || exit 1 |
||||
done |
||||
|
||||
## finished |
||||
echo "Done" |
||||
|
@ -0,0 +1,101 @@
|
||||
## Max Howell, 2005 |
||||
|
||||
BOLD ="\033[1m" |
||||
RED ="\033[91m" |
||||
GREEN ="\033[92m" |
||||
YELLOW ="\033[93m" |
||||
CYAN ="\033[96m" |
||||
NORMAL ="\033[0m" |
||||
|
||||
import os |
||||
|
||||
def exists( env ): |
||||
return true |
||||
|
||||
def generate( env ): |
||||
|
||||
if 'configure' in env['TARGS']: |
||||
xine_lib_test_source_file = """ |
||||
#include <qstring.h> |
||||
#include <xine.h> |
||||
|
||||
int main( int argc, char **argv ) |
||||
{ |
||||
if( XINE_MAJOR_VERSION < 1 ) |
||||
return 1; |
||||
|
||||
const QString version( XINE_VERSION ); |
||||
|
||||
// eg. VERSION 1.0 |
||||
if( version[1] == '.' ) |
||||
return 0; |
||||
|
||||
if( version == "1-cvs" ) |
||||
return 0; |
||||
|
||||
if( version.startsWith( "1-rc" ) && QString(version[4]).toInt() > 3 ) |
||||
return 0; |
||||
|
||||
return 2; //too old |
||||
}""" |
||||
|
||||
def CheckKdeLibs( context ): |
||||
# ideally should be able to tell bksys what version we need |
||||
context.Message( 'Checking for KDElibs 3.3...' ) |
||||
kde_version = os.popen("kde-config --version|grep KDE").read().strip().split()[1] |
||||
result = int( kde_version[0] ) == 3 and int( kde_version[2] ) >= 3 |
||||
context.Result( result ) |
||||
return result |
||||
|
||||
def CheckXineLib( context ): |
||||
context.Message('Checking for xine-lib 1.0...') |
||||
result = context.TryLink(xine_lib_test_source_file, '.cpp') |
||||
context.Result(result) |
||||
return result |
||||
|
||||
|
||||
# prolly best to use a fresh env |
||||
# this seems to import the user's CXXFLAGS, etc., which may break |
||||
confenv = env.Copy() |
||||
configure = confenv.Configure(custom_tests = {'CheckXineLib' : CheckXineLib, 'CheckKdeLibs' : CheckKdeLibs}, log_file='configure.log') |
||||
confenv.AppendUnique(LIBS = 'qt-mt') |
||||
confenv.AppendUnique(LINKFLAGS = '-L/usr/X11R6/lib') |
||||
|
||||
if not configure.CheckKdeLibs(): |
||||
print # 1 2 3 4 5 6 7 8' |
||||
print 'Configure could not detect KDElibs 3.3, which is required for Codeine to ' |
||||
print 'compile.' |
||||
print |
||||
confenv.Exit( 1 ) |
||||
|
||||
if not configure.CheckLibWithHeader( 'xine', 'xine.h', 'c++' ): |
||||
print # 1 2 3 4 5 6 7 8' |
||||
print 'Configure could not find either the xine library or header on your system. You ' |
||||
print 'should ammend the relevant paths. If you know which ones please email me so I ' |
||||
print 'can update this message!' |
||||
print |
||||
confenv.Exit( 2 ) |
||||
|
||||
if not configure.CheckXineLib(): |
||||
print # 1 2 3 4 5 6 7 8' |
||||
print 'Your xine-lib is either too old, or can not be linked against. Sorry for not ' |
||||
print 'being more specific..' |
||||
print |
||||
confenv.Exit( 3 ) |
||||
|
||||
if not configure.CheckLibWithHeader( 'Xtst', 'X11/extensions/XTest.h', 'c' ): |
||||
print # 1 2 3 4 5 6 7 8' |
||||
print 'libxtst was not found, this means the screensaver cannot be disabled during ' |
||||
print 'playback. YOU CAN STILL BUILD CODEINE! :)' |
||||
print |
||||
|
||||
file = open ( 'src/configure.h', 'w' ) |
||||
file.write( "#define NO_XTEST_EXTENSION\n" ) |
||||
file.close() |
||||
else: |
||||
# FIXME - thus only one thing can be in configure.h - lol |
||||
file = open ( 'src/configure.h', 'w' ) |
||||
file.write( "" ) |
||||
file.close() |
||||
|
||||
env = configure.Finish() |
@ -0,0 +1,95 @@
|
||||
## Thomas Nagy, 2005 |
||||
|
||||
""" |
||||
Detect and store the most common options |
||||
* kdecxxflags : debug=1 (-g) or debug=full (-g3, slower) |
||||
else use the user CXXFLAGS if any, - or -O2 by default |
||||
* prefix : the installation path |
||||
* extraincludes : a list of paths separated by ':' |
||||
ie: scons configure debug=full prefix=/usr/local extraincludes=/tmp/include:/usr/local |
||||
""" |
||||
|
||||
BOLD ="\033[1m" |
||||
RED ="\033[91m" |
||||
GREEN ="\033[92m" |
||||
YELLOW ="\033[93m" |
||||
CYAN ="\033[96m" |
||||
NORMAL ="\033[0m" |
||||
|
||||
import os |
||||
|
||||
def exists(env): |
||||