Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/vdr/files: vdr-1.6.0_p2_linguas.diff
Date: Sun, 29 Apr 2012 16:16:10
Message-Id: 20120429161555.C9BE92004C@flycatcher.gentoo.org
1 hd_brummy 12/04/29 16:15:55
2
3 Added: vdr-1.6.0_p2_linguas.diff
4 Log:
5 removed unneeded unifdef handling; added LINGUAS support
6
7 (Portage version: 2.1.10.11/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 media-video/vdr/files/vdr-1.6.0_p2_linguas.diff
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vdr/files/vdr-1.6.0_p2_linguas.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vdr/files/vdr-1.6.0_p2_linguas.diff?rev=1.1&content-type=text/plain
14
15 Index: vdr-1.6.0_p2_linguas.diff
16 ===================================================================
17 install only the given value in LINGUAS
18 signed-of: Joerg Bornkessel <hd_brummy@g.o> ( 2012/04/15 )
19
20 diff -Naur vdr-1.7.27.orig/Makefile vdr-1.7.27/Makefile
21 --- vdr-1.7.27.orig/Makefile 2012-04-15 15:45:18.000000000 +0200
22 +++ vdr-1.7.27/Makefile 2012-04-15 15:46:21.000000000 +0200
23 @@ -144,7 +144,7 @@
24
25 PODIR = po
26 LOCALEDIR = locale
27 -I18Npo = $(wildcard $(PODIR)/*.po)
28 +I18Npo = $(foreach dir,$(LINGUAS),$(wildcard $(PODIR)/$(dir)*.po))
29 I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr.mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
30 I18Npot = $(PODIR)/vdr.pot
31
32 @@ -167,7 +167,7 @@
33
34 install-i18n:
35 @mkdir -p $(DESTDIR)$(LOCDIR)
36 - @(cd $(LOCALEDIR); cp -r --parents * $(DESTDIR)$(LOCDIR))
37 + @(cd $(LOCALEDIR); for linguas in $(LINGUAS); do cp -r --parents $$linguas* $(DESTDIR)$(LOCDIR); done)
38
39 # The 'include' directory (for plugins):