summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-06-13 22:57:47 +0900
committerMichele Calgaro <[email protected]>2020-06-13 22:57:47 +0900
commit38eaf7209a322a622e1b898eaa5477568ca9c6b6 (patch)
tree5b1bdaa1d04bd571f614c26e8953bc554215370a
parent5f44f7b187093ef290315b7f8766b540a31de35f (diff)
downloadcodeine-38eaf7209a322a622e1b898eaa5477568ca9c6b6.tar.gz
codeine-38eaf7209a322a622e1b898eaa5477568ca9c6b6.zip
Applied patches from debian/patches.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--misc/codeine.desktop36
-rw-r--r--src/app/xineEngine.cpp2
-rw-r--r--src/app/xineEngine.h1
3 files changed, 37 insertions, 2 deletions
diff --git a/misc/codeine.desktop b/misc/codeine.desktop
index 5def0f8..5beb394 100644
--- a/misc/codeine.desktop
+++ b/misc/codeine.desktop
@@ -1,9 +1,41 @@
[Desktop Entry]
+Encoding=UTF-8
Name=Codeine
Exec=codeine %u
Icon=codeine
Type=Application
-Encoding=UTF-8
+Terminal=false
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
+Comment=Video player for KDE designed to be as simple as possible
+Comment[de]=Videoabspieler für KDE entworfen zur einfachen Bedienung
+GenericName=Media Player
+GenericName[br]=Soner liesvedia
+GenericName[ca]=Reproductor multimèdia
+GenericName[cs]=Přehrávač médií
+GenericName[cy]=Chwaraeydd Cyfryngau
+GenericName[da]=Medieafspiller
+GenericName[el]=Αναπαραγωγέας μέσων
+GenericName[es]=Reproductor multimedia
+GenericName[et]=Meediamängija
+GenericName[fr]=Lecteur multimédia
+GenericName[ga]=Seinnteoir Meán
+GenericName[he]=נגן מדיה
+GenericName[hi]=मीडिया प्लेयर
+GenericName[hu]=Médialejátszó
+GenericName[it]=Lettore multimediale
+GenericName[lt]=Media grotuvas
+GenericName[mk]=Изведувач на мултимедиа
+GenericName[nl]=Mediaspeler
+GenericName[pa]=ਮੀਡਿਆ ਪਲੇਅਰ
+GenericName[pt]=Leitor Multimédia
+GenericName[pt_BR]=Tocador de Mídia
+GenericName[ru]=Медиаплеер
+GenericName[sr]=Медија плејер
+GenericName[sr@Latn]=Medija plejer
+GenericName[sv]=Mediaspelare
+GenericName[tr]=Medya Oynatıcı
+GenericName[xh]=Umdlali we Midia
+GenericName[xx]=xxMedia Playerxx
+GenericName[zh_CN]=媒体播放器
+GenericName[zu]=Umdlali Wezezindaba
diff --git a/src/app/xineEngine.cpp b/src/app/xineEngine.cpp
index 58069c5..efc9612 100644
--- a/src/app/xineEngine.cpp
+++ b/src/app/xineEngine.cpp
@@ -19,6 +19,8 @@
#include "xineEngine.h"
#include "xineScope.h"
+#include <cstdlib>
+
#define XINE_SAFE_MODE 1
diff --git a/src/app/xineEngine.h b/src/app/xineEngine.h
index 781bd72..ffe3f02 100644
--- a/src/app/xineEngine.h
+++ b/src/app/xineEngine.h
@@ -8,6 +8,7 @@
#include <qtimer.h>
#include <qwidget.h>
#include <kurl.h>
+#include <stdint.h>
#include <vector>
typedef struct xine_s xine_t;