YAVDR 0.3

MythTV, Tvtime, Mplayer etc.
Anche programmi o script di conversione tipo
projectx, transcode, vdrconvert, dvdauthor etc.

Moderatori: ragno, tapino, alez, zulu, davidea

ceo16
Messaggi: 324
Iscritto il: 21 gen 2008, 18:40

Re: YAVDR 0.3

Messaggio da ceo16 »

ciao Von lo voglio modificare perche ho creato una patch per compilare il plugin bouquets della reel .
questo plugins permette di avere la gestione canali/bouquets come il reel , vedi questo tread:
viewtopic.php?f=2&t=1400
ci sono riuscito, l'unica cosa è che quando si preme Ok del telecommando esce la vechia lista canali di vdr e non quella del plugin, per il momento ho risolta chiamando il plugin con una regola keymacros , ma devo trovare una soluzione. adesso vi posto come fare a compilare yavdr con questo plugin.

se siamo arrivati fino a qui dobiamo essere gia apposto con le librerie per compilare yavdr

Codice: Seleziona tutto

cd /usr/local/src
apt-get source vdr
cd vdr-1.7.16
dpatch apply-all
ora dobbiamo patchre ancora vdr per far compilare il plugin scaricate la patch da qui:
http://www.megaupload.com/?d=OCEVUYR0

Codice: Seleziona tutto

diff -Naur vdrorg/channels.h vdrpatch/channels.h
--- vdrorg/channels.h	2010-11-24 16:44:45.979433000 +0100
+++ vdrpatch/channels.h	2010-11-24 00:49:16.605541000 +0100
@@ -14,6 +14,7 @@
 #include "sources.h"
 #include "thread.h"
 #include "tools.h"
+#include <vector>
 
 #define ISTRANSPONDER(f1, f2)  (abs((f1) - (f2)) < 4) //XXX
 
@@ -34,7 +35,11 @@
 #define MAXAPIDS 32 // audio
 #define MAXDPIDS 16 // dolby (AC3 + DTS)
 #define MAXSPIDS 32 // subtitles
+#ifdef REELVDR
+#define MAXCAIDS 256 // conditional access
+#else
 #define MAXCAIDS  8 // conditional access
+#endif /*REELVDR*/
 #define MAXTXTPAGES 8 // teletext pages
 
 #define MAXLANGCODE1 4 // a 3 letter language code, zero terminated
@@ -101,6 +106,11 @@
   friend class cSchedules;
   friend class cMenuEditChannel;
   friend class cDvbSourceParam;
+#ifdef USE_BOUQUETS
+  friend class cMenuMyEditChannel;
+  friend class cMenuMyBouquets;
+  friend class cMenuEditBouquet;
+#endif
 private:
   static cString ToText(const cChannel *Channel);
   char *name;
@@ -189,6 +199,17 @@
   int Number(void) const { return number; }
   void SetNumber(int Number) { number = Number; }
   bool GroupSep(void) const { return groupSep; }
+  #ifdef REELVDR
+  void SetGroupSep(bool GroupSep) { groupSep=GroupSep; }
+#endif /*REELVDR*/
   const char *Parameters(void) const { return parameters; }
   const cLinkChannels* LinkChannels(void) const { return linkChannels; }
   const cChannel *RefChannel(void) const { return refChannel; }
@@ -224,6 +245,9 @@
 public:
   cChannels(void);
   bool Load(const char *FileName, bool AllowComments = false, bool MustExist = false);
+  #ifdef REELVDR
+  bool Reload(const char *FileName, bool AllowComments = false, bool MustExist = false);
+#endif
   void HashChannel(cChannel *Channel);
   void UnhashChannel(cChannel *Channel);
   int GetNextGroup(int Idx);   // Get next channel group
diff -Naur vdrorg/config.c vdrpatch/config.c
--- vdrorg/config.c	2010-11-24 16:44:46.343389000 +0100
+++ vdrpatch/config.c	2010-11-23 22:08:57.796556000 +0100
@@ -423,6 +423,16 @@
   ShowRecLength = 0;
   ShowProgressBar = 0;
   MenuCmdPosition = 0;
+  #ifdef REELVDR
+  ExpertOptions  = 0;
+  AddNewChannels = 0;
+  UseBouquetList = 1;
+  OnlyRadioChannels = 0;
+  OnlyEncryptedChannels = 0;
+  OnlyHDChannels = 0;
+  ExpertNavi     = 0;
+  WantChListOnOk = 1;
+#endif /* REELVDR */
 }
 
 cSetup::~cSetup()
@@ -533,6 +543,16 @@
 bool cSetup::Parse(const char *Name, const char *Value)
 {
   if      (!strcasecmp(Name, "OSDLanguage"))       { strn0cpy(OSDLanguage, Value, sizeof(OSDLanguage)); I18nSetLocale(OSDLanguage); }
+  #ifdef REELVDR
+  else if (!strcasecmp(Name, "ExpertOptions"))       ExpertOptions      = atoi(Value);
+  else if (!strcasecmp(Name, "AddNewChannels"))      AddNewChannels     = atoi(Value);
+  else if (!strcasecmp(Name, "UseBouquetList"))      UseBouquetList     = atoi(Value);
+  else if (!strcasecmp(Name, "OnlyRadioChannels"))   OnlyRadioChannels  = atoi(Value);
+  else if (!strcasecmp(Name, "OnlyEncryptedChannels"))OnlyEncryptedChannels = atoi(Value);
+  else if (!strcasecmp(Name, "OnlyHDChannels"))      OnlyHDChannels       = atoi(Value);
+  else if (!strcasecmp(Name, "ExpertNavi"))          ExpertNavi         = atoi(Value);
+  else if (!strcasecmp(Name, "WantChListOnOk"))      WantChListOnOk     = atoi(Value);
+#endif /* REELVDR */
   else if (!strcasecmp(Name, "OSDSkin"))             Utf8Strn0Cpy(OSDSkin, Value, MaxSkinName);
   else if (!strcasecmp(Name, "OSDTheme"))            Utf8Strn0Cpy(OSDTheme, Value, MaxThemeName);
   else if (!strcasecmp(Name, "WarEagleIcons"))       WarEagleIcons      = atoi(Value);
@@ -776,6 +796,16 @@
   Store("ShowProgressBar",    ShowProgressBar);
   Store("MenuCmdPosition",    MenuCmdPosition);
   Store("CutTimePatchEnabled",CutTimePatchEnabled);
+  #ifdef REELVDR
+  Store("ExpertOptions",      ExpertOptions);
+  Store("AddNewChannels",     AddNewChannels);
+  Store("UseBouquetList",     UseBouquetList);
+  Store("OnlyRadioChannels",  OnlyRadioChannels);
+  Store("OnlyEncryptedChannels", OnlyEncryptedChannels);
+  Store("OnlyHDChannels", OnlyHDChannels);
+  Store("ExpertNavi",         ExpertNavi);
+  Store("WantChListOnOk",     WantChListOnOk);
+#endif /* REELVDR */
 
   Store("VerboseLNBlog",       VerboseLNBlog);
   char tmp[20];
diff -Naur vdrorg/config.h vdrpatch/config.h
--- vdrorg/config.h	2010-11-24 16:44:46.343389000 +0100
+++ vdrpatch/config.h	2010-11-23 22:00:49.217550000 +0100
@@ -13,7 +13,11 @@
 #include <arpa/inet.h>
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef REELVDR
+#include <string>
+#else
 #include <string.h>
+#endif /*REELVDR*/
 #include <time.h>
 #include <unistd.h>
 #include "i18n.h"
@@ -323,6 +327,16 @@
   int CardUsesLnbNr[MAXDEVICES];
   int ShowRecDate, ShowRecTime, ShowRecLength, ShowProgressBar, MenuCmdPosition;
   int CutTimePatchEnabled;
+#ifdef REELVDR
+  int ExpertOptions;
+  int AddNewChannels;
+  int UseBouquetList;
+  int OnlyRadioChannels;
+  int OnlyEncryptedChannels;
+  int OnlyHDChannels;
+  int ExpertNavi;
+  int WantChListOnOk;
+#endif /* REELVDR */
   int __EndData__;
   char *noEPGList; // pointer not to be flat-copied
   cSetup(void);
diff -Naur vdrorg/debug.h vdrpatch/debug.h
--- vdrorg/debug.h	1970-01-01 01:00:00.000000000 +0100
+++ vdrpatch/debug.h	2010-11-12 17:02:04.391291000 +0100
@@ -0,0 +1,44 @@
+
+#ifndef DEBUG_H
+#define DEBUG_H
+#include <assert.h>
+
+#ifdef DBG
+  #undef DBG
+  #undef DERR
+  #undef DLOG
+  #undef PRINTF
+#endif
+
+
+#if defined DEBUG
+    #ifdef PLUGIN_NAME_I18N
+        #define CONTEXT PLUGIN_NAME_I18N
+    #else
+        #define CONTEXT "VDR, " __FILE__
+    #endif
+
+    // standard debug macro
+    #define DDD(x...)    printf("["CONTEXT"]: "x); printf("\n")
+
+    // standard error macro (red background)
+    #define DERR(x...)   printf("\033[0;37m\033[1;41m["CONTEXT"]: "x); printf("\033[0m\n")
+
+    // special macro: logs to syslog AND console
+    #define DLOG(x...)   printf("["CONTEXT"]: "x); printf("\n"); dsyslog("["CONTEXT"]: "x)
+
+    // for automatic conversion of printf's - i.e. use sed s/" printf"/" PRINTF"/
+    #define PRINTF(x...) printf("["CONTEXT"]: "x)
+#else
+    #define DDD(x...)
+    #define DERR(x...)
+    #define DLOG(x...)
+    #define PRINTF(x...)
+#endif
+
+//only here for compatibility reasons, don't use any more
+#define ERR "Error"
+
+#define DBG          ""
+
+#endif /* DEBUG_H */
diff -Naur vdrorg/Make.config vdrpatch/Make.config
--- vdrorg/Make.config	2010-11-24 16:44:46.219390000 +0100
+++ vdrpatch/Make.config	2010-11-23 22:12:45.285541000 +0100
@@ -27,6 +27,14 @@
     include $(VDRDIR)/Make.global
 endif
 
+REELVDR=1
+DEFINES  += -DREELVDR
+
+
+USE_BOUQUETS=1
+DEFINES += -DUSE_BOUQUETS
+
+
 BIDI = 1
 GRAPHTFT = 1
 DEFINES += -DUSE_GRAPHTFT
diff -Naur vdrorg/menu.c vdrpatch/menu.c
--- vdrorg/menu.c	2010-11-24 16:44:46.347390000 +0100
+++ vdrpatch/menu.c	2010-11-24 14:36:43.484388000 +0100
@@ -135,6 +135,7 @@
 
 // --- cMenuEditSrcItem ------------------------------------------------------
 
+#ifndef REELVDR
 class cMenuEditSrcItem : public cMenuEditIntItem {
 private:
   const cSource *source;
@@ -144,6 +145,8 @@
   cMenuEditSrcItem(const char *Name, int *Value);
   eOSState ProcessKey(eKeys Key);
   };
+#endif
+
 
 cMenuEditSrcItem::cMenuEditSrcItem(const char *Name, int *Value)
 :cMenuEditIntItem(Name, Value, 0)
@@ -4341,6 +4344,9 @@
          else
             return osEnd;
          break;
+#ifdef REELVDR
+    case kInfo: return osEnd; break;
+#endif
     default:
          if ((Key & (k_Repeat | k_Release)) == 0) {
             cRemote::Put(Key);
diff -Naur vdrorg/menu.h vdrpatch/menu.h
--- vdrorg/menu.h	2010-11-24 16:44:46.347390000 +0100
+++ vdrpatch/menu.h	2010-11-24 14:37:15.388408000 +0100
@@ -19,6 +19,18 @@
 #include "recorder.h"
 #include "skins.h"
 
+#ifdef REELVDR
+class cMenuEditSrcItem : public cMenuEditIntItem {
+private:
+  const cSource *source;
+protected:
+  virtual void Set(void);
+public:
+  cMenuEditSrcItem(const char *Name, int *Value);
+  eOSState ProcessKey(eKeys Key);
+  };
+#endif
+
 class cMenuText : public cOsdMenu {
 private:
   char *text;
@@ -99,8 +111,30 @@
   virtual const char* MenuKind() { return "MenuEvent"; }
   };
 
+#ifdef REELVDR
+struct MenuMainHook_Data_V1_0 {
+  eOSState  Function;    /*IN*/
+  cOsdMenu *pResultMenu; /*OUT*/
+};
+#define CREATE_MENU_MAIN(function,menu) {                              \
+  MenuMainHook_Data_V1_0 data;                                         \
+  memset(&data, 0, sizeof(data));                                      \
+  data.Function = function;                                            \
+  if (!cPluginManager::CallFirstService("MenuMainHook-V1.0", &data))   \
+    menu = new cMenuMain(function);                                    \
+  else                                                                 \
+    menu = data.pResultMenu;                                           \
+}
+#endif /* REELVDR*/
+
+
 class cMenuMain : public cOsdMenu {
+#ifdef REELVDR
+protected:
+  cMenuMain(const char *Title):cOsdMenu(Title){}; // Allow custom constructor
+#else
 private:
+#endif
   bool replaying;
   cOsdItem *stopReplayItem;
   cOsdItem *cancelEditingItem;
diff -Naur vdrorg/osdbase.c vdrpatch/osdbase.c
--- vdrorg/osdbase.c	2010-11-24 16:44:46.175390000 +0100
+++ vdrpatch/osdbase.c	2010-11-24 00:25:58.044544000 +0100
@@ -561,6 +561,9 @@
     case kRight|k_Repeat:
     case kRight: PageDown(); break;
     case kBack: return osBack;
+    #ifdef REELVDR
+   // case kInfo: return DisplayHelpMenu(title);
+#endif /* REELVDR */
     case kOk:   if (marked >= 0) {
                    SetStatus(NULL);
                    if (marked != current)
diff -Naur vdrorg/osdbase.h vdrpatch/osdbase.h
--- vdrorg/osdbase.h	2010-11-24 16:44:46.175390000 +0100
+++ vdrpatch/osdbase.h	2010-11-24 00:27:47.668551000 +0100
@@ -46,6 +50,10 @@
                 osUser10,
               };
 
+#ifdef USE_BOUQUETS
+enum eChannellistMode { Default, currentBouquet, classicList, bouquets, favourites, addToFavourites };
+#endif /* USE_BOUQUETS */
+
 class cOsdItem : public cListObject {
 private:
   char *text;
diff -Naur vdrorg/vdr.c vdrpatch/vdr.c
--- vdrorg/vdr.c	2010-11-24 16:44:46.331405000 +0100
+++ vdrpatch/vdr.c	2010-11-24 00:36:06.913551000 +0100
@@ -1237,7 +1237,22 @@
                   Menu = new cDisplayChannel(NORMALKEY(key));
                   break;
              // Viewing Control:
-             case kOk:   LastChannel = -1; break; // forces channel display
+               #ifdef REELVDR
+             case kInfo:
+             case kOk:  if ((Setup.WantChListOnOk && (key == kOk)) 
+                            || (!Setup.WantChListOnOk && (key == kInfo)) )
+                        {
+                            DirectMainFunction(osChannels);
+                        }
+                        else 
+                        {
+                            LastChannel = -1;
+                        }
+                        break;
+#else
+              case kOk:   LastChannel = -1; break; // forces channel display
+#endif
+             
              // Instant resume of the last viewed recording:
              case kPlay:
                   if (cReplayControl::LastReplayed()) { 
prendete la patch e mettetela nella directory prima di vdr-1.7.16 e applichiamola con

Codice: Seleziona tutto

sudo patch -p1 < ../bouquetpatchvdr.diff
una volta applicata senza errori compiliamo yavdr con questo commando

Codice: Seleziona tutto

make plugins REMOTE=LIRC CONFDIR=/var/lib/vdr LOCDIR=/usr/share/locale VIDEODIR=/var/lib/video.00 PLUGINLIBDIR=/usr/lib/vdr/plugins
adesso scarichiamo il plugin bouquets della reel

Codice: Seleziona tutto

cd PLUGINS/src
svn co svn://reelbox.org/testing/src/vdr-plugins/src/bouquets-0.1  r 15566
e lo rinominiamo in bouquets
ora applichiamo la patch che serve per il plugin come prima fate copia e incolla di questa patch e chiamatela bouquetpatch.diff

Codice: Seleziona tutto

diff -Naur bouquets-0.1/Makefile bouquets/Makefile
--- bouquets-0.1/Makefile	2010-11-25 11:29:26.132664000 +0100
+++ bouquets/Makefile	2010-11-24 17:11:43.903390000 +0100
@@ -9,12 +9,15 @@
 #
 PLUGIN = bouquets
 
-### The object files (add further files here):
+### The version number of this plugin (taken from the main source file):
+
+VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
+
+### The C++ compiler and options:
+
+CXX      ?= g++
+CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual -fPIC
 
-OBJS = $(PLUGIN).o MenuBouquets.o MenuBouquetsList.o \
-	MenuEditBouquet.o SetChannelOptionsMenu.o MenuBouquetItem.o \
-	MenuChannelItem.o MenuEditChannel.o
-#filetools.o i18n.o
 
 ### The directory environment:
 
@@ -27,3 +30,69 @@
 -include $(VDRDIR)/Make.config
 -include $(VDRDIR)/Make.common
 
+### The version number of VDR's plugin API (taken from VDR's "config.h"):
+
+APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
+
+# This is required for VDRs older than 1.3.47
+ifeq ($(strip $(APIVERSION)),)
+  APIVERSION = $(shell sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
+endif
+
+### The name of the distribution archive:
+
+ARCHIVE = $(PLUGIN)-$(VERSION)
+PACKAGE = vdr-$(ARCHIVE)
+
+### Includes and Defines (add further entries here):
+
+INCLUDES += -I$(VDRDIR)/include
+
+DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+
+### The object files (add further files here):
+
+OBJS = $(PLUGIN).o MenuBouquets.o MenuBouquetsList.o \
+	MenuEditBouquet.o SetChannelOptionsMenu.o MenuBouquetItem.o \
+	MenuChannelItem.o MenuEditChannel.o
+#filetools.o i18n.o
+
+### Implicit rules:
+
+%.o: %.c
+	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+
+# Dependencies:
+
+MAKEDEP = $(CXX) -MM -MG
+DEPFILE = .dependencies
+$(DEPFILE): Makefile
+	@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
+
+-include $(DEPFILE)
+
+### Internationalization (I18N):
+
+ISPO = $(shell grep '\#define APIVERSNUM' $(VDRDIR)/config.h | awk '{if($$3>=10507){printf("yes")}else{printf("no")}}')
+
+
+
+### Targets:
+
+all: libvdr-$(PLUGIN).so 
+
+libvdr-$(PLUGIN).so: $(OBJS)
+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
+	@cp $@ $(LIBDIR)/$@.$(APIVERSION)
+
+dist: clean
+	@-rm -rf $(TMPDIR)/$(ARCHIVE)
+	@mkdir $(TMPDIR)/$(ARCHIVE)
+	@cp -a * $(TMPDIR)/$(ARCHIVE)
+	@tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE)
+	@-rm -rf $(TMPDIR)/$(ARCHIVE)
+	@echo Distribution package created as $(PACKAGE).tgz
+
+clean:
+	@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
+	@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
diff -Naur bouquets-0.1/MenuBouquets.c bouquets/MenuBouquets.c
--- bouquets-0.1/MenuBouquets.c	2010-11-25 11:29:26.132664000 +0100
+++ bouquets/MenuBouquets.c	2010-11-25 11:39:34.091682000 +0100
@@ -1442,11 +1442,11 @@
                 {
                     return EditChannel();
                 }
-                break;
-            case k2digit:
-                AddFavourite(false);
-                break;
-            case kGreater:
+             //   break;
+          //  case k2digit:
+            //    AddFavourite(false);
+              //  break;
+          //  case kGreater:
                 if (view_ == currentBouquet)
                 {
                     //printf("-------editMode2 = 1------\n");
diff -Naur bouquets-0.1/SetChannelOptionsMenu.c bouquets/SetChannelOptionsMenu.c
--- bouquets-0.1/SetChannelOptionsMenu.c	2010-11-22 16:29:51.978490000 +0100
+++ bouquets/SetChannelOptionsMenu.c	2010-11-25 11:38:57.828699000 +0100
@@ -62,7 +62,7 @@
 
     SetTitle(tr("Channellist: set filters"));
 
-    AddFloatingText(tr("Please select the content of the channellist"), 48);
+   // AddFloatingText(tr("Please select the content of the channellist"), 48);
 
     Add(new cOsdItem("", osUnknown, false));    // blank line
mettetela in PLUGIN/src , entrate nella cartella bouquets e date:

Codice: Seleziona tutto

patch -p1 < ../bouquetpatch.diff
ora basta tornare nella cartella vdr-1.7.16 e dare make plugins.

P.S bisogna ricompilare tutti i plugins perche ho aggiunto delle nuove classi nei sorgenti vdr.
ceo16
Messaggi: 324
Iscritto il: 21 gen 2008, 18:40

Re: YAVDR 0.3

Messaggio da ceo16 »

ho aggiornato le patch per l'ultima versione del plugin, adesso si puo creare il bouquet preferiti e si possono aggiungere i canali con un tasto (kGreater)., per far questo bisogna cancellare il file remote.conf e fare di nuovo l'assegnazione dei tasti nel menu di vdr troverete 3 nuovi tasti.
qui trovate le 3 patch una serve se si usano i sorce di yavdr , l'altre per vdr senza nessuna patch e l'ultima che serve per creare il makefile del plugin bouquet, che con questa patch bisogna scaricare con questo commando:

Codice: Seleziona tutto

svn co svn://reelbox.org/testing/src/vdr-plugins/src/bouquets-0.1
il file lo scaricate da qua:
http://www.megaupload.com/?d=CR1NJ60D
C-RUZ
Messaggi: 55
Iscritto il: 06 apr 2008, 08:28

Re: YAVDR 0.3

Messaggio da C-RUZ »

Ok provato sulla mia vdrboxhd "normale" (non uso yavdr) e funziona tutto abbastanza bene GRAZIE MILLE.
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: YAVDR 0.3

Messaggio da davidea »

ceo16 ha scritto:ciao Von lo voglio modificare perche ho creato una patch per compilare il plugin bouquets della reel .
questo plugins permette di avere la gestione canali/bouquets come il reel , vedi questo tread:
viewtopic.php?f=2&t=1400
ci sono riuscito, l'unica cosa è che quando si preme Ok del telecommando esce la vechia lista canali di vdr e non quella del plugin, per il momento ho risolta chiamando il plugin con una regola keymacros , ma devo trovare una soluzione. adesso vi posto come fare a compilare yavdr con questo plugin.

se siamo arrivati fino a qui dobiamo essere gia apposto con le librerie per compilare yavdr

Codice: Seleziona tutto

cd /usr/local/src
apt-get source vdr
cd vdr-1.7.16
dpatch apply-all
P.S bisogna ricompilare tutti i plugins perche ho aggiunto delle nuove classi nei sorgenti vdr.

vorrei provare a ricompilare anche io, per altre patch (dvb-t non funzionante senza patch e scr patch) ed ho preso questi appunti come inizio...... ma la cartella che mi fa'e' quella di vdr 1.6.0 !!!!!!
in ogni caso, come fai poi a scaricare i sorgenti dei plugin per ricompilarli???
ma a voi non da' su i nervi il fatto che non ci sia il completamento automatico dei comandi con i vari parametri (ad esempio apt-get inst , tasto tab, completa il parametro install) ???? che manchino in botto di comandi (mc, locate e tanti altri!!)
ceo16
Messaggi: 324
Iscritto il: 21 gen 2008, 18:40

Re: YAVDR 0.3

Messaggio da ceo16 »

devi aggiungere queste repository

Codice: Seleziona tutto

deb http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu lucid main
deb http://ppa.launchpad.net/yavdr/stable-xbmc/ubuntu lucid main
deb http://ppa.launchpad.net/yavdr/stable-yavdr/ubuntu lucid main
deb-src http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu/ lucid main
deb-src http://ppa.launchpad.net/yavdr/stable-yavdr/ubuntu lucid main
deb-src http://ppa.launchpad.net/yavdr/stable-xbmc/ubuntu lucid main
se usi la versione testing basta che modifichi stable in testing

i plugins da ricompilare li scarichi con lo stesso commando apt-get source vdr-plugin-nomeplugin
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: YAVDR 0.3

Messaggio da davidea »

davidea ha scritto: ma a voi non da' su i nervi il fatto che non ci sia il completamento automatico dei comandi con i vari parametri (ad esempio apt-get inst , tasto tab, completa il parametro install) ???? che manchino un botto di comandi (mc, locate e tanti altri!!)

manca pure nano......... questi qui' mi vogliono male!!!!!!
quando dai un comando che non c'e' non ti suggerisce neanche quale pacchetto installare!!!!
non dico che voglio installato di default pure skype, pero il minimo sindacale per vivere bene si! :nonso:
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: YAVDR 0.3

Messaggio da davidea »

continua l' odissea..... mi chiedo, ma chi me lo ha fatto fare?????

errori e soluzioni!

Codice: Seleziona tutto

font.c:19:10: error: #include expects "FILENAME" or <FILENAME>

sudo apt-get install libfreetype6-dev

Codice: Seleziona tutto

font.c:14:35: error: fontconfig/fontconfig.h: Nessun file o directory
font.c:16:21: error: fribidi.h: Nessun file o directory

sudo apt-get install libxft-dev

Codice: Seleziona tutto

font.c:16:21: error: fribidi.h: Nessun file o directory
sudo apt-get install libfribidi-dev

Codice: Seleziona tutto

tools.c:18:21: error: jpeglib.h: Nessun file o directory
sudo apt-get install libjpeg-dev

Codice: Seleziona tutto

vdr.c:70:28: error: sys/capability.h: Nessun file o directory

apt-get install libcap-dev
cosa altro mi deve mancare?????
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: YAVDR 0.3

Messaggio da davidea »

e mi sembrava strano......

make plugins

Codice: Seleziona tutto

make[1]: xgettext: comando non trovato
sudo apt-get install gettext

Codice: Seleziona tutto

skincurses.c:9:30: error: ncursesw/ncurses.h: Nessun file o directory
sudo apt-get install libncurses5-dev
sudo apt-get install libncursesw5-dev
make install

Codice: Seleziona tutto

make[1]: uscita dalla directory «/usr/local/src/vdr-1.7.16/PLUGINS/src/svdrpdemo»
cp: "./PLUGINS/lib/libvdr-dvbsddevice.so.1.7.16" e "./PLUGINS/lib/libvdr-dvbsddevice.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-hello.so.1.7.16" e "./PLUGINS/lib/libvdr-hello.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-osddemo.so.1.7.16" e "./PLUGINS/lib/libvdr-osddemo.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-pictures.so.1.7.16" e "./PLUGINS/lib/libvdr-pictures.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-skincurses.so.1.7.16" e "./PLUGINS/lib/libvdr-skincurses.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-status.so.1.7.16" e "./PLUGINS/lib/libvdr-status.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-svccli.so.1.7.16" e "./PLUGINS/lib/libvdr-svccli.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-svcsvr.so.1.7.16" e "./PLUGINS/lib/libvdr-svcsvr.so.1.7.16" sono lo stesso file
cp: "./PLUGINS/lib/libvdr-svdrpdemo.so.1.7.16" e "./PLUGINS/lib/libvdr-svdrpdemo.so.1.7.16" sono lo stesso file
make: *** [install-plugins] Errore 1

per stasera ne ho abbastanza!!!!!!!!
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: YAVDR 0.3

Messaggio da von fritz »

Hello

yavdr e basata su una ubuntu lucid, dunque si comporta come tutte le derivate debian. ;)
per compilare "a manina" servono i pacchetti xxx-dev come nella debian "classica".
Comunque sconsiglio vivamente di compilare a manina (make, make install)con la yavdr se non sei sicurissimo di cosa stai facendo.
yavdr usa delle locazioni non standard...........viewtopic.php?f=6&t=1362&start=45#p12579 mi sto ripetendo :D
rileggiti anche tutta la quarta pagina di viewtopic.php?f=6&t=1362&start=45 magari ti puo' essere d'aiuto.
usa anche il comando apt-get build-dep "pacchetto che vuoi ricompilare" ti dovrebbe automaticamente installare tutte le dipendenze necessarie per la ricompilazione. ;)

bye
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: YAVDR 0.3

Messaggio da davidea »

von fritz ha scritto:Hello

yavdr e basata su una ubuntu lucid, dunque si comporta come tutte le derivate debian. ;)
per compilare "a manina" servono i pacchetti xxx-dev come nella debian "classica".
Comunque sconsiglio vivamente di compilare a manina (make, make install)con la yavdr se non sei sicurissimo di cosa stai facendo.
piu' che sicuri, direi obbligato, mi serve una patch per far funzionare il dvb-t ed un' altra per l' scr
von fritz ha scritto: yavdr usa delle locazioni non standard...........viewtopic.php?f=6&t=1362&start=45#p12579 mi sto ripetendo :D
rileggiti anche tutta la quarta pagina di viewtopic.php?f=6&t=1362&start=45 magari ti puo' essere d'aiuto.
usa anche il comando apt-get build-dep "pacchetto che vuoi ricompilare" ti dovrebbe automaticamente installare tutte le dipendenze necessarie per la ricompilazione. ;)

bye
grazie per avermi indicato il comando build-dep , non lo conoscevo/avevo capito! :oops:
in ogni caso, mi sa' che funziona con i pacchetti standard, e non con vdr, ho provato a levare una delle librerie installate ieri sera e non nota la mancanza!

per rileggermi le pagine, lo rimando a domani sera, stasera sono cotto!!!!
recidivo
Messaggi: 8
Iscritto il: 04 mar 2009, 17:43

Re: YAVDR 0.3

Messaggio da recidivo »

ragazzi ho problemi pure io in web frontend vedo tutto blu dopo il login e non ho capito come risolvere

qualcuno mi può dare una dritta?

grazie!
recidivo
Messaggi: 8
Iscritto il: 04 mar 2009, 17:43

Re: YAVDR 0.3

Messaggio da recidivo »

risolto: messa la virgola mancante con nano via ssh...
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: YAVDR 0.3

Messaggio da davidea »

ragazzi, non so voi,ma per me questo passaggio a yavdr si sta rilevando tragico......non riesco ad abituarmi, vediamo se mi potete aiutare un po':

il sistema va' in suspend, e' possibile disabilitarlo completamente? lo voglio sempre UP!!!! mi serve anche ad altro e poi il ricevitore del telecomando non gradisce.......)
ogni tanto (nello spesso) al riavvio di vdr, mi dice sempre canale non trovato sul sat, c'e' un modo per rallentare l' avvio , uno sleep 5 ?
qualcuno sa come si chiama la feature che in consolle ti completa automaticamente le opzioni dei comandi , sono troppo abituato, ad esempio se scrivo apt-get upda e premo il tasto tab vorrei completasse la parola in update

e' mai possibile che abbia dovuto installare pure il telnet ????

perche' nei menu' ho due pip, diversi??? di cui uno funziona malissimo,e l' altro debbo passare per un menu pio on/off
sbaglio o ho l' impressione che qualche voce sia stata tradotta male?? (application,system, stato scheda....)
a voi il plugin live, su chromium vi fa' vedere lo streaming, a me dice plugin mancante.

se volessi aggiungere qualche programma sul menu' a sinistra, quello per intenderci dove c'e' firefox, xbmc dove si trova? vorrei aggiungere skype, se lo lancio a manina dal terminale funziona!!!!

ho visto male io, o vi era una maschera di configurazione (via browser) dove impostare l' ip statico?

per chi volesse compilarsi a manina vdr, si devono mettere correttamente i pat in make.config.template

infine una curiosita', dopo quasi un mese che e' installato,hoprovato stasera a fare apt-get upgrade e dice che deve aggiornarmi vdr, mi sono perso qualcosa? o il team yavdr applica delle sue patch ?
Avatar utente
Gringo
Messaggi: 1796
Iscritto il: 21 gen 2007, 19:36

Re: YAVDR 0.3

Messaggio da Gringo »

davidea ha scritto: sbaglio o ho l' impressione che qualche voce sia stata tradotta male?? (application,system, stato scheda....)
Le traduzioni sono tutte a posto se hai aggiornato alla 3.0.1, altrimenti potrebbero avere qualche incongruenza. Al massimo basta che vai nei repository di yaVDR, scarichi i sorgenti e la mia traduzione e fai un compare. Se è a posto allora prendi il file in italiano e sovrascrivi quello che hai nel tuo sistema.

Per tutto il resto: ecco perchè ho preso il DreamBox :-)
VDRBOX:
Software: ArchLinux 0.8 Don't Panic, VDR 1.6.0-2 con Extension Patch v.62 (> 70 plugins in IT)
Hardware: Intel P4 2,4 Ghz, 1 GB RAM, DVB-S Hauppauge WinTV Nexus-S rev 2.1, DVB-T Terratec Cinergy 1400, telecomando Terratec
Case: Compaq D510 SFF
Avatar utente
ragno
Messaggi: 3017
Iscritto il: 20 gen 2007, 09:43
Località: Marte e dintorni
Contatta:

Re: YAVDR 0.3

Messaggio da ragno »

Gringo ha scritto:
Per tutto il resto: ecco perchè ho preso il DreamBox :-)
Ahhhhh...stiamo diventando tutti come Cetto la Qualunque...:)

ciao
vdr: 1.4.7+extpatch54 (pensionata), 1.7.27 (yavdr 0.4)
Percorri la via che porta al sole,
e non camminare sui sentieri oscuri.

E quando penso che sia finita,
è proprio allora che comincia la salita.
Rispondi