MSYS2 maintainer contacted

Eric Lindblad geirfuglaps at yahoo.com
Tue Dec 6 11:15:13 GMT 2016


I wrote to the MSYS2 package maintainer about the download
mingw-w64-i686-xapian-core-1.4.1-1-any.pkg.tar.xz, missing
the /mingw32/lib/libxapian.la file.

Admittedly, I ran without arguments configure on their copy
"xapian-1.4.1-1" of the sources, whereas the maintainer had
arguments to configure. So before further attendance to the
subject I should check if the xapian-1.4.1 & 1.4.1-1 sources
are identical and if not run 'make check' with logs on both
copies.

mingw-w64-xapian-core-1.4.1-1.src.tar.xz
PKGBUILD

# Maintainer: J. Peter Mugaas < ... >

_realname=xapian-core
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-zlib")
pkgver=1.4.1
pkgrel=1
pkgdesc='Open source search engine library (mingw-w64)'
arch=('any')
url='https://www.xapian.org/'
license=('GPL')
source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz")
sha256sums=('c5f2534de73c067ac19eed6d6bec65b7b2c1be00131c8867da9e1dfa8bce70eb')

prepare() {
  cd $srcdir/${_realname}-${pkgver}
#  patch -p1 -i ${srcdir}/0001-A-fix.patch
}

build() {
  cd "$srcdir"/${_realname}-${pkgver}
  [[ -d "${srcdir}"/build-${CARCH} ]] && rm -rf "${srcdir}"/build-${CARCH}
  mkdir -p "${srcdir}"/build-${CARCH} && cd "${srcdir}"/build-${CARCH}
  # FS#40614
  if [ "${CARCH}" = "i686" ]; then
    SSE2="--disable-sse"
  fi
  ../${_realname}-${pkgver}/configure \
    --prefix=${MINGW_PREFIX} \
    --build=${MINGW_CHOST} \
    --host=${MINGW_CHOST} \
    --target=${MINGW_CHOST} ${SSE2} \
    --enable-static \
    --enable-shared

  make
}

package() {
  cd "${srcdir}"/build-${CARCH}
  make install DESTDIR="${pkgdir}"
}



More information about the Xapian-discuss mailing list