Elchi und interface.c

  • Hab jetzt auf meinem Testsystem MP3 dvd osdpip mplayer femon alles schön am laufen, wollte jetzt für den VDR1.2.6 noch den Elchi4d drauf machen und dann kommt beim


    linux90:/usr/local/src/VDR # patch -p1 -i vdr-1.2.6-ElchiAIO4d.diff
    patching file HISTORY-ElchiAIO
    patching file Makefile
    patching file config.c
    patching file config.h
    patching file dvbplayer.c
    patching file eit.c
    patching file eit.h
    patching file font.c
    patching file font.h
    patching file fontsml.c
    patching file fontsym.c
    patching file i18n.c
    patching file interface.c
    patching file menu.c
    patching file menu.h
    patching file menuitems.c
    patching file menuitems.h
    patching file osd.c
    patching file osd.h
    patching file osdbase.c
    patching file osdbase.h
    Reversed (or previously applied) patch detected! Assume -R? [n] -R
    Apply anyway? [n] r
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file osdbase.h.rej
    patching file recorder.c
    patching file recording.c
    patching file recording.h
    patching file remux.c
    patching file theme.c
    patching file theme.h
    patching file timers.c
    patching file timers.h
    patching file tools.c
    patching file transfer.c
    patching file vdr.c
    linux90:/usr/local/src/VDR #


    irgendwas hat da wohl nicht mit dem osdbase.h gestimmt, hat wohl mit dem osdpip 0.0.5 zu tun ????



    beim make VFAT=1 REMOTE=LIRC kommt


    g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_LIRC -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DVFAT -I../DVB/linux/include interface.c
    interface.c: In member function `void cInterface::Title(const char*)':
    interface.c:264: error: `clrTitleLine' undeclared (first use this function)
    interface.c:264: error: (Each undeclared identifier is reported only once for
    each function it appears in.)
    interface.c:291: error: `fgtitleline' undeclared (first use this function)
    interface.c: In member function `void cInterface::Status(const char*,
    eDvbColor, eDvbColor)':
    interface.c:317: error: `clrInfoLine' undeclared (first use this function)
    interface.c: In member function `void cInterface::Info(const char*)':
    interface.c:332: error: `fginfofont' undeclared (first use this function)
    interface.c: In member function `void cInterface::Error(const char*)':
    interface.c:342: error: `fgerrorfont' undeclared (first use this function)
    interface.c:342: error: `clrErrorLine' undeclared (first use this function)
    interface.c: In member function `bool cInterface::Confirm(const char*, int,
    bool)':
    interface.c:352: error: `fgconfirmfont' undeclared (first use this function)
    interface.c:352: error: `clrConfirmLine' undeclared (first use this function)
    interface.c: In member function `void cInterface::Help(const char*, const
    char*, const char*, const char*)':
    interface.c:411: error: `clrHelpRed' undeclared (first use this function)
    interface.c:412: error: `clrHelpGreen' undeclared (first use this function)
    interface.c:413: error: `clrHelpYellow' undeclared (first use this function)
    interface.c:414: error: `clrHelpBlue' undeclared (first use this function)
    make: *** [interface.o] Error 1



    was wohl auch irgendwie auf die osdbase.h hin deutet oder ??


    Was kann ich tun ;(

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • Asche über mein haupt hätte oben n und y bei
    Reversed (or previously applied) patch detected! Assume -R? [n] -R
    Apply anyway? [n] r
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file osdbase.h.rej
    drücken sollen


    aber jetzt kommt beim make VFAT=1 REMOTE=LIRC


    g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_LIRC -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DVFAT -I../DVB/linux/include menuitems.c
    g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_LIRC -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DVFAT -I../DVB/linux/include osdbase.c
    osdbase.c:349: error: no `bool cBitmap::LoadXpm(const char*, eDvbColor)' member
    function declared in class `cBitmap'
    osdbase.c:459: error: no `bool cBitmap::LoadLogo(const char*)' member function
    declared in class `cBitmap'
    osdbase.c: In member function `bool cBitmap::LoadLogo(const char*)':
    osdbase.c:479: error: invalid conversion from `char*' to `unsigned char*'
    make: *** [osdbase.o] Error 1
    linux90:/usr/local/src/VDR #

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • Weder-noch ist richtig. Das Problem ist, daß sich hier zwei Patches gegenseitig in den Weg kommen.


    Entweder guckst du dir die *.rej-Datei an und schließt aus den drei Orginaldateien (osdbase.h, vdr-1.2.6-ElchiAIO4d.diff und osdpip???) auf das Problem und behebst es von Hand [manchmal trivial - manchal nur mit gutem Wissen zu bewältigen], oder du schreibst den Maintainern, oder du wartest bis jemand einen All-In-One-Patch herausbringt.


    Gruß,
    Juri

  • Ich hab mir das mal etwas genau angesehen, klar ist schon das sich der Elchi4d mit dem osdpip0.0.5 sich wohl nicht verträgt, allerdings tippe ich auf die reihenfolge wie man die *.diff einspielt, zuerst osdpip oder Elchi ??? Hatte es ja mal hin bekommen, hät ich es mir nur aufgeschrieben allerdings weiß ich nimmer ob das osdpip ( damals 0.0.4) mit 256 optimiert hatte oder nicht ?(
    Kann man eigentlich in einer laufenden installation sehen was zuerst installiert wurde un welches diff ohne die messeage.log ? Eigentlich wohl kaum oder ? ;(

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • Original von gogglio

    Zitat

    Ich hab mir das mal etwas genau angesehen, klar ist schon das sich der Elchi4d mit dem osdpip0.0.5 sich wohl nicht verträgt, allerdings tippe ich auf die reihenfolge wie man die *.diff einspielt, zuerst osdpip oder Elchi ??? Hatte es ja mal hin bekommen, hät ich es mir nur aufgeschrieben allerdings weiß ich nimmer ob das osdpip ( damals 0.0.4) mit 256 optimiert hatte oder nicht ?(


    Probier es aus. Das patch-Programm kennt den Parameter --dry-run, mit dem nur so getan wird, als ob der Patch angewandt wird - es werden aber keine Dateien geändert oder geschrieben. Weiterhin kannst du mit -R einen Patch wieder rückgängig machen...


    Zitat

    Kann man eigentlich in einer laufenden installation sehen was zuerst installiert wurde un welches diff ohne die messeage.log ? Eigentlich wohl kaum oder ? ;(


    Nein.


    Gruß,
    Juri

  • Ich hab mir das noch mal angeschaut heute.
    Neues VDR 1.2.6 osdpip 0.0.5 und dann Elchi4d geht nicht, bleibt beim osdbase.h und osdbase.c hängen.


    Neues VDR 1.2.6 Elchi4d drauf dann osdpip0.0.5 bleibt auch bei den gleichen Dateien wie oben hängen :(


    Ich weiß nimmer was ich machen soll ;(

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • osdbase.h.rej
    nach elchi und dann osdpip



    @@ -75,7 +75,7 @@
    private:
    cFont *font;
    eDvbFont fontType;
    - unsigned char *bitmap;
    + char *bitmap;
    bool clearWithBackground;
    protected:
    int width, height;
    @@ -86,7 +86,7 @@
    bool ClearWithBackground(void) { return clearWithBackground; }
    eDvbFont SetFont(eDvbFont Font);
    bool Dirty(int &x1, int &y1, int &x2, int &y2);
    - void SetIndex(int x, int y, unsigned char Index);
    + void SetIndex(int x, int y, char Index);
    void SetPixel(int x, int y, eDvbColor Color);
    void SetBitmap(int x, int y, const cBitmap &Bitmap);
    int Width(void) { return width; }
    @@ -97,7 +97,7 @@
    void Fill(int x1, int y1, int x2, int y2, eDvbColor Color);
    void Clean(void);
    void Clear(void);
    - const unsigned char *Data(int x, int y);
    + const char *Data(int x, int y);
    };

    #define MAXNUMWINDOWS 7 // OSD windows are counted 1...7
    @@ -122,7 +122,7 @@
    void Fill(int x1, int y1, int x2, int y2, eDvbColor Color);
    void SetBitmap(int x, int y, const cBitmap &Bitmap);
    void Text(int x, int y, const char *s, eDvbColor ColorFg = clrWhite, eDvbColor ColorBg = clrBackground);
    - const unsigned char *Data(int x, int y);
    + const char *Data(int x, int y);
    };

    typedef int tWindowHandle;

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • jetzt bin ich so weit gekommen das ich nahc dem patch vom vdr-1.2.6-256-indexes.diff soweit bin


    @@ -123,7 +123,7 @@
    void Fill(int x1, int y1, int x2, int y2, eDvbColor Color);
    void Clean(void);
    void Clear(void);
    - const unsigned char *Data(int x, int y);
    + const char *Data(int x, int y);
    };

    #define MAXNUMWINDOWS 7 // OSD windows are counted 1...7



    beim make bleibt er aber jetzt mit dem einen Fehler nicht mehr hängen,
    und es läuft !!!

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!