summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-12-17 16:45:55 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-12-17 16:45:55 +0000
commitef60fbf23a5d6cb41f943f8afd0513f934be140a (patch)
tree66bd5b3f581250c334b71e9cffe77452e905716f /media-plugins/vdr-skinelchi
parentVersion bump (diff)
downloadhistorical-ef60fbf23a5d6cb41f943f8afd0513f934be140a.tar.gz
historical-ef60fbf23a5d6cb41f943f8afd0513f934be140a.tar.bz2
historical-ef60fbf23a5d6cb41f943f8afd0513f934be140a.zip
Make repoman happy. Moved big patch to the distfiles mirrors. Bug #248990.
Package-Manager: portage-2.1.6.1/cvs/Linux 2.6.27-gentoo-r1 i686
Diffstat (limited to 'media-plugins/vdr-skinelchi')
-rw-r--r--media-plugins/vdr-skinelchi/ChangeLog8
-rw-r--r--media-plugins/vdr-skinelchi/Manifest19
-rw-r--r--media-plugins/vdr-skinelchi/files/vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff425
-rw-r--r--media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild6
-rw-r--r--media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild8
-rw-r--r--media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild13
6 files changed, 30 insertions, 449 deletions
diff --git a/media-plugins/vdr-skinelchi/ChangeLog b/media-plugins/vdr-skinelchi/ChangeLog
index 153d32bc4bf3..e73ab637aacd 100644
--- a/media-plugins/vdr-skinelchi/ChangeLog
+++ b/media-plugins/vdr-skinelchi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-skinelchi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/ChangeLog,v 1.20 2008/03/25 23:00:43 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/ChangeLog,v 1.21 2008/12/17 16:45:55 zzam Exp $
+
+ 17 Dec 2008; Matthias Schwarzott <zzam@gentoo.org>
+ -files/vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff,
+ vdr-skinelchi-0.1.1_pre2-r1.ebuild, vdr-skinelchi-0.1.1_pre2-r2.ebuild,
+ vdr-skinelchi-0.1.1_pre2-r3.ebuild:
+ Make repoman happy. Moved big patch to the distfiles mirrors. Bug #248990.
25 Mar 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+files/compile-fix.diff, vdr-skinelchi-0.1.1_pre2-r3.ebuild:
diff --git a/media-plugins/vdr-skinelchi/Manifest b/media-plugins/vdr-skinelchi/Manifest
index 66c6b3630f39..1bc8f545e74c 100644
--- a/media-plugins/vdr-skinelchi/Manifest
+++ b/media-plugins/vdr-skinelchi/Manifest
@@ -4,18 +4,17 @@ Hash: SHA1
AUX compile-fix.diff 851 RMD160 0a3f3b505bb5cfaeb6bfc73e1d8b1a1f9459703f SHA1 1bf19020672434a569853a4bb8508efb08de5ad9 SHA256 3b325b2f14879cbccdf633a228dc8f85bdbb0fee7743c580ddd6d3153c9ffab2
AUX rc-addon-0.1.1_pre2-r1.sh 647 RMD160 4748df1afb928c7a0384a80aad80ca543b9e6ddb SHA1 8a08cb011826f21c0b2bff8f8915ee8cd2889e74 SHA256 e08f0f84bf4863a360f37f5a46503c47ed4aead3b2ee842b08fee80196e71865
AUX vdr-skinelchi-0.1.1_pre2-PatchCollection-FireFly.diff 5002 RMD160 a5dac8ec644c392e991afd09fcfba2c96c40ae90 SHA1 9436ce12d0782099683054fb81e784651d01d4ef SHA256 a8c779824e774c61e9838a4be40ad6e770668ceefbdefe507686d3bcc93919ec
-AUX vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff 21021 RMD160 85f15e9b8b58fcf60c562c5fa875d5597a1880d5 SHA1 22e8d5e4040e79f40c975d15237d69f226d591f4 SHA256 4b8ff84011123dc69a452161d5c8a7d20fa082978f002f946b4a5965649afff5
+DIST vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff.bz2 3568 RMD160 877cbdbd0cc15dfd20f1c317bd0bbd482bd3ae09 SHA1 13789f62e7d5bcff55e79bcf286ccbe7607fd76f SHA256 91f2502486b6ca6b59876143bda736f10d2e7f25a7e4f88cd820fdbddd63242e
DIST vdr-skinelchi-0.1.1pre2.tgz 61489 RMD160 fd28310c2b2e03b58c818b72934d66443127e8f5 SHA1 80ce3b2e00e1c03f1ce674924c98290b2385c9d3 SHA256 8a1a79bde62ad26618a8d9cab19b41b1e65443c1ffa3d919f4a899d1557918b2
-EBUILD vdr-skinelchi-0.1.1_pre2-r1.ebuild 937 RMD160 57a06fd4f7af8dcac2cc25e1b86c6e0e610fec1c SHA1 115eee7b55a537685920372411a27224af990e52 SHA256 5d3c1164618c4e4162ded952e13032d419a98611c7cc7331a482db0da8cf3d70
-EBUILD vdr-skinelchi-0.1.1_pre2-r2.ebuild 944 RMD160 25fd65bfc5ecb17e9842d0ae6556d903caa45225 SHA1 46a16fafb3c8f5946e09c2d89f24eb9b9088e9ce SHA256 0b5492220db2e1e0b1c9f28e6fa3475c4413ea8607402e439c46cd04cba08fe7
-EBUILD vdr-skinelchi-0.1.1_pre2-r3.ebuild 1159 RMD160 1689867369ed780cd670773aeb5183fce21a8d7d SHA1 35c055d3f7efb32424caa76603bf307fc1e11d8d SHA256 41c3f1c6a9b70204045bdcb8010e4b5227ac33556ca41ac1ddaabe5e7bda515c
-MISC ChangeLog 3601 RMD160 0b3e56678227943ff8d05bb030d4f18a286cda75 SHA1 fdf1bcc1f17f07a8937cca78d0a103eda62a586b SHA256 238e79b1c7256e0d63592eccbb5c1528b8c03e63eb9acde463ca47662202976e
+EBUILD vdr-skinelchi-0.1.1_pre2-r1.ebuild 934 RMD160 6d0e98f66c398b273a4c92348aab4a5634ab2265 SHA1 0ab906086ee8e5707bb1e91f52c9d03352783fa0 SHA256 1ea0456206764dfbb6c314b0cf0d603666478c955cdefe8b306e78dca683d38d
+EBUILD vdr-skinelchi-0.1.1_pre2-r2.ebuild 943 RMD160 9a47e79d104a1025b41c33143b0878c24141a0da SHA1 d129dc28ceed7f3716e055e0eb65280dcb757bb3 SHA256 2d3fbb171998893171cf4b1a803ff42b2bf17146175a17d90bf3e0899c836ec3
+EBUILD vdr-skinelchi-0.1.1_pre2-r3.ebuild 1210 RMD160 54365a190f174294a5c5ffc2ecc8e7034fe75bde SHA1 83b6d5ce14f208e7aa661f6a5029843ee3d3b372 SHA256 836c7af328598f97bb16ac6129094b107ff1e206e60583a8456a93f03c764dad
+MISC ChangeLog 3897 RMD160 3655f62ca1d591bf1dc6a7976c94005883f8dcd2 SHA1 be5eb5e75240a6fa9088c499153d7ae6bdd5ebfc SHA256 5367ccebe808ade465f76c0ed027f0371fd10cc9584361bddaf5e2a9e7dd0cd7
MISC metadata.xml 335 RMD160 eb5fcf03c21510453d995cce8ee8f8a6324e6545 SHA1 e8105cf5fdbf0be508311933b8e34db224e9bc51 SHA256 f8790d655b9660f52dfddc7d5785248a334bae37ef607c6b87f50ed597e76573
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-Comment: added by hd_brummy@gentoo.org
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFH6YQsdn07HTTCgIoRAlMZAKCOpHmRJa5fDra/v3kAXHMgZrTo5wCfeeA1
-gBDI192U3SXTgc5CBFtIiXY=
-=hDVI
+iEYEARECAAYFAklJLMoACgkQt2vP6XvVdOe7TQCfQdzBOqui8KIc/5DS8yNl+65B
+J3IAn3iYtC67XzLI8v1hwpKG5zlMwk1p
+=NGTi
-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-skinelchi/files/vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff b/media-plugins/vdr-skinelchi/files/vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff
deleted file mode 100644
index d0b0ec8c8b64..000000000000
--- a/media-plugins/vdr-skinelchi/files/vdr-skinelchi-0.1.1_pre2-vdr-1.5.5-getfont.diff
+++ /dev/null
@@ -1,425 +0,0 @@
-Index: skinelchi-0.1.1pre2/scroll.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/scroll.c
-+++ skinelchi-0.1.1pre2/scroll.c
-@@ -3,7 +3,7 @@
- cCharScroll::cCharScroll(void) {
- asprintf(&Text, " ");
- bmp = NULL;
-- Font = cFont::GetFont(fontOsd);
-+ FontType = fontOsd;
- DestWidth = 0;
- ColorDepth = 1;
- Bg = 0xFF000000;
-@@ -21,12 +21,17 @@ cCharScroll::~cCharScroll() {
- delete(bmp);
- }
-
-+const cFont* cCharScroll::GetFont(void) {
-+ return cFont::GetFont(FontType);
-+ }
-+
- bool cCharScroll::SetText(const char *text, int textnumber) {
- if (Text)
- free(Text);
- asprintf(&Text, "%s", (text || !isempty(text))? text : " ");
- if (!DestWidth || !SkinElchiSetup.scrolling)
- return false;
-+ const cFont *Font = GetFont();
- int width = Font->Width(Text);
- if (width > DestWidth) {
- int height = Font->Height();
-Index: skinelchi-0.1.1pre2/scroll.h
-===================================================================
---- skinelchi-0.1.1pre2.orig/scroll.h
-+++ skinelchi-0.1.1pre2/scroll.h
-@@ -16,7 +16,8 @@ public:
- int Width() const {return bmp ? bmp->Width() : 0;}
- int Height() const {return bmp ? bmp->Height() : 0;}
- char *Text;
-- const cFont *Font;
-+ eDvbFont FontType;
-+ const cFont* GetFont(void);
- tColor Fg;
- tColor Bg;
- int xOff;
-Index: skinelchi-0.1.1pre2/DisplayMessage.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayMessage.c
-+++ skinelchi-0.1.1pre2/DisplayMessage.c
-@@ -22,7 +22,7 @@ cSkinElchiDisplayMessage::cSkinElchiDisp
- #ifdef VIDEOSTATUS
- VideoStatus.Update();
- #endif
-- font = cFont::GetFont(fontOsd);
-+ const cFont *font = cFont::GetFont(fontOsd);
- lh = font->Height();
- lhh = lh / 2;
- #ifdef VIDEOSTATUS
-@@ -35,7 +35,7 @@ cSkinElchiDisplayMessage::cSkinElchiDisp
- tArea Areas[] = { { 0, 0, (vdrosd ? Setup.OSDWidth : SkinElchiSetup.osdwidth) - 1, lh - 1, 2 } };
- osd->SetAreas(Areas, sizeof(Areas) / sizeof(tArea));
- messagechanged = true;
-- MessageScroll.Font = font;
-+ MessageScroll.FontType = fontOsd;
- MessageScroll.DestWidth = osd->Width() - lh;
- MessageScroll.xOff = lhh;
- MessageScroll.yOff = 0;
-@@ -75,11 +75,11 @@ void cSkinElchiDisplayMessage::SetMessag
- MessageScroll.pos = 0;
- MessageScroll.dir = -1;
- MessageScroll.Time.Set();
-- osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.Font, MessageScroll.DestWidth);
-+ osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.GetFont(), MessageScroll.DestWidth);
- }
- else
- MessageScroll.dir = 0;
-- osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.Font, MessageScroll.DestWidth, 0, taCenter);
-+ osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.GetFont(), MessageScroll.DestWidth, 0, taCenter);
- int wlh2 = osd->Width() - lh / 2;
- osd->DrawRectangle(wlh2 - 1, 0, wlh2, h1, msb);
- int w1 = osd->Width() - 1;
-Index: skinelchi-0.1.1pre2/DisplayMessage.h
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayMessage.h
-+++ skinelchi-0.1.1pre2/DisplayMessage.h
-@@ -18,7 +18,6 @@ public:
- class cSkinElchiDisplayMessage : public cSkinDisplayMessage {
- private:
- cOsd *osd;
-- const cFont *font;
- int lh, lhh;
- bool noflush;
- public:
-Index: skinelchi-0.1.1pre2/DisplayChannel.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayChannel.c
-+++ skinelchi-0.1.1pre2/DisplayChannel.c
-@@ -66,8 +66,8 @@ cSkinElchiDisplayChannel::cSkinElchiDisp
- oldpresentvps = -1;
- lastSeen = -1;
- withInfo = WithInfo;
-- smallfont = cFont::GetFont(fontSml);
-- font = cFont::GetFont(fontOsd);
-+ const cFont* smallfont = cFont::GetFont(fontSml);
-+ const cFont* font = cFont::GetFont(fontOsd);
- lh = font->Height();
- slh = smallfont->Height();
- lhh = lh / 2;
-@@ -201,28 +201,28 @@ cSkinElchiDisplayChannel::cSkinElchiDisp
- EventScroll.DestWidth = x10 - x5 - 2;
- EventScroll.Fg = Theme.Color(clrChannelEpgTitle);
- EventScroll.Bg = Theme.Color(clrChannelEpgTitleBg);
-- EventScroll.Font = font;
-+ EventScroll.FontType = fontOsd;
- EventScroll.xOff = x5 + 2;
- EventScroll.yOff = y6;
-
- EventShortScroll.DestWidth = EventScroll.DestWidth;
- EventShortScroll.Fg = Theme.Color(clrChannelEpgShortText);
- EventShortScroll.Bg = Theme.Color(clrChannelEpgTitleBg);
-- EventShortScroll.Font = smallfont;
-+ EventShortScroll.FontType = fontSml;
- EventShortScroll.xOff = EventScroll.xOff;
- EventShortScroll.yOff = y6 + lh;
-
- NextEventScroll.DestWidth = EventScroll.DestWidth;
- NextEventScroll.Fg = Theme.Color(clrChannelEpgTitle);
- NextEventScroll.Bg = Theme.Color(clrChannelEpgTitleBg);
-- NextEventScroll.Font = font;
-+ NextEventScroll.FontType = fontOsd;
- NextEventScroll.xOff = EventScroll.xOff;
- NextEventScroll.yOff = EventShortScroll.yOff + lh;
-
- NextEventShortScroll.DestWidth = EventScroll.DestWidth;
- NextEventShortScroll.Fg = Theme.Color(clrChannelEpgShortText);
- NextEventShortScroll.Bg = Theme.Color(clrChannelEpgTitleBg);
-- NextEventShortScroll.Font = smallfont;
-+ NextEventShortScroll.FontType = fontSml;
- NextEventShortScroll.xOff = EventScroll.xOff;
- NextEventShortScroll.yOff = NextEventScroll.yOff + lh;
- }
-@@ -304,7 +304,7 @@ cSkinElchiDisplayChannel::cSkinElchiDisp
- AudioStringScroll.DestWidth = x10 - x7;
- AudioStringScroll.Fg = Theme.Color(clrChannelSymbolOn);
- AudioStringScroll.Bg = bg;
-- AudioStringScroll.Font = smallfont;
-+ AudioStringScroll.FontType = fontSml;
- AudioStringScroll.xOff = x7;
- AudioStringScroll.yOff = y1 + lineOffset;
-
-@@ -315,7 +315,7 @@ cSkinElchiDisplayChannel::cSkinElchiDisp
- x3;
- ChannelNameScroll.Fg = Theme.Color(clrChannelNameFg);
- ChannelNameScroll.Bg = Theme.Color(clrChannelNameBg);
-- ChannelNameScroll.Font = smallfont;
-+ ChannelNameScroll.FontType = fontSml;
- ChannelNameScroll.xOff = x3;
- ChannelNameScroll.yOff = y4 + lineOffset;
- noflush = false;
-@@ -367,6 +367,7 @@ void cSkinElchiDisplayChannel::SetChanne
- changed = true;
- oldpresentvps = -1;
- osd->DrawRectangle(x9 + lh / 2, y4, x10 - 1, y6 - 1, bg);
-+ const cFont* font = cFont::GetFont(fontOsd);
- int x = x10;
- if (Channel) {
- if (!Channel->GroupSep()) {
-@@ -417,6 +418,7 @@ void cSkinElchiDisplayChannel::SetChanne
- osd->DrawRectangle(x10 - ((oldaudiow > x) ? x : oldaudiow), y1, x10 - 1, y3 - 1, bg);
- }
-
-+ const cFont* smallfont = cFont::GetFont(fontSml);
- ChannelNameScroll.DestWidth = x9
- #ifdef VIDEOSTATUS
- - (((fd_video >= 0 && video) && (SkinElchiSetup.videostatus & 2)) ? smallfont->Width(" 0000*0000 2.21:1 (2:2:2:2:2)") : 0)
-@@ -448,11 +450,11 @@ void cSkinElchiDisplayChannel::SetChanne
- showVolume = false;
- }
- osd->DrawText(x3, y1, number, Theme.Color(clrChannelNumberFg), Theme.Color(clrChannelDateBg), font, font->Width("00000-"));
-- osd->DrawText(ChannelNameScroll.xOff, ChannelNameScroll.yOff, ChannelNameScroll.Text, ChannelNameScroll.Fg, ChannelNameScroll.Bg, ChannelNameScroll.Font, ChannelNameScroll.DestWidth);
-+ osd->DrawText(ChannelNameScroll.xOff, ChannelNameScroll.yOff, ChannelNameScroll.Text, ChannelNameScroll.Fg, ChannelNameScroll.Bg, ChannelNameScroll.GetFont(), ChannelNameScroll.DestWidth);
- if (showVolume)
- osd->SaveRegion(logox, y4, x11 - 1, y6 - 1);
- if (SkinElchiSetup.logo) {
-- if (ChannelNameScroll.Font->Width(ChannelNameScroll.Text) != 0) {
-+ if (ChannelNameScroll.GetFont()->Width(ChannelNameScroll.Text) != 0) {
- cBitmap bmp(logox, logoy, osd->GetBitmap(2)?4:8);
- char *filename;
- asprintf(&filename, "%s/%s%s", SkinElchiSetup.logodir, ChannelNameScroll.Text, ".xpm");
-@@ -543,6 +545,7 @@ void cSkinElchiDisplayChannel::SetMessag
- isyslog("skinelchi: cSkinElchiDisplayChannel::SetMessage(%d,%s)", (int)Type, Text);
- #endif
- if (Text) {
-+ const cFont* font = cFont::GetFont(fontOsd);
- char *text;
- asprintf(&text, "%s", Text);
- /* if (!strcasecmp(text, tr("Going to sleep in about one minute"))) {
-@@ -740,6 +743,7 @@ if (!noflush) {
- if (tempvideo)
- free(tempvideo);
- }
-+ const cFont* smallfont = cFont::GetFont(fontSml);
- int w = smallfont->Width(videoformatchar);
- int x = x9 - x3;
- if (w > x)
-@@ -781,6 +785,7 @@ if (!noflush) {
- cDevice *Device = cDevice::PrimaryDevice();
- const tTrackId *Track = Device->GetTrack(Device->GetCurrentAudioTrack());
- int w = 0;
-+ const cFont* smallfont = cFont::GetFont(fontSml);
- if (Track) {
- char *audiostring = NULL;
- int numaudiotracks = Device->NumAudioTracks();
-@@ -822,14 +827,14 @@ if (!noflush) {
- AudioStringScroll.dir = -1;
- AudioStringScroll.delay = 5;
- AudioStringScroll.Time.Set();
-- osd->DrawText(AudioStringScroll.xOff, AudioStringScroll.yOff, AudioStringScroll.Text, AudioStringScroll.Fg, AudioStringScroll.Bg, AudioStringScroll.Font, AudioStringScroll.DestWidth);
-+ osd->DrawText(AudioStringScroll.xOff, AudioStringScroll.yOff, AudioStringScroll.Text, AudioStringScroll.Fg, AudioStringScroll.Bg, AudioStringScroll.GetFont(), AudioStringScroll.DestWidth);
- }
- else {
- AudioStringScroll.dir = 0;
- if (AudioStringScroll.DestWidth > w)
-- osd->DrawText(x10 - w, AudioStringScroll.yOff, AudioStringScroll.Text, AudioStringScroll.Fg, AudioStringScroll.Bg, AudioStringScroll.Font, w);
-+ osd->DrawText(x10 - w, AudioStringScroll.yOff, AudioStringScroll.Text, AudioStringScroll.Fg, AudioStringScroll.Bg, AudioStringScroll.GetFont(), w);
- else
-- osd->DrawText(x10 - AudioStringScroll.DestWidth, AudioStringScroll.yOff, AudioStringScroll.Text, AudioStringScroll.Fg, AudioStringScroll.Bg, AudioStringScroll.Font, AudioStringScroll.DestWidth);
-+ osd->DrawText(x10 - AudioStringScroll.DestWidth, AudioStringScroll.yOff, AudioStringScroll.Text, AudioStringScroll.Fg, AudioStringScroll.Bg, AudioStringScroll.GetFont(), AudioStringScroll.DestWidth);
- }
- changed = true;
- }
-@@ -876,6 +881,8 @@ if (!noflush) {
- osd->DrawBitmap(x10 - bmRecording.Width(), y4 + (y6 - y4 - bmRecording.Height()) / 2, bmRecording, Theme.Color(rec ? clrChannelSymbolRecFg : clrChannelSymbolOff), rec ? Theme.Color(clrChannelSymbolRecBg) : bg);
- changed = true;
- }
-+ const cFont* font = cFont::GetFont(fontOsd);
-+ const cFont* smallfont = cFont::GetFont(fontSml);
- if (VdrStatus.VolumeChange != volumechange) {
- volumechange = VdrStatus.VolumeChange;
- oldvolume = VdrStatus.Volume;
-@@ -1003,7 +1010,7 @@ if (!noflush) {
- }
- else
- EventScroll.dir = 0;
-- osd->DrawText(EventScroll.xOff, EventScroll.yOff, EventScroll.Text, EventScroll.Fg, EventScroll.Bg, EventScroll.Font, EventScroll.DestWidth);
-+ osd->DrawText(EventScroll.xOff, EventScroll.yOff, EventScroll.Text, EventScroll.Fg, EventScroll.Bg, EventScroll.GetFont(), EventScroll.DestWidth);
- if (EventShortScroll.SetText(GetEvent->PresentShortText())) {
- EventShortScroll.pos = 0;
- EventShortScroll.dir = -1;
-@@ -1012,7 +1019,7 @@ if (!noflush) {
- }
- else
- EventShortScroll.dir = 0;
-- osd->DrawText(EventShortScroll.xOff, EventShortScroll.yOff, EventShortScroll.Text, EventShortScroll.Fg, EventShortScroll.Bg, EventShortScroll.Font, EventShortScroll.DestWidth);
-+ osd->DrawText(EventShortScroll.xOff, EventShortScroll.yOff, EventShortScroll.Text, EventShortScroll.Fg, EventShortScroll.Bg, EventShortScroll.GetFont(), EventShortScroll.DestWidth);
- }
- else {
- EventScroll.dir = 0;
-@@ -1028,7 +1035,7 @@ if (!noflush) {
- }
- else
- NextEventScroll.dir = 0;
-- osd->DrawText(NextEventScroll.xOff, NextEventScroll.yOff, NextEventScroll.Text, NextEventScroll.Fg, NextEventScroll.Bg, NextEventScroll.Font, NextEventScroll.DestWidth);
-+ osd->DrawText(NextEventScroll.xOff, NextEventScroll.yOff, NextEventScroll.Text, NextEventScroll.Fg, NextEventScroll.Bg, NextEventScroll.GetFont(), NextEventScroll.DestWidth);
- if (NextEventShortScroll.SetText(GetEvent->FollowingShortText())) {
- NextEventShortScroll.pos = 0;
- NextEventShortScroll.dir = -1;
-@@ -1037,7 +1044,7 @@ if (!noflush) {
- }
- else
- NextEventShortScroll.dir = 0;
-- osd->DrawText(NextEventShortScroll.xOff, NextEventShortScroll.yOff, NextEventShortScroll.Text, NextEventShortScroll.Fg, NextEventShortScroll.Bg, NextEventShortScroll.Font, NextEventShortScroll.DestWidth);
-+ osd->DrawText(NextEventShortScroll.xOff, NextEventShortScroll.yOff, NextEventShortScroll.Text, NextEventShortScroll.Fg, NextEventShortScroll.Bg, NextEventShortScroll.GetFont(), NextEventShortScroll.DestWidth);
- }
- else {
- NextEventScroll.dir = 0;
-Index: skinelchi-0.1.1pre2/DisplayChannel.h
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayChannel.h
-+++ skinelchi-0.1.1pre2/DisplayChannel.h
-@@ -75,8 +75,8 @@ private:
- int logox, logoy;
- int x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11;
- int y0, y1, y2, y3, y4, y5, y6, y7, y8, y9;
-- const cFont *smallfont;
-- const cFont *font;
-+ // const cFont *smallfont;
-+ // const cFont *font;
- bool withInfo, rec, message, showVolume, sleeptimermessage;
- int lh, slh, lhh, lineOffset;
- tColor bg;
-Index: skinelchi-0.1.1pre2/DisplayMenu.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayMenu.c
-+++ skinelchi-0.1.1pre2/DisplayMenu.c
-@@ -448,7 +448,7 @@ void cSkinElchiDisplayMenu::SetTitle(con
- TitleScroll.DestWidth = x - x2;
- TitleScroll.Fg = Theme.Color(clrMenuTitleFg);
- TitleScroll.Bg = Theme.Color(clrMenuTitleBg);
-- TitleScroll.Font = smallfont;
-+ TitleScroll.FontType = fontSml;
- if (TitleScroll.SetText(Title)) {
- TitleScroll.pos = 0;
- TitleScroll.dir = -1;
-@@ -456,7 +456,7 @@ void cSkinElchiDisplayMenu::SetTitle(con
- }
- else
- TitleScroll.dir = 0;
-- osd->DrawText(TitleScroll.xOff, TitleScroll.yOff, TitleScroll.Text, TitleScroll.Fg, TitleScroll.Bg, TitleScroll.Font, TitleScroll.DestWidth);
-+ osd->DrawText(TitleScroll.xOff, TitleScroll.yOff, TitleScroll.Text, TitleScroll.Fg, TitleScroll.Bg, TitleScroll.GetFont(), TitleScroll.DestWidth);
- int y = y2 - (font->Height() - smallfont->Height());
- osd->DrawRectangle(x, TitleScroll.yOff, xx - 1, y - 1, TitleScroll.Bg);
- osd->DrawRectangle(TitleScroll.xOff, y, x6 - 1, y2 - 1, TitleScroll.Bg);
-@@ -653,7 +653,7 @@ void cSkinElchiDisplayMenu::SetItem(cons
- CurrentItemScroll.DestWidth = x - CurrentItemScroll.xOff;
- CurrentItemScroll.Fg = ColorFg;
- CurrentItemScroll.Bg = ColorBg;
-- CurrentItemScroll.Font = font;
-+ CurrentItemScroll.FontType = fontOsd;
- if (CurrentItemScroll.SetText(s)) {
- CurrentItemScroll.pos = 0;
- CurrentItemScroll.dir = -1;
-Index: skinelchi-0.1.1pre2/DisplayReplay.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayReplay.c
-+++ skinelchi-0.1.1pre2/DisplayReplay.c
-@@ -187,7 +187,7 @@ cSkinElchiDisplayReplay::cSkinElchiDispl
- TitleScroll.DestWidth = x4 - x0;
- TitleScroll.Fg = Theme.Color(clrReplayTitleFg);
- TitleScroll.Bg = Theme.Color(clrReplayTitleBg);
-- TitleScroll.Font = smallfont;
-+ TitleScroll.FontType = fontSml;
- TitleScroll.xOff = x0;
- TitleScroll.yOff = y0;
- TitleScroll.delay = 20;
-@@ -244,10 +244,10 @@ void cSkinElchiDisplayReplay::SetTitle(c
- TitleScroll.pos = 0;
- TitleScroll.dir = -1;
- TitleScroll.Time.Set();
-- osd->DrawText(x0, y0, TitleScroll.Text, Theme.Color(clrReplayTitleFg), Theme.Color(clrReplayTitleBg), TitleScroll.Font, TitleScroll.DestWidth);
-+ osd->DrawText(x0, y0, TitleScroll.Text, Theme.Color(clrReplayTitleFg), Theme.Color(clrReplayTitleBg), TitleScroll.GetFont(), TitleScroll.DestWidth);
- }
- else {
-- osd->DrawText(x0, y0, title, Theme.Color(clrReplayTitleFg), Theme.Color(clrReplayTitleBg), TitleScroll.Font, w);
-+ osd->DrawText(x0, y0, title, Theme.Color(clrReplayTitleFg), Theme.Color(clrReplayTitleBg), TitleScroll.GetFont(), w);
- TitleScroll.dir = 0;
- tColor tr = Theme.Color(Transparent);
- osd->DrawRectangle(w, y0, w + 3 - 1, y0 + 3 - 1, tr);
-@@ -488,7 +488,7 @@ if (!noflush) {
- asprintf(&titlestatus, "%s - no videosize available ", titlestatus);
- if (!modeonly && !showVolume && strcmp(oldtitlestatus, titlestatus)) {
- asprintf(&oldtitlestatus, "%s", titlestatus);
-- int w = TitleScroll.Font->Width(titlestatus);
-+ int w = TitleScroll.GetFont()->Width(titlestatus);
- if (w > TitleScroll.DestWidth)
- w = TitleScroll.DestWidth;
- int h = font->Height() - smallfont->Height();
-@@ -498,11 +498,11 @@ if (!noflush) {
- TitleScroll.dir = -1;
- TitleScroll.delay = 20;
- TitleScroll.Time.Set();
-- osd->DrawText(TitleScroll.xOff, TitleScroll.yOff, TitleScroll.Text, TitleScroll.Fg, TitleScroll.Bg, TitleScroll.Font, TitleScroll.DestWidth);
-+ osd->DrawText(TitleScroll.xOff, TitleScroll.yOff, TitleScroll.Text, TitleScroll.Fg, TitleScroll.Bg, TitleScroll.GetFont(), TitleScroll.DestWidth);
- }
- }
- else {
-- osd->DrawText(TitleScroll.xOff, TitleScroll.yOff, TitleScroll.Text, TitleScroll.Fg, TitleScroll.Bg, TitleScroll.Font, w);
-+ osd->DrawText(TitleScroll.xOff, TitleScroll.yOff, TitleScroll.Text, TitleScroll.Fg, TitleScroll.Bg, TitleScroll.GetFont(), w);
- TitleScroll.dir = 0;
- tColor tr = Theme.Color(Transparent);
- osd->DrawRectangle(w, y0, w + 3 - 1, y0 + 3 - 1, tr);
-Index: skinelchi-0.1.1pre2/DisplayTracks.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayTracks.c
-+++ skinelchi-0.1.1pre2/DisplayTracks.c
-@@ -98,7 +98,7 @@ cSkinElchiDisplayTracks::cSkinElchiDispl
- if (numTracks > (offset + MaxTracks))
- osd->DrawBitmap(x2, y3 + (y4 - y3 - bmArrowDown.Height()) / 2, bmArrowDown, Theme.Color(clrMenuItemSelectable), Theme.Color(clrBackground));
- MessageScroll.DestWidth = x2 - x1;
-- MessageScroll.Font = font;
-+ MessageScroll.FontType = fontOsd;
- MessageScroll.xOff = x1;
- MessageScroll.yOff = y3;
- MessageScroll.delay = 20;
-@@ -228,11 +228,11 @@ void cSkinElchiDisplayTracks::SetMessage
- MessageScroll.pos = 0;
- MessageScroll.dir = -1;
- MessageScroll.Time.Set();
-- osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.Font, MessageScroll.DestWidth);
-+ osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.GetFont(), MessageScroll.DestWidth);
- }
- else {
- MessageScroll.dir = 0;
-- osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.Font, MessageScroll.DestWidth, taCenter);
-+ osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.GetFont(), MessageScroll.DestWidth, taCenter);
- }
- osd->DrawEllipse(x2, y3, x3 - 1, y4 - 1, MessageScroll.Bg, 5);
- }
-Index: skinelchi-0.1.1pre2/DisplayVolume.c
-===================================================================
---- skinelchi-0.1.1pre2.orig/DisplayVolume.c
-+++ skinelchi-0.1.1pre2/DisplayVolume.c
-@@ -37,7 +37,7 @@ cSkinElchiDisplayVolume::cSkinElchiDispl
- mute = -1;
- current = -1;
- MessageScroll.DestWidth = vdrosd ? Setup.OSDWidth : SkinElchiSetup.osdwidth;
-- MessageScroll.Font = font;
-+ MessageScroll.FontType = fontOsd;
- MessageScroll.xOff = 0;
- MessageScroll.yOff = lh;
- MessageScroll.delay = 20;
-@@ -122,11 +122,11 @@ void cSkinElchiDisplayVolume::SetMessage
- MessageScroll.pos = 0;
- MessageScroll.dir = -1;
- MessageScroll.Time.Set();
-- osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.Font, MessageScroll.DestWidth);
-+ osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.GetFont(), MessageScroll.DestWidth);
- }
- else {
- MessageScroll.dir = 0;
-- osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.Font, MessageScroll.DestWidth, 0, taCenter);
-+ osd->DrawText(MessageScroll.xOff, MessageScroll.yOff, MessageScroll.Text, MessageScroll.Fg, MessageScroll.Bg, MessageScroll.GetFont(), MessageScroll.DestWidth, 0, taCenter);
- }
- osd->DrawEllipse((vdrosd ? Setup.OSDWidth : SkinElchiSetup.osdwidth) - lhh, lh, (vdrosd ? Setup.OSDWidth : SkinElchiSetup.osdwidth) - 1, 2 * lh - 1, MessageScroll.Bg, 5);
- }
diff --git a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild
index ef0e9df68a03..b1f690a63cb7 100644
--- a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild
+++ b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild,v 1.4 2007/07/10 23:08:59 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r1.ebuild,v 1.5 2008/12/17 16:45:55 zzam Exp $
inherit vdr-plugin
@@ -29,6 +29,6 @@ src_unpack() {
if use imagemagick; then
elog "Enabling imagemagick-support."
- sed -i ${S}/Makefile -e 's/^#HAVE_IMAGEMAGICK/HAVE_IMAGEMAGICK/'
+ sed -i "${S}"/Makefile -e 's/^#HAVE_IMAGEMAGICK/HAVE_IMAGEMAGICK/'
fi
}
diff --git a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild
index 8a2b7b599944..890ee6f92d55 100644
--- a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild
+++ b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild,v 1.4 2007/07/10 23:08:59 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r2.ebuild,v 1.5 2008/12/17 16:45:55 zzam Exp $
inherit vdr-plugin
@@ -24,13 +24,13 @@ S=${WORKDIR}/${MY_P#vdr-}
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-${PV}-r1.sh"
-PATCHES="${FILESDIR}/${P}-PatchCollection-FireFly.diff"
+PATCHES=("${FILESDIR}/${P}-PatchCollection-FireFly.diff")
src_unpack() {
vdr-plugin_src_unpack
if use imagemagick; then
elog "Enabling imagemagick-support."
- sed -i ${S}/Makefile -e 's/^#HAVE_IMAGEMAGICK/HAVE_IMAGEMAGICK/'
+ sed -i "${S}"/Makefile -e 's/^#HAVE_IMAGEMAGICK/HAVE_IMAGEMAGICK/'
fi
}
diff --git a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild
index 4021af321156..b6c878e999be 100644
--- a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild
+++ b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild,v 1.6 2008/03/25 23:00:43 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.1.1_pre2-r3.ebuild,v 1.7 2008/12/17 16:45:55 zzam Exp $
inherit vdr-plugin
@@ -8,7 +8,8 @@ MY_P=${P/_pre/pre}
DESCRIPTION="Video Disk Recorder - Skin Plugin"
HOMEPAGE="http://www.vdrportal.de/board/thread.php?threadid=41915&sid="
-SRC_URI="mirror://gentoo/${MY_P}.tgz"
+SRC_URI="mirror://gentoo/${MY_P}.tgz
+ mirror://gentoo/${P}-vdr-1.5.5-getfont.diff.bz2"
SLOT="0"
LICENSE="GPL-2"
@@ -24,16 +25,16 @@ S=${WORKDIR}/${MY_P#vdr-}
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-${PV}-r1.sh"
-PATCHES="${FILESDIR}/${P}-PatchCollection-FireFly.diff
- ${FILESDIR}/${P}-vdr-1.5.5-getfont.diff
- ${FILESDIR}/compile-fix.diff"
+PATCHES=("${FILESDIR}/${P}-PatchCollection-FireFly.diff"
+ "${WORKDIR}/${P}-vdr-1.5.5-getfont.diff"
+ "${FILESDIR}/compile-fix.diff")
src_unpack() {
vdr-plugin_src_unpack
if use imagemagick; then
elog "Enabling imagemagick-support."
- sed -i ${S}/Makefile -e 's/^#HAVE_IMAGEMAGICK/HAVE_IMAGEMAGICK/'
+ sed -i "${S}"/Makefile -e 's/^#HAVE_IMAGEMAGICK/HAVE_IMAGEMAGICK/'
fi
sed -i DisplayMenu.h -e "s:uint64:uint64_t:"