Package Details: weewx 5.0.2-5

Git Clone URL: https://aur.archlinux.org/weewx.git (read-only, click to copy)
Package Base: weewx
Description: Software for logging data from weather stations
Upstream URL: http://www.weewx.com/
Keywords: datalogger meteorology science weather
Licenses: GPL-3.0-or-later
Submitter: xcuipir
Maintainer: xcuipir
Last Packager: xcuipir
Votes: 7
Popularity: 0.086182
First Submitted: 2020-07-11 13:35 (UTC)
Last Updated: 2024-06-02 13:10 (UTC)

Dependencies (14)

Required by (0)

Sources (3)

Latest Comments

1 2 3 Next › Last »

xcuipir commented on 2024-04-27 20:15 (UTC)

@GeirThomassen Fix applied, thanks!

GeirThomassen commented on 2024-04-27 19:20 (UTC) (edited on 2024-04-27 21:37 (UTC) by GeirThomassen)

From the 5.0.2 change log: "Add target network-online.target to the weewx systemd unit file. This prevents weewxd from starting until the network is ready."

Here is a small patch that replaces the unit file with the one included in the weewx source code. Please check the $srcdir/$pkgbase-$pkgver statement, I have a feeling that there must be a better way to do this.

diff --git a/PKGBUILD b/PKGBUILD
index 0732a68..c43be14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,12 +27,10 @@ makedepends=("mkdocs"
              "python-configobj")
 source=("$pkgbase-$pkgver.tar.xz::$(_dl_url $_MAJOR $_MINOR $_PATCH)"
         "weewx.sysusers"
-        "weewx.tmpfiles"
-        "weewx.service")
+        "weewx.tmpfiles")
 sha512sums=('520ba2a394c91b66997969695552d9aa8ebbd440b192e0cf8064c36d6a3691a670ce431f688373cf3c51c27933180f8202793163e5a034916eec52e3e1ad3ef2'
             '6015b870143f6b8ae094b3f94ad53323be8a083f11c177dc508315fb3bbc20dd318124e6ccd41ba9d0388828e18c4b4ae6ce7c4a35ac0cab442eca9e8bbbca2d'
-            'e97b287acf53c55d30f4e1a4d533fe5c649fac44080095fa1052f6f1cc9a55b6b0592d63c63a4a241e7007894e882648d5c4c4a221da69666e284637c5a3e15e'
-            '4744fec4faf63b36f9c82a7404e4ecc749eb07e8d90640465ff7a2ae20cdb2560348b0a125467fad215d0e51d88d27a991dc0196899e53d19479dec942d6e52d')
+            'e97b287acf53c55d30f4e1a4d533fe5c649fac44080095fa1052f6f1cc9a55b6b0592d63c63a4a241e7007894e882648d5c4c4a221da69666e284637c5a3e15e')
 _watch="http://www.weewx.com/downloads/"

 build() {
@@ -129,8 +127,9 @@ package_weewx() {
     "src/weewx_data/weewx.conf" > "$etcdir/weewx.conf"
   chmod 644 "$etcdir/weewx.conf"

-  echo "Creating systemd unit"
-  install -Dm644 "$srcdir/weewx.service" "$unitdir/weewx.service"
+  echo "Creating systemd units"
+  install -Dm644 "$srcdir/$pkgbase-$pkgver/pkg/etc/systemd/system/weewx.service" "$unitdir/weewx.service"
+  install -Dm644 "$srcdir/$pkgbase-$pkgver/pkg/etc/systemd/system/weewx@.service" "$unitdir/weewx@.service"

   echo "Creating system user definition"
   install -Dm644 "$srcdir/weewx.sysusers" "$sysusersdir/weewx.conf"

xcuipir commented on 2023-09-06 12:57 (UTC)

@MarsSeed OK, patch seems to work now.

MarsSeed commented on 2023-09-06 12:27 (UTC)

Or, maybe better yet, apply the last 3 commits from genplot.py's history as patches.

MarsSeed commented on 2023-09-06 12:22 (UTC)

Then you can try what the Google Groups thread linked by @kode54 suggests: to copy the whole genplot.py from V5 branch to solve the pillow 10.0.0 compatibility issues.

xcuipir commented on 2023-09-06 12:04 (UTC)

@MarsSeed

The linked patch doesn't fix all issues as I'm still getting an error.

MarsSeed commented on 2023-08-29 22:00 (UTC) (edited on 2023-08-29 22:00 (UTC) by MarsSeed)

There is a committed patch linked in solved issue #884 that makes this work with python-pillow 10.0.0.

kode54 commented on 2023-07-06 00:15 (UTC) (edited on 2023-07-06 00:15 (UTC) by kode54)

Now this needs python-pillow <10.0 for the foreseeable future.

https://groups.google.com/g/weewx-user/c/4qz0bwgna7g