[arch-commits] Commit in symmetrica/trunk (PKGBUILD)

2020-01-20 Thread Antonio Rojas via arch-commits
Date: Monday, January 20, 2020 @ 20:27:49
  Author: arojas
Revision: 553255

Update to 3.0.1

Modified:
  symmetrica/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-20 20:13:43 UTC (rev 553254)
+++ PKGBUILD2020-01-20 20:27:49 UTC (rev 553255)
@@ -2,7 +2,7 @@
 # Contributor: Rémy Oudompheng 
 
 pkgname=symmetrica
-pkgver=3.0.0
+pkgver=3.0.1
 pkgrel=1
 pkgdesc="Algorithms for symmetric groups and classical groups"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(glibc)
 license=(custom)
 
source=("https://gitlab.com/sagemath/symmetrica/-/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha256sums=('116ae25854a9356063197760f84e6234058becd4da2ca15151b9514bc8324405')
+sha256sums=('6e0fea5708d2deed8369ce4c7c2123a23a1c942d8cdf39c1f81258aec3ac04ec')
 
 prepare() {
   cd $pkgname-$pkgver


[arch-commits] Commit in symmetrica/trunk (PKGBUILD)

2019-06-03 Thread Antonio Rojas via arch-commits
Date: Monday, June 3, 2019 @ 12:21:53
  Author: arojas
Revision: 476720

Build shared library

Modified:
  symmetrica/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-03 12:04:29 UTC (rev 476719)
+++ PKGBUILD2019-06-03 12:21:53 UTC (rev 476720)
@@ -3,10 +3,11 @@
 
 pkgname=symmetrica
 pkgver=2.0
-pkgrel=6
+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'
@@ -25,11 +26,11 @@
 build() {
   export CFLAGS="-fPIC $CFLAGS"
   make
-  ar crs libsymmetrica.a *.o
+  gcc -shared *.o -o libsymmetrica.so ${LDFLAGS}
 }
 
 package() {
-  install -D -m 644 libsymmetrica.a "$pkgdir"/usr/lib/libsymmetrica.a
+  install -D -m 755 libsymmetrica.so -t "$pkgdir"/usr/lib/
   mkdir -p "$pkgdir"/usr/include/symmetrica/
   install -m 644 *.h "$pkgdir"/usr/include/symmetrica/
 
@@ -36,4 +37,3 @@
   mkdir -p "$pkgdir"/usr/share/licenses/symmetrica
   install LICENSE "$pkgdir"/usr/share/licenses/symmetrica
 }
-


[arch-commits] Commit in symmetrica/trunk (PKGBUILD)

2018-11-09 Thread Evangelos Foutras via arch-commits
Date: Friday, November 9, 2018 @ 23:54:45
  Author: foutrelis
Revision: 405417

PIE/BUILDINFO rebuild

Modified:
  symmetrica/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-09 23:54:30 UTC (rev 405416)
+++ PKGBUILD2018-11-09 23:54:45 UTC (rev 405417)
@@ -3,7 +3,7 @@
 
 pkgname=symmetrica
 pkgver=2.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Algorithms for symmetric groups and classical groups"
 arch=(x86_64)
 url="http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/;


[arch-commits] Commit in symmetrica/trunk (PKGBUILD int32.patch macro.h.patch)

2015-01-03 Thread Antonio Rojas
Date: Sunday, January 4, 2015 @ 00:26:20
  Author: arojas
Revision: 125258

Fix integer overflow on 64 bits systems

Added:
  symmetrica/trunk/int32.patch
Modified:
  symmetrica/trunk/PKGBUILD
Deleted:
  symmetrica/trunk/macro.h.patch

---+
 PKGBUILD  |   10 +-
 int32.patch   |   37 +
 macro.h.patch |   33 -
 3 files changed, 42 insertions(+), 38 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-03 23:22:39 UTC (rev 125257)
+++ PKGBUILD2015-01-03 23:26:20 UTC (rev 125258)
@@ -3,7 +3,7 @@
 
 pkgname=symmetrica
 pkgver=2.0
-pkgrel=3
+pkgrel=4
 pkgdesc=Algorithms for symmetric groups and classical groups
 arch=('i686' 'x86_64')
 url=http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/;
@@ -10,15 +10,15 @@
 license=('custom')
 depends=()
 options=('staticlibs')
-source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz'
-'macro.h.patch' 'LICENSE')
+source=('http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz'
 'int32.patch' 'LICENSE')
 md5sums=('c901a30ffb44715adc85ec43a9838069'
- '2a018908686a23ee12b3e7b5d104c929'
+ 'cc057ecdfc5f0d629d13f6b2999ba23c'
  'c385bb47c0759cb6464e55702875b7a0')
 
 prepare() {
   sed -i -e 's/-O2/$(CFLAGS)/' makefile
-  patch -p0 -i macro.h.patch
+# fix integer overflow on 64 bits
+  patch -p1 -i int32.patch
 
 # disable banner
   sed -i 's|no_banner = FALSE|no_banner = TRUE|' de.c

Added: int32.patch
===
--- int32.patch (rev 0)
+++ int32.patch 2015-01-03 23:26:20 UTC (rev 125258)
@@ -0,0 +1,37 @@
+diff -ru src/def.h c/def.h
+--- src/def.h  2007-12-06 17:30:56.0 +0100
 c/def.h2013-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: macro.h.patch
===
--- macro.h.patch   2015-01-03 23:22:39 UTC (rev 125257)
+++ macro.h.patch   2015-01-03 23:26:20 UTC (rev 125258)
@@ -1,33 +0,0 @@
 macro.h.orig   2009-05-15 04:31:26.0 -0700
-+++ macro.h2007-12-07 00:40:20.0 -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;
- 
-