summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Blaabjerg <styx@gentoo.org>2003-01-21 15:57:20 +0000
committerJoachim Blaabjerg <styx@gentoo.org>2003-01-21 15:57:20 +0000
commitea6bbc1fb605570bba3e9a5a68a54b25963078be (patch)
tree109ad7547e7c31750298bcf8ce7ecda2fcffb029 /dev-python
parentNew version (diff)
downloadgentoo-2-ea6bbc1fb605570bba3e9a5a68a54b25963078be.tar.gz
gentoo-2-ea6bbc1fb605570bba3e9a5a68a54b25963078be.tar.bz2
gentoo-2-ea6bbc1fb605570bba3e9a5a68a54b25963078be.zip
Fixed the ebuild a little, sandbox violations etc.
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/qscintilla/ChangeLog7
-rw-r--r--dev-python/qscintilla/files/qscintilla-1.49-sandbox.patch15
-rw-r--r--dev-python/qscintilla/qscintilla-1.49.ebuild22
3 files changed, 38 insertions, 6 deletions
diff --git a/dev-python/qscintilla/ChangeLog b/dev-python/qscintilla/ChangeLog
index 11abcdd134f6..97db951644d0 100644
--- a/dev-python/qscintilla/ChangeLog
+++ b/dev-python/qscintilla/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/qscintilla
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla/ChangeLog,v 1.2 2002/12/27 21:09:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla/ChangeLog,v 1.3 2003/01/21 15:57:20 styx Exp $
+
+ 12 Aug 2002; Joachim Blaabjerg <styx@gentoo.org> qscintilla-1.49.ebuild,
+ files/qscintilla-1.49-sandbox.patch :
+
+ Fixed the ebuild a little, sandbox violations etc.
*qscintilla-1.49 (19 December 2002) Bart Verwilst <verwilst@gentoo.org>
diff --git a/dev-python/qscintilla/files/qscintilla-1.49-sandbox.patch b/dev-python/qscintilla/files/qscintilla-1.49-sandbox.patch
new file mode 100644
index 000000000000..de1eb95c0b0f
--- /dev/null
+++ b/dev-python/qscintilla/files/qscintilla-1.49-sandbox.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig 2003-01-21 16:37:13.000000000 +0100
++++ Makefile 2003-01-21 16:37:50.000000000 +0100
+@@ -244,11 +244,7 @@
+ -ln -s $(TARGET) $(TARGET0)
+ -ln -s $(TARGET) $(TARGET1)
+ -ln -s $(TARGET) $(TARGET2)
+- -$(DEL_FILE) $(QTDIR)/lib/$(TARGET)
+- -$(DEL_FILE) $(QTDIR)/lib/$(TARGET0)
+- -$(DEL_FILE) $(QTDIR)/lib/$(TARGET1)
+- -$(DEL_FILE) $(QTDIR)/lib/$(TARGET2)
+- -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/lib/
++ -$(COPY) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(D)/$(QTDIR)/lib/
+
+
+
diff --git a/dev-python/qscintilla/qscintilla-1.49.ebuild b/dev-python/qscintilla/qscintilla-1.49.ebuild
index 38fb4f4d31b5..28e7f4822dec 100644
--- a/dev-python/qscintilla/qscintilla-1.49.ebuild
+++ b/dev-python/qscintilla/qscintilla-1.49.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla/qscintilla-1.49.ebuild,v 1.1 2002/12/19 20:32:10 verwilst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla/qscintilla-1.49.ebuild,v 1.2 2003/01/21 15:57:20 styx Exp $
+
+inherit eutils
S="${WORKDIR}/${P}-x11-gpl-0.3"
DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class."
@@ -14,19 +16,29 @@ KEYWORDS="~x86"
DEPEND="virtual/glibc
>=x11-libs/qt-3.0.4.1"
+src_unpack() {
+
+ unpack ${P}-x11-gpl-0.3.tar.gz
+ cd ${S}/qt
+ qmake -o Makefile qscintilla.pro
+ epatch ${FILESDIR}/${P}-sandbox.patch
+ mkdir -p ${D}/${QTDIR}/lib
+
+}
+
src_compile() {
cd ${S}/qt
- qmake -o Makefile qscintilla.pro
- make
+ make
}
src_install() {
cd ${S}/qt
- mkdir -p ${D}/${QTDIR}/{include,translations}
+ mkdir -p ${D}/${QTDIR}/{include,translations,lib}
cp qextscintilla*.h ${D}/$QTDIR/include
- cp qscintilla*.qm ${D}/$QTDIR/translations
+ cp qscintilla*.qm ${D}/$QTDIR/translations
+ cp libqscintilla.so.* ${D}/$QTDIR/lib
}