Gentoo Archives: gentoo-commits

From: "Ole Markus With (olemarkus)" <olemarkus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php/xdebug: xdebug-2.2.0_rc1.ebuild ChangeLog
Date: Fri, 06 Apr 2012 18:45:19
Message-Id: 20120406184506.B48A82004B@flycatcher.gentoo.org
1 olemarkus 12/04/06 18:45:06
2
3 Modified: ChangeLog
4 Added: xdebug-2.2.0_rc1.ebuild
5 Log:
6 Version bump. RC that works with php 5.4
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.39 dev-php/xdebug/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xdebug/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xdebug/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xdebug/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-php/xdebug/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 13 Mar 2012 13:20:26 -0000 1.38
24 +++ ChangeLog 6 Apr 2012 18:45:06 -0000 1.39
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-php/xdebug
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/ChangeLog,v 1.38 2012/03/13 13:20:26 olemarkus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/ChangeLog,v 1.39 2012/04/06 18:45:06 olemarkus Exp $
30 +
31 +*xdebug-2.2.0_rc1 (06 Apr 2012)
32 +
33 + 06 Apr 2012; Ole Markus With <olemarkus@g.o> +xdebug-2.2.0_rc1.ebuild:
34 + Version bump. RC that works with php 5.4
35
36 *xdebug-2.1.4 (13 Mar 2012)
37
38
39
40
41 1.1 dev-php/xdebug/xdebug-2.2.0_rc1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xdebug/xdebug-2.2.0_rc1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xdebug/xdebug-2.2.0_rc1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xdebug-2.2.0_rc1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.0_rc1.ebuild,v 1.1 2012/04/06 18:45:06 olemarkus Exp $
51
52 PHP_EXT_NAME="xdebug"
53 PHP_EXT_INI="yes"
54 PHP_EXT_ZENDEXT="yes"
55
56 EAPI="4"
57
58 USE_PHP="php5-3 php5-4"
59
60 MY_PV="${PV/_/}"
61 MY_PV="${MY_PV/rc/RC}"
62
63 S="${WORKDIR}/${PN}-${MY_PV}"
64
65 inherit php-ext-source-r2
66
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
68
69 DESCRIPTION="A PHP debugging and profiling extension"
70 HOMEPAGE="http://www.xdebug.org/"
71 SRC_URI="http://pecl.php.net/get/${PN}-${MY_PV}.tgz"
72 LICENSE="Xdebug"
73 SLOT="0"
74 IUSE=""
75
76 DEPEND="!dev-php/ZendOptimizer"
77 RDEPEND="${DEPEND}
78 ~dev-php/xdebug-client-${PV}"
79
80 src_install() {
81 dodoc NEWS README CREDITS
82 php-ext-source-r2_src_install
83
84 php-ext-source-r2_addtoinifiles "xdebug.auto_trace" '"0"'
85 php-ext-source-r2_addtoinifiles "xdebug.trace_output_dir" '"/tmp"'
86 php-ext-source-r2_addtoinifiles "xdebug.trace_output_name" '"trace.%c"'
87 php-ext-source-r2_addtoinifiles "xdebug.trace_format" '"0"'
88 php-ext-source-r2_addtoinifiles "xdebug.trace_options" '"0"'
89 php-ext-source-r2_addtoinifiles "xdebug.collect_includes" '"1"'
90 php-ext-source-r2_addtoinifiles "xdebug.collect_params" '"0"'
91 php-ext-source-r2_addtoinifiles "xdebug.collect_return" '"0"'
92 php-ext-source-r2_addtoinifiles "xdebug.collect_vars" '"0"'
93 php-ext-source-r2_addtoinifiles "xdebug.default_enable" '"1"'
94 php-ext-source-r2_addtoinifiles "xdebug.extended_info" '"1"'
95 php-ext-source-r2_addtoinifiles "xdebug.manual_url" '"http://www.php.net"'
96 php-ext-source-r2_addtoinifiles "xdebug.max_nesting_level" '"100"'
97 php-ext-source-r2_addtoinifiles "xdebug.show_exception_trace" '"0"'
98 php-ext-source-r2_addtoinifiles "xdebug.show_local_vars" '"0"'
99 php-ext-source-r2_addtoinifiles "xdebug.show_mem_delta" '"0"'
100 php-ext-source-r2_addtoinifiles "xdebug.dump.COOKIE" '"NULL"'
101 php-ext-source-r2_addtoinifiles "xdebug.dump.ENV" '"NULL"'
102 php-ext-source-r2_addtoinifiles "xdebug.dump.FILES" '"NULL"'
103 php-ext-source-r2_addtoinifiles "xdebug.dump.GET" '"NULL"'
104 php-ext-source-r2_addtoinifiles "xdebug.dump.POST" '"NULL"'
105 php-ext-source-r2_addtoinifiles "xdebug.dump.REQUEST" '"NULL"'
106 php-ext-source-r2_addtoinifiles "xdebug.dump.SERVER" '"NULL"'
107 php-ext-source-r2_addtoinifiles "xdebug.dump.SESSION" '"NULL"'
108 php-ext-source-r2_addtoinifiles "xdebug.dump_globals" '"1"'
109 php-ext-source-r2_addtoinifiles "xdebug.dump_once" '"1"'
110 php-ext-source-r2_addtoinifiles "xdebug.dump_undefined" '"0"'
111 php-ext-source-r2_addtoinifiles "xdebug.profiler_enable" '"0"'
112 php-ext-source-r2_addtoinifiles "xdebug.profiler_output_dir" '"/tmp"'
113 php-ext-source-r2_addtoinifiles "xdebug.profiler_output_name" '"cachegrind.out.%p"'
114 php-ext-source-r2_addtoinifiles "xdebug.profiler_enable_trigger" '"0"'
115 php-ext-source-r2_addtoinifiles "xdebug.profiler_append" '"0"'
116 php-ext-source-r2_addtoinifiles "xdebug.profiler_aggregate" '"0"'
117 php-ext-source-r2_addtoinifiles "xdebug.remote_enable" '"0"'
118 php-ext-source-r2_addtoinifiles "xdebug.remote_handler" '"dbgp"'
119 php-ext-source-r2_addtoinifiles "xdebug.remote_host" '"localhost"'
120 php-ext-source-r2_addtoinifiles "xdebug.remote_mode" '"req"'
121 php-ext-source-r2_addtoinifiles "xdebug.remote_port" '"9000"'
122 php-ext-source-r2_addtoinifiles "xdebug.remote_autostart" '"0"'
123 php-ext-source-r2_addtoinifiles "xdebug.remote_log" '""'
124 php-ext-source-r2_addtoinifiles "xdebug.idekey" '""'
125 php-ext-source-r2_addtoinifiles "xdebug.var_display_max_data" '"512"'
126 php-ext-source-r2_addtoinifiles "xdebug.var_display_max_depth" '"2"'
127 php-ext-source-r2_addtoinifiles "xdebug.var_display_max_children" '"128"'
128
129 }
130
131 pkg_postinst() {
132 ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be"
133 ewarn "installed as a dependency, and not all users will want xdebug to be"
134 ewarn "enabled by default. If you want to enable it, you should edit the"
135 ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can"
136 ewarn "call xdebug_enable() in your code."
137 }