summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-08-08 06:26:38 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-08-08 06:26:38 +0000
commit0b76ed6c40dcfbd16628632f59c7391c5eedc407 (patch)
tree760282d2e626d1820efd2556c50cee8ae8ed3665 /app-emulation/pose
parentFix ChangeLog. (diff)
downloadgentoo-2-0b76ed6c40dcfbd16628632f59c7391c5eedc407.tar.gz
gentoo-2-0b76ed6c40dcfbd16628632f59c7391c5eedc407.tar.bz2
gentoo-2-0b76ed6c40dcfbd16628632f59c7391c5eedc407.zip
a weird fix to fltk problem
Diffstat (limited to 'app-emulation/pose')
-rw-r--r--app-emulation/pose/ChangeLog8
-rw-r--r--app-emulation/pose/Manifest10
-rw-r--r--app-emulation/pose/files/digest-pose-3.5-r22
-rw-r--r--app-emulation/pose/pose-3.5-r2.ebuild86
4 files changed, 101 insertions, 5 deletions
diff --git a/app-emulation/pose/ChangeLog b/app-emulation/pose/ChangeLog
index 68dcfb24b390..0336bbe2d853 100644
--- a/app-emulation/pose/ChangeLog
+++ b/app-emulation/pose/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/pose
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/pose/ChangeLog,v 1.6 2003/03/31 09:32:58 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/pose/ChangeLog,v 1.7 2003/08/08 06:26:36 george Exp $
+
+*pose-3.5-r1 (07 Aug 2003)
+
+ 07 Aug 2003; George Shapovalov <george@gentoo.org> pose-3.5-r2.ebuild :
+ A weird fix to the fltk problem. Need to have both installed later fltk version
+ and local 1.0.11 in order to build successfully. Will keep it like this for now (#5219)
30 Mar 2003; George Shapovalov <george@gentoo.org> pose-3.5-r1.ebuild :
statick version ceased building at some point. (#5219)
diff --git a/app-emulation/pose/Manifest b/app-emulation/pose/Manifest
index 4abb2e783864..0a3d9d800d80 100644
--- a/app-emulation/pose/Manifest
+++ b/app-emulation/pose/Manifest
@@ -1,7 +1,9 @@
+MD5 249c03ed328e66147e1428b7e82d24f7 pose-3.5-r1.ebuild 2053
+MD5 5df111fea45750a8baf5df67a8b5706a pose-3.5-r2.ebuild 2062
+MD5 777a99e1e011e26e1e3dd645ce3f1a17 ChangeLog 1391
MD5 36734bf153faeb688279a79e5da1769b files/choose-gl.diff 666
-MD5 7c326f33b70eba59b3f6a1949e2270a2 files/detect-fluid.diff 1946
-MD5 90145d8ed014f39eb749610c2effa942 files/digest-pose-3.5-r1 140
MD5 dbef5e8a7e42d97ef76d763fab5090e1 files/init-clipwidget.diff 486
+MD5 90145d8ed014f39eb749610c2effa942 files/digest-pose-3.5-r1 140
+MD5 90145d8ed014f39eb749610c2effa942 files/digest-pose-3.5-r2 140
MD5 cfbe27dfd96b63e7d178676a16b39b19 files/separate-builddir.diff 2420
-MD5 249c03ed328e66147e1428b7e82d24f7 pose-3.5-r1.ebuild 2053
-MD5 8e04c8273664cb5756d2d781048b70f1 ChangeLog 1115
+MD5 7c326f33b70eba59b3f6a1949e2270a2 files/detect-fluid.diff 1946
diff --git a/app-emulation/pose/files/digest-pose-3.5-r2 b/app-emulation/pose/files/digest-pose-3.5-r2
new file mode 100644
index 000000000000..662101a539e1
--- /dev/null
+++ b/app-emulation/pose/files/digest-pose-3.5-r2
@@ -0,0 +1,2 @@
+MD5 c69b10798e524b999739bf1950125655 emulator_src_3.5.tar.gz 3162363
+MD5 e917767d012bcd8953a5d811e68134ff fltk-1.0.11-source.tar.bz2 999099
diff --git a/app-emulation/pose/pose-3.5-r2.ebuild b/app-emulation/pose/pose-3.5-r2.ebuild
new file mode 100644
index 000000000000..3f5a88c03698
--- /dev/null
+++ b/app-emulation/pose/pose-3.5-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/pose/pose-3.5-r2.ebuild,v 1.1 2003/08/08 06:26:36 george Exp $
+
+S=${WORKDIR}/Emulator_Src_3.5
+FLTK_PV=1.0.11
+FLTK_S=${WORKDIR}/fltk-${FLTK_PV}
+HOMEPAGE="http://www.palmos.com/dev/tools/emulator/"
+SRC_URI="http://www.palmos.com/dev/tools/emulator/sources/emulator_src_3.5.tar.gz
+ ftp://www.easysw.com/pub/fltk/${FLTK_PV}/fltk-${FLTK_PV}-source.tar.bz2"
+
+DESCRIPTION="Palm OS Emulator"
+
+DEPEND="=x11-libs/fltk-1.1.3*"
+
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack emulator_src_3.5.tar.gz
+ unpack fltk-${FLTK_PV}-source.tar.bz2
+
+ cd ${S}
+ patch -p1 < ${FILESDIR}/detect-fluid.diff || die "Patching failed"
+ patch -p1 < ${FILESDIR}/separate-builddir.diff || die "Patching failed"
+ patch -p1 < ${FILESDIR}/choose-gl.diff || die "Patching failed"
+ patch -p0 < ${FILESDIR}/init-clipwidget.diff || die "Patching failed"
+ cd ${S}/BuildUnix
+ aclocal
+ automake --foreign
+ autoconf
+
+ cd ${S}
+ mkdir install-fltk
+ mkdir static-libs
+ mkdir build-normal
+ mkdir build-profile
+
+ cd ${S}/static-libs
+ ln -sf `g++ -print-file-name=libstdc++.a` libstdc++.a
+}
+
+src_compile() {
+ cd ${FLTK_S}
+ ./configure --prefix=${S}/install-fltk --disable-gl --disable-shared || die
+ make || die
+ make install || die
+
+ cd ${S}/build-normal
+ LDFLAGS=-L${S}/static-libs ../BuildUnix/configure --prefix=/usr \
+ --with-fltk=${S}/install-fltk \
+ --disable-gl || die
+
+ make || die
+
+# cd ${S}/build-profile
+# LDFLAGS=-L${S}/static-libs ../BuildUnix/configure --prefix=/usr \
+# --with-fltk=${S}/install-fltk \
+# --disable-gl --enable-palm-profile || die
+#
+# make || die
+}
+
+src_install() {
+ cd ${S}/build-normal
+ dobin pose
+
+# cd ${S}/build-profile
+# newbin pose pose-profile
+
+ cd ${S}/Docs
+ dodoc *.txt *.rtf
+ dohtml *.html
+ insinto /usr/share/doc/${PF}
+ doins *.pdf
+
+ dodir /usr/share/pose/downloads
+ dodir /usr/share/pose/roms
+
+ cd ${S}/ROMTransfer/Source
+ insinto /usr/share/pose/downloads
+ doins *.prc
+}
+