Package Details: automathemely 1.3-3

Git Clone URL: https://aur.archlinux.org/automathemely.git (read-only, click to copy)
Package Base: automathemely
Description: Simple, set-and-forget python application for changing between GNOME themes according to light and dark hours.
Upstream URL: https://github.com/C2N14/AutomaThemely
Keywords: cinnamon-desktop customization gnome gtk plasma-desktop python3 theming xfce
Licenses: GPL-3.0
Submitter: florianmw
Maintainer: florianmw
Last Packager: florianmw
Votes: 1
Popularity: 0.000000
First Submitted: 2018-10-15 10:22 (UTC)
Last Updated: 2020-05-03 19:26 (UTC)

Latest Comments

1 2 Next › Last »

supermario commented on 2021-01-16 17:00 (UTC)

I updated the PKGBUILD like so to get this working

diff --git a/PKGBUILD b/PKGBUILD
index c30b1d8..08fb582 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,20 +7,27 @@ pkgrel=3
 pkgdesc="Simple, set-and-forget python application for changing between GNOME themes according to light and dark hours."
 url="https://github.com/C2N14/AutomaThemely"
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=(git 'python-setuptools')
 license=('GPL-3.0')
 arch=('any')
 install=${pkgname}.install
 source=("https://github.com/C2N14/${_name}/archive/v${pkgver}.tar.gz"
+       https://patch-diff.githubusercontent.com/raw/C2N14/AutomaThemely/pull/36.patch
         ${pkgname}.install
         ${pkgname}.service
         ${pkgname}.timer
 )
 sha256sums=('14e5100eb911ab8e5667a3358e1e7ed6540fd1a294ba4d451d4db480b08c3555'
+            '8739cf4a22ff636bf23f96b52bd0356ca4d7dbe1e5abac5759c8c66e70602f99'
             'b853ded02b52867e4695c7df10aa7559f8b2c4eb98761aca20e9a856cc1294e0'
             '6c0e4e6076f2cce0cef8c5aec79f9ea6106240051b1d556eabea4c391fe0d834'
             '0b39fc8abf200b1438b01deb48133817e4dc1cd6e7e41cebe7e82118ed96999e')

+prepare() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  patch -p1 < "$srcdir/36.patch"
+}
+
 build() {
   cd "${srcdir}/${_name}-${pkgver}"
   python setup.py build

spphins commented on 2020-10-17 03:52 (UTC) (edited on 2020-10-27 02:39 (UTC) by spphins)

I cant auto change theme,I must run “Run automathemely”,I already exec systemctl enable --user automathemely.timer

update:I run mkdir -p $HOME/.config/autostart sed 's/(Exec=automathemely)\ --manage/\1/' \ /usr/share/applications/automathemely.desktop >| \ $HOME/.config/autostart/automathemely.desktop fix my issues,now it can change theme automaticly.

But find another issues,KDE theme management was changed.Now no Breeze-dark theme for GTK anymore. LINK:https://www.reddit.com/r/kde/comments/h8sqmg/kde_519_breezedark_missing_gtk3_arch/ https://bugs.kde.org/show_bug.cgi?id=421745 It seems a bug in KDE But we can change the color scheme to switch theme to dark for gtk and qt applications. the fix commit merged 3 month ago.https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/55?commit_id=755e546019b5a9e82652ed5b5d10cd5b75340361#-test .But I still have issues.I must reboot system to make GTK theme apply.

ordy commented on 2020-10-16 15:42 (UTC) (edited on 2020-10-16 15:42 (UTC) by ordy)

@spphins Think I fixed it on my side after changing some lines. You can check my comment here: https://github.com/C2N14/AutomaThemely/issues/49#issuecomment-710065700

spphins commented on 2020-10-09 14:44 (UTC)

No one can fix the bug?this guy make it work again https://github.com/C2N14/AutomaThemely/issues/49 but not work for me.

Bhins commented on 2020-06-13 08:25 (UTC) (edited on 2020-06-13 08:26 (UTC) by Bhins)

@sp1rit

It appears my PR no longer works for Astral 2.2. Given that https://github.com/C2N14/AutomaThemely/pull/41 does what my PR did and also works for Astral 2.2, I am considering closing my PR.

sp1rit commented on 2020-05-27 09:51 (UTC)

@WhyNotHugo & @florianmw

This Buildfile uses the https://github.com/C2N14/AutomaThemely/pull/36 PR, its a bit dirty & hacked in but I can install it with it.

# Maintainer: florianmw <flo@i-z-i.net>

pkgname=('automathemely')
_name='AutomaThemely'
pkgver='1.3'
pkgrel=3
pkgdesc="Simple, set-and-forget python application for changing between GNOME themes according to light and dark hours."
url="https://github.com/C2N14/AutomaThemely"
depends=('python')
makedepends=('python-setuptools' "git")
license=('GPL-3.0')
arch=('any')
install=${pkgname}.install
source=(${pkgname}.install
        ${pkgname}.service
        ${pkgname}.timer
)
sha256sums=('b853ded02b52867e4695c7df10aa7559f8b2c4eb98761aca20e9a856cc1294e0'
            '6c0e4e6076f2cce0cef8c5aec79f9ea6106240051b1d556eabea4c391fe0d834'
            '0b39fc8abf200b1438b01deb48133817e4dc1cd6e7e41cebe7e82118ed96999e')

build() {
  git clone https://github.com/bradenhilton/AutomaThemely.git
  cd "${srcdir}/AutomaThemely"
  git checkout fix/astral-location-import
  python setup.py build
}

package() {
  depends+=('python-astral' 'python-tzlocal' 'python-schedule')
  cd "${srcdir}/AutomaThemely"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  install -Dm644 -t ${pkgdir}/usr/lib/systemd/user ${srcdir}/${pkgname}.service ${srcdir}/${pkgname}.timer
}

still dosn't work for me tho, because

AttributeError: 'LocationInfo' object has no attribute 'sun'

it seems like the API where it gets the sunrise data dosn't report the sunrise data anymore. but It cloud be that this is just an "regional" api that donst work anywhre outside the states. (like Germany in my case)

florianmw commented on 2020-05-03 19:28 (UTC) (edited on 2020-05-03 19:44 (UTC) by florianmw)

@WhyNotHugo: I just found your ticket: https://github.com/C2N14/AutomaThemely/issues/43 it seems there's also a PR open. The Author itself doesn't seem to work actively on the Project, but I've seen PRs get merged. Does the solution work for you? (edited this comment as I just found your ticket)

Regarding your other comment mentioning Arch packaging guidelines (https://wiki.archlinux.org/index.php/Arch_package_guidelines): I was not able to find the passage you're referring to, doesn't look to me like it's against it. Anyways, I removed the automatic setup from install with this commit: a8bd6e47fcb2.

whynothugo commented on 2020-04-25 15:25 (UTC)

Not starting up for me:

➜ automathemely
Traceback (most recent call last):
  File "/usr/bin/automathemely", line 11, in <module>
    load_entry_point('AutomaThemely==1.3', 'console_scripts', 'automathemely')()
  File "/usr/lib/python3.8/site-packages/automathemely/bin/run.py", line 29, in main
    from automathemely.autoth_tools import argmanager, extratools, envspecific, updsuntimes
  File "/usr/lib/python3.8/site-packages/automathemely/autoth_tools/updsuntimes.py", line 8, in <module>
    from astral import Location
ImportError: cannot import name 'Location' from 'astral' (/usr/lib/python3.8/site-packages/astral/__init__.py)