[arch-commits] Commit in ois/repos (6 files)

Felix Yan fyan at nymeria.archlinux.org
Sat Jul 5 03:56:55 UTC 2014


    Date: Saturday, July 5, 2014 @ 05:56:55
  Author: fyan
Revision: 115012

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ois/repos/community-i686/PKGBUILD
    (from rev 115011, ois/trunk/PKGBUILD)
  ois/repos/community-i686/gcc47.patch
    (from rev 115011, ois/trunk/gcc47.patch)
  ois/repos/community-x86_64/PKGBUILD
    (from rev 115011, ois/trunk/PKGBUILD)
  ois/repos/community-x86_64/gcc47.patch
    (from rev 115011, ois/trunk/gcc47.patch)
Deleted:
  ois/repos/community-i686/PKGBUILD
  ois/repos/community-x86_64/PKGBUILD

------------------------------+
 /PKGBUILD                    |   70 +++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD      |   27 ---------------
 community-i686/gcc47.patch   |   56 ++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD    |   27 ---------------
 community-x86_64/gcc47.patch |   56 ++++++++++++++++++++++++++++++++
 5 files changed, 182 insertions(+), 54 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-07-05 03:56:22 UTC (rev 115011)
+++ community-i686/PKGBUILD	2014-07-05 03:56:55 UTC (rev 115012)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: scippio <scippio at berounet.cz>
-pkgname=ois
-pkgver=1.3
-_oisver=${pkgver/./-}
-pkgrel=2
-pkgdesc="Object Oriented Input System"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/wgois"
-license=('custom:zlib/libpng')
-makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw')
-source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz")
-md5sums=('9697fead17eac6025151cd2e1fca1518')
-
-build() {
-  cd ${srcdir}/${pkgname}-v${_oisver}
-  chmod +x bootstrap
-  ./bootstrap
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-v${_oisver}
-  make DESTDIR=${pkgdir} install
-}

Copied: ois/repos/community-i686/PKGBUILD (from rev 115011, ois/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-07-05 03:56:55 UTC (rev 115012)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: scippio <scippio at berounet.cz>
+pkgname=ois
+pkgver=1.3
+_oisver=${pkgver/./-}
+pkgrel=3
+pkgdesc="Object Oriented Input System"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/wgois"
+license=('custom:zlib')
+makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw')
+source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz"
+        "gcc47.patch")
+md5sums=('9697fead17eac6025151cd2e1fca1518'
+         '5c9d151b7068cb0c25e584d7753831ff')
+
+build() {
+  cd ${srcdir}/${pkgname}-v${_oisver}
+
+  patch -Np1 < ${srcdir}/gcc47.patch
+
+  chmod +x bootstrap
+  ./bootstrap
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-v${_oisver}
+
+  make DESTDIR=${pkgdir} install
+
+  install -Dm644 ReadMe.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}

Copied: ois/repos/community-i686/gcc47.patch (from rev 115011, ois/trunk/gcc47.patch)
===================================================================
--- community-i686/gcc47.patch	                        (rev 0)
+++ community-i686/gcc47.patch	2014-07-05 03:56:55 UTC (rev 115012)
@@ -0,0 +1,56 @@
+diff -rup ois-v1-3/configure.ac patched/configure.ac
+--- ois-v1-3/configure.ac	2010-04-04 13:51:08.000000000 -0400
++++ patched/configure.ac	2013-01-30 20:33:38.461394645 -0500
+@@ -5,7 +5,7 @@ AC_INIT( [OIS], 1.3.0 )
+ 
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE( [OIS], 1.3.0 )
+-AM_CONFIG_HEADER([includes/config.h])
++AC_CONFIG_HEADERS([includes/config.h])
+ 
+ dnl Check for programs
+ AC_PROG_CC
+diff -rup ois-v1-3/demos/FFConsoleDemo.cpp patched/demos/FFConsoleDemo.cpp
+--- ois-v1-3/demos/FFConsoleDemo.cpp	2010-03-31 23:38:04.000000000 -0400
++++ patched/demos/FFConsoleDemo.cpp	2013-01-30 20:33:18.281393097 -0500
+@@ -7,6 +7,7 @@
+ #include <ios>
+ #include <sstream>
+ #include <vector>
++#include <unistd.h>
+ 
+ using namespace std;
+ 
+diff -rup ois-v1-3/demos/OISConsole.cpp patched/demos/OISConsole.cpp
+--- ois-v1-3/demos/OISConsole.cpp	2010-08-15 18:51:34.000000000 -0400
++++ patched/demos/OISConsole.cpp	2013-01-30 20:33:18.281393097 -0500
+@@ -12,6 +12,7 @@
+ #include <iostream>
+ #include <vector>
+ #include <sstream>
++#include <unistd.h>
+ 
+ ////////////////////////////////////Needed Windows Headers////////////
+ #if defined OIS_WIN32_PLATFORM
+diff -rup ois-v1-3/src/linux/LinuxForceFeedback.cpp patched/src/linux/LinuxForceFeedback.cpp
+--- ois-v1-3/src/linux/LinuxForceFeedback.cpp	2010-03-31 23:06:55.000000000 -0400
++++ patched/src/linux/LinuxForceFeedback.cpp	2013-01-30 20:33:18.284726761 -0500
+@@ -26,6 +26,7 @@ restrictions:
+ #include <cstdlib>
+ #include <errno.h>
+ #include <memory.h>
++#include <unistd.h>
+ 
+ using namespace OIS;
+ 
+diff -rup ois-v1-3/src/linux/LinuxJoyStickEvents.cpp patched/src/linux/LinuxJoyStickEvents.cpp
+--- ois-v1-3/src/linux/LinuxJoyStickEvents.cpp	2010-07-25 21:28:41.000000000 -0400
++++ patched/src/linux/LinuxJoyStickEvents.cpp	2013-01-30 20:33:18.284726761 -0500
+@@ -33,6 +33,7 @@ restrictions:
+ #include <fcntl.h>        //Needed to Open a file descriptor
+ #include <cassert>	
+ #include <linux/input.h>
++#include <unistd.h>
+ 
+ 
+ #include <sstream>

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-07-05 03:56:22 UTC (rev 115011)
+++ community-x86_64/PKGBUILD	2014-07-05 03:56:55 UTC (rev 115012)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: scippio <scippio at berounet.cz>
-pkgname=ois
-pkgver=1.3
-_oisver=${pkgver/./-}
-pkgrel=2
-pkgdesc="Object Oriented Input System"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/wgois"
-license=('custom:zlib/libpng')
-makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw')
-source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz")
-md5sums=('9697fead17eac6025151cd2e1fca1518')
-
-build() {
-  cd ${srcdir}/${pkgname}-v${_oisver}
-  chmod +x bootstrap
-  ./bootstrap
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-v${_oisver}
-  make DESTDIR=${pkgdir} install
-}

Copied: ois/repos/community-x86_64/PKGBUILD (from rev 115011, ois/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-07-05 03:56:55 UTC (rev 115012)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: scippio <scippio at berounet.cz>
+pkgname=ois
+pkgver=1.3
+_oisver=${pkgver/./-}
+pkgrel=3
+pkgdesc="Object Oriented Input System"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/wgois"
+license=('custom:zlib')
+makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw')
+source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz"
+        "gcc47.patch")
+md5sums=('9697fead17eac6025151cd2e1fca1518'
+         '5c9d151b7068cb0c25e584d7753831ff')
+
+build() {
+  cd ${srcdir}/${pkgname}-v${_oisver}
+
+  patch -Np1 < ${srcdir}/gcc47.patch
+
+  chmod +x bootstrap
+  ./bootstrap
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-v${_oisver}
+
+  make DESTDIR=${pkgdir} install
+
+  install -Dm644 ReadMe.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}

Copied: ois/repos/community-x86_64/gcc47.patch (from rev 115011, ois/trunk/gcc47.patch)
===================================================================
--- community-x86_64/gcc47.patch	                        (rev 0)
+++ community-x86_64/gcc47.patch	2014-07-05 03:56:55 UTC (rev 115012)
@@ -0,0 +1,56 @@
+diff -rup ois-v1-3/configure.ac patched/configure.ac
+--- ois-v1-3/configure.ac	2010-04-04 13:51:08.000000000 -0400
++++ patched/configure.ac	2013-01-30 20:33:38.461394645 -0500
+@@ -5,7 +5,7 @@ AC_INIT( [OIS], 1.3.0 )
+ 
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE( [OIS], 1.3.0 )
+-AM_CONFIG_HEADER([includes/config.h])
++AC_CONFIG_HEADERS([includes/config.h])
+ 
+ dnl Check for programs
+ AC_PROG_CC
+diff -rup ois-v1-3/demos/FFConsoleDemo.cpp patched/demos/FFConsoleDemo.cpp
+--- ois-v1-3/demos/FFConsoleDemo.cpp	2010-03-31 23:38:04.000000000 -0400
++++ patched/demos/FFConsoleDemo.cpp	2013-01-30 20:33:18.281393097 -0500
+@@ -7,6 +7,7 @@
+ #include <ios>
+ #include <sstream>
+ #include <vector>
++#include <unistd.h>
+ 
+ using namespace std;
+ 
+diff -rup ois-v1-3/demos/OISConsole.cpp patched/demos/OISConsole.cpp
+--- ois-v1-3/demos/OISConsole.cpp	2010-08-15 18:51:34.000000000 -0400
++++ patched/demos/OISConsole.cpp	2013-01-30 20:33:18.281393097 -0500
+@@ -12,6 +12,7 @@
+ #include <iostream>
+ #include <vector>
+ #include <sstream>
++#include <unistd.h>
+ 
+ ////////////////////////////////////Needed Windows Headers////////////
+ #if defined OIS_WIN32_PLATFORM
+diff -rup ois-v1-3/src/linux/LinuxForceFeedback.cpp patched/src/linux/LinuxForceFeedback.cpp
+--- ois-v1-3/src/linux/LinuxForceFeedback.cpp	2010-03-31 23:06:55.000000000 -0400
++++ patched/src/linux/LinuxForceFeedback.cpp	2013-01-30 20:33:18.284726761 -0500
+@@ -26,6 +26,7 @@ restrictions:
+ #include <cstdlib>
+ #include <errno.h>
+ #include <memory.h>
++#include <unistd.h>
+ 
+ using namespace OIS;
+ 
+diff -rup ois-v1-3/src/linux/LinuxJoyStickEvents.cpp patched/src/linux/LinuxJoyStickEvents.cpp
+--- ois-v1-3/src/linux/LinuxJoyStickEvents.cpp	2010-07-25 21:28:41.000000000 -0400
++++ patched/src/linux/LinuxJoyStickEvents.cpp	2013-01-30 20:33:18.284726761 -0500
+@@ -33,6 +33,7 @@ restrictions:
+ #include <fcntl.h>        //Needed to Open a file descriptor
+ #include <cassert>	
+ #include <linux/input.h>
++#include <unistd.h>
+ 
+ 
+ #include <sstream>




More information about the arch-commits mailing list