Package Base Details: minecraft-overviewer

Git Clone URL: https://aur.archlinux.org/minecraft-overviewer.git (read-only, click to copy)
Submitter: Buce
Maintainer: Mr.Smith1974
Last Packager: Mr.Smith1974
Votes: 15
Popularity: 0.002607
First Submitted: 2013-09-10 18:07 (UTC)
Last Updated: 2023-06-05 11:18 (UTC)

Latest Comments

schard commented on 2023-05-15 00:24 (UTC)

To build the latest release, you can update the PKGBUILD like so:

diff --git a/PKGBUILD b/PKGBUILD
index 6c8461d..7320ea8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@

 _pkgname=Minecraft-Overviewer
 pkgname=(${_pkgname,,} ${_pkgname,,}-docs)
-pkgver=0.19.9
-_gitcommit=6ffbe0f0beee56288fabce4db8d1838e42bac160
+pkgver=0.19.10
+_gitcommit=13c1bddaf65dfaaf6c4c7a396c94db75bed4c089
 pkgrel=1
 pkgdesc="Render large resolution images of a Minecraft map with a web UI"
 arch=('x86_64')
@@ -15,10 +15,11 @@ license=('GPL3')
 depends=('python' 'python-pillow' 'python-numpy')
 makedepends=('python-sphinx')
 source=("$url/archive/$_gitcommit.tar.gz")
-b2sums=('4a1252c2bd60cd997ee6870ffd4cbd996fd0e31b5f6cac8b9b837172e258c16834d5842d7bf1fa3e92224445a021c04c0e5bca3a2d12de199103c3faecd30b83')
+b2sums=('a6cb7cbede8cbc9885c8ac0eb345d314bc772c5e50562b9bc4d9f12689c6ac62907cc23ed1472f79f12b91ef71f9eff560391e5318c7d97299ee2518e691694e')

 build() {
        cd "${_pkgname}-$_gitcommit"
+       sed -i "s/            return \"unknown\"/            return \"${pkgver}\"/g" overviewer_core/util.py
        python setup.py build

        cd ./docs

khenderick commented on 2023-03-05 13:39 (UTC) (edited on 2023-03-05 13:39 (UTC) by khenderick)

For build errors regarding the unknown version; Edit the PKGBUILD file, and place following snippet right below cd "${_pkgname}-$_gitcommit":

sed -i "s/            return \"unknown\"/            return \"${pkgver}\"/g" overviewer_core/util.py

schard commented on 2021-11-13 13:34 (UTC)

For anybody else rendering a 1.17+ server with this: The rendering of textures for 1.17+ servers as described here [1] does not work with 0.17.34, but with 0.17.39, i.e. the current release. You can just update the version in the PKGBUILD, run updpkgsums and build the package in order to have a working renderer for 1.17+ textures.

[1] https://docs.overviewer.org/en/latest/running/#installing-the-textures

fryfrog commented on 2019-11-15 21:08 (UTC) (edited on 2019-11-15 21:11 (UTC) by fryfrog)

Trying to run this after the Python 3.8 update and the update to this package, I'm getting this. Looking into it, but maybe someone else is too?

0 ✓ fryfrog@apollo ~ $ sudo -u http overviewer.py -c /etc/overviewer/minecraft.conf -p 16
2019-11-15 13:07:41 E Error parsing '/etc/overviewer/minecraft.conf'.
2019-11-15 13:07:41 E The traceback below will tell you which line triggered the error.

2019-11-15 13:07:41 E Partial traceback:
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/overviewer_core/config_parser.py", line 85, in parse
    exec(compile(settings_file_handle.read(), settings_file, 'exec'),
  File "/etc/overviewer/minecraft.conf", line 2, in <module>
    from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/python3.8/cgi.py)

Edit: In my minecraft.conf I just changed changed cgi to html, resulting in from html import escape. :)

Buce commented on 2015-10-15 17:46 (UTC)

Great, thanks! I've transferred ownership of the -git package to you as well.

chungy commented on 2015-10-15 06:40 (UTC)

Wow, thanks. Yeah, I think the -git package would be good too. Usually makes things to stay in sync.

Buce commented on 2015-10-13 14:52 (UTC)

@chungy: I'm not sure putting the docs in a separate package is worth it, but regardless, I haven't used this package in a while so I've transferred ownership to you. Do whatever you wish with it. Let me know if you'd also like the -git package.

chungy commented on 2015-10-12 09:39 (UTC)

It's a bit pointless to have a dependency on git for building when you can use the release tarball. I would get rid of it. Actually, I came to this page specifically because I edited the PKGBUILD to avoid it. I also split the package so that -docs is built as well, and would appreciate if you look at and incorporate these changes: https://github.com/chungy/minecraft-overviewer

Buce commented on 2015-01-17 16:24 (UTC)

@ImNtReal: It's slightly easier to maintain this PKGBUILD and the -git one when the sources are similar. Is there a reason I should use the release tarball instead?

ImNtReal commented on 2015-01-17 02:56 (UTC)

Why are you using git on this version of the package, instead of just pulling down the release tarball?