r4399 - in vdr/vdr-plugin-alcd/trunk/debian: . patches
Tobias Grimm
tiber-guest at alioth.debian.org
Fri Apr 27 22:01:44 UTC 2007
Author: tiber-guest
Date: 2007-04-27 22:01:43 +0000 (Fri, 27 Apr 2007)
New Revision: 4399
Removed:
vdr/vdr-plugin-alcd/trunk/debian/patches/02_vdr-1.4.2-volume-fix.dpatch
Modified:
vdr/vdr-plugin-alcd/trunk/debian/changelog
vdr/vdr-plugin-alcd/trunk/debian/patches/00list
Log:
* New upstream release
* Removed 02_vdr-1.4.2-volume-fix.dpatch - fixed upstream
Modified: vdr/vdr-plugin-alcd/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/changelog 2007-04-25 21:52:03 UTC (rev 4398)
+++ vdr/vdr-plugin-alcd/trunk/debian/changelog 2007-04-27 22:01:43 UTC (rev 4399)
@@ -1,3 +1,10 @@
+vdr-plugin-alcd (1.2.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed 02_vdr-1.4.2-volume-fix.dpatch - fixed upstream
+
+ -- Tobias Grimm <tg at e-tobi.net> Fri, 27 Apr 2007 23:59:42 +0200
+
vdr-plugin-alcd (1.2.1-2) unstable; urgency=low
* Added 02_vdr-1.4.2-volume-fix.dpatch to fix problems iwth teh volume bar
Modified: vdr/vdr-plugin-alcd/trunk/debian/patches/00list
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/patches/00list 2007-04-25 21:52:03 UTC (rev 4398)
+++ vdr/vdr-plugin-alcd/trunk/debian/patches/00list 2007-04-27 22:01:43 UTC (rev 4399)
@@ -1,3 +1,2 @@
01_Makefile-fPIC-fix
01_script-paths
-02_vdr-1.4.2-volume-fix
Deleted: vdr/vdr-plugin-alcd/trunk/debian/patches/02_vdr-1.4.2-volume-fix.dpatch
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/patches/02_vdr-1.4.2-volume-fix.dpatch 2007-04-25 21:52:03 UTC (rev 4398)
+++ vdr/vdr-plugin-alcd/trunk/debian/patches/02_vdr-1.4.2-volume-fix.dpatch 2007-04-27 22:01:43 UTC (rev 4399)
@@ -1,65 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_vdr-1.4.2-volume-fix.dpatch by arghgra @ vdr-portal.de
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fixes volume bart for VDR >= 1.4.2.
-
- at DPATCH@
-diff -urNad vdr-plugin-alcd-1.2.1~/alcd-thread.c vdr-plugin-alcd-1.2.1/alcd-thread.c
---- vdr-plugin-alcd-1.2.1~/alcd-thread.c 2006-11-01 01:03:02.000000000 +0100
-+++ vdr-plugin-alcd-1.2.1/alcd-thread.c 2007-04-25 23:39:38.000000000 +0200
-@@ -49,6 +49,7 @@
- stop = false;
- running = true;
- displayMode = MOD_TV;
-+ mLastVolume = 0;
-
- infoTimer = 0;
- lockTimer = 0;
-@@ -537,18 +538,23 @@
- /////////////////////////////////////////////////////////
- // Set Volume
-
--void cLCD::SetVolume( int volume, bool muted )
-+void cLCD::SetVolume( int volume, bool Absolute )
- {
- #ifdef DEBUG
- isyslog( "In SetVol" );
- #endif
-+ if ( Absolute )
-+ mLastVolume = volume;
-+ else
-+ mLastVolume += volume;
-+
- if( ! VDR_LOCKED ) {
- cMutexLock lock( &_mutex );
-- int vol = ( volume * 18 ) / 255;
-+ int vol = ( mLastVolume * 18 ) / 255;
-
- myLCD->FormatString( szMsgText1, ( char * )tr( "Volume" ), BUFSIZE, false, true );
- szMsgText2[0] = '[';
-- if( muted )
-+ if (( volume == 0 ) && ( Absolute ))
- strcpy( szMsgText2 + 1, " -- MUTE -- " );
- else {
- memset( szMsgText2 + 1, '#', vol );
-diff -urNad vdr-plugin-alcd-1.2.1~/alcd-thread.h vdr-plugin-alcd-1.2.1/alcd-thread.h
---- vdr-plugin-alcd-1.2.1~/alcd-thread.h 2006-10-31 13:29:33.000000000 +0100
-+++ vdr-plugin-alcd-1.2.1/alcd-thread.h 2007-04-25 23:39:38.000000000 +0200
-@@ -54,6 +54,7 @@
- bool stop;
- bool running;
- int lLED1, lLED2, lLEDPower;
-+ int mLastVolume;
-
- Recordings _recordings;
- cControl *PlayControl;
-@@ -74,7 +75,7 @@
- virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
- virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
- virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On);
-- virtual void SetVolume(int Volume, bool mute);
-+ virtual void SetVolume(int Volume, bool Absolute);
- virtual void OsdProgramme(time_t PresentTime, const char *PresentTitle, const char *PresentSubtitle, time_t FollowingTime, const char *FollowingTitle, const char *FollowingSubtitle);
- virtual void OsdCurrentItem(const char *Text);
- virtual void OsdChannel(const char *Text);
More information about the pkg-vdr-dvb-changes
mailing list