Package Details: splitter 654-1

Git Clone URL: https://aur.archlinux.org/splitter.git (read-only, click to copy)
Package Base: splitter
Description: Utility for splitting OpenStreetMap maps into tiles.
Upstream URL: http://www.mkgmap.org.uk/
Licenses: GPL
Submitter: jaudet
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 6
Popularity: 0.000286
First Submitted: 2013-04-07 16:21 (UTC)
Last Updated: 2024-04-06 04:00 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

eniac commented on 2023-05-16 12:37 (UTC)

@fordprefect thanks so much

fordprefect commented on 2023-05-16 12:32 (UTC)

@eniac: Happily so, thanks for reporting!

eniac commented on 2023-05-16 11:17 (UTC)

@fordprefect Could you please change the java requirement to be >= 8 instead of = 8, as already done for mkgmap?

jose1711 commented on 2021-12-23 10:53 (UTC) (edited on 2021-12-23 10:53 (UTC) by jose1711)

@fordprefect there are two things:

  • generated shell script is missing "$@" completely (hence it cannot even accept the input file)
  • there are empty lines (cosmetics but why not)

usage of heredoc is a personal preference, yes

fordprefect commented on 2021-12-23 10:49 (UTC)

@jose: please refrain from posting diffs, instead explain the issue and your proposed fix. If I understand correctly, your issue is the missing escape of the argument passing, while the change to a here string is merely cosmetics.

jose1711 commented on 2021-12-22 15:57 (UTC)

shell wrapper is generated incorrectly. please apply:

diff --git a/PKGBUILD b/PKGBUILD
index 14fb36b..ed43349 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,10 +26,10 @@ package() {

   # Install the executable and jar file.
   mkdir -p "${pkgdir}/usr/bin"
-  echo """
+  cat <<HERE > "${pkgdir}/usr/bin/${pkgname}"
 #!/usr/bin/env sh
-java -jar /usr/share/java/splitter/splitter.jar "$@"
-""" > "${pkgdir}/usr/bin/${pkgname}"
+java -jar /usr/share/java/splitter/splitter.jar "\$@"
+HERE
   chmod a+x "${pkgdir}/usr/bin/${pkgname}"
   install -Dm644 "${pkgname}.jar" \
     "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"

fordprefect commented on 2021-07-02 09:19 (UTC)

@aurelieng: thanks, forgot the checksum update. Sorry for the inconvenience, should be fixed now (and in the future).

aurelieng commented on 2021-07-02 06:08 (UTC)

Looks like the the sha256sum of splitter-r615.zip is 829ec1a11ba0be6966692ed32d0c81637a687856ee404af6707a4f2d86a74c1a, and not 1c30555884552d4d99f67639d56f2655e2f407776303e5b7efad6e6c8f304253. The PKGBUILD may have to be updated?

jaudet commented on 2021-05-29 15:15 (UTC) (edited on 2021-05-29 15:16 (UTC) by jaudet)

Upstream removes old versions shortly after a new version is released, and splitter 602 has been released. That's the cause of the HTTP 404. Bumping pkgver should be sufficient to fix this issue.

dreieck commented on 2021-05-29 10:07 (UTC)

Source fails to download:

  -> Downloading splitter-r598.zip...
--2021-05-29 12:04:11--  http://www.mkgmap.org.uk/download/splitter-r598.zip
Resolving www.mkgmap.org.uk (www.mkgmap.org.uk)... 2001:41c8:51:452:feff:ff:fe00:35d3, 213.138.109.82
Connecting to www.mkgmap.org.uk (www.mkgmap.org.uk)|2001:41c8:51:452:feff:ff:fe00:35d3|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.mkgmap.org.uk/download/splitter-r598.zip [following]
--2021-05-29 12:04:11--  https://www.mkgmap.org.uk/download/splitter-r598.zip
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Connecting to www.mkgmap.org.uk (www.mkgmap.org.uk)|2001:41c8:51:452:feff:ff:fe00:35d3|:443... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
2021-05-29 12:04:11 ERROR 404: NOT FOUND.

==> ERROR: Failure while downloading http://www.mkgmap.org.uk/download/splitter-r598.zip
    Aborting...

Thanks for maintaining!