Package Details: wslay 1.1.1-1

Git Clone URL: https://aur.archlinux.org/wslay.git (read-only, click to copy)
Package Base: wslay
Description: The WebSocket library in C
Upstream URL: https://github.com/tatsuhiro-t/wslay
Licenses: MIT
Submitter: atweiden
Maintainer: Cebtenzzre
Last Packager: Cebtenzzre
Votes: 6
Popularity: 0.054899
First Submitted: 2015-03-25 11:33
Last Updated: 2021-05-17 21:24

Latest Comments

Cebtenzzre commented on 2021-05-17 21:24

@deep_thought Yeah, looks like the recent update to python-sphinx 4.0.1 broke the build. Your patch helped but I had to add man_make_section_directory = False to conf.py.in to avoid this:

make[2]: *** No rule to make target 'man/wslay_event_context_client_init.3', needed by 'all-am'.  Stop.

deep_thought commented on 2021-05-17 18:51

This patch fixes it for me (no idea, if the docs really work / look the same):

--- wslay-release-1.1.1/doc/sphinx/conf.py.in   2021-05-17 20:46:23.440993958 +0200
+++ wslay-release-1.1.1/doc/sphinx/conf.py.in   2021-05-17 20:45:05.563332347 +0200
@@ -123,6 +123,8 @@
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static/default2.css']

+html_css_files = ['default2.css']
+
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
 #html_last_updated_fmt = '%b %d, %Y'
@@ -302,4 +304,4 @@
     ]

 def setup(app):
-    app.add_stylesheet('default2.css')
+    pass

deep_thought commented on 2021-05-17 18:36

Hi, this PKGBUILD worked in the past, but now I get errors in sphinx:

Making all in doc
make[2]: Entering directory '/home/erich/archlinuxewe/wslay/src/wslay-release-1.1.1/doc'
echo 

/usr/bin/sphinx-build -b man ./sphinx man
Running Sphinx v4.0.1
making output directory... done

Exception occurred:
  File "/home/erich/archlinuxewe/wslay/src/wslay-release-1.1.1/doc/sphinx/conf.py", line 305, in setup
    app.add_stylesheet('default2.css')
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
The full traceback has been saved in /tmp/sphinx-err-urotjjjh.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[2]: *** [Makefile:599: man/wslay_event_context_server_init.3] Error 2
make[2]: Leaving directory '/home/erich/archlinuxewe/wslay/src/wslay-release-1.1.1/doc'
make[1]: *** [Makefile:444: all-recursive] Error 1
make[1]: Leaving directory '/home/erich/archlinuxewe/wslay/src/wslay-release-1.1.1'
make: *** [Makefile:372: all] Error 2

seanb4t commented on 2021-05-08 19:09

This will build without modification on aarch64, just needs a PKGBUILD update

Cebtenzzre commented on 2021-01-18 17:34

@towo gcc is a member of the base-devel group. The Arch Wiki states that base-devel is assumed to be installed when building with makepkg, and that its members should not be included in makedepends or checkdepends. https://wiki.archlinux.org/index.php/PKGBUILD#makedepends

towo commented on 2021-01-18 16:43

I'd recommend adding gcc to the dependencies because it's technically needed for a build and not automatically included with the listed dependencies.

Cebtenzzre commented on 2019-03-12 00:03

@J5lx I finally got around to implementing your suggestions. Sorry for breaking the dependencies in the previous commit; that was an incorrect conclusion from my attempts to get it to work on my machine.

J5lx commented on 2019-01-28 21:02

Please replace python2-sphinx with python-sphinx in makedepends. The configure script doesn’t find the Python 2 version, causing the build to fail like this:

Making all in doc
make[2]: Entering directory '/build/wslay/src/wslay-release-1.1.0/doc'
make[2]: *** No rule to make target 'man/wslay_event_context_server_init.3', needed by 'all-am'.  Stop.
make[2]: Leaving directory '/build/wslay/src/wslay-release-1.1.0/doc'
make[1]: *** [Makefile:442: all-recursive] Error 1
make[1]: Leaving directory '/build/wslay/src/wslay-release-1.1.0'
make: *** [Makefile:370: all] Error 2

Plus, you don’t need to run automake and autoconf manually since autoreconf already does that for you. Also, optdepends is meant for dependencies that enable additional functionality at runtime. When it comes to dependencies that enable tests, you should probably place them in checkdepends instead and add a check() function to the PKGBUILD which runs the tests. Whether to install the dependencies and run the tests can then be configured using makepkg’s --(no-)check flag or the BUILDENV option in makepkg.conf.

nivardus commented on 2018-02-19 21:45

It appears that a change in nettle 3.4 broke wslay's example configuration. A patch may suffice until a new wslay release is available.

Info: https://github.com/tatsuhiro-t/wslay/pull/49 Patch: https://patch-diff.githubusercontent.com/raw/tatsuhiro-t/wslay/pull/49.patch