summaryrefslogtreecommitdiff
path: root/community-testing/glob2
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
commitb618c3d0693aec564c6746238fd05d94e31d3b76 (patch)
tree4a4834f3097bba25dba1adeba4324080c1b4bf7b /community-testing/glob2
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'community-testing/glob2')
-rw-r--r--community-testing/glob2/PKGBUILD34
-rw-r--r--community-testing/glob2/glob2-0.9.4.1-gcc44.patch87
-rw-r--r--community-testing/glob2/glob2.install12
3 files changed, 0 insertions, 133 deletions
diff --git a/community-testing/glob2/PKGBUILD b/community-testing/glob2/PKGBUILD
deleted file mode 100644
index 4840313d5..000000000
--- a/community-testing/glob2/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 66990 2012-03-03 08:11:35Z ibiru $
-# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
-# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
-
-pkgname=glob2
-pkgver=0.9.4.4
-pkgrel=11
-pkgdesc="RTS game which minimizes micro-management by automatically assigning tasks to units"
-arch=('i686' 'x86_64')
-url="http://www.globulation2.org/"
-license=('GPL3')
-depends=('boost-libs' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'mesa'
- 'fribidi' 'desktop-file-utils')
-makedepends=('scons' 'boost')
-install=glob2.install
-source=(http://dl.sv.nongnu.org/releases/${pkgname}/0.9.4/${pkgname}-${pkgver}.tar.gz
- glob2-0.9.4.1-gcc44.patch)
-md5sums=('94c527325f355a29a2807f8f18a6e6a8' 'b13cb1f73ece23bfc6413773678d583e')
-sha1sums=('14aa8d840ef5f95a9af591789082fe2322fa8cad' '3e5ae81d85a727387a7049c3a0dfb3db930391b3')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np0 -i "$srcdir/glob2-0.9.4.1-gcc44.patch"
- scons BINDIR="${pkgdir}/usr/bin" INSTALLDIR="${pkgdir}/usr/share"
-}
-
-package () {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- scons install
- find "${pkgdir}/usr/share" -type f -exec chmod 644 '{}' \;
- install -Dm644 data/icons/glob2-icon-48x48.png "${pkgdir}/usr/share/pixmaps/glob2-icon-48x48.png"
-}
diff --git a/community-testing/glob2/glob2-0.9.4.1-gcc44.patch b/community-testing/glob2/glob2-0.9.4.1-gcc44.patch
deleted file mode 100644
index b425b25ec..000000000
--- a/community-testing/glob2/glob2-0.9.4.1-gcc44.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff -up libgag/include/StreamBackend.h.orig libgag/include/StreamBackend.h
---- libgag/include/StreamBackend.h.orig 2009-03-18 03:46:47.000000000 +0100
-+++ libgag/include/StreamBackend.h 2009-06-20 14:21:10.000000000 +0200
-@@ -43,7 +43,7 @@ namespace GAGCore
- virtual void flush(void) = 0;
- virtual void read(void *data, size_t size) = 0;
- virtual void putc(int c) = 0;
-- virtual int getc(void) = 0;
-+ virtual int get_c(void) = 0;
- virtual void seekFromStart(int displacement) = 0;
- virtual void seekFromEnd(int displacement) = 0;
- virtual void seekRelative(int displacement) = 0;
-@@ -67,7 +67,7 @@ namespace GAGCore
- virtual void flush(void) { assert(fp); fflush(fp); }
- virtual void read(void *data, size_t size) { assert(fp); fread(data, size, 1, fp); }
- virtual void putc(int c) { assert(fp); fputc(c, fp); }
-- virtual int getc(void) { assert(fp); return fgetc(fp); }
-+ virtual int get_c(void) { assert(fp); return fgetc(fp); }
- virtual void seekFromStart(int displacement) { assert(fp); fseek(fp, displacement, SEEK_SET); }
- virtual void seekFromEnd(int displacement) { assert(fp); fseek(fp, displacement, SEEK_END); }
- virtual void seekRelative(int displacement) { assert(fp); fseek(fp, displacement, SEEK_CUR); }
-@@ -92,7 +92,7 @@ namespace GAGCore
- virtual void flush(void);
- virtual void read(void *data, size_t size);
- virtual void putc(int c);
-- virtual int getc(void);
-+ virtual int get_c(void);
- virtual void seekFromStart(int displacement);
- virtual void seekFromEnd(int displacement);
- virtual void seekRelative(int displacement);
-@@ -117,7 +117,7 @@ namespace GAGCore
- virtual void flush(void) { }
- virtual void read(void *data, size_t size);
- virtual void putc(int c);
-- virtual int getc(void);
-+ virtual int get_c(void);
- virtual void seekFromStart(int displacement);
- virtual void seekFromEnd(int displacement);
- virtual void seekRelative(int displacement);
-diff -up libgag/src/StreamBackend.cpp.orig libgag/src/StreamBackend.cpp
---- libgag/src/StreamBackend.cpp.orig 2009-03-18 03:46:47.000000000 +0100
-+++ libgag/src/StreamBackend.cpp 2009-06-20 14:21:53.000000000 +0200
-@@ -75,9 +75,9 @@ namespace GAGCore
- buffer->putc(c);
- }
-
-- int ZLibStreamBackend::getc(void)
-+ int ZLibStreamBackend::get_c(void)
- {
-- return buffer->getc();
-+ return buffer->get_c();
- }
-
- void ZLibStreamBackend::seekFromStart(int displacement)
-@@ -147,7 +147,7 @@ namespace GAGCore
- write(&ch, 1);
- }
-
-- int MemoryStreamBackend::getc(void)
-+ int MemoryStreamBackend::get_c(void)
- {
- Uint8 ch;
- read(&ch, 1);
-diff -up libgag/src/Stream.cpp.orig libgag/src/Stream.cpp
---- libgag/src/Stream.cpp.orig 2009-03-18 03:46:47.000000000 +0100
-+++ libgag/src/Stream.cpp 2009-06-20 14:21:35.000000000 +0200
-@@ -60,7 +60,7 @@ namespace GAGCore
- std::string s;
- while (1)
- {
-- int c = backend->getc();
-+ int c = backend->get_c();
- if(c=='\r')
- continue;
- if ((c >= 0) && (c != '\n'))
-diff -up libgag/src/TextStream.cpp.orig libgag/src/TextStream.cpp
---- libgag/src/TextStream.cpp.orig 2009-03-18 03:46:47.000000000 +0100
-+++ libgag/src/TextStream.cpp 2009-06-20 14:21:22.000000000 +0200
-@@ -150,7 +150,7 @@ namespace GAGCore
-
- int nextChar(void)
- {
-- next = stream->getc();
-+ next = stream->get_c();
- if (next == '\n')
- {
- column = 0;
diff --git a/community-testing/glob2/glob2.install b/community-testing/glob2/glob2.install
deleted file mode 100644
index 7463b6e76..000000000
--- a/community-testing/glob2/glob2.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- update-desktop-database -q
-}
-