Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt: ChangeLog qt-4.3.2.ebuild
Date: Wed, 03 Oct 2007 18:09:51
Message-Id: E1Id8WS-0007h5-UF@stork.gentoo.org
1 caleb 07/10/03 18:00:36
2
3 Modified: ChangeLog qt-4.3.2.ebuild
4 Log:
5 Fix some quoting issues
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.491 x11-libs/qt/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/ChangeLog?rev=1.491&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/ChangeLog?rev=1.491&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/ChangeLog?r1=1.490&r2=1.491
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v
18 retrieving revision 1.490
19 retrieving revision 1.491
20 diff -u -r1.490 -r1.491
21 --- ChangeLog 3 Oct 2007 14:58:26 -0000 1.490
22 +++ ChangeLog 3 Oct 2007 18:00:36 -0000 1.491
23 @@ -1,6 +1,9 @@
24 # ChangeLog for x11-libs/qt
25 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.490 2007/10/03 14:58:26 caleb Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.491 2007/10/03 18:00:36 caleb Exp $
28 +
29 + 03 Oct 2007; Caleb Tennis <caleb@g.o> qt-4.3.2.ebuild:
30 + Fix some quoting issues
31
32 *qt-4.3.2 (03 Oct 2007)
33
34
35
36
37 1.2 x11-libs/qt/qt-4.3.2.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild?r1=1.1&r2=1.2
42
43 Index: qt-4.3.2.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- qt-4.3.2.ebuild 3 Oct 2007 14:58:26 -0000 1.1
50 +++ qt-4.3.2.ebuild 3 Oct 2007 18:00:36 -0000 1.2
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild,v 1.1 2007/10/03 14:58:26 caleb Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-4.3.2.ebuild,v 1.2 2007/10/03 18:00:36 caleb Exp $
56
57 inherit eutils flag-o-matic toolchain-funcs multilib
58
59 @@ -116,10 +116,10 @@
60 src_unpack() {
61
62 unpack ${A}
63 - cd ${S}
64 - epatch ${FILESDIR}/qt-4.2.3-hppa-ldcw-fix.patch
65 + cd "${S}"
66 + epatch "${FILESDIR}"/qt-4.2.3-hppa-ldcw-fix.patch
67
68 - cd ${S}/mkspecs/$(qt_mkspecs_dir)
69 + cd "${S}"/mkspecs/$(qt_mkspecs_dir)
70 # set c/xxflags and ldflags
71
72 # Don't let the user go too overboard with flags. If you really want to, uncomment
73 @@ -141,7 +141,7 @@
74
75 # The trolls moved the definitions of the above stuff for g++, so we need to edit those files
76 # separately as well.
77 - cd ${S}/mkspecs/common
78 + cd "${S}"/mkspecs/common
79
80 sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CPPFLAGS} ${CFLAGS} ${ASFLAGS}:" \
81 -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CPPFLAGS} ${CXXFLAGS} ${ASFLAGS}:" \
82 @@ -154,12 +154,12 @@
83 # Replace X11R6/ directories, so /usr/X11R6/lib -> /usr/lib
84 sed -i -e "s:X11R6/::" linux.conf
85
86 - cd ${S}/qmake
87 + cd "${S}"/qmake
88
89 sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CPPFLAGS} ${CXXFLAGS} ${ASFLAGS} :" \
90 -e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" Makefile.unix
91
92 - cd ${S}
93 + cd "${S}"
94
95 }
96
97 @@ -228,33 +228,33 @@
98 export PATH="${S}/bin:${PATH}"
99 export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
100
101 - make INSTALL_ROOT=${D} install_subtargets || die
102 - make INSTALL_ROOT=${D} install_qmake || die
103 - make INSTALL_ROOT=${D} install_mkspecs || die
104 + make INSTALL_ROOT="${D}" install_subtargets || die
105 + make INSTALL_ROOT="${D}" install_qmake || die
106 + make INSTALL_ROOT="${D}" install_mkspecs || die
107
108 if use doc; then
109 - make INSTALL_ROOT=${D} install_htmldocs || die
110 + make INSTALL_ROOT="${D}" install_htmldocs || die
111 fi
112
113 # Install the translations. This may get use flagged later somehow
114 - make INSTALL_ROOT=${D} install_translations || die
115 + make INSTALL_ROOT="${D}" install_translations || die
116
117 keepdir "${QTSYSCONFDIR}"
118
119 - sed -i -e "s:${S}/lib:${QTLIBDIR}:g" ${D}/${QTLIBDIR}/*.la
120 - sed -i -e "s:${S}/lib:${QTLIBDIR}:g" ${D}/${QTLIBDIR}/*.prl
121 - sed -i -e "s:${S}/lib:${QTLIBDIR}:g" ${D}/${QTLIBDIR}/pkgconfig/*.pc
122 + sed -i -e "s:${S}/lib:${QTLIBDIR}:g" "${D}"/${QTLIBDIR}/*.la
123 + sed -i -e "s:${S}/lib:${QTLIBDIR}:g" "${D}"/${QTLIBDIR}/*.prl
124 + sed -i -e "s:${S}/lib:${QTLIBDIR}:g" "${D}"/${QTLIBDIR}/pkgconfig/*.pc
125
126 # pkgconfig files refer to WORKDIR/bin as the moc and uic locations. Fix:
127 - sed -i -e "s:${S}/bin:${QTBINDIR}:g" ${D}/${QTLIBDIR}/pkgconfig/*.pc
128 + sed -i -e "s:${S}/bin:${QTBINDIR}:g" "${D}"/${QTLIBDIR}/pkgconfig/*.pc
129
130 # Move .pc files into the pkgconfig directory
131 dodir ${QTPCDIR}
132 - mv ${D}/${QTLIBDIR}/pkgconfig/*.pc ${D}/${QTPCDIR}
133 + mv "${D}"/${QTLIBDIR}/pkgconfig/*.pc "${D}"/${QTPCDIR}
134
135 # Install .desktop files, from bug #174033
136 insinto /usr/share/applications
137 - doins ${FILESDIR}/qt4/*.desktop
138 + doins "${FILESDIR}"/qt4/*.desktop
139
140 # List all the multilib libdirs
141 local libdirs
142
143
144
145 --
146 gentoo-commits@g.o mailing list