public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-opengl: qt-opengl-4.4.0_rc1.ebuild metadata.xml ChangeLog Manifest
       [not found] <E1J5OKV-000872-CS@stork.gentoo.org>
@ 2007-12-20 20:38 ` Donnie Berkholz
  2007-12-21 12:27   ` Caleb Tennis
  0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2007-12-20 20:38 UTC (permalink / raw
  To: gentoo-dev, caleb

On 16:33 Thu 20 Dec     , Caleb Tennis (caleb) wrote:
> Revision  Changes    Path
> 1.1                  x11-libs/qt-opengl/qt-opengl-4.4.0_rc1.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-opengl/qt-opengl-4.4.0_rc1.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-opengl/qt-opengl-4.4.0_rc1.ebuild?rev=1.1&content-type=text/plain

> RDEPEND="=x11-libs/qt-4.4.0_rc1
> 	( virtual/opengl virtual/glu )"

Did you autogenerate these ebuilds? It looks like the deps were pulled 
out of a conditional in the original qt.

> pkg_setup() {
> 	QTBASEDIR=/usr/$(get_libdir)/qt4
> 	QTPREFIXDIR=/usr
> 	QTBINDIR=/usr/bin
> 	QTLIBDIR=/usr/$(get_libdir)/qt4
> 	QTPCDIR=/usr/$(get_libdir)/pkgconfig
> 	QTDATADIR=/usr/share/qt4
> 	QTDOCDIR=/usr/share/doc/${PF}
> 	QTHEADERDIR=/usr/include/qt4
> 	QTPLUGINDIR=${QTLIBDIR}/plugins
> 	QTSYSCONFDIR=/etc/qt4
> 	QTTRANSDIR=${QTDATADIR}/translations
> 	QTEXAMPLESDIR=${QTDATADIR}/examples
> 	QTDEMOSDIR=${QTDATADIR}/demos
> }

I've seen this in all of the split qt ebuilds. Should it go in the eclass?

> src_compile() {
> 	export PATH="${S}/bin:${PATH}"
> 	export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
> 
> 	[ $(get_libdir) != "lib" ] && myconf="${myconf} -L/usr/$(get_libdir)"
> 
> 	# Disable visibility explicitly if gcc version isn't 4
> 	if [[ "$(gcc-major-version)" != "4" ]]; then

To future-proof, might want to check for -ge 4 instead.

> src_install() {
> 	export PATH="${S}/bin:${PATH}"
> 	export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"

Why do you need to do this again? It should've been saved from the last 
phase.

> pkg_postinst()
> {
> 	# Need to add opengl to QT_CONFIG line
> 	sed -i -e "s:opengl ::g" ${QTDATADIR}/mkspecs/qconfig.pri
> 	sed -i -e "s:QT_CONFIG += :QT_CONFIG += opengl :g" ${QTDATADIR}/mkspecs/qconfig.pri
> }
> 
> pkg_postrm()
> {
> 	# Need to add opengl to QT_CONFIG line
> 	sed -i -e "s:opengl ::g" ${QTDATADIR}/mkspecs/qconfig.pri
> }

The postrm comment doesn't match the action.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in  x11-libs/qt-opengl: qt-opengl-4.4.0_rc1.ebuild metadata.xml  ChangeLog Manifest
  2007-12-20 20:38 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-opengl: qt-opengl-4.4.0_rc1.ebuild metadata.xml ChangeLog Manifest Donnie Berkholz
@ 2007-12-21 12:27   ` Caleb Tennis
  0 siblings, 0 replies; 2+ messages in thread
From: Caleb Tennis @ 2007-12-21 12:27 UTC (permalink / raw
  To: gentoo-dev

> Did you autogenerate these ebuilds? It looks like the deps were pulled
> out of a conditional in the original qt.

They were pulled out, but they weren't autogenerated.  It's all still a work in
progress.

> I've seen this in all of the split qt ebuilds. Should it go in the eclass?

Yep, going to work on an eclass today.

> Why do you need to do this again? It should've been saved from the last
> phase.

This is a remnant from an earlier version with an earlier portage.  It's probably
safe now not to have.


> The postrm comment doesn't match the action.

Will fix.  Many thanks.


-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-21 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1J5OKV-000872-CS@stork.gentoo.org>
2007-12-20 20:38 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-opengl: qt-opengl-4.4.0_rc1.ebuild metadata.xml ChangeLog Manifest Donnie Berkholz
2007-12-21 12:27   ` Caleb Tennis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox