Changeset - 7dc23fdd78ee
[Not reviewed]
default
0 0 5
Nathan Brink (binki) - 16 years ago 2009-01-10 19:59:13
ohnobinki@ohnopublishing.net
dev-db/qt-unixODBC: $(get_libdir) fix via sed rule
5 files changed with 251 insertions and 0 deletions:
0 comments (0 inline, 0 general)
dev-db/qt-unixODBC/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-db/qt-unixODBC
 
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-db/qt-unixODBC/ChangeLog,v 1.42 2009/01/09 17:27:05 gmsoft Exp $
 

	
 
  10 Jan 2009; Nathan Brink <ohnobinki@ohnopublishing.net> qt-unixODBC-3.3.8b.ebuild:
 
  added sed rule to replace /lib with $(get_libdir)
 
	
 
  09 Jan 2009; Guy Martin <gmsoft@gentoo.org> qt-unixODBC-3.3.8b.ebuild:
 
  hppa stable, #254153
 

	
 
  07 Jan 2009; Thomas Anderson <gentoofan23@gentoo.org>
 
  qt-unixODBC-3.3.8b.ebuild:
 
  stable amd64, dependency for bug 253978
 

	
 
  07 Jan 2009; Brent Baude <ranger@gentoo.org> qt-unixODBC-3.3.8b.ebuild:
 
  Marking qt-unixODBC-3.3.8b ppc64 for bug 253978
 

	
 
*qt-unixODBC-3.3.8b (26 Jul 2008)
 

	
 
  26 Jul 2008; Carsten Lohrke <carlo@gentoo.org> +qt-unixODBC-3.3.8b.ebuild:
 
  Version bump.
 

	
 
  21 May 2008; Ingmar Vanhassel <ingmar@gentoo.org>
 
  -qt-unixODBC-3.3.4-r1.ebuild:
 
  Old.
 

	
 
  27 Mar 2008; Bo Ørsted Andresen <zlin@gentoo.org>
 
  qt-unixODBC-3.3.8.ebuild:
 
  Respect user's CFLAGS (bug #181789). Fix quoting. Use doins.
 

	
 
  13 Mar 2008; <ricmm@gentoo.org> qt-unixODBC-3.3.4-r1.ebuild:
 
  Drop to ~mips due to unstable deps
 

	
 
  03 May 2007; Caleb Tennis <caleb@gentoo.org> qt-unixODBC-3.3.4-r1.ebuild:
 
  readd amd64 as it likes this version for hardened as well
 

	
 
  20 Apr 2007; Caleb Tennis <caleb@gentoo.org> -qt-unixODBC-3.3.6.ebuild:
 
  remove 3.3.6 as it's qt 3.3.6 isn't in portage anymore
 

	
 
  18 Apr 2007; Jose Luis Rivero <yoswink@gentoo.org>
 
  qt-unixODBC-3.3.8.ebuild:
 
  Stable on alpha wrt security #172746
 

	
 
  13 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  qt-unixODBC-3.3.8.ebuild:
 
  Stable on sparc wrt security #172746
 

	
 
  12 Apr 2007; Jeroen Roovers <jer@gentoo.org> qt-unixODBC-3.3.8.ebuild:
 
  Stable for HPPA (bug #172746).
 

	
 
  11 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  qt-unixODBC-3.3.8.ebuild:
 
  ppc stable, bug #172746
 

	
 
  11 Apr 2007; Markus Rothe <corsair@gentoo.org> qt-unixODBC-3.3.8.ebuild:
 
  Stable on ppc64; bug #172746
 

	
 
  11 Apr 2007; Raúl Porcel <armin76@gentoo.org> qt-unixODBC-3.3.8.ebuild:
 
  ia64 + x86 stable wrt security bug 172746
 

	
 
  11 Apr 2007; Marcus D. Hanwell <cryos@gentoo.org>
 
  qt-unixODBC-3.3.8.ebuild:
 
  Stable on amd64, bug 172746.
 

	
 
*qt-unixODBC-3.3.8 (22 Feb 2007)
 

	
 
  22 Feb 2007; Caleb Tennis <caleb@gentoo.org> +qt-unixODBC-3.3.8.ebuild:
 
  Bump to Qt 3.3.8
 

	
 
  22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
 
  Transition to Manifest2.
 

	
 
  15 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
 
  qt-unixODBC-3.3.6.ebuild:
 
  Stable on ia64, bug 132887.
 

	
 
  17 Jul 2006; Caleb Tennis <caleb@gentoo.org> -qt-unixODBC-3.3.5.ebuild:
 
  removing unneeded version
 

	
 
  30 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  qt-unixODBC-3.3.6.ebuild:
 
  Stable on amd64 wrt bug #132887.
 

	
 
  25 May 2006; Guy Martin <gmsoft@gentoo.org> qt-unixODBC-3.3.6.ebuild:
 
  Stable on hppa.
 

	
 
  22 May 2006; Caleb Tennis <caleb@gentoo.org> -qt-unixODBC-3.3.4.ebuild:
 
  remove for GSLA 200510-14
 

	
 
  12 May 2006; Thomas Cort <tcort@gentoo.org> qt-unixODBC-3.3.6.ebuild:
 
  Stable on alpha wrt Bug #132887.
 

	
 
  12 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
 
  qt-unixODBC-3.3.6.ebuild:
 
  Marking stable on x86 wrt bug #132887.
 

	
 
  12 May 2006; Luca Barbato <lu_zero@gentoo.org> qt-unixODBC-3.3.6.ebuild:
 
  Marked ppc
 

	
 
  12 May 2006; Jason Wever <weeve@gentoo.org> qt-unixODBC-3.3.6.ebuild:
 
  Stable on SPARC wrt bug #132887.
 

	
 
  11 May 2006; Markus Rothe <corsair@gentoo.org> qt-unixODBC-3.3.6.ebuild:
 
  Stable on ppc64; bug #132887
 

	
 
*qt-unixODBC-3.3.6 (17 Mar 2006)
 

	
 
  17 Mar 2006; Caleb Tennis <caleb@gentoo.org> +qt-unixODBC-3.3.6.ebuild:
 
  bumped to 3.3.6
 

	
 
  29 Sep 2005; Hardave Riar <hardave@gentoo.org>
 
  qt-unixODBC-3.3.4-r1.ebuild:
 
  Stable on mips, dep of bug #105695.
 

	
 
  22 Sep 2005; Mark Loeser <halcy0n@gentoo.org> qt-unixODBC-3.3.4-r1.ebuild:
 
  Stable on x86; bug #105695.
 

	
 
  20 Sep 2005; Marcus D. Hanwell <cryos@gentoo.org>
 
  qt-unixODBC-3.3.4-r1.ebuild:
 
  Stable on amd64, bug 105695.
 

	
 
  20 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
 
  qt-unixODBC-3.3.4-r1.ebuild:
 
  Stable on hppa, ppc.
 

	
 
  20 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  qt-unixODBC-3.3.4-r1.ebuild:
 
  Stable on sparc wrt #105695
 

	
 
*qt-unixODBC-3.3.4-r1 (20 Sep 2005)
 

	
 
  20 Sep 2005; Caleb Tennis <caleb@gentoo.org> +files/qt-no-rpath.patch,
 
  +qt-unixODBC-3.3.4-r1.ebuild, qt-unixODBC-3.3.5.ebuild:
 
  Rev bump to add qt-no-rpatch.patch from qt ebuild to make the portage
 
  RUNPATH error checker happy
 

	
 
*qt-unixODBC-3.3.5 (17 Sep 2005)
 

	
 
  17 Sep 2005; Caleb Tennis <caleb@gentoo.org> +qt-unixODBC-3.3.5.ebuild:
 
  Version bump
 

	
 
  17 Sep 2005; Aron Griffis <agriffis@gentoo.org> qt-unixODBC-3.3.4.ebuild:
 
  Mark 3.3.4 stable on ia64
 

	
 
  10 Sep 2005; Aron Griffis <agriffis@gentoo.org> qt-unixODBC-3.3.4.ebuild:
 
  Mark 3.3.4 stable on alpha
 

	
 
  09 Sep 2005; Tom Gall <tgall@gentoo.org> qt-unixODBC-3.3.4.ebuild:
 
  stable on ppc64 bug #14178
 

	
 
*qt-unixODBC-3.3.4 (01 Jul 2005)
 

	
 
  01 Jul 2005; Dan Armak <danarmak@gentoo.org> -qt-unixODBC-3.3.3.ebuild,
 
  +qt-unixODBC-3.3.4.ebuild:
 
  Added 3.3.4 version. Unmasking. Cf bug 14178.
 

	
 
*qt-ODBC-3.3.3 (23 Oct 2004)
 

	
 
  23 Oct 2004; Dan Armak <danarmak@gentoo.org> qt-ODBC-3.3.3.ebuild:
 
  First created. A separate ebuild for the QT unixODBC plugin to fix #14178.
 
  
dev-db/qt-unixODBC/Manifest
Show inline comments
 
new file 100644
 
AUX qt-no-rpath.patch 352 RMD160 2b5f24c23594531976f39723a4112261f4ad296a SHA1 4b2be020cb2ca4ffa499e0e2b7ba91e71203b7db SHA256 8cc1de2b9cebf6ef5a77d9deb18e7aa83d53258503076fb262d2981c1e25b1a4
 
DIST qt-x11-free-3.3.8b.tar.gz 17313883 RMD160 4e3cbd9c5d4719b5d33e961e6595d7b215788c8b SHA1 745def6250dc7f337dbb265e20bf38dcb41fd854 SHA256 1b7a1ff62ec5a9cb7a388e2ba28fda6f960b27f27999482ebeceeadb72ac9f6e
 
EBUILD qt-unixODBC-3.3.8b.ebuild 2245 RMD160 ed53d269cbd6de64c49e341114c2e56bc3b97b96 SHA1 e78def63f5317db99f354ced2aad36d463804559 SHA256 8eb95a6b567a3006ad39022b17921f9efaf4531e468aca3b2a47f4e4f93fbec1
 
MISC ChangeLog 5283 RMD160 c309a35a39525de4b28edaaf69f2b5580e91e68b SHA1 185c9447049d803152ca5ed7291aa4c29a832ea9 SHA256 c784e857a454129991aea6f0b2518f2fdff87b4b6c73edc9696828ae21a7e36b
 
MISC metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc SHA1 e872bab086832a9db3f0fa9b1897c70577d3af21 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448
dev-db/qt-unixODBC/files/qt-no-rpath.patch
Show inline comments
 
new file 100644
 
--- mkspecs/linux-g++/qmake.conf.orig	2004-12-21 14:57:27.315410728 -0500
 
+++ mkspecs/linux-g++/qmake.conf	2004-12-21 14:57:40.129462696 -0500
 
@@ -56,7 +56,7 @@
 
 QMAKE_LFLAGS_PLUGIN	= $$QMAKE_LFLAGS_SHLIB
 
 QMAKE_LFLAGS_SONAME	= -Wl,-soname,
 
 QMAKE_LFLAGS_THREAD	=
 
-QMAKE_RPATH		= -Wl,-rpath,
 
+QMAKE_RPATH		=
 
 
 
 QMAKE_LIBS		=
 
 QMAKE_LIBS_DYNLOAD	= -ldl
dev-db/qt-unixODBC/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
<herd>qt</herd> 
 
</pkgmetadata>
dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild,v 1.4 2009/01/09 17:27:05 gmsoft Exp $
 

	
 
inherit eutils
 

	
 
SRCTYPE="free"
 
DESCRIPTION="QT version ${PV}"
 
HOMEPAGE="http://www.trolltech.com/"
 
SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-${SRCTYPE}-${PV}.tar.gz"
 
IUSE=""
 
LICENSE="|| ( QPL-1.0 GPL-2 GPL-3 )"
 
SLOT="3"
 
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86"
 

	
 
DEPEND="~x11-libs/qt-${PV}
 
	dev-db/unixODBC"
 

	
 
S="${WORKDIR}/qt-x11-${SRCTYPE}-${PV}"
 

	
 
QTBASE="/usr/qt/3"
 
export QTDIR=${S}
 
export PLATFORM=linux-g++
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	epatch "${FILESDIR}"/qt-no-rpath.patch
 

	
 
	cp configure configure.orig
 
	sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
 

	
 
	sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
 
		   -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
 
		   -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
 
		   -e "s:\<QMAKE_CC\>.*=.*:QMAKE_CC=$(tc-getCC):" \
 
		   -e "s:\<QMAKE_CXX\>.*=.*:QMAKE_CXX=$(tc-getCXX):" \
 
		   -e "s:\<QMAKE_LINK\>.*=.*:QMAKE_LINK=$(tc-getCXX):" \
 
		   -e "s:\<QMAKE_LINK_SHLIB\>.*=.*:QMAKE_LINK_SHLIB=$(tc-getCXX):" \
 
		   -e "s:_LIBDIR.*=[^/]*(.*/)lib:_LIBDIR=\1$(get_libdir):" \
 
		   "${S}"/mkspecs/${PLATFORM}/qmake.conf || die "sed to fix CFLAGS failed"
 
}
 

	
 
src_compile() {
 
	export QTDIR=${S}
 
	export SYSCONF=${D}${QTBASE}/etc/settings
 

	
 
	# Let's just allow writing to these directories during Qt emerge
 
	# as it makes Qt much happier.
 
	addwrite "${QTBASE}/etc/settings"
 
	addwrite "${HOME}/.qt"
 

	
 
	export YACC='byacc -d'
 

	
 
	./configure -sm -thread -stl -system-libjpeg -verbose -largefile \
 
		-qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
 
		-system-libpng -lpthread -xft -platform ${PLATFORM} -xplatform \
 
		${PLATFORM} -xrender -prefix ${QTBASE} -fast ${myconf} \
 
		-dlopen-opengl -plugin-sql-odbc -L${QTBASE}/lib || die "configure failed"
 

	
 
	cd "${S}"/plugins/src/sqldrivers/odbc
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	insinto ${QTBASE}/plugins/sqldrivers
 
	doins "${S}"/plugins/sqldrivers/libqsqlodbc.so || die "doins failed"
 
}
0 comments (0 inline, 0 general)