You are not logged in.

#1 2020-12-30 07:24:36

kronaemmanuel
Member
Registered: 2020-12-30
Posts: 1

Unresolveable dependency on a package i'm trying to make

I want to install Spline on my system, but it is only available as a .deb package. So I thought of converting it to an arch package. Here's how i tried to do it:

1. I used debtap to convert it from .deb package to a .tar.zst package but I got a missing dependency "kde-runtime" which had no equivalent in arch packages
2. I tried to install the package anyways by doing

yay -U packagename.zst

3. I installed kdebase-runtime package and then ran the above command again but still the same error.
4. I also tried running

yay -U packagename.tar.zst --asdeps kdebase-runtime

but it says "could not find package kdebase-runtime"

Can anyone help me? This is the first package that I'm trying to make and I'm not very familiar with the process.

Last edited by kronaemmanuel (2020-12-30 07:26:28)

Offline

#2 2020-12-30 13:22:45

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,439

Re: Unresolveable dependency on a package i'm trying to make

re-run debtap and when it reports the missing dependency choose one of the edit options and replace kde-runtime with kdebase-runtime .

One other thing :
Why are you using yay instead of pacman to install something you locally created ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

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

Offline

#3 2020-12-30 21:18:26

a821
Member
Registered: 2012-10-31
Posts: 277

Re: Unresolveable dependency on a package i'm trying to make

I think writing a PKGBUILD is a much better solution. Below a very rough PKGBUILD as starting point. Some things to note:

  • I am not sure about the license; looks like it is MIT but the copyrights holder is github(?).

  • I couldn't find the sources... If they're available the pkgname must be spline-bin

  • The dependencies were detected by namcap(1). There could be others.

  • You may need to create a wrapper scrip which sets LD_LIBRARY_PATH (or equivalent solution) so the binary finds the bundled libraries

  • Obviously I didn't check much and there are likely mistakes or improvements

pkgname=spline
pkgver=0.3.0
pkgrel=1
pkgdesc="FILL ME"
url="https://spline.design"
license=("MIT")
arch=('x86_64')
depends=('gtk3' 'nss')
source=("https://cdn.spline.design/_assets/spline_${pkgver}_amd64.zip")
sha256sums=('cd93a7527355014f74199c32ddea8d6c5a9462826efb34b0461e833f16e9f5fa')

prepare() {
  bsdtar -xf "spline_${pkgver}_amd64.deb"
}

package() {
  bsdtar -C "$pkgdir" -xf data.tar.xz
  mv "$pkgdir"/usr/share/{doc,licenses}
}

Offline

#4 2020-12-31 05:07:26

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,097

Re: Unresolveable dependency on a package i'm trying to make

a821 wrote:

I think writing a PKGBUILD is a much better solution. Below a very rough PKGBUILD as starting point. Some things to note:

  • I am not sure about the license; looks like it is MIT but the copyrights holder is github(?).

The copyright covers the bundled copy of electron.

This is insufficient to convey the permissions for using spline itself.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB