Package Details: touchegg-git 2.0.12.r3.g439d3b7-1

Git Clone URL: https://aur.archlinux.org/touchegg-git.git (read-only, click to copy)
Package Base: touchegg-git
Description: Linux multi-touch gesture recognizer
Upstream URL: https://github.com/JoseExposito/touchegg
Keywords: gesture multitouch touchpad touchscreen
Licenses: GPL3
Conflicts: touchegg
Provides: touchegg
Submitter: orion78fr
Maintainer: pobrn
Last Packager: pobrn
Votes: 8
Popularity: 0.000006
First Submitted: 2016-01-19 17:32 (UTC)
Last Updated: 2021-10-30 17:14 (UTC)

Latest Comments

dreieck commented on 2021-10-25 14:30 (UTC)

@pobrn: That would in principle also do it.

pobrn commented on 2021-10-25 13:17 (UTC)

@dreieck

What about

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

?

That's one of the options the VCS package guidelines suggests, and it's used by multiple other -git packages. At the moment that gives a reasonable value: 2.0.12.r2.g2af6b00.

dreieck commented on 2021-10-21 09:42 (UTC)

Can you prepend upstream official software version to the $pkgver?

git describe --tags reveals for me currently 2.0.12, which is also what touchegg --version prints out.

A ${pkgver} could then look like:

pkgver() {
    cd "${_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
}

which currently yields 2.0.12+r591.20211021.baedd79.

If you change the versioning scheme, don't forget to increment $epoch (i.e. set epoch=1).

And then you can also change

provides=("${_pkgname}") to
provides=("${_pkgname}=${pkgver}").

Thanks for maintaining!

pobrn commented on 2021-01-09 01:32 (UTC)

@chrishoage: thanks, I have hopefully corrected the problem.

chrishoage commented on 2020-12-28 23:29 (UTC) (edited on 2020-12-28 23:31 (UTC) by chrishoage)

Building in a clean chroot with aurutils causes this error

-- Found XINPUT: TRUE  
-- Checking for module 'gtk+-3.0'
--   Package 'gtk+-3.0', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.19/Modules/FindPkgConfig.cmake:553 (message):
  A required package was not found

Building the non -git version of this package is successful. Comparing the two PKGBUILD this one is missing at least gtk3 as a dependency

orion78fr commented on 2017-12-19 12:49 (UTC)

That's because geis is another AUR package : https://aur.archlinux.org/packages/geis/

Install it before installing touchegg or use an aur helper.

mickro commented on 2017-12-19 12:46 (UTC) (edited on 2017-12-19 12:47 (UTC) by mickro)

⇒ makepkg -sic --needed

==> Making package: touchegg-git r196.6bccd0d-1 (Tue Dec 19 13:45:56 CET 2017)

==> Checking runtime dependencies...

==> Installing missing dependencies...

error: target not found: geis

==> ERROR: 'pacman' failed to install missing dependencies.

thurstylark commented on 2016-09-21 23:07 (UTC)

"touchegg" needs to be added to $provides, so that touchegg-gcc-git won't complain about unmet dependencies.