Package Details: cgoban3 3.5.20-3

Git Clone URL: https://aur.archlinux.org/cgoban3.git (read-only)
Package Base: cgoban3
Description: Kiseido Go and SGF client
Upstream URL: http://gokgs.com/
Licenses: Freeware
Submitter: SkizoRutabaga
Maintainer: dysphoria
Last Packager: dysphoria
Votes: 52
Popularity: 0.936004
First Submitted: 2007-06-12 12:37
Last Updated: 2016-08-10 05:06

Latest Comments

drowland commented on 2016-07-21 15:57

Got errors building this package today. makepkg automatically starts extracting the jre file and then bsdtar fails with a "Can't replace existing directory with non-directory" (not quite sure why).

Adding the following line after the "source=(...)" section fixed the problem for me and probably makes sense, since the jar file is only going to be copied over anyway:
noextract=('cgoban.jar')

SkizoRutabaga commented on 2015-01-18 21:24

Hi everyone,

thank you for helping me out on maintaining this package. Lately I did not have enough time to rebuild, which means it's time for me to pass it to someone else.

Cheers !

xyproto commented on 2015-01-17 21:43

Yes, please change "build()" to "package()".

Schmeidenbacher commented on 2015-01-11 13:30

@Xiaoming94:

As a quick fix: You just need to open the PKGBUILD and rename the build() function into package().

This package does basicaly only download it's sources and package them directly anyway. There is no real build-step.

But yes, this package should be updated.

Schmeidenbacher commented on 2015-01-11 13:28

@Xiaoming94

As a quick fix: In this case you just need to edit the PKGBUILD and rename the build() function to package().

Since in th is packages case it actually only directly packages what it downloaded anyway. There is no build step with it.

But yes, the package should be updated.

Xiaoming94 commented on 2015-01-10 21:51

Really need to patch the PKGBUILD, Can't even build this package since I package() is missing

Rhinoceros commented on 2014-12-27 14:23

Builds and installs fine, but I still get the following warning, despite the earlier comments.

==> WARNING: Using a PKGBUILD without a package() function is deprecated.

Rhinoceros commented on 2014-12-27 14:23

Builds and installs fine, but I still get the following error, despite the earlier comments.

==> WARNING: Using a PKGBUILD without a package() function is deprecated.

SkizoRutabaga commented on 2014-11-06 11:34

I'll push the update soon. Thanks for pointing it out.

mocramis commented on 2014-11-05 20:11

Indeed. Also the current cgoban installe does not pass checksums (since it downloads the jar from the official website which has probably been updated).

Kolibry commented on 2014-11-04 06:59

Hey :)

New cgoban version (3.5.19) is out, and with it the stone sound is back :)

Reventlov commented on 2014-07-21 12:48

Hello. Could you add ttf-dejavu (for example) as a dependency ? If you don't have one required fonts on your system, you'll get a error at launch:

http://pastebin.archlinux.fr/523832

Installing ttf-dejavu fixed that (but it could be by another font, I guess).

SkizoRutabaga commented on 2014-05-07 19:22

Thanks for all the comments and help to maintain this package.

SkizoRutabaga commented on 2014-03-30 14:35

Hi,

thank you for this contribution. I'm away from my computer for a while. I will add your modification as soon as possible.

garyvdm commented on 2014-03-28 08:14

Whenever I upgrade, I get a md5sums valadation error. This is becaues the source jar file allways has the same name for different versions. Then if you have a old version in your source cache, makepkg does not download the new version. I then have to manaully rm the old version from the source cache.

This can easily be fixed by specifing the name of the source file when downloaded, like this:

source=(cgoban-$pkgver.jar::http://files.gokgs.com/javaBin/cgoban.jar "

Here is a complete PKGBUILD that fixes this issue: http://fpaste.org/89443/. Please will you consider using this.

garyvdm commented on 2014-03-28 08:08

Whenever I upgrade, I get a md5sums valadation error. This is becaues the source jar file allways has the same name for different versions. Then if you have a old version in your source cache, makepkg does not download the new version. I then have to manaully rm the old version from the source cache.

This can easily be fixed by specifing the name of the source file when downloaded, like this:

source=(cgoban-$pkgver.jar::http://files.gokgs.com/javaBin/cgoban.jar "

Here is a complete PKGBUILD that fixes this issue: http://fpaste.org/89441/. Please will you consider using this.

hickop commented on 2014-02-17 16:10

You need to remove /pkg in install lines.

SkizoRutabaga commented on 2014-02-05 11:54

Sorry for the low reactivity on this maintainance.

I integrated Schmeidenbacher's patch. Thanks for the contribution.

Kolibry commented on 2014-02-05 11:46

Then installation went right, but there was no cgoban package for me after. Schmeidenbacher's patch solved the issue. Thanks.

MoonSwan commented on 2014-02-05 01:24

Many thanks to SkizoRutabaga for maintaining this package. Many thanks as well to Schmeidenbacher whose efforts allowed me to compile cgoban properly. I was getting an error that the JAR file wasn't passing an error check.

Schmeidenbacher commented on 2014-02-01 19:10

You should just run namcap against the PKGBUILD as it will tell you about any formal error in it.

I had to add the following patch to the PKGBUILD since it was complaining during the build that it couldn't stat src/cgoban.jar. It also changes the build function to the package function to get rid of the "WARNING: Using a PKGBUILD without a package() function is deprecated."
Same goes for $startdir/pkg, that is also deprecated and should be $pkgdir, as namcap would also inform you off.

Seems like you reintroduced an earlier version of your PKGBUILD, since your comments state that you changed some of it a while ago.


--- /dev/fd/63 2014-02-01 19:47:17.566769437 +0100
+++ PKGBUILD 2014-02-01 19:45:35.211210771 +0100
@@ -18,11 +18,11 @@
'05251c9ce7d768f74a96f3a616213af2'
'86d0258f323c6312d57dd41af87f3529')

-build() {
- cd $startdir
- install -D -m644 src/cgoban.jar $startdir/pkg/usr/share/java/cgoban3/cgoban.jar
- install -D -m644 src/cgoban3.desktop $startdir/pkg/usr/share/applications/cgoban3.desktop
- install -D -m644 src/cgoban3-edit.desktop $startdir/pkg/usr/share/applications/cgoban3-edit.desktop
- install -D -m644 src/cgoban3.png $startdir/pkg/usr/share/pixmaps/cgoban3.png
- install -D -m755 src/cgoban3 $startdir/pkg/usr/bin/cgoban3
+package() {
+ cd $srcdir
+ install -D -m644 cgoban.jar $pkgdir/usr/share/java/cgoban3/cgoban.jar
+ install -D -m644 cgoban3.desktop $pkgdir/usr/share/applications/cgoban3.desktop
+ install -D -m644 cgoban3-edit.desktop $pkgdir/usr/share/applications/cgoban3-edit.desktop
+ install -D -m644 cgoban3.png $pkgdir/usr/share/pixmaps/cgoban3.png
+ install -D -m755 cgoban3 $pkgdir/usr/bin/cgoban3
}

Schmeidenbacher commented on 2014-02-01 19:09

You should just run namcap against the PKGBUILD as it will tell you about any

I had to add the following patch to the PKGBUILD since it was complaining during the build that it couldn't stat src/cgoban.jar. It also changes the build function to the package function to get rid of the "WARNING: Using a PKGBUILD without a package() function is deprecated."
Same goes for $startdir/pkg, that is also deprecated and should be $pkgdir, as namcap would also inform you off.

Seems like you reintroduced an earlier version of your PKGBUILD, since your comments state that you changed some of it a while ago.


--- /dev/fd/63 2014-02-01 19:47:17.566769437 +0100
+++ PKGBUILD 2014-02-01 19:45:35.211210771 +0100
@@ -18,11 +18,11 @@
'05251c9ce7d768f74a96f3a616213af2'
'86d0258f323c6312d57dd41af87f3529')

-build() {
- cd $startdir
- install -D -m644 src/cgoban.jar $startdir/pkg/usr/share/java/cgoban3/cgoban.jar
- install -D -m644 src/cgoban3.desktop $startdir/pkg/usr/share/applications/cgoban3.desktop
- install -D -m644 src/cgoban3-edit.desktop $startdir/pkg/usr/share/applications/cgoban3-edit.desktop
- install -D -m644 src/cgoban3.png $startdir/pkg/usr/share/pixmaps/cgoban3.png
- install -D -m755 src/cgoban3 $startdir/pkg/usr/bin/cgoban3
+package() {
+ cd $srcdir
+ install -D -m644 cgoban.jar $pkgdir/usr/share/java/cgoban3/cgoban.jar
+ install -D -m644 cgoban3.desktop $pkgdir/usr/share/applications/cgoban3.desktop
+ install -D -m644 cgoban3-edit.desktop $pkgdir/usr/share/applications/cgoban3-edit.desktop
+ install -D -m644 cgoban3.png $pkgdir/usr/share/pixmaps/cgoban3.png
+ install -D -m755 cgoban3 $pkgdir/usr/bin/cgoban3
}

SkizoRutabaga commented on 2014-02-01 09:10

Upgraded to 3.5.11

mengde commented on 2014-01-31 21:20

cgoban.jar validation fails

neariot commented on 2014-01-19 04:32

It is 3.5.11 now

SkizoRutabaga commented on 2013-05-20 07:25

- Changing "build()" to "package()" functions.
- Correcting the path in files installation

Nobus commented on 2013-05-18 06:00

You should change lines in you PKBUILD exactly as psi.neamf proposed (i.e.
"install -D -m644 $srcdir/cgoban.jar $pkgdir/usr/share/java/cgoban3/cgoban.jar" instead of
"install -D -m644 $srcdir/cgoban.jar $startdir/pkg/usr/share/java/cgoban3/cgoban.jar").

Nobus commented on 2013-05-14 16:53

ver.3.5.10-2 builds an empty package.

SkizoRutabaga commented on 2013-05-14 07:02

Thanks to psi.neamf for the correction in the PKGBUILD

psi.neamf commented on 2013-04-30 12:19

build() {
cd $startdir
install -D -m644 $srcdir/cgoban.jar $pkgdir/usr/share/java/cgoban3/cgoban.jar
install -D -m644 $srcdir/cgoban3.desktop $pkgdir/usr/share/applications/cgoban3.desktop
install -D -m644 $srcdir/cgoban3-edit.desktop $pkgdir/usr/share/applications/cgoban3-edit.desktop
install -D -m644 $srcdir/cgoban3.png $pkgdir/usr/share/pixmaps/cgoban3.png
install -D -m755 $srcdir/cgoban3 $pkgdir/usr/bin/cgoban3
}

psi.neamf commented on 2013-04-30 12:19

pkgname=cgoban3
pkgver=3.5.10
pkgrel=1
pkgdesc="Kiseido Go and SGF client"
url="http://gokgs.com/"
arch=('any')
license=('Freeware')
depends=(desktop-file-utils java-runtime bash)
install=cgoban3.install
source=(http://files.gokgs.com/javaBin/cgoban.jar cgoban3 cgoban3.desktop cgoban3.png cgoban3-edit.desktop)
noextract=(cgoban.jar)
md5sums=('e3b6407af0b15e93910b00ad4d0fd2ef'
'cc94fcad196a647d9eee76aed13731f9'
'44003f5d37bc1f461ce4302264c1787d'
'05251c9ce7d768f74a96f3a616213af2'
'86d0258f323c6312d57dd41af87f3529')

build() {
cd $startdir
install -D -m644 $srcdir/cgoban.jar $pkgdir/usr/share/java/cgoban3/cgoban.jar
install -D -m644 $srcdir/cgoban3.desktop $pkgdir/usr/share/applications/cgoban3.desktop
install -D -m644 $srcdir/cgoban3-edit.desktop $pkgdir/usr/share/applications/cgoban3-edit.desktop
install -D -m644 $srcdir/cgoban3.png $pkgdir/usr/share/pixmaps/cgoban3.png
install -D -m755 $srcdir/cgoban3 $pkgdir/usr/bin/cgoban3
}

ArchFwin commented on 2012-12-07 18:37

For the four install lines, the directory should be of the form "$srcdir/cgoban.jar" rather than "src/cgoban.jar".

SkizoRutabaga commented on 2012-04-04 20:45

v3.5.10
Sorry for the delay on this update

solstice commented on 2012-03-19 21:28

java-environment is not a needed depends. the package only need java-runtime

java-environment gives the jdk to compile java code
java-runtime only gives the jre to run java byte-compiled code

hickop commented on 2012-03-12 14:07

3.5.9 PKGBUILD:
http://pastie.org/3577782

SkizoRutabaga commented on 2012-02-26 18:44

new release : 3.5.8

Fandekasp commented on 2012-02-23 02:10

btw is your build() up to date ? you're trying to install a src/cgoban3.png file when the jnlp executable installs a images/cgobanIcon.jpg one. Don't know either where the .desktop files come from (trying to do a similar package for gopanda)

Anonymous comment on 2012-02-22 23:54

new version came out, please update checksums

hickop commented on 2012-01-24 22:57

If you have sound problems with cgoban3 (like no stone sound) install jre6 from AUR and remove 'java-environment' dependency in PKGBUILD. Use 'aoss cgoban3' (alsa-oss package) If you use alsa, or 'padsp' for pulseaudio (not tested).

solstice commented on 2011-11-30 14:57

shouldn't this package depends on java-runtime instead of java-environment ?

SkizoRutabaga commented on 2011-11-08 07:54

New release.
namcap is OK with this package now, except for :

cgoban3 E: Freeware is not a common license (it's not in /usr/share/licenses/common/)

as this software is - very sadly - a freeware.

Thanks for your comments

Anonymous comment on 2011-11-08 02:42

I got these warnings and errors when I ran namcap on the package:

cgoban3 W: No ELF files and not an "any" package
cgoban3 W: Dependency 'sh' on your system is a testing release # no idea what this means
cgoban3 E: Freeware is not a common license (it's not in /usr/share/licenses/common/)
cgoban3 E: Mime type handler found. Add "update-desktop-database -q" to the install file
cgoban3 E: Dependency java-environment detected and not included (found class files usr/share/java/cgoban3/cgoban.jar)
cgoban3 E: Dependency desktop-file-utils detected and not included (needed for update-desktop-database)
cgoban3 W: Dependency included and not needed ('java-runtime')

hickop commented on 2011-09-01 20:26

as anyone made sound to work with openjdk please ? I'm using alsa as output but even with aoss it does not output anything in cgoban3 ...

Anonymous comment on 2011-08-02 06:46

Yeah I've heard that before, but I use iBus and no SCIM, and even after uninstalling iBus nothing changes.

SkizoRutabaga commented on 2011-07-31 15:41

Sometimes, using SCIM (for chinese or japanese writing) conflicts somehow with KGS and you can't enter any text.
The workaround is to shutdown SCIM before launching the KGS client.

Anonymous comment on 2011-07-30 11:36

...but downgrading to jdk/jre 6.x turned things back to normal.

Anonymous comment on 2011-07-29 13:28

I can no longer enter any text (probably since the pacman upgrade to jdk/jre 7.2).

SkizoRutabaga commented on 2011-06-03 05:13

Updated to 3.5.0
Changelog : http://files.gokgs.com/changeLog.txt

SkizoRutabaga commented on 2011-04-18 06:41

Updated.

hickop commented on 2011-04-14 13:08

3.4.15 version actually
cgoban.jar md5sum : 9be78c9504bbf4ec45cbf0988f1026e3

SkizoRutabaga commented on 2011-02-21 12:42

v3.4.6. Changelog : http://files.gokgs.com/changeLog.txt

SkizoRutabaga commented on 2010-12-07 09:31

It makes more sense to me now. Thanks

Anonymous comment on 2010-12-07 03:45

That was a post by a bot keenard unleashed on the AUR. See http://mailman.archlinux.org/pipermail/aur-general/2010-December/012164.html

SkizoRutabaga commented on 2010-12-06 22:29

I get your point. I'll see if the developper of cgoban3 is OK with that or if I should include his hideous icon.
If I can't get in touch with him, I'll remove th cgoban3.png

Anonymous comment on 2010-12-06 04:49

I found some issues with your tarball. Binaries are usually frowned upon. Such as:
cgoban3/cgoban3.png
"Just an icon" you say, but maybe you should ask upstream to include it. Thank you.

Anonymous comment on 2010-06-05 07:33

I didn't turn on notifications so missed your responses... using $sourcedir is
frowned on, unless you have a good reason. Use "cd $srcdir" instead at the
beginning. With install use "$pkgdir".

SkizoRutabaga commented on 2010-04-06 09:01

And release 3.4.5 is out

SkizoRutabaga commented on 2010-04-02 07:01

Thanks for the the comments. Sadly, I was not quick enough to catch your pastebin link.

So, new package :
- adding sh dependancy
- updating to cgoban 3.4.4
- removing java-enironment dependency

I can't find any english license web page on the server. It's definitely Freeware, that's sure (ie. free as in beer), but no formal license ...

Thanks for the contribution.

SkizoRutabaga commented on 2010-04-02 06:58

Thanks for the the comments. Sadly, I was not quick enough to catch your pastebin link.

So, new package :
- adding sh dependancy
- updating to cgoban 3.4.4

I can't find any english license web page on the server. It's definitely Freeware, that's sure (ie. free as in beer)

Anonymous comment on 2010-03-30 09:29

Your PKGBUILD is out of date and also has some problems namcap will complain about. Here is an updated version with what fixes were easy enough. KGS does not seem to display the license for their client anywhere, so maybe someone should try contacting the author or some admins to figure it out.

http://pasteit.ghost1227.com/615