Package Details: kopano-core-git 10.0.7-1

Git Clone URL: https://aur.archlinux.org/kopano-core-git.git (read-only, click to copy)
Package Base: kopano-core-git
Description: Foundation for groupware messaging enabling clients
Upstream URL: https://www.kopano.com/
Licenses: AGPL3
Groups: kopano
Provides: kopano-core
Submitter: martimcfly
Maintainer: martimcfly
Last Packager: martimcfly
Votes: 0
Popularity: 0.000000
First Submitted: 2021-01-19 21:46 (UTC)
Last Updated: 2022-01-04 13:11 (UTC)

Pinned Comments

martimcfly commented on 2021-08-02 12:35 (UTC) (edited on 2021-08-02 12:40 (UTC) by martimcfly)

Where To Start?

If you feel unable to handle all the dependencies, then please consider using the docker based buildscript.

Everything is explained on Github. All dependencies/packages are in sync with following Repository.

https://github.com/pietmacom/kopano-pkgbuilds

How About Latest Release?

If you're only looking for the latest kopano release, then you'll find an explaination on github aswell.

Marti

Latest Comments

martimcfly commented on 2021-08-13 14:23 (UTC)

Here: https://aur.archlinux.org/packages/swig-git/ Or here: https://github.com/pietmacom/kopano-pkgbuilds/blob/master/makepkgs/swig/PKGBUILD

Or simply build with one command like explained here: https://github.com/pietmacom/kopano-pkgbuilds/blob/master/README.md

Morta commented on 2021-08-13 12:15 (UTC)

There is siwg =< 4 required how it's possible to get that?

martimcfly commented on 2021-08-02 12:35 (UTC) (edited on 2021-08-02 12:40 (UTC) by martimcfly)

Where To Start?

If you feel unable to handle all the dependencies, then please consider using the docker based buildscript.

Everything is explained on Github. All dependencies/packages are in sync with following Repository.

https://github.com/pietmacom/kopano-pkgbuilds

How About Latest Release?

If you're only looking for the latest kopano release, then you'll find an explaination on github aswell.

Marti

martimcfly commented on 2021-05-03 16:17 (UTC) (edited on 2021-05-03 16:33 (UTC) by martimcfly)

Hi Andrea,

I'm sorry but I don't understand. Can you explain your issue please?

As soon the package is named anything like "*-git" the source is taken from master. And indeed it is named "kopano-core-git".

_sourceBranch=$(if [[ "${pkgname}" == *-git ]]; then echo "#branch=master"; else echo "#tag=${_tagPrefix}${pkgver}${_tagSuffix}"; fi)
source=(
    "${pkgname}::git+https://stash.kopano.io/scm/kc/kopanocore.git${_sourceBranch}"
)

The version is created from kopanos git-content. The last tag and the master revision are concatinated. My build from today morning is => 11.0.1.r11004.e783b3ecae5

pkgver() {
    cd ${srcdir}/${pkgname}
    if [[ "${pkgname}" == *-git ]];
    then
    _lastTag=$(git tag -l "${_tagPrefix}*" --sort=v:refname | tail -n 1)
    _revision="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
    if [ ! -z "${_lastTag}" ];
    then
        echo "${_lastTag}" | sed "s|${_tagPrefix}\(.*\)${_tagSuffix}|\1.r${_revision}|"
    else
        echo "${pkgver}" | sed "s|\(.*\)-git|1.r${_revision}|"
    fi
    else
        echo ${pkgver}
    fi
}

So it doesn't matter what's written in $pkgver of this package. Except you remove "-git" from $pkgname. In this case the actual version named in $pkgver is build.

The Wiki doesn't say which version has to be preset in $pkgver in the PKGBUILD. As far as I've seen?

https://wiki.archlinux.org/title/VCS_package_guidelines#Git

Anyways, when you wish to build the latest release of Kopano, then I recommend using this. All packages are published to AUR from there.

https://github.com/pietmacom/kopano-pkgbuilds

Marti

denisse commented on 2021-05-02 04:47 (UTC)

Hi, the name of the package is incorrect as it does not actually install kopano-core from the latest commit of the Git repository.

Please update the PKGBUILD so it builds from source fetching the latest commit from the master branch of kopano-core's Git repository

Thank you!