Package Details: trackma 0.8.6-1

Git Clone URL: https://aur.archlinux.org/trackma.git (read-only, click to copy)
Package Base: trackma
Description: A lightweight and simple program for updating and using lists on several media tracking websites.
Upstream URL: https://z411.github.io/trackma/
Keywords: anilist anime hummingbird manga melative myanimelist vndb
Licenses: GPL3
Conflicts: trackma-git
Submitter: Timmy1e
Maintainer: Timmy1e
Last Packager: Timmy1e
Votes: 7
Popularity: 0.002401
First Submitted: 2020-12-09 17:08 (UTC)
Last Updated: 2023-08-18 09:49 (UTC)

Dependencies (15)

Required by (1)

Sources (5)

Latest Comments

evgfilim1 commented on 2023-05-04 15:24 (UTC)

Package fails to build with similar error: https://bbs.archlinux.org/viewtopic.php?id=280982

Fix: https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

Diff:

--- PKGBUILD    2023-05-04 20:22:23.498339743 +0500
+++ PKGBUILD    2023-05-04 20:23:06.962502951 +0500
@@ -4,7 +4,7 @@

 pkgname=trackma
 pkgver=0.8.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight and simple program for updating and using lists on several media tracking websites."
 url="https://z411.github.io/trackma/"
 arch=('any')
@@ -42,7 +42,7 @@

   git submodule init
   git config submodule."trackma/data/anime-relations".url $srcdir/anime-relations
-  git submodule update
+  git -c protocol.file.allow=always submodule update
 }

 package() {

tocic commented on 2022-12-24 05:50 (UTC)

Please update the upstream URL to its HTTPS counterpart.

Timmy1e commented on 2022-10-14 12:54 (UTC)

@ahmubashshir Thanks for the patch, I've applied it with some minor changes.

ahmubashshir commented on 2022-10-14 05:39 (UTC)

here's a patch for you :3 url

From 443e81067ac1481481609dd97b93653ce4a7fce5 Mon Sep 17 00:00:00 2001
Message-Id: <443e81067ac1481481609dd97b93653ce4a7fce5.1665725827.git.ahmubashshir@gmail.com>
From: Mubashshir <ahmubashshir@gmail.com>
Date: Fri, 14 Oct 2022 11:34:40 +0600
Subject: [PATCH] trackma: Release v0.8.5

Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
---
 .SRCINFO   | 12 ++++++------
 .gitignore |  1 +
 PKGBUILD   | 17 +++++++++++------
 3 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 592e938..2644124 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = trackma
    pkgdesc = A lightweight and simple program for updating and using lists on several media tracking websites.
-   pkgver = 0.8.4
-   pkgrel = 2
+   pkgver = 0.8.5
+   pkgrel = 1
    url = http://z411.github.io/trackma/
    arch = any
    license = GPL3
@@ -15,17 +15,17 @@ pkgbase = trackma
    optdepends = python-urwid: ncurses frontend
    optdepends = python-pillow: thumbnail images for GUI frontends
    optdepends = python-pyinotify: instant media recognition tracker
-   optdepends = dbus-python: MPRIS media recognition tracker
+   optdepends = python-pydbus: MPRIS media recognition tracker
    optdepends = lsof: polling tracker/pyinotify alternative
-   conflicts = trackma-git
-   source = trackma-0.8.4::git+https://github.com/z411/trackma.git#tag=v0.8.4
+   source = trackma-0.8.5::git+https://github.com/z411/trackma.git#tag=v0.8.5
+   source = anime-relations::git+https://github.com/erengy/anime-relations.git
    source = trackma-curses.desktop
    source = trackma-gtk.desktop
    source = trackma-qt.desktop
    sha256sums = SKIP
+   sha256sums = SKIP
    sha256sums = 80be9ffc3eb66456004a438a3da8950ed8382faa00a3fe61c5ef3980090c4dce
    sha256sums = a737f0fd38af4c472dfbca8503f57763bbec7c91568221298db317421a6c5604
    sha256sums = 988f4c4422577f0657e9ff8a9695ef44796ee6a9c43e07ee7a81369f25c2761f

 pkgname = trackma
-
diff --git a/.gitignore b/.gitignore
index a452b30..0a9e503 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 */*
 *.tar.*
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 228a37b..82ddd95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 # Maintainer: Tim van Leuverden <timmy1e at protonmail dot ch>
+# Contributor: Mubashshir <ahmubashshir@gmail.com>

 pkgname=trackma
-pkgver=0.8.4
-pkgrel=2
+pkgver=0.8.5
+pkgrel=1
 pkgdesc="A lightweight and simple program for updating and using lists on several media tracking websites."
 url="http://z411.github.io/trackma/"
 arch=('any')
-conflicts=('trackma-git')
 license=('GPL3')
 depends=('python')

@@ -20,22 +20,27 @@ optdepends=('python-gobject:   GTK frontend'
             'python-urwid:     ncurses frontend'
             'python-pillow:    thumbnail images for GUI frontends'
            'python-pyinotify: instant media recognition tracker'
-           'dbus-python:      MPRIS media recognition tracker'
+           'python-pydbus:    MPRIS media recognition tracker'
             'lsof:             polling tracker/pyinotify alternative')

 source=("${pkgname}-${pkgver}::git+https://github.com/z411/${pkgname}.git#tag=v${pkgver}"
+        "anime-relations::git+https://github.com/erengy/anime-relations.git"
         "${pkgname}-curses.desktop"
         "${pkgname}-gtk.desktop"
         "${pkgname}-qt.desktop")

 sha256sums=('SKIP'
+            'SKIP'
             '80be9ffc3eb66456004a438a3da8950ed8382faa00a3fe61c5ef3980090c4dce'
             'a737f0fd38af4c472dfbca8503f57763bbec7c91568221298db317421a6c5604'
             '988f4c4422577f0657e9ff8a9695ef44796ee6a9c43e07ee7a81369f25c2761f')

 prepare() {
   cd ${pkgname}-${pkgver}
-  git submodule update --init --recursive
+
+  git submodule init
+  git config submodule."trackma/data/anime-relations".url $srcdir/anime-relations
+  git submodule update
 }

 package() {
@@ -55,4 +60,4 @@ package() {
   "${pkgdir}/usr/share/applications/${pkgname}-qt.desktop"
 }

-# vim: sw=2 ts=2 tw=80 et:
\ No newline at end of file
+# vim: sw=2 ts=2 tw=80 et:
-- 
2.38.0

MagicAndWires commented on 2021-11-09 22:42 (UTC)

@Nesaijin

Sounds like it's this upstream issue. Try to rebuild the package and if the issue still persists pick it up there.

Nesaijn commented on 2021-11-09 00:12 (UTC)

I get this error when trying to start tackma gtk:

$ trackma-gtk
/usr/lib/python3.9/site-packages/trackma/ui/gtk/window.py:22: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import GLib, Gio, Gtk, Gdk
Traceback (most recent call last):
  File "/usr/bin/trackma-gtk", line 33, in <module>
    sys.exit(load_entry_point('Trackma==0.8.3', 'gui_scripts', 'trackma-gtk')())
  File "/usr/bin/trackma-gtk", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/trackma/ui/gtk/main.py", line 19, in <module>
    from trackma.ui.gtk.application import TrackmaApplication
  File "/usr/lib/python3.9/site-packages/trackma/ui/gtk/application.py", line 18, in <module>
    from trackma.ui.gtk.window import TrackmaWindow
  File "/usr/lib/python3.9/site-packages/trackma/ui/gtk/window.py", line 25, in <module>
    from trackma.ui.gtk.accountswindow import AccountsWindow
  File "/usr/lib/python3.9/site-packages/trackma/ui/gtk/accountswindow.py", line 34, in <module>
    class AccountsWindow(Gtk.Dialog):
  File "/usr/lib/python3.9/site-packages/trackma/ui/gtk/gi_composites.py", line 262, in __call__
    _register_template(cls, template_bytes)
  File "/usr/lib/python3.9/site-packages/trackma/ui/gtk/gi_composites.py", line 95, in _register_template
    cls.set_connect_func(_connect_func, cls)
AttributeError: type object 'AccountsWindow' has no attribute 'set_connect_func'

Timmy1e commented on 2021-01-26 13:53 (UTC)

@MagicAndWires thanks for the heads up, missed that. I'm pushing an update in a bit.

MagicAndWires commented on 2021-01-23 23:26 (UTC)

The tarball of trackma does not provide the anime-relations database required for cross-site updating.

This could be fixed by either providing it as a separate source file or by grabbing trackma source through git (using ${pkgname}-${pkgver}.tar.gz::"git+https://github.com/z411/${pkgname}.git#tag=v${pkgver} as the source) and updating the submodules in the prepare() function.