-
Notifications
You must be signed in to change notification settings - Fork 70
Add fuseki and gnugo #949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add fuseki and gnugo #949
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
71693a9
Building actually needs 3.11 now
palfrey b809aa6
Add fuseki package
palfrey fb843d3
Set gnugo path
palfrey a210bc9
Split out gnugo
palfrey 7d2c610
Redo first autoreconf as separate working commands
palfrey 942c3c5
Merge branch 'testing' into package/fuseki
Eeems 71fabb8
Fuseki 0.1.0
palfrey 02a2286
Merge branch 'package/fuseki' of github.com:palfrey/toltec into packa…
palfrey 8f21eb2
Move icon to /opt/etc
palfrey f63c5ce
Use toltec fuseki.draft, not upstream
palfrey 3e7863d
Change permissions for fuseki.png installation
Eeems File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #!/bin/bash | ||
| export GNUGO_BINARY=/opt/bin/gnugo | ||
| /opt/bin/fuseki |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name=fuseki | ||
| desc=Play go | ||
| call=/opt/bin/fuseki-runner | ||
Eeems marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| term=killall fuseki | ||
| imgFile=fuseki | ||
Eeems marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025 The Toltec Contributors | ||
| # SPDX-License-Identifier: MIT | ||
|
|
||
| pkgnames=(fuseki) | ||
Eeems marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| pkgdesc="Go frontend using GnuGo" | ||
| url="https://github.com/palfrey/fuseki" | ||
| pkgver=0.1.0-1 | ||
| timestamp=2025-08-25T16:56+0100 | ||
| section=games | ||
| maintainer="Tom Parker-Shemilt <palfrey@tevps.net>" | ||
| license=AGPL-3.0-or-later | ||
| image=rust:v3.3 | ||
| source=( | ||
| https://github.com/palfrey/fuseki/archive/refs/tags/${pkgver%-*}.zip | ||
| fuseki-runner.draft | ||
| fuseki-runner | ||
| ) | ||
| sha256sums=( | ||
| df80c15531ac5bcd18e1af684443454ba29dddacc157c24e0db0eb88e37176d0 | ||
| SKIP | ||
| SKIP | ||
| ) | ||
|
|
||
| installdepends=("gnugo") | ||
|
|
||
| build() { | ||
| cargo build --release | ||
| } | ||
|
|
||
| package() { | ||
| install -D -m 755 "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/fuseki "$pkgdir"/opt/bin/fuseki | ||
| install -D -m 644 "$srcdir"/fuseki-runner.draft "$pkgdir"/opt/etc/draft/fuseki.draft | ||
| install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/fuseki-runner | ||
| install -D -m 644 "$srcdir"/fuseki.png "$pkgdir"/opt/etc/draft/icons/fuseki.png | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025 The Toltec Contributors | ||
| # SPDX-License-Identifier: MIT | ||
|
|
||
| pkgnames=(gnugo) | ||
| pkgdesc="Program that plays the game of Go" | ||
| url="https://www.gnu.org/software/gnugo/" | ||
| pkgver=3.8.0-1 | ||
| timestamp=2025-08-25T16:56+0100 | ||
| section=games | ||
| maintainer="Tom Parker-Shemilt <palfrey@tevps.net>" | ||
| license=GPL-3.0-only | ||
| image=base:v3.1 | ||
| source=( | ||
| https://github.com/palfrey/gnugo/archive/51f99b7a00b7acf295475b56c349c857a9aa2d0e.zip | ||
| ) | ||
| sha256sums=( | ||
| 2624c57641c7cb28699df693c6da65f6d192f9867554fcfcf830b17db851a702 | ||
| ) | ||
|
|
||
| makedepends=("build:autoconf" "build:automake") | ||
|
|
||
| build() { | ||
| aclocal | ||
| autoheader | ||
| automake --add-missing --copy | ||
| autoreconf | ||
| CFLAGS="-O2 -flto=auto" LDFLAGS="-O2 -flto=auto" ./configure --host arm-remarkable-linux-gnueabihf --build x86_64-linux-gnu --without-curses --without-docs | ||
| make | ||
| } | ||
|
|
||
| package() { | ||
| install -D -m 755 "$srcdir"/interface/gnugo "$pkgdir"/opt/bin/gnugo | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.