[Dev] Upgrade for [nonprism/evolution-data-server] to 3.32.4

theova theova at bluewin.ch
Sat Aug 17 15:08:41 GMT 2019


The attached PKGBUILD upgrades [nonprism/evolution-data-server] to
3.32.4

Changelog:
- Update version, commit, ...
- Remove ninja from makedepends since it is no longer needed
- Follow closer to Arch's PKGBUILD

Building:
- I was not able to build for i686 and armv7h. For i686, I guess, there
  is a problem with dependencies [1], for armv7h probably as well.
  archlinux32 has the package on version 3.30.5, Archlinux arm on
  version 3.32.4.

Testing:
- I was not able to test the package since I do not use the application
- From check.log:
  The following tests FAILED:
  	  1 - test-migration (Child aborted)
  	 75 - test-book-cache-cursor-move-by-posix (SIGTRAP)
  	 82 - test-book-cache-cursor-change-locale (SIGTRAP)
  	 87 - test-sqlite-cursor-move-by-posix (SIGTRAP)
	 94 - test-sqlite-cursor-change-locale (SIGTRAP)


Please tell me, if I should improve something.

Thanks for including it into Parabolas Repos.

[1] https://archlinux32.org/packages/i686/extra/evolution-data-server/
-------------- next part --------------
# $Id$
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
# Maintainer (Arch): Jan de Groot <jgc at archlinux.org>
# Contributor: Andreas Grapentin <andreas at grapentin.org>
# Contributor: Márcio Silva <coadde at hyperbola.info>
# Contributor: Isaac David <isacdaavid at at@isacdaavid at dot@info>
# Contributor: Freemor <freemor at freemor.ca>
# Contributor: Theova <theova at member.fsf.org>

# parabola changes and rationale:
#  - removed libgdata support

pkgname=evolution-data-server
pkgver=3.32.4
pkgrel=1
pkgrel+=.nonprism1
pkgdesc="Centralized access to appointments and contacts"
pkgdesc+=", without libgdata support"
url="https://wiki.gnome.org/Apps/Evolution"
arch=(x86_64)
arch+=(i686 armv7h)
depends=(gnome-online-accounts nss krb5 libgweather libical db libphonenumber)
makedepends=(intltool gperf gobject-introspection vala gtk-doc boost git cmake)
license=(GPL)
_commit=08a0e971cd06c40caf735984e847c10ba1fbe5f7  # tags/3.32.4^0
source=("git+https://gitlab.gnome.org/GNOME/evolution-data-server.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/^EVOLUTION_DATA_SERVER_//;s/_/./g;s/-/+/g'
}

prepare() {
  cd $pkgname
}

build() {
  cmake -H$pkgname -Bbuild \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIBEXEC_INSTALL_DIR=/usr/lib \
    -DSYSCONF_INSTALL_DIR=/etc \
    -DENABLE_INTROSPECTION=ON \
    -DENABLE_VALA_BINDINGS=ON \
    -DENABLE_UOA=OFF \
    -DENABLE_GTK_DOC=ON \
    -DWITH_PHONENUMBER=ON \
    -DENABLE_GOOGLE=OFF \
    -DHAVE_LIBGDATA=OFF \
    -DENABLE_GOOGLE_AUTH=OFF
  cmake --build build
}

check() {
  # libedata-book tests fail because they try to
  # mkdir /usr/lib/evolution-data-server/camel-providers
  cmake --build build --target test || :
}

package() {
  DESTDIR="$pkgdir" cmake --build build --target install
}


More information about the Dev mailing list