From patchwork Fri Oct 21 23:01:37 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12069 Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1ET5sC-0000bk-Mq for vdr@linuxtv.org; Sat, 22 Oct 2005 01:00:29 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id E2F2E73534 for ; Fri, 21 Oct 2005 15:59:52 -0700 (PDT) Message-ID: <43597351.3090902@syphir.sytes.net> Date: Fri, 21 Oct 2005 16:01:37 -0700 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: [vdr] Testing Enigma 4pre2 References: <4353806A.7080109@syphir.sytes.net> <43540DDB.40207@gmx.net> <435415A9.3060801@syphir.sytes.net> <43552332.6090407@gmx.net> <43555561.9020302@syphir.sytes.net> <4358E33E.9040409@gmx.net> <43593FE7.20507@syphir.sytes.net> <4359493B.3030400@syphir.sytes.net> <43596B7C.2040908@syphir.sytes.net> In-Reply-To: <43596B7C.2040908@syphir.sytes.net> X-Enigmail-Version: 0.92.1.0 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 23:00:29 -0000 Status: O X-Status: X-Keywords: X-UID: 5597 >> >>Here are some more changes required for the substitution method. >> > > > Here is a tested and working patch for UpdateEnigma.sh. This patch in > conjunction with the previous attachment (enigma-4pre2-display.diff) seems to > work fine. The final stage of this patch is now to decide what areas of the > skin are going to be substituted and made configurable. > Hmm, I sure did that the hard way. :) Here is a better, more simplified patch for UpdateEnigma.sh. diff -ruN Enigma.orig/scripts/UpdateEnigma.sh Enigma/scripts/UpdateEnigma.sh --- Enigma.orig/scripts/UpdateEnigma.sh 2005-10-21 15:55:16.000000000 -0700 +++ Enigma/scripts/UpdateEnigma.sh 2005-10-21 15:57:16.000000000 -0700 @@ -7,7 +7,9 @@ T2S_EXT="false" # defines if the switchonly-patch by LightYear is installed ("true" or "false") SW_ONLY="false" - +# defines preferred display method in skin ("text" or "scrolltext" or "marquee") +MENU_DISPLAY="marquee" +CHAN_DISPLAY="marquee" # don't edit beyond here SKIN_TEMPLATE="$SKINPATH/Enigma.skin.template" @@ -71,6 +73,8 @@ | sed -e "s/%BLUE_R%/"$b_r"/" \ | sed -e "s/%BLUE_R_T%/"`expr $b_r + 0`"/" \ | sed -e "s/%BLUE_R_M1%/"`expr $b_r - 1`"/" \ +| sed -e "s/%MENU_DISPLAY%/"$MENU_DISPLAY"/g" \ +| sed -e "s/%CHAN_DISPLAY%/"$CHAN_DISPLAY"/g" \ > $SKIN_TMP # we have to avoid ',' in m4 so we replace it with ';'