Package Details: cournal r207.23392b8-2

Git Clone URL: https://aur.archlinux.org/cournal.git (read-only, click to copy)
Package Base: cournal
Description: A collaborative note taking and journal application using a stylus.
Upstream URL: https://github.com/flyser/cournal
Keywords: annotate notes pdf pen stylus
Licenses: GPL3
Submitter: TheChickenMan
Maintainer: TheChickenMan
Last Packager: TheChickenMan
Votes: 1
Popularity: 0.000192
First Submitted: 2016-04-08 00:26
Last Updated: 2019-02-18 00:24

Latest Comments

dreieck commented on 2021-10-16 12:52

A PKGBUILD adressing the issues from here, here, here, here and here I have put for download here:

ix.io/3BUA

Might be for an inspiration for you to improve this package. (I won't maintain it.)

Thanks for maintaining!

dreieck commented on 2021-10-16 12:42

What is the mercurial make dependency needed for? I think it is unneeded and can be removed.

dreieck commented on 2021-10-16 12:41

According to the packaging guidelines, -git packages should get upstream version information as fist part of $pkgver if available.

This software has it available: git describe --tags leads to v0.2.1-71-g180467a.

So pkgver() should extract the 0.2.1-71 (and convert the - to something allowed in $pkgver, e.g. .). Then the "revision" (commit counts) can follow, then optionally latest commit date can follow, then optionally the latest git commit has can follow. A pkgver() could then look like:

pkgver () {
    cd "${srcdir}/${pkgname}"
    _ver="$(git describe  --tags | sed 's|^v||' | sed 's|-[^-]*$||' | tr '-' '.')"
    _rev="$(git rev-list --count HEAD)"
    _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
    _hash="$(git rev-parse --short HEAD)"

    if [ -z "${_ver}" ]; then
      error "Version could not be determined."
      return 1
    else
      printf '%s' "${_ver}+r${_rev}.${_date}.${_hash}"
    fi
}

This would currently lead to the following version string: 0.2.1.71+r220.20210507.180467a. Don't forget to increment $epoch when changing versioning scheme.

dreieck commented on 2021-10-16 12:31

When starting cournal, I get the error AttributeError: 'gi.repository.Gtk' object has no attribute 'events_pending':

:0: UserWarning: You do not have a working installation of the service_identity module: 'No module named 'service_identity''.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.
/usr/lib/python3.9/site-packages/cournal/__main__.py:25: 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 Gtk
Traceback (most recent call last):
  File "/usr/bin/cournal", line 24, in <module>
    sys.exit(run())
  File "/usr/lib/python3.9/site-packages/cournal/__main__.py", line 37, in run
    gtk3reactor.install()
  File "/usr/lib/python3.9/site-packages/twisted/internet/gtk3reactor.py", line 55, in install
    reactor = Gtk3Reactor()
  File "/usr/lib/python3.9/site-packages/twisted/internet/gtk3reactor.py", line 35, in __init__
    gireactor.GIReactor.__init__(self, useGtk=True)
  File "/usr/lib/python3.9/site-packages/twisted/internet/gireactor.py", line 73, in __init__
    _glibbase.GlibReactorBase.__init__(self, GLib, _gtk, useGtk=useGtk)
  File "/usr/lib/python3.9/site-packages/twisted/internet/_glibbase.py", line 115, in __init__
    self._pending = self._gtk.events_pending
  File "/usr/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gtk' object has no attribute 'events_pending'

I have no idea what this means or what to do about it.

dreieck commented on 2021-10-16 12:30

The error reported on 2020-11-08 by @Tio still persists:

PKGBUILD: line 24: ./download-twisted.sh: No such file or directory

I solved it by just deleting that line (and the whole build() function, because it is no longer needed then) and adding python-twisted to the depends array.

@Maintainer: Can you please fix that?

dreieck commented on 2021-10-16 12:28

This downloads the latest version from a git repository. So you must name your package cournal-git (i.e. with a -git suffix).

Please rename your package (= uploading new one, and submitting merge request to old one).

And don't forget to add conflicts=('cournal'), provides=("cournal=${pkgver}") to the -git-package.

Thanks for maintaining!

Tio commented on 2020-11-08 00:56

Error:

Cloning into 'cournal'...
done.
==> Starting pkgver()...
==> Updated version: cournal r218.2b649bf-1
==> Starting build()...
/var/tmp/pamac-build-tio/cournal/PKGBUILD: line 24: ./download-twisted.sh: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

hsd commented on 2019-02-15 16:53

This package is missing the dependency "python-cairo"