Hi All,
I have tried to build vdr-plugin-epgsearch-git on arch linux. It failes with the following message.
Does a patch exist for this problem?
Best regards, Cedric
" g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__KERNEL_STRICT_NAMES -DUSE_GRAPHTFT -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include/vdr menu_searchresults.c menu_searchresults.c: In member function 'eOSState cMenuSearchResultsForRecs::Play()': menu_searchresults.c:818:80: error: no matching function for call to 'cReplayControl::SetRecording(const char*, const char*)' menu_searchresults.c:818:80: note: candidate is: In file included from epgsearchext.h:27:0, from menu_searchresults.h:30, from menu_searchresults.c:25: /usr/include/vdr/menu.h:300:15: note: static void cReplayControl::SetRecording(const char*) /usr/include/vdr/menu.h:300:15: note: candidate expects 1 argument, 2 provided make: *** [menu_searchresults.o] Error 1 /home/cedric/archvdr/trunk/archvdr/vdr-plugin-epgsearch-git/PKGBUILD: line 53: $'\302\240return': command not found ==> ERROR: A failure occurred in build(). Aborting... "
-- Oorspronkelijk bericht -- Date: Tue, 16 Oct 2012 21:22:09 +0200 From: cedric.dewijs@telfort.nl To: vdr@linuxtv.org Subject: [vdr] vdr-plugin-epgsearch-git failes to build Reply-To: VDR Mailing List vdr@linuxtv.org
Hi All,
I have tried to build vdr-plugin-epgsearch-git on arch linux. It failes
with
the following message.
Does a patch exist for this problem?
Best regards, Cedric
Solved it. Heres the patch and the pkgbuild: Best regards, Cedric
$ cat epgsearch_1.7.28_fix.diff diff -ruN vdr-plugin-epgsearch/menu_searchresults.c vdr-plugin-epgsearch.patched/menu_searchresults.c --- vdr-plugin-epgsearch/menu_searchresults.c 2012-10-17 08:49:55.640273045 +0200 +++ vdr-plugin-epgsearch.patched/menu_searchresults.c 2012-10-17 08:47:47.764960995 +0200 @@ -815,7 +815,7 @@ { cRecording *recording = GetRecording(ri); if (recording) { - cReplayControl::SetRecording(recording->FileName(), recording->Title()); + cReplayControl::SetRecording(recording->FileName()); return osReplay; } } PKGBUILD ... source=(01_debian-defaults.dpatch compile_fix.patch vdr-plugin-epgsearch-git.install epgsearch_1.7.28_fix.diff) conflicts=(vdr-plugin-$_pluginname)
md5sums=('25f21df320e3d508b03a33d30eea0b29' '777a7141278a54a22412c203a1039e64' '637c68e6a2717b61c42fa25ea7868f74' '3b78bfa0c6f7a50b20101a70c5c8ec16') ... cd $srcdir/vdr-plugin-${_pluginname}-build
patch -p1 -i ../01_debian-defaults.dpatch || return 1 patch -p1 -i ../compile_fix.patch || return 1 patch -p1 -i ../epgsearch_1.7.28_fix.diff || return 1
make HAVE_PCREPOSIX=1 MANDIR="$pkgdir/usr/man" \ ...
Hi,
are you sure you are using the current git? It already contains the following:
|#if APIVERSNUM < 10728 cReplayControl::SetRecording(recording->FileName(), recording->Title()); #else cReplayControl::SetRecording(recording->FileName()); #endif return osReplay;
see http://projects.vdr-developer.org/git/vdr-plugin-epgsearch.git/tree/menu_sea...
cheers, Christian |
Am 17.10.2012 09:40, schrieb cedric.dewijs@telfort.nl:
-- Oorspronkelijk bericht -- Date: Tue, 16 Oct 2012 21:22:09 +0200 From: cedric.dewijs@telfort.nl To: vdr@linuxtv.org Subject: [vdr] vdr-plugin-epgsearch-git failes to build Reply-To: VDR Mailing List vdr@linuxtv.org
Hi All,
I have tried to build vdr-plugin-epgsearch-git on arch linux. It failes
with
the following message.
Does a patch exist for this problem?
Best regards, Cedric
Solved it. Heres the patch and the pkgbuild: Best regards, Cedric
$ cat epgsearch_1.7.28_fix.diff diff -ruN vdr-plugin-epgsearch/menu_searchresults.c vdr-plugin-epgsearch.patched/menu_searchresults.c --- vdr-plugin-epgsearch/menu_searchresults.c 2012-10-17 08:49:55.640273045 +0200 +++ vdr-plugin-epgsearch.patched/menu_searchresults.c 2012-10-17 08:47:47.764960995 +0200 @@ -815,7 +815,7 @@ { cRecording *recording = GetRecording(ri); if (recording) {
cReplayControl::SetRecording(recording->FileName(), recording->Title());
}cReplayControl::SetRecording(recording->FileName()); return osReplay; }
PKGBUILD ... source=(01_debian-defaults.dpatch compile_fix.patch vdr-plugin-epgsearch-git.install epgsearch_1.7.28_fix.diff) conflicts=(vdr-plugin-$_pluginname)
md5sums=('25f21df320e3d508b03a33d30eea0b29' '777a7141278a54a22412c203a1039e64' '637c68e6a2717b61c42fa25ea7868f74' '3b78bfa0c6f7a50b20101a70c5c8ec16') ... cd $srcdir/vdr-plugin-${_pluginname}-build
patch -p1 -i ../01_debian-defaults.dpatch || return 1 patch -p1 -i ../compile_fix.patch || return 1 patch -p1 -i ../epgsearch_1.7.28_fix.diff || return 1
make HAVE_PCREPOSIX=1 MANDIR="$pkgdir/usr/man" \ ...
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Hi,
I have followed the instructions here: http://sourceforge.net/apps/trac/archvdr/wiki/ArchVDR
I have used this command to get the PKGBUILDS: svn co https://archvdr.svn.sourceforge.net/svnroot/archvdr archvdr
I am not at my box at the moment, but i will post my PKGBUILD, so we can check what git version I have used.
Thanks for your time,
Best regards, Cedric
-- Oorspronkelijk bericht -- Date: Thu, 18 Oct 2012 08:43:36 +0200 From: Christian Wieninger cwieninger@gmx.de To: VDR Mailing List vdr@linuxtv.org Subject: Re: [vdr] Betr: vdr-plugin-epgsearch-git failes to build Reply-To: VDR Mailing List vdr@linuxtv.org
Hi,
are you sure you are using the current git? It already contains the following:
|#if APIVERSNUM < 10728 cReplayControl::SetRecording(recording->FileName(), recording->Title()); #else cReplayControl::SetRecording(recording->FileName()); #endif return osReplay;
see http://projects.vdr-developer.org/git/vdr-plugin-epgsearch.git/tree/menu_sea...
cheers, Christian |
Am 17.10.2012 09:40, schrieb cedric.dewijs@telfort.nl:
-- Oorspronkelijk bericht -- Date: Tue, 16 Oct 2012 21:22:09 +0200 From: cedric.dewijs@telfort.nl To: vdr@linuxtv.org Subject: [vdr] vdr-plugin-epgsearch-git failes to build Reply-To: VDR Mailing List vdr@linuxtv.org
Hi All,
I have tried to build vdr-plugin-epgsearch-git on arch linux. It failes
with
the following message.
Does a patch exist for this problem?
Best regards, Cedric
Solved it. Heres the patch and the pkgbuild: Best regards, Cedric
$ cat epgsearch_1.7.28_fix.diff diff -ruN vdr-plugin-epgsearch/menu_searchresults.c vdr-plugin-epgsearch.patched/menu_searchresults.c --- vdr-plugin-epgsearch/menu_searchresults.c 2012-10-17 08:49:55.640273045 +0200 +++ vdr-plugin-epgsearch.patched/menu_searchresults.c 2012-10-17 08:47:47.764960995 +0200 @@ -815,7 +815,7 @@ { cRecording *recording = GetRecording(ri); if (recording) {
cReplayControl::SetRecording(recording->FileName(), recording->Title());
}cReplayControl::SetRecording(recording->FileName()); return osReplay; }
PKGBUILD ... source=(01_debian-defaults.dpatch compile_fix.patch vdr-plugin-epgsearch-git.install epgsearch_1.7.28_fix.diff) conflicts=(vdr-plugin-$_pluginname)
md5sums=('25f21df320e3d508b03a33d30eea0b29' '777a7141278a54a22412c203a1039e64' '637c68e6a2717b61c42fa25ea7868f74' '3b78bfa0c6f7a50b20101a70c5c8ec16') ... cd $srcdir/vdr-plugin-${_pluginname}-build
patch -p1 -i ../01_debian-defaults.dpatch || return 1 patch -p1 -i ../compile_fix.patch || return 1 patch -p1 -i ../epgsearch_1.7.28_fix.diff || return 1
make HAVE_PCREPOSIX=1 MANDIR="$pkgdir/usr/man" \ ...
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr