Re: VDR 1.5.12 & text2skin: how to compile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 31, 2007 8:14 AM, Andrey Kuzmin <maillists@xxxxxxxxxx> wrote:
> Hi,
>
> I've googled and tried all patches I could find to build text2skin
> against 1.5.10 (11 and 12 too), but still could not build text2skin plugin.
> Any how-to's or working patches?

I've used every version of the current vdr developer tree and haven't
needed an updated text2skin patch since 1.5.4.  Try the attached
patch.

Also, there appears to be a problem with text2skin although it still
works fine.  If anyone cares to have a look and possibly fix it,
that'd be great!

The problem:

Stopping: VDR
*** glibc detected *** ./vdr: double free or corruption (fasttop):
0x0b1ba848 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7c94ac5]
/lib/libc.so.6(cfree+0x90)[0xb7c98570]
./PLUGINS/lib/libvdr-text2skin.so.1.5.12(_ZN14cText2SkinI18nD0Ev+0x5f)[0xb746405f]
======= Memory map: ========
08048000-08183000 r-xp 00000000 03:03 833366
/usr/local/dvb/vdr.source/vdr-1.5.12/vdr
08183000-0818c000 rw-p 0013a000 03:03 833366
/usr/local/dvb/vdr.source/vdr-1.5.12/vdr
0818c000-0b973000 rw-p 0818c000 00:00 0          [heap]
diff -ruN vdr-1.5.4.orig/font.c vdr-1.5.4/font.c
--- vdr-1.5.4.orig/font.c	2007-06-17 05:13:49.000000000 -0700
+++ vdr-1.5.4/font.c	2007-06-18 09:24:39.000000000 -0700
@@ -524,3 +524,8 @@
      }
   return s;
 }
+
+cFont *LoadFreetypeFont(const char *Name, int CharHeight)
+{
+  return (new cFreetypeFont(Name, CharHeight));
+}
diff -ruN vdr-1.5.4.orig/font.h vdr-1.5.4/font.h
--- vdr-1.5.4.orig/font.h	2007-06-17 05:11:31.000000000 -0700
+++ vdr-1.5.4/font.h	2007-06-18 09:24:39.000000000 -0700
@@ -98,4 +98,6 @@
       ///< Returns the given Line. The first line is numbered 0.
   };
 
+extern cFont *LoadFreetypeFont(const char *, int);
+
 #endif //__FONT_H
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux