1 |
hd_brummy 12/09/29 19:38:57 |
2 |
|
3 |
Modified: ChangeLog vdr-plugin-2.eclass |
4 |
Log: |
5 |
added helper function to remove i18n.h includes, if media-plugins/vdr-* are still use the obsoleted i18n handling and unsupported to gettext handling |
6 |
|
7 |
Revision Changes Path |
8 |
1.421 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.421&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.421&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.420&r2=1.421 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.420 |
18 |
retrieving revision 1.421 |
19 |
diff -u -r1.420 -r1.421 |
20 |
--- ChangeLog 28 Sep 2012 15:18:04 -0000 1.420 |
21 |
+++ ChangeLog 29 Sep 2012 19:38:56 -0000 1.421 |
22 |
@@ -1,6 +1,10 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.420 2012/09/28 15:18:04 ulm Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.421 2012/09/29 19:38:56 hd_brummy Exp $ |
27 |
+ |
28 |
+ 29 Sep 2012; Joerg Bornkessel <hd_brummy@g.o> vdr-plugin-2.eclass: |
29 |
+ added helper function to remove i18n.h includes, if media-plugins/vdr-* are |
30 |
+ still use the obsoleted i18n handling and unsupported to gettext handling |
31 |
|
32 |
28 Sep 2012; Ulrich Müller <ulm@g.o> eutils.eclass: |
33 |
Test for the EAPI explicitly, because it isn't guaranteed that package |
34 |
|
35 |
|
36 |
|
37 |
1.13 eclass/vdr-plugin-2.eclass |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vdr-plugin-2.eclass?rev=1.13&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vdr-plugin-2.eclass?rev=1.13&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vdr-plugin-2.eclass?r1=1.12&r2=1.13 |
42 |
|
43 |
Index: vdr-plugin-2.eclass |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v |
46 |
retrieving revision 1.12 |
47 |
retrieving revision 1.13 |
48 |
diff -u -r1.12 -r1.13 |
49 |
--- vdr-plugin-2.eclass 27 Sep 2012 16:35:42 -0000 1.12 |
50 |
+++ vdr-plugin-2.eclass 29 Sep 2012 19:38:56 -0000 1.13 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2012 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.12 2012/09/27 16:35:42 axs Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.13 2012/09/29 19:38:56 hd_brummy Exp $ |
56 |
|
57 |
# @ECLASS: vdr-plugin-2.eclass |
58 |
# @MAINTAINER: |
59 |
@@ -316,6 +316,19 @@ |
60 |
dev_check "please review, may be in subdir... \n" |
61 |
fi |
62 |
} |
63 |
+ |
64 |
+remove_i18n_include() { |
65 |
+ # remove uneeded i18.n includes |
66 |
+ # call 'remove_i18n_include bla foo' |
67 |
+ |
68 |
+ local f |
69 |
+ for f; do |
70 |
+ sed -i "${f}" \ |
71 |
+ -e "s:^#include[[:space:]]*\"i18n.h\"://:" |
72 |
+ done |
73 |
+ |
74 |
+ dev_check "removed i18n.h for ${@}" |
75 |
+} |
76 |
# end new vdr-plugin-2.eclass content |
77 |
|
78 |
vdr-plugin-2_copy_source_tree() { |