Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: xfconf.eclass
Date: Tue, 30 Mar 2010 12:10:55
Message-Id: E1NwaHO-0008Vy-7V@stork.gentoo.org
1 ssuominen 10/03/30 12:10:46
2
3 Modified: xfconf.eclass
4 Log:
5 Commit some debug-print-function's for debugging
6
7 Revision Changes Path
8 1.15 eclass/xfconf.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfconf.eclass?rev=1.15&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfconf.eclass?rev=1.15&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfconf.eclass?r1=1.14&r2=1.15
13
14 Index: xfconf.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v
17 retrieving revision 1.14
18 retrieving revision 1.15
19 diff -u -r1.14 -r1.15
20 --- xfconf.eclass 26 Mar 2010 12:17:16 -0000 1.14
21 +++ xfconf.eclass 30 Mar 2010 12:10:46 -0000 1.15
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.14 2010/03/26 12:17:16 ssuominen Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.15 2010/03/30 12:10:46 ssuominen Exp $
27
28 # @ECLASS: xfconf.eclass
29 # @MAINTAINER:
30 @@ -86,6 +86,7 @@
31 # @DESCRIPTION:
32 # Run base_src_util autopatch and eautoreconf or elibtoolize
33 xfconf_src_unpack() {
34 + debug-print-function ${FUNCNAME} "$@"
35 unpack ${A}
36 cd "${S}"
37 has src_prepare ${XFCONF_EXPF} || xfconf_src_prepare
38 @@ -95,6 +96,7 @@
39 # @DESCRIPTION:
40 # Run base_src_util autopatch and eautoreconf or elibtoolize
41 xfconf_src_prepare() {
42 + debug-print-function ${FUNCNAME} "$@"
43 base_src_prepare
44
45 if [[ "${EINTLTOOLIZE}" == "yes" ]]; then
46 @@ -113,6 +115,7 @@
47 # @DESCRIPTION:
48 # Run econf with opts in XFCONF variable
49 xfconf_src_configure() {
50 + debug-print-function ${FUNCNAME} "$@"
51 econf ${XFCONF}
52 }
53
54 @@ -120,6 +123,7 @@
55 # @DESCRIPTION:
56 # Run econf with opts in XFCONF variable
57 xfconf_src_compile() {
58 + debug-print-function ${FUNCNAME} "$@"
59 has src_configure ${XFCONF_EXPF} || xfconf_src_configure
60 emake || die "emake failed"
61 }
62 @@ -128,6 +132,7 @@
63 # @DESCRIPTION:
64 # Run emake install and install documentation in DOCS variable
65 xfconf_src_install() {
66 + debug-print-function ${FUNCNAME} "$@"
67 emake DESTDIR="${D}" install || die "emake install failed"
68
69 if [[ -n ${DOCS} ]]; then
70 @@ -139,6 +144,7 @@
71 # @DESCRIPTION:
72 # Run gnome2_icon_savelist
73 xfconf_pkg_preinst() {
74 + debug-print-function ${FUNCNAME} "$@"
75 gnome2_icon_savelist
76 }
77
78 @@ -146,6 +152,7 @@
79 # @DESCRIPTION:
80 # Run fdo-mime_{desktop,mime}_database_update and gnome2_icon_cache_update
81 xfconf_pkg_postinst() {
82 + debug-print-function ${FUNCNAME} "$@"
83 fdo-mime_desktop_database_update
84 fdo-mime_mime_database_update
85 gnome2_icon_cache_update
86 @@ -155,6 +162,7 @@
87 # @DESCRIPTION:
88 # Run fdo-mime_{desktop,mime}_database_update and gnome2_icon_cache_update
89 xfconf_pkg_postrm() {
90 + debug-print-function ${FUNCNAME} "$@"
91 fdo-mime_desktop_database_update
92 fdo-mime_mime_database_update
93 gnome2_icon_cache_update