[arch-commits] Commit in symmetrica/repos (12 files)

Antonio Rojas arojas at archlinux.org
Sat Jan 3 23:27:07 UTC 2015


    Date: Sunday, January 4, 2015 @ 00:27:06
  Author: arojas
Revision: 125259

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

Added:
  symmetrica/repos/community-i686/LICENSE
    (from rev 125258, symmetrica/trunk/LICENSE)
  symmetrica/repos/community-i686/PKGBUILD
    (from rev 125258, symmetrica/trunk/PKGBUILD)
  symmetrica/repos/community-i686/int32.patch
    (from rev 125258, symmetrica/trunk/int32.patch)
  symmetrica/repos/community-x86_64/LICENSE
    (from rev 125258, symmetrica/trunk/LICENSE)
  symmetrica/repos/community-x86_64/PKGBUILD
    (from rev 125258, symmetrica/trunk/PKGBUILD)
  symmetrica/repos/community-x86_64/int32.patch
    (from rev 125258, symmetrica/trunk/int32.patch)
Deleted:
  symmetrica/repos/community-i686/LICENSE
  symmetrica/repos/community-i686/PKGBUILD
  symmetrica/repos/community-i686/macro.h.patch
  symmetrica/repos/community-x86_64/LICENSE
  symmetrica/repos/community-x86_64/PKGBUILD
  symmetrica/repos/community-x86_64/macro.h.patch

--------------------------------+
 /LICENSE                       |   32 +++++++++++++++
 /PKGBUILD                      |   82 +++++++++++++++++++++++++++++++++++++++
 community-i686/LICENSE         |   16 -------
 community-i686/PKGBUILD        |   41 -------------------
 community-i686/int32.patch     |   37 +++++++++++++++++
 community-i686/macro.h.patch   |   33 ---------------
 community-x86_64/LICENSE       |   16 -------
 community-x86_64/PKGBUILD      |   41 -------------------
 community-x86_64/int32.patch   |   37 +++++++++++++++++
 community-x86_64/macro.h.patch |   33 ---------------
 10 files changed, 188 insertions(+), 180 deletions(-)

Deleted: community-i686/LICENSE
===================================================================
--- community-i686/LICENSE	2015-01-03 23:26:20 UTC (rev 125258)
+++ community-i686/LICENSE	2015-01-03 23:27:06 UTC (rev 125259)
@@ -1,16 +0,0 @@
-/*
-Copyright (c) 1987-2010 , symmetrica (at) symmetrica.de
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-*/
-

Copied: symmetrica/repos/community-i686/LICENSE (from rev 125258, symmetrica/trunk/LICENSE)
===================================================================
--- community-i686/LICENSE	                        (rev 0)
+++ community-i686/LICENSE	2015-01-03 23:27:06 UTC (rev 125259)
@@ -0,0 +1,16 @@
+/*
+Copyright (c) 1987-2010 , symmetrica (at) symmetrica.de
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-01-03 23:26:20 UTC (rev 125258)
+++ community-i686/PKGBUILD	2015-01-03 23:27:06 UTC (rev 125259)
@@ -1,41 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=symmetrica
-pkgver=2.0
-pkgrel=3
-pkgdesc="Algorithms for symmetric groups and classical groups"
-arch=('i686' 'x86_64')
-url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
-license=('custom')
-depends=()
-options=('staticlibs')
-source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz'
-        'macro.h.patch' 'LICENSE')
-md5sums=('c901a30ffb44715adc85ec43a9838069'
-         '2a018908686a23ee12b3e7b5d104c929'
-         'c385bb47c0759cb6464e55702875b7a0')
-
-prepare() {
-  sed -i -e 's/-O2/$(CFLAGS)/' makefile
-  patch -p0 -i macro.h.patch
-
-# disable banner
-  sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c
-}
-
-build() {
-  export CFLAGS="-fPIC $CFLAGS"
-  make
-  ar crs libsymmetrica.a *.o
-}
-
-package() {
-  install -D -m 644 libsymmetrica.a "$pkgdir"/usr/lib/libsymmetrica.a
-  mkdir -p "$pkgdir"/usr/include/symmetrica/
-  install -m 644 *.h "$pkgdir"/usr/include/symmetrica/
-
-  mkdir -p "$pkgdir"/usr/share/licenses/symmetrica
-  install LICENSE "$pkgdir"/usr/share/licenses/symmetrica
-}
-

Copied: symmetrica/repos/community-i686/PKGBUILD (from rev 125258, symmetrica/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-01-03 23:27:06 UTC (rev 125259)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=symmetrica
+pkgver=2.0
+pkgrel=4
+pkgdesc="Algorithms for symmetric groups and classical groups"
+arch=('i686' 'x86_64')
+url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
+license=('custom')
+depends=()
+options=('staticlibs')
+source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'int32.patch' 'LICENSE')
+md5sums=('c901a30ffb44715adc85ec43a9838069'
+         'cc057ecdfc5f0d629d13f6b2999ba23c'
+         'c385bb47c0759cb6464e55702875b7a0')
+
+prepare() {
+  sed -i -e 's/-O2/$(CFLAGS)/' makefile
+# fix integer overflow on 64 bits
+  patch -p1 -i int32.patch
+
+# disable banner
+  sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c
+}
+
+build() {
+  export CFLAGS="-fPIC $CFLAGS"
+  make
+  ar crs libsymmetrica.a *.o
+}
+
+package() {
+  install -D -m 644 libsymmetrica.a "$pkgdir"/usr/lib/libsymmetrica.a
+  mkdir -p "$pkgdir"/usr/include/symmetrica/
+  install -m 644 *.h "$pkgdir"/usr/include/symmetrica/
+
+  mkdir -p "$pkgdir"/usr/share/licenses/symmetrica
+  install LICENSE "$pkgdir"/usr/share/licenses/symmetrica
+}
+

Copied: symmetrica/repos/community-i686/int32.patch (from rev 125258, symmetrica/trunk/int32.patch)
===================================================================
--- community-i686/int32.patch	                        (rev 0)
+++ community-i686/int32.patch	2015-01-03 23:27:06 UTC (rev 125259)
@@ -0,0 +1,37 @@
+diff -ru src/def.h c/def.h
+--- src/def.h	2007-12-06 17:30:56.000000000 +0100
++++ c/def.h	2013-10-19 18:42:55.118745730 +0200
+@@ -2,14 +2,9 @@
+ /* INT should always be 4 byte */
+ #ifndef DEF_H
+ 
+-
+-#ifdef __alpha
+-typedef  int INT;
+-typedef unsigned  int  UINT;
+-#else /* __alpha */
+-typedef long INT;
+-typedef unsigned long UINT;
+-#endif /* __alpha */
++#include <stdint.h>
++typedef int32_t INT;
++typedef uint32_t UINT;
+ 
+ #include <stdio.h>
+ #include <memory.h>
+@@ -65,10 +60,13 @@
+ 
+ 
+ /* definitionen fuer object.c */
+-typedef INT OBJECTKIND;   /* 4 byte */
++/* NOTE: partition code assumes that there is no unused space in the
++ * object struct when an INT is stored. This requires both OBJECTKIND
++ * and OBJECTSELF to have a size equal to a machine word. */
++typedef intptr_t OBJECTKIND;
+ 
+ typedef union {
+-	INT ob_INT;
++	intptr_t ob_INT;
+ 	INT * ob_INTpointer;
+ 	char *ob_charpointer;
+ 	struct bruch *ob_bruch;

Deleted: community-i686/macro.h.patch
===================================================================
--- community-i686/macro.h.patch	2015-01-03 23:26:20 UTC (rev 125258)
+++ community-i686/macro.h.patch	2015-01-03 23:27:06 UTC (rev 125259)
@@ -1,33 +0,0 @@
---- macro.h.orig	2009-05-15 04:31:26.000000000 -0700
-+++ macro.h	2007-12-07 00:40:20.000000000 -0800
-@@ -171,7 +170,7 @@
- 
- 
- 
--extern INT partition_speichersize,partition_speicherindex,mem_counter_part;
-+extern long partition_speichersize,partition_speicherindex,mem_counter_part;
- extern struct partition **partition_speicher; 
- 
- #define FREEPARTITION(d)\
-@@ -266,7 +265,7 @@
-       C_MO_K(c,b); \
- } while(0)
- 
--extern INT monom_speicherindex,mem_counter_monom,monom_speichersize;
-+extern long monom_speicherindex,mem_counter_monom,monom_speichersize;
- extern struct monom **monom_speicher;
- 
- #define FREEMONOM(v) \
-@@ -554,10 +553,10 @@
- 
- /* for longint */
- 
--extern INT loc_index, loc_size,loc_counter;
-+extern long loc_index, loc_size,loc_counter;
- extern struct loc **loc_speicher;
- 
--extern INT longint_speicherindex,mem_counter_loc,longint_speichersize;
-+extern long longint_speicherindex,mem_counter_loc,longint_speichersize;
- extern struct longint **longint_speicher;
- 
- 

Deleted: community-x86_64/LICENSE
===================================================================
--- community-x86_64/LICENSE	2015-01-03 23:26:20 UTC (rev 125258)
+++ community-x86_64/LICENSE	2015-01-03 23:27:06 UTC (rev 125259)
@@ -1,16 +0,0 @@
-/*
-Copyright (c) 1987-2010 , symmetrica (at) symmetrica.de
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-*/
-

Copied: symmetrica/repos/community-x86_64/LICENSE (from rev 125258, symmetrica/trunk/LICENSE)
===================================================================
--- community-x86_64/LICENSE	                        (rev 0)
+++ community-x86_64/LICENSE	2015-01-03 23:27:06 UTC (rev 125259)
@@ -0,0 +1,16 @@
+/*
+Copyright (c) 1987-2010 , symmetrica (at) symmetrica.de
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-01-03 23:26:20 UTC (rev 125258)
+++ community-x86_64/PKGBUILD	2015-01-03 23:27:06 UTC (rev 125259)
@@ -1,41 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=symmetrica
-pkgver=2.0
-pkgrel=3
-pkgdesc="Algorithms for symmetric groups and classical groups"
-arch=('i686' 'x86_64')
-url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
-license=('custom')
-depends=()
-options=('staticlibs')
-source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz'
-        'macro.h.patch' 'LICENSE')
-md5sums=('c901a30ffb44715adc85ec43a9838069'
-         '2a018908686a23ee12b3e7b5d104c929'
-         'c385bb47c0759cb6464e55702875b7a0')
-
-prepare() {
-  sed -i -e 's/-O2/$(CFLAGS)/' makefile
-  patch -p0 -i macro.h.patch
-
-# disable banner
-  sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c
-}
-
-build() {
-  export CFLAGS="-fPIC $CFLAGS"
-  make
-  ar crs libsymmetrica.a *.o
-}
-
-package() {
-  install -D -m 644 libsymmetrica.a "$pkgdir"/usr/lib/libsymmetrica.a
-  mkdir -p "$pkgdir"/usr/include/symmetrica/
-  install -m 644 *.h "$pkgdir"/usr/include/symmetrica/
-
-  mkdir -p "$pkgdir"/usr/share/licenses/symmetrica
-  install LICENSE "$pkgdir"/usr/share/licenses/symmetrica
-}
-

Copied: symmetrica/repos/community-x86_64/PKGBUILD (from rev 125258, symmetrica/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-01-03 23:27:06 UTC (rev 125259)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=symmetrica
+pkgver=2.0
+pkgrel=4
+pkgdesc="Algorithms for symmetric groups and classical groups"
+arch=('i686' 'x86_64')
+url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
+license=('custom')
+depends=()
+options=('staticlibs')
+source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'int32.patch' 'LICENSE')
+md5sums=('c901a30ffb44715adc85ec43a9838069'
+         'cc057ecdfc5f0d629d13f6b2999ba23c'
+         'c385bb47c0759cb6464e55702875b7a0')
+
+prepare() {
+  sed -i -e 's/-O2/$(CFLAGS)/' makefile
+# fix integer overflow on 64 bits
+  patch -p1 -i int32.patch
+
+# disable banner
+  sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c
+}
+
+build() {
+  export CFLAGS="-fPIC $CFLAGS"
+  make
+  ar crs libsymmetrica.a *.o
+}
+
+package() {
+  install -D -m 644 libsymmetrica.a "$pkgdir"/usr/lib/libsymmetrica.a
+  mkdir -p "$pkgdir"/usr/include/symmetrica/
+  install -m 644 *.h "$pkgdir"/usr/include/symmetrica/
+
+  mkdir -p "$pkgdir"/usr/share/licenses/symmetrica
+  install LICENSE "$pkgdir"/usr/share/licenses/symmetrica
+}
+

Copied: symmetrica/repos/community-x86_64/int32.patch (from rev 125258, symmetrica/trunk/int32.patch)
===================================================================
--- community-x86_64/int32.patch	                        (rev 0)
+++ community-x86_64/int32.patch	2015-01-03 23:27:06 UTC (rev 125259)
@@ -0,0 +1,37 @@
+diff -ru src/def.h c/def.h
+--- src/def.h	2007-12-06 17:30:56.000000000 +0100
++++ c/def.h	2013-10-19 18:42:55.118745730 +0200
+@@ -2,14 +2,9 @@
+ /* INT should always be 4 byte */
+ #ifndef DEF_H
+ 
+-
+-#ifdef __alpha
+-typedef  int INT;
+-typedef unsigned  int  UINT;
+-#else /* __alpha */
+-typedef long INT;
+-typedef unsigned long UINT;
+-#endif /* __alpha */
++#include <stdint.h>
++typedef int32_t INT;
++typedef uint32_t UINT;
+ 
+ #include <stdio.h>
+ #include <memory.h>
+@@ -65,10 +60,13 @@
+ 
+ 
+ /* definitionen fuer object.c */
+-typedef INT OBJECTKIND;   /* 4 byte */
++/* NOTE: partition code assumes that there is no unused space in the
++ * object struct when an INT is stored. This requires both OBJECTKIND
++ * and OBJECTSELF to have a size equal to a machine word. */
++typedef intptr_t OBJECTKIND;
+ 
+ typedef union {
+-	INT ob_INT;
++	intptr_t ob_INT;
+ 	INT * ob_INTpointer;
+ 	char *ob_charpointer;
+ 	struct bruch *ob_bruch;

Deleted: community-x86_64/macro.h.patch
===================================================================
--- community-x86_64/macro.h.patch	2015-01-03 23:26:20 UTC (rev 125258)
+++ community-x86_64/macro.h.patch	2015-01-03 23:27:06 UTC (rev 125259)
@@ -1,33 +0,0 @@
---- macro.h.orig	2009-05-15 04:31:26.000000000 -0700
-+++ macro.h	2007-12-07 00:40:20.000000000 -0800
-@@ -171,7 +170,7 @@
- 
- 
- 
--extern INT partition_speichersize,partition_speicherindex,mem_counter_part;
-+extern long partition_speichersize,partition_speicherindex,mem_counter_part;
- extern struct partition **partition_speicher; 
- 
- #define FREEPARTITION(d)\
-@@ -266,7 +265,7 @@
-       C_MO_K(c,b); \
- } while(0)
- 
--extern INT monom_speicherindex,mem_counter_monom,monom_speichersize;
-+extern long monom_speicherindex,mem_counter_monom,monom_speichersize;
- extern struct monom **monom_speicher;
- 
- #define FREEMONOM(v) \
-@@ -554,10 +553,10 @@
- 
- /* for longint */
- 
--extern INT loc_index, loc_size,loc_counter;
-+extern long loc_index, loc_size,loc_counter;
- extern struct loc **loc_speicher;
- 
--extern INT longint_speicherindex,mem_counter_loc,longint_speichersize;
-+extern long longint_speicherindex,mem_counter_loc,longint_speichersize;
- extern struct longint **longint_speicher;
- 
- 



More information about the arch-commits mailing list