From patchwork Fri Dec 23 12:27:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc X-Patchwork-Id: 12918 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1Re4Df-0004CK-De for vdr@linuxtv.org; Fri, 23 Dec 2011 13:27:29 +0100 X-tubIT-Incoming-IP: 46.105.63.121 Received: from 1.mo2.mail-out.ovh.net ([46.105.63.121] helo=mo2.mail-out.ovh.net) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtp for id 1Re4De-0004G4-JL; Fri, 23 Dec 2011 13:27:27 +0100 Received: from mail21.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 43427DCB923 for ; Fri, 23 Dec 2011 13:28:00 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 23 Dec 2011 14:27:21 +0200 Received: from gob75-4-82-226-175-12.fbx.proxad.net (HELO ?192.168.0.10?) (mail?dev@ekass.net@82.226.175.12) by ns0.ovh.net with SMTP; 23 Dec 2011 14:27:18 +0200 Message-ID: <4EF473A6.2030308@ekass.net> Date: Fri, 23 Dec 2011 13:27:18 +0100 From: Marc User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111214 Thunderbird/8.0 MIME-Version: 1.0 To: VDR Mailing List X-Ovh-Mailout: 178.32.228.2 (mo2.mail-out.ovh.net) References: <4EF10742.20100@hertell.com> <4EF10857.7070500@dressler.ca> <201112221836.53454.rollercoaster@reel-multimedia.com> <4EF39E76.4090105@hertell.com> <4EF3A1D9.6080807@ekass.net> In-Reply-To: X-Ovh-Tracer-Id: 8333348161602467933 X-Ovh-Remote: 82.226.175.12 (gob75-4-82-226-175-12.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 5 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeefkedruddvucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlhedmnecujfgurhepkffpfffhfgggvffufhgjtgesmhdtrggrtdefudenucfhrhhomhepofgrrhgtuceovhgurhesvghkrghsshdrnhgvtheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhdplhhinhhugihtvhdrohhrghen X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 6 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeefjedruddvucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdliedmnecujfgurhepkffpfffhfgggvffufhgjtgesmhdtrggrtdefudenucfhrhhomhepofgrrhgtuceovhgurhesvghkrghsshdrnhgvtheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhdplhhinhhugihtvhdrohhrghen X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.12.23.121517 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FROM_NAME_ONE_WORD 0.05, MIME_TEXT_ONLY_MP_MIXED 0.05, MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_10000_PLUS 0, __ANY_URI 0, __BAT_BOUNDARY 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: 0.1 (/) X-LSpam-Report: No, score=0.1 required=5.0 tests=BAYES_00=-1.9, LONGWORDS=2.035 autolearn=no Subject: Re: [vdr] LiveBuffer for vdr 1.7.x X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 12:27:29 -0000 Status: O X-Status: X-Keywords: X-UID: 25510 On 23/12/2011 12:11, Dominic Evans wrote: >> It's a patch from yaVDR and it doesn't apply to the vdr source tree as is >> (at least for me). > Here's the patch from yaVDR rebased to apply to vanilla 1.7.21 sources: > > https://gist.github.com/1513894 > > https://raw.github.com/gist/1513894 > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr It works, thanks ! There is a typo error in vdr.c but that's all. For gentoo users, I attached the patches I use. I relocated some hunk of config.c and config.h and renamed USE_LIVEBUFFER to LIVEBUFFER in Makefile. Patch the ebuild and put the other patch in /etc/portage/patches/media-video/vdr-1.7.21 (I use the epatch_user tool instead of the script, see the ebuild patch). Marc. --- vdr-1.7.21-r1.ebuild 2011-10-25 03:10:08.000000000 +0200 +++ vdr-1.7.21-r2.ebuild 2011-12-23 13:10:44.000000000 +0100 @@ -7,7 +7,7 @@ inherit eutils flag-o-matic multilib # Switches supported by extensions-patch -EXT_PATCH_FLAGS="alternatechannel cutterlimit +EXT_PATCH_FLAGS="alternatechannel cutterlimit livebuffer ddepgentry dvlvidprefer graphtft hardlinkcutter jumpplay lnbshare liemikuutio mainmenuhooks menuorg noepg pinplugin setup timerinfo yaepg lircsettings" @@ -295,27 +295,8 @@ fi - # apply local patches defined by variable VDR_LOCAL_PATCHES_DIR - if test -n "${VDR_LOCAL_PATCHES_DIR}"; then - local dir_tmp_var - local LOCALPATCHES_SUBDIR=${PV} - for dir_tmp_var in allversions-fallback ${PV%_p*} ${PV} ; do - if [[ -d ${VDR_LOCAL_PATCHES_DIR}/${dir_tmp_var} ]]; then - LOCALPATCHES_SUBDIR="${dir_tmp_var}" - fi - done - - echo - if [[ ${LOCALPATCHES_SUBDIR} == ${PV} ]]; then - einfo "Applying local patches" - else - einfo "Applying local patches (Using subdirectory: ${LOCALPATCHES_SUBDIR})" - fi - - for LOCALPATCH in ${VDR_LOCAL_PATCHES_DIR}/${LOCALPATCHES_SUBDIR}/*.{diff,patch}; do - test -f "${LOCALPATCH}" && epatch "${LOCALPATCH}" - done - fi + # apply local patches + epatch_user if [[ -n "${VDRSOURCE_DIR}" ]]; then cp -r "${S}" "${T}"/source-tree