Package Details: xournalpp-git 1.2.1.r81.ge9ec03303-1

Git Clone URL: https://aur.archlinux.org/xournalpp-git.git (read-only, click to copy)
Package Base: xournalpp-git
Description: Xournal++ is a handwriting Notetaking software with PDF annotation support. Supports Pen input like Wacom Tablets.
Upstream URL: https://github.com/xournalpp/xournalpp
Keywords: annotation notebook pdf tablet
Licenses: GPL2
Conflicts: xournalpp
Submitter: ka2107
Maintainer: youduda
Last Packager: youduda
Votes: 24
Popularity: 0.002251
First Submitted: 2015-10-18 01:29 (UTC)
Last Updated: 2023-08-30 23:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 13 Next › Last »

SpotlightKid commented on 2019-10-14 11:03 (UTC)

@youduda: Thanks for the update. The problem was that yay -Syu always wanted to rebuild the package, every time I ran it. Anyway, all good now again.

youduda commented on 2019-10-14 10:41 (UTC)

The issue here was that they "released" a nighly version, but the last tag follows the usual naming scheme again. Btw, if in the future someone breaks with the tag name scheme again, just use pacman -S xournalpp-git to enforce the update.

SpotlightKid commented on 2019-10-08 10:11 (UTC)

The pkgver function needs updating, I think. git describe --long --tags gives nightly-248-g6fcd7150 now, which leads to a package version, that always seems out-of-date.

sikmir commented on 2019-07-23 19:35 (UTC)

@youduda. hmm, that's strange. I've just commented out lua detection in CMakeLists.txt, so Lua_FOUND is not true and ENABLE_PLUGINS is not true. After such build everything works properly, Xournalpp doesn't try to load lua libs (checked by strace -T -e trace=openat ./xournalpp) and Xournalpp doesn't have Plugin menu section.

youduda commented on 2019-07-23 17:05 (UTC)

Moving lua to optional dependencies breaks plugin support when building in clean environment. For this Xournalpp must support only loading lua libraries when lua is installed.

sikmir commented on 2019-07-23 16:00 (UTC) (edited on 2019-07-23 16:23 (UTC) by sikmir)

One more, you don't need gettext in makedepends.

See wiki page:

Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

$ pacman -Qi gettext | grep Groups
Groups          : base  base-devel

And move lua to optdepends():

optdepends=('lua>=5.3: Enable Xournal++ Plugins')

sikmir commented on 2019-07-23 15:53 (UTC) (edited on 2019-07-23 16:14 (UTC) by sikmir)

And could you please add check() stage:

-makedepends=('git' 'cmake' 'gettext')
+makedepends=('git' 'cmake' 'gettext' 'cppunit>=1.12')
...
-       cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DDEV_CONFIG_DIR="$configdir/xournalpp" ..
-       make
+       cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DDEV_CONFIG_DIR="$configdir/xournalpp" -DENABLE_CPPUNIT=ON ..
+       cmake --build .
...
+check() {
+       cd "${srcdir}/${_pkgname}/build"
+
+       cmake --build . --target test
+}

sikmir commented on 2019-07-23 15:35 (UTC) (edited on 2019-07-23 16:19 (UTC) by sikmir)

Minor fix ('r' before number of commits, ref. pkgver):

$ git describe --tags | sed -e 's|v||g' -e 's|glib.||g' -e 's|-|.|g'
1.0.13.nightly.20190709.86.g02084518
$ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
1.0.13.nightly.20190709.r86.g02084518

eliasrg commented on 2019-03-21 02:37 (UTC)

The line configdir="$XDG_CONFIG_HOME" seems wrong, as $XDG_CONFIG_HOME is assumed by the standard (https://developer.gnome.org/basedir-spec/) to be an absolute path. I suggest replacing it with

configdir="$(realpath --relative-to="$HOME" "$XDG_CONFIG_HOME")"

to ensure that DEV_CONFIG_DIR is relative to the user's home dir (as specified in cmake/README.md).

swiftscythe commented on 2019-03-12 00:12 (UTC)

new revision requires libzip: https://github.com/xournalpp/xournalpp/commit/a05afb4d3e0acf388a5bb55e86d14582fd2a9e48