You are not logged in.

#1 2016-11-29 08:58:09

gruby
Member
Registered: 2012-04-30
Posts: 8

Lightworks with newest PortAudio incompatibility

Hello everyone.

After latest update of PortAudio to 190600_20161030-1 Lightworks won't run anymore.
A quickfix is to copy older libportaudio*.so* files into /usr/lib/lightworks directory.
 
There is a `lwks` package in AUR which may be simply patched, but @anthrit (the package owner) seems to be absent. He also does not respond to emails.

I think that is better to patch main package instead of making a new one, because `lwks` is well known and most popular, and many users are asking for help with installation.
Can someone patch PKBUILD of `lwks`?

Here is working diff:

--- /home/marcin/PKGBUILD.txt	2016-11-28 22:25:38.887415774 +0100
+++ PKGBUILD	2016-11-29 09:56:37.500707486 +0100
@@ -7,10 +7,11 @@
 # Contributor: darzki <darzki [at] o2 [dot] pl>
 # Contributor: N30N <archlinux [at] alunamation [dot] com>
 # Contributor: anthrit <anthrit [at] anthware [dot] com>
+# Contributor: Marcin Nowak <marcin.j.nowak [at] gmail [dot] com>
 
 pkgname=lwks
 pkgver=12.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Lightworks is a professional video editing suite"
 arch=('x86_64')
 url="http://www.lwks.com/"
@@ -19,23 +20,40 @@
 optdepends=('nvidia-utils: only for nVidia users')
 provides=('lightworks')
 conflicts=('lightworks')
-source=("http://downloads.lwks.com/lwks-$pkgver-amd64.deb")
-sha256sums=('428d72570054b0f4287212d85a70c926b413407b5105a07bcf14cc578b5ebff1')
+source=(
+    "http://downloads.lwks.com/lwks-$pkgver-amd64.deb"
+    "http://ala.seblu.net/packages/p/portaudio/portaudio-19_20140130-3-x86_64.pkg.tar.xz"
+    )
+sha256sums=(
+    '428d72570054b0f4287212d85a70c926b413407b5105a07bcf14cc578b5ebff1'
+    '1c6722888cf4ab5cbf4bdfd6272b7d524f0ee547f443a98cf554d6fa8ae5c1ca'
+    )
 
 package() {
-	msg2 "Extracting data.tar.gz"
-	bsdtar -zxf data.tar.gz -C "$pkgdir"
+    msg2 "Extracting data.tar.gz"
+    bsdtar -zxf data.tar.gz -C "$pkgdir"
+
+    msg2 "Extracting compatible PortAudio 19_20140130"
+    mkdir "$pkgdir/portaudio"
+    tar -xf portaudio-19_20140130-3-x86_64.pkg.tar.xz -C "$pkgdir/portaudio"
+
+    msg2 "Moving udev folder from /lib to /usr/lib"
+    mv "$pkgdir"/lib/udev "$pkgdir"/usr/lib
+    rmdir "$pkgdir"/lib
+
+    msg2 "Copying copyright file and creating a license dir"
+    install -Dm644 "$pkgdir"/usr/share/doc/lightworks/copyright \
+    "$pkgdir"/usr/share/licenses/lightworks/copyright
+    ln -sr "$pkgdir"/usr/share/licenses/lightworks "$pkgdir"/usr/share/licenses/$pkgname
+
+    msg2 "Changing some needed permissions"
+    chmod a+rw "$pkgdir"/usr/share/lightworks/Preferences
+    chmod a+rw "$pkgdir"/usr/share/lightworks/"Audio Mixes"
+
+    msg2 "Copying portaudio files"
+    cp "$pkgdir"/portaudio/usr/lib/libportaudio*.so* "$pkgdir"/usr/lib/lightworks/
+
+    msg2 "Cleaning up portaudio files"
+    rm -rf "$pkgdir/portaudio"
 
-	msg2 "Moving udev folder from /lib to /usr/lib"
-	mv "$pkgdir"/lib/udev "$pkgdir"/usr/lib
-	rmdir "$pkgdir"/lib
-
-	msg2 "Copying copyright file and creating a license dir"
-	install -Dm644 "$pkgdir"/usr/share/doc/lightworks/copyright \
-	"$pkgdir"/usr/share/licenses/lightworks/copyright
-	ln -sr "$pkgdir"/usr/share/licenses/lightworks "$pkgdir"/usr/share/licenses/$pkgname
-
-	msg2 "Changing some needed permissions"
-	chmod a+rw "$pkgdir"/usr/share/lightworks/Preferences
-	chmod a+rw "$pkgdir"/usr/share/lightworks/"Audio Mixes"
 }

Offline

#2 2016-11-29 13:45:30

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

Re: Lightworks with newest PortAudio incompatibility

Most common solution workaround  for a non-responding maintainer is to put the updated PKGBUILD on some pastebin site,and post the link in a comment .

Have you tried contacting anthrit throug his website , http://www.anthrit.com/ ?
(found it by checking the domain for his email ).

Last edited by Lone_Wolf (2016-11-29 14:02:00)


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 2016-11-29 13:51:16

gruby
Member
Registered: 2012-04-30
Posts: 8

Re: Lightworks with newest PortAudio incompatibility

I've tried by his email in anthrit.com domain. Now I've tried using contact form from his website. Will see.

Offline

Board footer

Powered by FluxBB