diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-08-05 11:30:03 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-08-05 11:30:03 +0000 |
commit | 48a4bce11fca6f68ebf05c32a36278cb9ed41ed2 (patch) | |
tree | 31894831efb9efc45eeb5b35856429962bd9a42f /dev-embedded | |
parent | php dep bug fix... || related checks fixed. (diff) | |
download | historical-48a4bce11fca6f68ebf05c32a36278cb9ed41ed2.tar.gz historical-48a4bce11fca6f68ebf05c32a36278cb9ed41ed2.tar.bz2 historical-48a4bce11fca6f68ebf05c32a36278cb9ed41ed2.zip |
Initial import. bug #59494
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/yapide/ChangeLog | 12 | ||||
-rw-r--r-- | dev-embedded/yapide/Manifest | 16 | ||||
-rw-r--r-- | dev-embedded/yapide/files/digest-yapide-0.1 | 1 | ||||
-rw-r--r-- | dev-embedded/yapide/files/yapide-0.1-configure.patch | 11 | ||||
-rw-r--r-- | dev-embedded/yapide/files/yapide-0.1-nocflags.patch | 37 | ||||
-rw-r--r-- | dev-embedded/yapide/metadata.xml | 12 | ||||
-rw-r--r-- | dev-embedded/yapide/yapide-0.1.ebuild | 60 |
7 files changed, 149 insertions, 0 deletions
diff --git a/dev-embedded/yapide/ChangeLog b/dev-embedded/yapide/ChangeLog new file mode 100644 index 000000000000..9435185ebdaf --- /dev/null +++ b/dev-embedded/yapide/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-embedded/yapide +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/yapide/ChangeLog,v 1.1 2004/08/05 11:30:03 dragonheart Exp $ + +*yapide-0.1 (05 Aug 2004) + + 05 Aug 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml, + +files/yapide-0.1-configure.patch, +files/yapide-0.1-nocflags.patch, + +yapide-0.1.ebuild: + Initial import. Thanks to Laurence Withers <lwithers@users.sf.net> in bug + #59494 for the ebuild. + diff --git a/dev-embedded/yapide/Manifest b/dev-embedded/yapide/Manifest new file mode 100644 index 000000000000..e28221852d5b --- /dev/null +++ b/dev-embedded/yapide/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 a47ad7b389e3341f36f1f93deec354c3 yapide-0.1.ebuild 1301 +MD5 ecaaa461dce4abb6a47b23e8d4e98c54 ChangeLog 506 +MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403 +MD5 1582e350c89120cffd8fe87f88a451c0 files/yapide-0.1-configure.patch 449 +MD5 88360cbedb701128f2d7f23863a5b0c7 files/digest-yapide-0.1 59 +MD5 8a508bb3601e8af1a63cd89ec1fff718 files/yapide-0.1-nocflags.patch 1014 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.4 (GNU/Linux) + +iD8DBQFBEgwhmdTrptrqvGERAkz6AJ9WEvrANTDouIEvMw1jvslJ3HqgYACfZVhp +DMCr1p6To1qqnpXc3ueVtXY= +=iy6O +-----END PGP SIGNATURE----- diff --git a/dev-embedded/yapide/files/digest-yapide-0.1 b/dev-embedded/yapide/files/digest-yapide-0.1 new file mode 100644 index 000000000000..47348f21f210 --- /dev/null +++ b/dev-embedded/yapide/files/digest-yapide-0.1 @@ -0,0 +1 @@ +MD5 8cfc7aad5a62121c8f2aea485f0519d8 yapide-0.1.tgz 233064 diff --git a/dev-embedded/yapide/files/yapide-0.1-configure.patch b/dev-embedded/yapide/files/yapide-0.1-configure.patch new file mode 100644 index 000000000000..86628b5bba61 --- /dev/null +++ b/dev-embedded/yapide/files/yapide-0.1-configure.patch @@ -0,0 +1,11 @@ +--- configure.old 2004-08-05 08:56:33.463133912 +0100 ++++ configure 2004-08-05 08:56:41.082975520 +0100 +@@ -55,7 +55,7 @@ + echo "#include <stdio.h>" >> qttest.cpp + echo "int main(int argc, char **argv) { fprintf( stderr, \"Found QT Version %s: \", QT_VERSION_STR );" >> qttest.cpp + echo "if (QT_VERSION >= 300) return 0; else return -1; }" >> qttest.cpp +-gcc -I$QTDIR/include qttest.cpp ++g++ -I$QTDIR/include qttest.cpp + if ./a.out + then + echo "OK" diff --git a/dev-embedded/yapide/files/yapide-0.1-nocflags.patch b/dev-embedded/yapide/files/yapide-0.1-nocflags.patch new file mode 100644 index 000000000000..9857d937bb10 --- /dev/null +++ b/dev-embedded/yapide/files/yapide-0.1-nocflags.patch @@ -0,0 +1,37 @@ +--- src/src.pro.orig 2004-08-05 18:07:02.315294152 +0930 ++++ src/src.pro 2004-08-05 18:07:34.970329832 +0930 +@@ -6,13 +6,6 @@ + DEPENDPATH = . + + release { +- contains( QMAKE_CC, gcc ) { +- message( "Adding release optimizations for gcc" ) +- QMAKE_CFLAGS += -finline-functions -fexpensive-optimizations \ +- -fstrict-aliasing -fomit-frame-pointer +- QMAKE_CXXFLAGS += -finline-functions -fexpensive-optimizations \ +- -fstrict-aliasing -fomit-frame-pointer +- } + TARGET = yapide + } + +@@ -21,20 +14,6 @@ + TARGET = yapidedebug + } + +-CPU_YAPIDE = $$system( echo $CPU ) +- +-contains( CPU_YAPIDE, i686 ) { +- message( "Configuring for Pentium Pro" ) +- QMAKE_CFLAGS += -march=pentiumpro +- QMAKE_CXXFLAGS += -march=pentiumpro +-} +- +-contains( CPU_YAPIDE, Athlon ) { +- message( "Configuring for Athlon" ) +- QMAKE_CFLAGS += -march=athlon +- QMAKE_CXXFLAGS += -march=athlon +-} +- + HEADERS = \ + xpm/animation.xpm \ + xpm/breakpoint.xpm \ diff --git a/dev-embedded/yapide/metadata.xml b/dev-embedded/yapide/metadata.xml new file mode 100644 index 000000000000..b9fc2b9c6f11 --- /dev/null +++ b/dev-embedded/yapide/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>dragonheart@gentoo.org</email> + <name>Daniel Black</name> + <description>A user ebuild that I felt obliged to include. Please take over if you want +it</description> +</maintainer> +<longdescription></longdescription> +</pkgmetadata> diff --git a/dev-embedded/yapide/yapide-0.1.ebuild b/dev-embedded/yapide/yapide-0.1.ebuild new file mode 100644 index 000000000000..4b4e6cf7a798 --- /dev/null +++ b/dev-embedded/yapide/yapide-0.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/yapide/yapide-0.1.ebuild,v 1.1 2004/08/05 11:30:03 dragonheart Exp $ + +inherit eutils + +DESCRIPTION="Yet Another PIC IDE: a Microchip PIC simulator" +HOMEPAGE="http://www.mtoussaint.de/yapide.html" +SRC_URI="http://www.mtoussaint.de/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="virtual/libc + >=x11-libs/qt-3.0.0 + dev-embedded/gputils" + +DEPEND="${RDEPEND} + sys-devel/gcc + >=sys-apps/sed-4" + +S="${WORKDIR}/YaPIDE-${PV}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-0.1-configure.patch + epatch ${FILESDIR}/${PN}-0.1-nocflags.patch +} + + + +src_compile() { + + REALHOME="${HOME}" + mkdir -p ${T}/fakehome/.kde + mkdir -p ${T}/fakehome/.qt + export HOME="${T}/fakehome" + addwrite "${QTDIR}/etc/settings" + + # things that should access the real homedir + [ -d "${REALHOME}/.ccache" ] && ln -sf "${REALHOME}/.ccache" "${HOME}/" + + econf || die + emake src/Makefile || die + sed -i -e "s:^CFLAGS.*-D_REENTRANT:CFLAGS = ${CFLAGS} -D_REENTRANT:" \ + -e "s:^CXXFLAGS.*-D_REENTRANT:CXXFLAGS = ${CXXFLAGS} -D_REENTRANT:" \ + src/Makefile + emake || die +} + + + +src_install() { + dobin bin/yapide + dodoc AUTHORS COPYING KNOWNBUGS README +} + |