1 |
chithanh 13/01/31 14:12:12 |
2 |
|
3 |
Modified: ChangeLog xorg-2.eclass |
4 |
Log: |
5 |
Add EAPI 5 sub-slot dependency on x11-base/xorg-server for packages which require rebuilding when the server is upgraded. |
6 |
|
7 |
Revision Changes Path |
8 |
1.656 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.656&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.656&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.655&r2=1.656 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.655 |
18 |
retrieving revision 1.656 |
19 |
diff -u -r1.655 -r1.656 |
20 |
--- ChangeLog 31 Jan 2013 09:26:42 -0000 1.655 |
21 |
+++ ChangeLog 31 Jan 2013 14:12:12 -0000 1.656 |
22 |
@@ -1,6 +1,11 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.655 2013/01/31 09:26:42 scarabeus Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.656 2013/01/31 14:12:12 chithanh Exp $ |
27 |
+ |
28 |
+ 31 Jan 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
29 |
+ xorg-2.eclass: |
30 |
+ Add EAPI 5 sub-slot dependency on x11-base/xorg-server for packages which |
31 |
+ require rebuilding when the server is upgraded. |
32 |
|
33 |
31 Jan 2013; Tomáš Chvátal <scarabeus@g.o> obs-service.eclass: |
34 |
Additional files also must be versioned as they change between versions. |
35 |
|
36 |
|
37 |
|
38 |
1.60 eclass/xorg-2.eclass |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?rev=1.60&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?rev=1.60&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?r1=1.59&r2=1.60 |
43 |
|
44 |
Index: xorg-2.eclass |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v |
47 |
retrieving revision 1.59 |
48 |
retrieving revision 1.60 |
49 |
diff -u -r1.59 -r1.60 |
50 |
--- xorg-2.eclass 27 Sep 2012 16:35:42 -0000 1.59 |
51 |
+++ xorg-2.eclass 31 Jan 2013 14:12:12 -0000 1.60 |
52 |
@@ -1,6 +1,6 @@ |
53 |
-# Copyright 1999-2012 Gentoo Foundation |
54 |
+# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.59 2012/09/27 16:35:42 axs Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.60 2013/01/31 14:12:12 chithanh Exp $ |
58 |
|
59 |
# @ECLASS: xorg-2.eclass |
60 |
# @MAINTAINER: |
61 |
@@ -270,6 +270,28 @@ |
62 |
esac |
63 |
unset DOC_DEPEND |
64 |
|
65 |
+# @ECLASS-VARIABLE: XORG_MODULE_REBUILD |
66 |
+# @DESCRIPTION: |
67 |
+# Describes whether a package contains modules that need to be rebuilt on |
68 |
+# xorg-server upgrade. This has an effect only since EAPI=5. |
69 |
+# Possible values are "yes" or "no". Default value is "yes" for packages which |
70 |
+# are recognized as DRIVER by this eclass and "no" for all other packages. |
71 |
+if [[ "${DRIVER}" == yes ]]; then |
72 |
+ : ${XORG_MODULE_REBUILD:="yes"} |
73 |
+else |
74 |
+ : ${XORG_MODULE_REBUILD:="no"} |
75 |
+fi |
76 |
+ |
77 |
+if [[ ${XORG_MODULE_REBUILD} == yes ]]; then |
78 |
+ case ${EAPI} in |
79 |
+ 3|4) |
80 |
+ ;; |
81 |
+ *) |
82 |
+ RDEPEND+=" x11-base/xorg-server:=" |
83 |
+ ;; |
84 |
+ esac |
85 |
+fi |
86 |
+ |
87 |
DEPEND+=" ${COMMON_DEPEND}" |
88 |
RDEPEND+=" ${COMMON_DEPEND}" |
89 |
unset COMMON_DEPEND |