You are not logged in.

#1 2021-01-31 19:51:07

benoitldr
Member
From: Grenoble
Registered: 2016-03-03
Posts: 29

aur issue scribus-stable

Hello everyone,

I try to maintained scribus-stable in aur (version 1.4.8).

when i pushed i have this issue :

remote: error: package already provided by [community]: scribus
remote: error: hook declined to update refs/heads/master
pkgname=scribus-stable
pkgver=1.4.8
pkgrel=1
pkgdesc="Desktop publishing program - old stable version"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
url="http://www.scribus.net"
depends=('hunspell' 'podofo' 'libcups' 'python' 'python2' 'cairo' 'desktop-file-utils'
     'qt4' 'hyphen')
makedepends=('cmake')
optdepends=('lib2geom: for mesh distortion')
conflicts=('scribus')
provides=('scribus-stable')
source=("https://netix.dl.sourceforge.net/project/scribus/scribus/1.4.8/scribus-1.4.8.tar.gz")
md5sums=('6246cadc3d0a6dfc0119926eb7e7dcda')
options=('!emptydirs')

build() {
  cd "${pkgname%-stable}-$pkgver"
  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    -DCMAKE_INSTALL_DATAROOTDIR:PATH=/usr/share \
    -DCMAKE_LIBRARY_PATH:PATH=/usr/lib \
    -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=FALSE .
  make
}

package() {
  cd "${pkgname%-stable}-$pkgver"
  make DESTDIR="$pkgdir/" install
}
scribus: error while loading shared libraries: libpodofo.so.0.9.6: cannot open shared object file: No such file or directory

special thanks to @haawda

ben

Last edited by benoitldr (2021-01-31 19:55:28)

Offline

#2 2021-01-31 20:19:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: aur issue scribus-stable

I did a clone of https://aur.archlinux.org/scribus-stable.git and found the .SRCINFO and PKGBUILD appear to be in conflict .

.SRCINFO has scribus-stable as value of pkgbase and pkgname , PKGBUILD has scribus as pkgname .

Sorry, no idea how to solve that.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-02-01 17:08:35

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: aur issue scribus-stable

make a copy of the changed PKGBUILD, git clone a fresh copy of the AUR repo, copy the saved version of the PKGBUILD into it, run mksrcinfo and

git add .SRCINFO PKGBUILD
git commit -m "fancy comment"
git push

Offline

Board footer

Powered by FluxBB