mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Version 1.5.8
- Added missing install-i18n to the install target in the Makefile (reported by Joachim Wilke). - Fixed a faulty comment in Make.config.template (reported by Marco Schlüßler). - Improved i18n-to-gettext.pl (thanks to Matthias Schwarzott). - Moved the "all" target in plugin Makefiles before the "Implicit rules", so that a plain "make" will compile everything (suggested by Matthias Schwarzott). The "newplugin" script has been changed accordingly. Plugin authors may want to change their Makefiles, too. - Added DESTDIR and PREFIX handling to the Makefile (thanks to Matthias Schwarzott). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Added internationalization to the "skincurses" plugin (thanks to Rolf Ahrenberg). - Checking the string for NULL in I18nTranslate(). - Updated the French OSD texts (thanks to Bruno Roussel). - Some optimizations in cDvbDevice::SetChannelDevice() (thanks to Tobias Bratfisch). - Optimized cMenuEditChrItem::Set() (thanks to Tobias Bratfisch). - Optimized cNitFilter::Process() (thanks to Tobias Bratfisch). - Reduced the number of time(NULL) calls in vdr.c's main loop to a single call (thanks to Tobias Bratfisch). - Changed cBitmap::DrawText() to always draw the background unless ColorBg is clrTransparent (thanks to Christoph Haubrich). - The "Setup/OSD/Language" menu now only shows those languages that actually have a locale (suggested by Anssi Hannula). - Now using setenv() instead of setlocale() to set the language for gettext() (suggested by Anssi Hannula; thanks also to Ludwig Nussel for a hint on using _nl_msg_cat_cntr). - When scanning the locale directory, VDR now explicitly looks for a file named vdr.mo. Text files for plugins are now named "vdr-name.mo", when "name" is the name of the plugin. The "newplugin" script has been changed accordingly, and plugin authors should change their Makefiles, too.
This commit is contained in:
		| @@ -8,3 +8,8 @@ VDR Plugin 'svdrpdemo' Revision History | ||||
| 2005-08-28: Version 0.0.2 | ||||
|  | ||||
| - Removed unused MAINMENUENTRY. | ||||
|  | ||||
| 2007-08-15: Version 0.0.3 | ||||
|  | ||||
| - Moved the "all" target in the Makefile before the "Implicit rules", | ||||
|   so that a plain "make" will compile everything. | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # Makefile for a Video Disk Recorder plugin | ||||
| # | ||||
| # $Id: Makefile 1.7 2006/09/09 12:38:35 kls Exp $ | ||||
| # $Id: Makefile 1.8 2007/08/15 13:06:28 kls Exp $ | ||||
|  | ||||
| # The official name of this plugin. | ||||
| # This name will be used in the '-P...' option of VDR to load the plugin. | ||||
| @@ -47,6 +47,10 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' | ||||
|  | ||||
| OBJS = $(PLUGIN).o | ||||
|  | ||||
| ### The main target: | ||||
|  | ||||
| all: libvdr-$(PLUGIN).so | ||||
|  | ||||
| ### Implicit rules: | ||||
|  | ||||
| %.o: %.c | ||||
| @@ -63,8 +67,6 @@ $(DEPFILE): Makefile | ||||
|  | ||||
| ### Targets: | ||||
|  | ||||
| all: libvdr-$(PLUGIN).so | ||||
|  | ||||
| libvdr-$(PLUGIN).so: $(OBJS) | ||||
| 	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ | ||||
| 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) | ||||
|   | ||||
| @@ -3,12 +3,12 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id: svdrpdemo.c 1.2 2005/08/28 21:11:14 kls Exp $ | ||||
|  * $Id: svdrpdemo.c 1.3 2007/08/15 13:19:57 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include <vdr/plugin.h> | ||||
|  | ||||
| static const char *VERSION        = "0.0.2"; | ||||
| static const char *VERSION        = "0.0.3"; | ||||
| static const char *DESCRIPTION    = "How to add SVDRP support to a plugin"; | ||||
|  | ||||
| class cPluginSvdrpdemo : public cPlugin { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user