Package Details: gnome-activity-journal 1.0.0-1

Git Clone URL: https://aur.archlinux.org/gnome-activity-journal.git (read-only, click to copy)
Package Base: gnome-activity-journal
Description: Activity Journal for the GNOME desktop environment
Upstream URL: https://gitlab.gnome.org/crvi/gnome-activity-journal
Licenses: GPL
Submitter: xyproto
Maintainer: grufo
Last Packager: grufo
Votes: 2
Popularity: 0.000000
First Submitted: 2019-03-27 09:20 (UTC)
Last Updated: 2021-10-24 15:40 (UTC)

Latest Comments

earch commented on 2024-09-20 15:41 (UTC) (edited on 2024-09-20 15:50 (UTC) by earch)

I really would love to use this program because it seems there's no alternatives for viewing Zeitgeist content and it looks great (judging by the screenshots I found). I wanted exactly a program like this and I installed Zeitgeist only for something like this, "activity journal". Previously I searched for a file explorer that would view files in a Timeline sort of view, but no luck, then I found Zeitgeist. So, let's get to it

% gnome-activity-journal ERROR: No module named 'imp'.

The 'zeitgeist' python3 module was not found. Please install 'python3-zeitgeist' package.

See the README.md file for more information.

Turns out Python 3.12 has removed 'imp' module.

% python3.11 setup.py
ERROR: No module named 'DistUtilsExtra'.

Please install 'python3-distutils' and 'python3-distutils-extra' packages.

See the README.md file for more information.

Well, Arch has moved to 3.12 so installing python3-distutilsextra would install it only for 3.12, as I understand it.

I thought using venv would help me but I couldn't figure it out. The program needs some system libraries like DistUtilsExtra, gi and there's no such thing in pip. I tried symlinking it from /usr/lib to venv and I got even more bogged down. It didn't work out.

I hope to find some help here.

earch commented on 2024-09-20 15:31 (UTC)

% gnome-activity-journal ERROR: No module named 'imp'.

The 'zeitgeist' python3 module was not found. Please install 'python3-zeitgeist' package.

See the README.md file for more information.

roti commented on 2023-10-10 20:11 (UTC)

After the upgrade to python 3.11, this change was the fix: https://stackoverflow.com/a/76725785

grufo commented on 2021-06-15 08:45 (UTC)

@moormaster

Well, thank you again then, and if you happen to change your mind in the future just drop a message!

moormaster commented on 2021-06-14 20:39 (UTC)

@grufo, thanks but I don't think that I will use (and support) this package very often.

I just stumbled across a 200M zeitgeist folder in my home profile and wanted to take a look at what is stored inside - Thats why I needed to get this package working for once. ^^ I just wanted to share what I have done in case there are other users who use the gnome-activity-journal more regularly.

grufo commented on 2021-06-14 16:53 (UTC)

@moormaster

Well done, thank you. Would you like to be a co-maintainer of this package?

moormaster commented on 2021-06-13 14:58 (UTC) (edited on 2021-06-13 15:01 (UTC) by moormaster)

The patches of course cannot be applied as is to the v1.0.0.

I removed the patches that were linked to the launchpad bugtracker since they "should be" fixed in v1.0.0. But the bugtracker at launchpad.net doesn't give much information about it since the last change in the code there is from 2011 and continues in 2020 at the gnome gitlab server.

I also removed the patches

Since v1.0.0 now uses python 3 I have corrected the dependencies and the build instructions... and now have a PKGCONFIG that builds (at least on my machine) and looks like:

# Maintainer:
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=gnome-activity-journal
pkgver=1.0.0
pkgrel=1
pkgdesc="Tool for easily browsing and finding files on your computer using the Zeitgeist engine"
arch=('any')
url="https://launchpad.net/gnome-activity-journal"
license=('GPL')
depends=('python-gobject' 'dbus-python' 'python-pyxdg' 'zeitgeist')
makedepends=('python-distutils-extra')
optdepends=('python-pygments: get thumbnail of text files')
source=(https://gitlab.gnome.org/crvi/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz
        gnome-activity-journal.appdata.xml)
validpgpkeys=('7C0FF088052C082B442454171CFC22F3363DEAE3') # Siegfried-Angel Gevatter Pujals
sha256sums=('826bdb64eca9cf54abbe29feec2e55066244d3b6b0dd618c57f64c95a367d967'
            '2a8f952608851258c07c92d3bbececfa7572dc7e5609c4aa49298e098d102207')

prepare() {
  cd $pkgname-$pkgver
}

build() {
  cd $pkgname-$pkgver
  python setup.py build
}

package() {
  cd $pkgname-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
  rm -r "$pkgdir/usr/share/pixmaps"
}

grufo commented on 2021-05-12 09:34 (UTC)

It seems that at https://gitlab.gnome.org/crvi/gnome-activity-journal the package has been updated to version 1.0.0.

I don't have much time at the moment for updating the AUR package (it will require some work). If anyone feels like doing it, please post it here.