[arch-commits] Commit in symmetrica/repos/community-x86_64 (6 files)
Antonio Rojas
arojas at archlinux.org
Mon Jun 3 12:22:21 UTC 2019
Date: Monday, June 3, 2019 @ 12:22:20
Author: arojas
Revision: 476721
archrelease: copy trunk to community-x86_64
Added:
symmetrica/repos/community-x86_64/LICENSE
(from rev 476720, symmetrica/trunk/LICENSE)
symmetrica/repos/community-x86_64/PKGBUILD
(from rev 476720, symmetrica/trunk/PKGBUILD)
symmetrica/repos/community-x86_64/symmetrica-int32.patch
(from rev 476720, symmetrica/trunk/symmetrica-int32.patch)
Deleted:
symmetrica/repos/community-x86_64/LICENSE
symmetrica/repos/community-x86_64/PKGBUILD
symmetrica/repos/community-x86_64/symmetrica-int32.patch
------------------------+
LICENSE | 32 +++++++++----------
PKGBUILD | 78 +++++++++++++++++++++++------------------------
symmetrica-int32.patch | 74 ++++++++++++++++++++++----------------------
3 files changed, 92 insertions(+), 92 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2019-06-03 12:21:53 UTC (rev 476720)
+++ LICENSE 2019-06-03 12:22:20 UTC (rev 476721)
@@ -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 476720, symmetrica/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2019-06-03 12:22:20 UTC (rev 476721)
@@ -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: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-03 12:21:53 UTC (rev 476720)
+++ PKGBUILD 2019-06-03 12:22:20 UTC (rev 476721)
@@ -1,39 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
-
-pkgname=symmetrica
-pkgver=2.0
-pkgrel=6
-pkgdesc="Algorithms for symmetric groups and classical groups"
-arch=(x86_64)
-url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
-license=(custom)
-source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'symmetrica-int32.patch' 'LICENSE')
-sha256sums=('bf52788dedc14c482e89f5e7efe8c60864a633314ddd446dd4602d5fdaca0ee2'
- 'b68792fe9e0adf08addc71437b61c4f002edb20e06d795df63a38ca2dd40d1df'
- '0bf9103563587f077f2155d1e7f514f8389a3f9749ee3e690ce2d449a4bc699e')
-
-prepare() {
- sed -i -e 's/-O2/$(CFLAGS)/' makefile
-# fix integer overflow on 64 bits
- patch -p1 -i symmetrica-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/PKGBUILD (from rev 476720, symmetrica/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-03 12:22:20 UTC (rev 476721)
@@ -0,0 +1,39 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=symmetrica
+pkgver=2.0
+pkgrel=7
+pkgdesc="Algorithms for symmetric groups and classical groups"
+arch=(x86_64)
+url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/"
+depends=(glibc)
+license=(custom)
+source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz' 'symmetrica-int32.patch' 'LICENSE')
+sha256sums=('bf52788dedc14c482e89f5e7efe8c60864a633314ddd446dd4602d5fdaca0ee2'
+ 'b68792fe9e0adf08addc71437b61c4f002edb20e06d795df63a38ca2dd40d1df'
+ '0bf9103563587f077f2155d1e7f514f8389a3f9749ee3e690ce2d449a4bc699e')
+
+prepare() {
+ sed -i -e 's/-O2/$(CFLAGS)/' makefile
+# fix integer overflow on 64 bits
+ patch -p1 -i symmetrica-int32.patch
+
+# disable banner
+ sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c
+}
+
+build() {
+ export CFLAGS="-fPIC $CFLAGS"
+ make
+ gcc -shared *.o -o libsymmetrica.so ${LDFLAGS}
+}
+
+package() {
+ install -D -m 755 libsymmetrica.so -t "$pkgdir"/usr/lib/
+ 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
+}
Deleted: symmetrica-int32.patch
===================================================================
--- symmetrica-int32.patch 2019-06-03 12:21:53 UTC (rev 476720)
+++ symmetrica-int32.patch 2019-06-03 12:22:20 UTC (rev 476721)
@@ -1,37 +0,0 @@
-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;
Copied: symmetrica/repos/community-x86_64/symmetrica-int32.patch (from rev 476720, symmetrica/trunk/symmetrica-int32.patch)
===================================================================
--- symmetrica-int32.patch (rev 0)
+++ symmetrica-int32.patch 2019-06-03 12:22:20 UTC (rev 476721)
@@ -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;
More information about the arch-commits
mailing list