[arch-commits] Commit in meataxe/trunk (PKGBUILD)
Date: Saturday, September 16, 2017 @ 08:52:29 Author: arojas Revision: 257751 Fix checksums (FS#55647) Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-09-16 08:38:02 UTC (rev 257750) +++ PKGBUILD2017-09-16 08:52:29 UTC (rev 257751) @@ -19,7 +19,7 @@ meataxe-shared.patch) sha256sums=('c3b131218d293c6a68620cafe5da589241f157cd07887e491e7720ba4b469dd1' 'a0c2141d7741326a304c15a15d621215ec7275d84954cde53e34eac873e56eaa' -'375994fef68cf4a4a75a7e016990c1c7268f187298f7702e590d10b7a6422f07' +'b49c32eb1836f13a3c348cf56bff790f78a73e349e70e2172f60a949f17c28df' '4c7538a55bb0f29b7d95601f6fae408b1742db5aa9954cab22cdd01d8042a272' 'a36b4e966fcbe6ac63216538038ef45391d44029894f386803d858f8fe32a39c' '4c4d2cbec389ed561af10a5558eea87b6f301f8db96e44c06a8ca54a7709f6fd'
[arch-commits] Commit in meataxe/trunk (PKGBUILD)
Date: Friday, September 15, 2017 @ 21:59:16 Author: arojas Revision: 257735 Revert unintended changes Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD | 12 1 file changed, 4 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-09-15 21:56:38 UTC (rev 257734) +++ PKGBUILD2017-09-15 21:59:16 UTC (rev 257735) @@ -12,7 +12,7 @@ #source=("http://www.math.rwth-aachen.de/~MTX/$pkgname-$pkgver.tar.gz;) source=("http://mirrors.mit.edu/sage/spkg/upstream/meataxe/meataxe-$pkgver.tar.gz; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch; - "StrassenWinogradImplementation.patch" + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradImplementation.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch; @@ -26,25 +26,21 @@ 'aa05e4b235c078ce1d7807ae7320986f56fa6e38033c21328ac298a6e44df411') prepare() { - sed -e 's|#ifdef ASM_MMX|#if 0|g' -i StrassenWinogradImplementation.patch # workaround segfaults - cd $pkgname-$pkgver -# for _patch in IO_fixes StrassenWinogradImplementation; do for _patch in IO_fixes StrassenWinogradImplementation StrassenWinogradUsage TweakEchelon UseErrorPropagation; do patch -p1 -i ../$_patch.patch done - patch -p0 -i ../meataxe-shared.patch # build shared lib - cp src/kernel-{0,1}.c + patch -p0 -i ../meataxe-shared.patch # build shared lib (Fedora) } build() { cd $pkgname-$pkgver - export ZZZ=1 + export ZZZ=0 export MTXLIB="$HOME/.local/share/meataxe" export MTXBIN=/usr/bin touch Makefile.conf - make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS" -j1 + make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS" } package() {
[arch-commits] Commit in meataxe/trunk (PKGBUILD meataxe-shared.patch)
Date: Friday, September 15, 2017 @ 21:56:14 Author: arojas Revision: 257733 Add missing patch (FS#55643) Added: meataxe/trunk/meataxe-shared.patch Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD | 13 +--- meataxe-shared.patch | 77 + 2 files changed, 85 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-09-15 21:23:43 UTC (rev 257732) +++ PKGBUILD2017-09-15 21:56:14 UTC (rev 257733) @@ -12,7 +12,7 @@ #source=("http://www.math.rwth-aachen.de/~MTX/$pkgname-$pkgver.tar.gz;) source=("http://mirrors.mit.edu/sage/spkg/upstream/meataxe/meataxe-$pkgver.tar.gz; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch; - "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradImplementation.patch; + "StrassenWinogradImplementation.patch" "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch; @@ -19,7 +19,7 @@ meataxe-shared.patch) sha256sums=('c3b131218d293c6a68620cafe5da589241f157cd07887e491e7720ba4b469dd1' 'a0c2141d7741326a304c15a15d621215ec7275d84954cde53e34eac873e56eaa' -'b49c32eb1836f13a3c348cf56bff790f78a73e349e70e2172f60a949f17c28df' +'375994fef68cf4a4a75a7e016990c1c7268f187298f7702e590d10b7a6422f07' '4c7538a55bb0f29b7d95601f6fae408b1742db5aa9954cab22cdd01d8042a272' 'a36b4e966fcbe6ac63216538038ef45391d44029894f386803d858f8fe32a39c' '4c4d2cbec389ed561af10a5558eea87b6f301f8db96e44c06a8ca54a7709f6fd' @@ -26,22 +26,25 @@ 'aa05e4b235c078ce1d7807ae7320986f56fa6e38033c21328ac298a6e44df411') prepare() { + sed -e 's|#ifdef ASM_MMX|#if 0|g' -i StrassenWinogradImplementation.patch # workaround segfaults + cd $pkgname-$pkgver -# for _patch in IO_fixes; do +# for _patch in IO_fixes StrassenWinogradImplementation; do for _patch in IO_fixes StrassenWinogradImplementation StrassenWinogradUsage TweakEchelon UseErrorPropagation; do patch -p1 -i ../$_patch.patch done patch -p0 -i ../meataxe-shared.patch # build shared lib + cp src/kernel-{0,1}.c } build() { cd $pkgname-$pkgver - export ZZZ=0 + export ZZZ=1 export MTXLIB="$HOME/.local/share/meataxe" export MTXBIN=/usr/bin touch Makefile.conf - make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS" + make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS" -j1 } package() { Added: meataxe-shared.patch === --- meataxe-shared.patch(rev 0) +++ meataxe-shared.patch2017-09-15 21:56:14 UTC (rev 257733) @@ -0,0 +1,77 @@ +--- Makefile.orig 2011-11-28 14:15:16.0 -0700 Makefile 2012-01-04 14:53:06.575685168 -0700 +@@ -1,7 +1,9 @@ + include Makefile.conf + +-CFLAGS=$(CFLAGS1) -Itmp ++CFLAGS=$(CFLAGS1) -Itmp -DMTXLIB=\"$(MTXLIB)\" -DMTXBIN=\"$(MTXBIN)\" -DZZZ=$(ZZZ) + LFLAGS=$(LFLAGS1) ++VERSION= ++MAJVER=$(shell cut -d. -f1 - <<<$(VERSION)) + + PROGRAMS = \ + cfcomp checksum chop decomp genmod mkcycl mkdotl mkgraph mkhom mkhom_old\ +@@ -22,7 +24,7 @@ + + tmp/%.o: tmp/mk.dir src/%.c src/meataxe.h tmp/config.h + @echo "Compiling $*.c" +- @$(CC) $(CFLAGS) -c src/$*.c -o $@ ++ @$(CC) $(CFLAGS) -fPIC -c src/$*.c -o $@ + + tmp/mk.dir: + mkdir -p tmp +@@ -36,9 +38,9 @@ + # Link programs + # -- + +-bin/%: bin/mk.dir tmp/%.o tmp/libmtx.a ++bin/%: bin/mk.dir src/%.c tmp/libmtx.so + @echo "Linking $@" +- @$(CC) $(LFLAGS) -o $@ tmp/$*.o tmp/libmtx.a ++ @$(CC) $(CFLAGS) $(LFLAGS) -o $@ src/$*.c -L tmp -lmtx + + + # -- +@@ -97,6 +99,12 @@ + @rm -f $@ + @ar r $@ $(LIB_OBJS:%=tmp/%.o) + ++tmp/libmtx.so: $(LIB_OBJS:%=tmp/%.o) ++ @echo "Creating $@" ++ @rm -f $@ ++ @$(CC) $(LFLAGS) -o $@ -shared \ ++ -Wl,--soname=libmtx.so $^ ++ + + # -- + # Test suite +@@ -108,11 +118,11 @@ + c-os c-perm c-poly c-pseed c-quot c-random \ + c-sets c-stf c-tensor + +-TS_OBJS=tmp/zzztest.o $(TS_OBJS1:%=tmp/%.o) tmp/libmtx.a ++TS_OBJS=tmp/zzztest.o $(TS_OBJS1:%=tmp/%.o) + +-bin/zzztest: bin/mk.dir $(TS_OBJS) ++bin/zzztest: bin/mk.dir $(TS_OBJS) tmp/libmtx.so + @echo "Linking $@" +- @$(CC) $(CFLAGS) -o $@ $(TS_OBJS) ++ @$(CC) $(CFLAGS) -o $@ $(TS_OBJS) -L tmp -lmtx + + bin/checksum: bin/mk.dir tmp/checksum.o + @echo "Linking $@"
[arch-commits] Commit in meataxe/trunk (PKGBUILD)
Date: Friday, September 15, 2017 @ 18:23:31 Author: arojas Revision: 257707 Build shared lib Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-09-15 17:32:17 UTC (rev 257706) +++ PKGBUILD2017-09-15 18:23:31 UTC (rev 257707) @@ -3,7 +3,7 @@ pkgname=meataxe pkgver=2.4.24 -pkgrel=5 +pkgrel=6 pkgdesc="A set of programs for working with matrix representations over finite fields" arch=(i686 x86_64) url="http://www.math.rwth-aachen.de/~MTX/; @@ -10,36 +10,38 @@ license=(GPL) depends=(glibc) #source=("http://www.math.rwth-aachen.de/~MTX/$pkgname-$pkgver.tar.gz;) -source=("https://trac.sagemath.org/raw-attachment/ticket/12103/meataxe-$pkgver.tar.gz; +source=("http://mirrors.mit.edu/sage/spkg/upstream/meataxe/meataxe-$pkgver.tar.gz; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradImplementation.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch; - "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch;) + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch; +meataxe-shared.patch) sha256sums=('c3b131218d293c6a68620cafe5da589241f157cd07887e491e7720ba4b469dd1' 'a0c2141d7741326a304c15a15d621215ec7275d84954cde53e34eac873e56eaa' 'b49c32eb1836f13a3c348cf56bff790f78a73e349e70e2172f60a949f17c28df' '4c7538a55bb0f29b7d95601f6fae408b1742db5aa9954cab22cdd01d8042a272' 'a36b4e966fcbe6ac63216538038ef45391d44029894f386803d858f8fe32a39c' -'4c4d2cbec389ed561af10a5558eea87b6f301f8db96e44c06a8ca54a7709f6fd') +'4c4d2cbec389ed561af10a5558eea87b6f301f8db96e44c06a8ca54a7709f6fd' +'aa05e4b235c078ce1d7807ae7320986f56fa6e38033c21328ac298a6e44df411') prepare() { cd $pkgname-$pkgver +# for _patch in IO_fixes; do for _patch in IO_fixes StrassenWinogradImplementation StrassenWinogradUsage TweakEchelon UseErrorPropagation; do patch -p1 -i ../$_patch.patch done + patch -p0 -i ../meataxe-shared.patch # build shared lib } build() { cd $pkgname-$pkgver - export CFLAGS1="$CFLAGS -std=gnu99 -O -Wall -fPIC" export ZZZ=0 export MTXLIB="$HOME/.local/share/meataxe" export MTXBIN=/usr/bin touch Makefile.conf - make -# make tmp/libmtx.a + make LFLAGS1="$LDFLAGS" CFLAGS1="$CFLAGS" } package() { @@ -47,7 +49,7 @@ mkdir -p "$pkgdir"/usr/{include,bin,lib,share/doc/meataxe} install -m755 bin/* "$pkgdir"/usr/bin - install -m644 tmp/libmtx.a "$pkgdir"/usr/lib + install -m644 tmp/libmtx.so "$pkgdir"/usr/lib install -m644 src/meataxe.h "$pkgdir"/usr/include install -m644 doc/* "$pkgdir"/usr/share/doc/meataxe }
[arch-commits] Commit in meataxe/trunk (PKGBUILD)
Date: Monday, July 10, 2017 @ 21:09:47 Author: arojas Revision: 243794 PIE rebuild Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-07-10 21:08:32 UTC (rev 243793) +++ PKGBUILD2017-07-10 21:09:47 UTC (rev 243794) @@ -3,7 +3,7 @@ pkgname=meataxe pkgver=2.4.24 -pkgrel=4 +pkgrel=5 pkgdesc="A set of programs for working with matrix representations over finite fields" arch=(i686 x86_64) url="http://www.math.rwth-aachen.de/~MTX/; @@ -16,12 +16,12 @@ "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch; "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch;) -md5sums=('e0f384e37a69671c73c2904e4e69dc01' - '5fbe031993c9aa0c41e6d9138748d902' - 'b2ca48d166c538daa80ef7e6646dbb97' - '6683ff2a272a3ea0e3851a3826684caf' - '2eeae8b89e018e86205140d316712a66' - 'a3831f351ca465d8dc57a922e4c52b62') +sha256sums=('c3b131218d293c6a68620cafe5da589241f157cd07887e491e7720ba4b469dd1' +'a0c2141d7741326a304c15a15d621215ec7275d84954cde53e34eac873e56eaa' +'b49c32eb1836f13a3c348cf56bff790f78a73e349e70e2172f60a949f17c28df' +'4c7538a55bb0f29b7d95601f6fae408b1742db5aa9954cab22cdd01d8042a272' +'a36b4e966fcbe6ac63216538038ef45391d44029894f386803d858f8fe32a39c' +'4c4d2cbec389ed561af10a5558eea87b6f301f8db96e44c06a8ca54a7709f6fd') prepare() { cd $pkgname-$pkgver
[arch-commits] Commit in meataxe/trunk (PKGBUILD)
Date: Tuesday, November 1, 2016 @ 21:09:36 Author: arojas Revision: 194267 Use https Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-11-01 21:08:44 UTC (rev 194266) +++ PKGBUILD2016-11-01 21:09:36 UTC (rev 194267) @@ -10,12 +10,12 @@ license=(GPL) depends=(glibc) #source=("http://www.math.rwth-aachen.de/~MTX/$pkgname-$pkgver.tar.gz;) -source=("http://trac.sagemath.org/raw-attachment/ticket/12103/meataxe-$pkgver.tar.gz; - "http://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch; - "http://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradImplementation.patch; - "http://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch; - "http://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch; - "http://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch;) +source=("https://trac.sagemath.org/raw-attachment/ticket/12103/meataxe-$pkgver.tar.gz; + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch; + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradImplementation.patch; + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/StrassenWinogradUsage.patch; + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/TweakEchelon.patch; + "https://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/UseErrorPropagation.patch;) md5sums=('e0f384e37a69671c73c2904e4e69dc01' '5fbe031993c9aa0c41e6d9138748d902' 'b2ca48d166c538daa80ef7e6646dbb97'
[arch-commits] Commit in meataxe/trunk (PKGBUILD)
Date: Monday, March 28, 2016 @ 20:41:22 Author: arojas Revision: 168716 Ship binaries Modified: meataxe/trunk/PKGBUILD --+ PKGBUILD | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-28 18:34:59 UTC (rev 168715) +++ PKGBUILD2016-03-28 18:41:22 UTC (rev 168716) @@ -3,12 +3,12 @@ pkgname=meataxe pkgver=2.4.24 -pkgrel=3 +pkgrel=4 pkgdesc="A set of programs for working with matrix representations over finite fields" arch=(i686 x86_64) url="http://www.math.rwth-aachen.de/~MTX/; license=(GPL) -depends=() +depends=(glibc) #source=("http://www.math.rwth-aachen.de/~MTX/$pkgname-$pkgver.tar.gz;) source=("http://trac.sagemath.org/raw-attachment/ticket/12103/meataxe-$pkgver.tar.gz; "http://git.sagemath.org/sage.git/plain/build/pkgs/meataxe/patches/IO_fixes.patch; @@ -35,16 +35,18 @@ export CFLAGS1="$CFLAGS -std=gnu99 -O -Wall -fPIC" export ZZZ=0 + export MTXLIB="$HOME/.local/share/meataxe" + export MTXBIN=/usr/bin touch Makefile.conf -# make - make tmp/libmtx.a + make +# make tmp/libmtx.a } package() { cd $pkgname-$pkgver - mkdir -p "$pkgdir"/usr/{include,lib,share/doc/meataxe} -# install -m755 bin/* "$pkgdir"/usr/bin + mkdir -p "$pkgdir"/usr/{include,bin,lib,share/doc/meataxe} + install -m755 bin/* "$pkgdir"/usr/bin install -m644 tmp/libmtx.a "$pkgdir"/usr/lib install -m644 src/meataxe.h "$pkgdir"/usr/include install -m644 doc/* "$pkgdir"/usr/share/doc/meataxe