diff options
author | Petr Kocmid <raxas@pavouk-v-rohu.net> | 2009-09-02 01:45:36 +0200 |
---|---|---|
committer | Petr Kocmid <raxas@pavouk-v-rohu.net> | 2009-09-02 01:45:36 +0200 |
commit | a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd (patch) | |
tree | e74a4ef2812fdab82d074fee8fcd0eec6c1b94cf /games-util | |
parent | knoda + hk classes + odbc/qt3 (diff) | |
download | kde-sunset-a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd.tar.gz kde-sunset-a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd.tar.bz2 kde-sunset-a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd.zip |
assorted lots of qt3 apps, all working
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/agistudio/ChangeLog | 53 | ||||
-rw-r--r-- | games-util/agistudio/Manifest | 8 | ||||
-rw-r--r-- | games-util/agistudio/agistudio-1.2.2.ebuild | 44 | ||||
-rw-r--r-- | games-util/agistudio/agistudio-1.2.4.ebuild | 32 | ||||
-rw-r--r-- | games-util/agistudio/files/agistudio-1.2.2-gcc43.patch | 50 | ||||
-rw-r--r-- | games-util/agistudio/files/agistudio-1.2.2-glibc-2.10.patch | 48 | ||||
-rw-r--r-- | games-util/agistudio/metadata.xml | 5 |
7 files changed, 240 insertions, 0 deletions
diff --git a/games-util/agistudio/ChangeLog b/games-util/agistudio/ChangeLog new file mode 100644 index 00000000..45f4095b --- /dev/null +++ b/games-util/agistudio/ChangeLog @@ -0,0 +1,53 @@ +# ChangeLog for games-util/agistudio +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/agistudio/ChangeLog,v 1.12 2009/08/10 22:36:10 mr_bones_ Exp $ + +*agistudio-1.2.4 (10 Aug 2009) + + 10 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> + +agistudio-1.2.4.ebuild: + version bump + + 09 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + agistudio-1.2.2.ebuild, +files/agistudio-1.2.2-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #273367. + + 27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> agistudio-1.2.2.ebuild: + QA: Get rid of deprecated qt_min_version(). + + 02 May 2008; Tristan Heaven <nyhm@gentoo.org> + +files/agistudio-1.2.2-gcc43.patch, agistudio-1.2.2.ebuild: + Fix building with gcc-4.3 + + 19 Feb 2007; nixnut <nixnut@gentoo.org> agistudio-1.2.2.ebuild: + Stable on ppc wrt bug 167559 + +*agistudio-1.2.2 (11 Oct 2006) + + 11 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +agistudio-1.2.2.ebuild: + Version bump + + 27 Sep 2006; Tristan Heaven <nyhm@gentoo.org> agistudio-1.2.1.ebuild: + Add inherit eutils + + 28 May 2006; <Tupone@gentoo.org> +files/agistudio-1.2.1-gcc41.patch, + agistudio-1.2.1.ebuild: + Fix for gcc-4.1 + + 05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> + agistudio-1.2.1.ebuild: + Stable on ppc. + + 11 Nov 2004; Simon Stelling <blubb@gentoo.org> agistudio-1.2.1.ebuild: + added ~amd64 + + 14 Oct 2004; David Holm <dholm@gentoo.org> agistudio-1.2.1.ebuild: + Added to ~ppc. + +*agistudio-1.2.1 (11 Sep 2004) + + 11 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, + +agistudio-1.2.1.ebuild: + initial commit - ebuild based on the one provided by Adrian Fruehwirth via bug + #62815 + diff --git a/games-util/agistudio/Manifest b/games-util/agistudio/Manifest new file mode 100644 index 00000000..add6af80 --- /dev/null +++ b/games-util/agistudio/Manifest @@ -0,0 +1,8 @@ +AUX agistudio-1.2.2-gcc43.patch 876 RMD160 d1059e0cff1a89ca93398fdf828e55b3cc62358e SHA1 eb7eb6dd14262231c81b09d2eeda2d4a4ff10a3c SHA256 a92972578cff5088eabab0e37dfc01067b56fc2cb9458a79f4b0f341ef3a549d +AUX agistudio-1.2.2-glibc-2.10.patch 1994 RMD160 1c7b9d2ba75bb2734f5c6d7d0bcb57273f985b53 SHA1 331f38e74f47c7d64320764af10a3482bf325d4e SHA256 0a1175d18f4068dd240ba701c407e37748efdf05df015b8a21479ef138c357bf +DIST agistudio-1.2.2.tar.gz 364846 RMD160 43575cecb66716fe681ed5e5ccdca54641840c21 SHA1 cab01d9ea60814254c93000377b034e7027f768a SHA256 2c14c82fc3e4355acb22c04d3cf44671699010f8679b8c0e4cd9515ddd11bea8 +DIST agistudio-1.2.4.tar.gz 371183 RMD160 74c85cfc86c91329f679e1b49cc7ddfe6d7ac997 SHA1 874d8153ef7ebf0385fa48ed1b8fd7a0442ce312 SHA256 674f74981c86f095217d361a3069daf30846d10f99d164161730b30a4a0961df +EBUILD agistudio-1.2.2.ebuild 1085 RMD160 e23e0f2fb2889169dcd0387660ce66fa84134e79 SHA1 c93de8c3d4cf81c6f28b556683d311320ce1fb0e SHA256 c758dc660013ccbb157ebf016a21679ff63bd7cb7614e0f1adb4bcbc6cff0da7 +EBUILD agistudio-1.2.4.ebuild 783 RMD160 e6901ec8ddbad1d2eca5aa44cbbf44d631782baf SHA1 cbb0ba86b2ed5d086dbeeac3792e33d48a3e9faf SHA256 050ebfa7e231ca071b0b2cc6e42499be99c3d676e9525a7779a49fcac0dafced +MISC ChangeLog 1696 RMD160 40361fddae283319a296bc16388b6c88b9a4c233 SHA1 9867277d8593a4fdd786255844eecc8f6a81a204 SHA256 bd3400c1d541e5a2ad93053763340184ac354ab37865d254b20d0ccd6c48f9ff +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-util/agistudio/agistudio-1.2.2.ebuild b/games-util/agistudio/agistudio-1.2.2.ebuild new file mode 100644 index 00000000..c1918791 --- /dev/null +++ b/games-util/agistudio/agistudio-1.2.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/agistudio/agistudio-1.2.2.ebuild,v 1.7 2009/08/09 19:13:24 ssuominen Exp $ + +EAPI=1 + +inherit eutils toolchain-funcs qt3 + +DESCRIPTION="QT AGI Studio allows you to view, create and edit AGI games" +HOMEPAGE="http://agistudio.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +DEPEND="x11-libs/qt:3" + +S=${WORKDIR}/${P}/src + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-glibc-2.10.patch + sed -i \ + -e "s#^QTDIR.*#QTDIR = ${QTDIR}#" \ + -e "s#^INCPATH.*#INCPATH = -I\$(QTDIR)/include#" \ + -e "s:g++:$(tc-getCXX):" \ + -e "/^CXXFLAGS/s:-O2:${CXXFLAGS}:" \ + -e 's/$(LFLAGS)/$(LDFLAGS)/' \ + Makefile \ + || die "sed failed" +} + +src_install() { + dobin agistudio || die "dobin failed" + cd .. + insinto /usr/share/${PN} + doins -r help template || die "doins failed" + doman agistudio.1 + dodoc README relnotes +} diff --git a/games-util/agistudio/agistudio-1.2.4.ebuild b/games-util/agistudio/agistudio-1.2.4.ebuild new file mode 100644 index 00000000..12d3df30 --- /dev/null +++ b/games-util/agistudio/agistudio-1.2.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/agistudio/agistudio-1.2.4.ebuild,v 1.1 2009/08/10 22:36:10 mr_bones_ Exp $ + +EAPI=2 +inherit qt3 + +DESCRIPTION="QT AGI Studio allows you to view, create and edit AGI games" +HOMEPAGE="http://agistudio.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="x11-libs/qt:3" + +S=${WORKDIR}/${P}/src + +src_prepare() { + eqmake3 agistudio.pro -o Makefile || die "eqmake3 failed" +} + +src_install() { + dobin agistudio || die "dobin failed" + cd .. + insinto /usr/share/${PN} + doins -r help template || die "doins failed" + doman agistudio.1 + dodoc README relnotes +} diff --git a/games-util/agistudio/files/agistudio-1.2.2-gcc43.patch b/games-util/agistudio/files/agistudio-1.2.2-gcc43.patch new file mode 100644 index 00000000..004a89bd --- /dev/null +++ b/games-util/agistudio/files/agistudio-1.2.2-gcc43.patch @@ -0,0 +1,50 @@ +--- src/logdecode.cpp ++++ src/logdecode.cpp +@@ -27,7 +27,8 @@ + #include "menu.h" + #include "agicommands.h" + +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> + + static int EncryptionStart; + static int MessageSectionStart,MessageSectionEnd; +--- src/main.cpp ++++ src/main.cpp +@@ -18,7 +18,8 @@ + * + */ + +-#include <stdio.h> ++#include <cstdlib> ++#include <cstdio> + + #include <qapplication.h> + #include <qmainwindow.h> +--- src/picedit.cpp ++++ src/picedit.cpp +@@ -24,6 +24,7 @@ + #include "picture.h" + #include "preview.h" + ++#include <cstdlib> + #include <qspinbox.h> + #include <qapplication.h> + #include <qpainter.h> +--- src/util.cpp ++++ src/util.cpp +@@ -19,9 +19,10 @@ + */ + + #include "util.h" +-#include <stdio.h> +-#include <stdlib.h> +-#include <ctype.h> ++#include <cstdio> ++#include <cstdlib> ++#include <cctype> ++#include <cstring> + + TStringList::TStringList () + { diff --git a/games-util/agistudio/files/agistudio-1.2.2-glibc-2.10.patch b/games-util/agistudio/files/agistudio-1.2.2-glibc-2.10.patch new file mode 100644 index 00000000..b8563fd9 --- /dev/null +++ b/games-util/agistudio/files/agistudio-1.2.2-glibc-2.10.patch @@ -0,0 +1,48 @@ +diff -ur agistudio-1.2.2.orig/src/logedit.cpp agistudio-1.2.2/src/logedit.cpp +--- agistudio-1.2.2.orig/src/logedit.cpp 2003-05-17 14:47:13.000000000 +0300 ++++ agistudio-1.2.2/src/logedit.cpp 2009-08-09 22:14:15.000000000 +0300 +@@ -431,7 +431,7 @@ + editor->setText( filecont ); + fclose(fptr); + logic->OutputText=editor->text().latin1(); +- if((ptr=strrchr(filename.c_str(),'/')))ptr++; ++ if((ptr=const_cast<char*> (strrchr(filename.c_str(),'/'))))ptr++; + else ptr=(char *)filename.c_str(); + if(LogicNum!=-1) + sprintf(tmp,"logic.%d (file %s)",LogicNum,ptr); +@@ -526,7 +526,7 @@ + else if(filename != ""){ + save((char *)filename.c_str()); + char *ptr; +- if((ptr=strrchr(filename.c_str(),'/')))ptr++; ++ if((ptr=const_cast<char*> (strrchr(filename.c_str(),'/'))))ptr++; + else ptr=(char *)filename.c_str(); + sprintf(tmp,"File %s",ptr); + setCaption(tmp); +@@ -644,7 +644,7 @@ + if(winlist[i].type==TEXT){ + filename = winlist[i].w.t->filename; + char *ptr2; +- if((ptr2=strrchr(filename.c_str(),'/')))ptr2++; ++ if((ptr2=const_cast<char*> (strrchr(filename.c_str(),'/'))))ptr2++; + else ptr2=(char *)filename.c_str(); + if(!strcmp(ptr2,name)){ + int num=atoi(ptr+5); +@@ -665,7 +665,7 @@ + winlist[i].w.t = new TextEdit(NULL,NULL,i); + winlist[i].type=TEXT; + winlist[i].w.t->open(fullname); +- ptr=strstr(tmp1.c_str(),"Line "); ++ ptr=const_cast<char*> (strstr(tmp1.c_str(),"Line ")); + int num=atoi(ptr+5); + winlist[i].w.t->editor->setCursorPosition(num,0,false); + ptr1=strchr(ptr,'\n'); +@@ -1202,7 +1202,7 @@ + fclose(fptr); + changed=false; + char *ptr; +- if((ptr=strrchr(filename,'/')))ptr++; ++ if((ptr=const_cast<char*> (strrchr(filename,'/'))))ptr++; + else ptr=(char *)filename; + sprintf(tmp,"File %s",ptr); + setCaption(tmp); diff --git a/games-util/agistudio/metadata.xml b/games-util/agistudio/metadata.xml new file mode 100644 index 00000000..d3c2cc92 --- /dev/null +++ b/games-util/agistudio/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |