Package Details: carla-bridges-win32-git 6278.975821819-1

Git Clone URL: https://aur.archlinux.org/carla-bridges-win32-git.git (read-only, click to copy)
Package Base: carla-bridges-win32-git
Description: Carla win32 bridge
Upstream URL: http://kxstudio.sf.net/carla
Licenses: GPL2
Conflicts: carla-bridges-win32
Provides: carla-bridges-win32
Submitter: Joermungand
Maintainer: Joermungand
Last Packager: Joermungand
Votes: 8
Popularity: 0.000000
First Submitted: 2014-10-26 21:15 (UTC)
Last Updated: 2022-03-16 08:37 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

ask commented on 2016-03-09 21:26 (UTC)

Building this packages fails for me with the this mesasage: make[1]: Entering directory '/tmp/carla-bridges-win32-git/src/carla-bridges-win32-git/source/jackbridge' Linking jackbridge-wine32.dll.so /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/crti.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtbeginS.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtendS.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/crtn.o' is incompatible with i386 output collect2: error: ld returned 1 exit status winegcc: g++ failed Makefile:126: recipe for target '../../build/modules/Release/jackbridge-wine32.dll.so' failed Is there a dependency missing?

Joermungand commented on 2015-12-12 17:10 (UTC)

I think I’ll stick with the package() version for now – at least until I get slapped for it :).

SpotlightKid commented on 2015-12-12 16:23 (UTC)

If you use an install file, add '|| return 0' to the line starting with 'rmdir', otherwise de-installing will issue a warning.

Joermungand commented on 2015-12-12 15:58 (UTC)

I’m not shy of using an .install file either. Don’t know which one is more appropriate.

SpotlightKid commented on 2015-12-12 15:54 (UTC)

You could also use an .install file: post_install() { make_symlinks lv2 make_symlinks vst } post_remove() { remove_symlinks lv2 remove_symlinks vst } remove_symlinks() { for name in carla-bridge-win64.exe carla-discovery-win64.exe \ jackbridge-wine64.dll; do rm -f "/usr/lib/$1/carla.$1/${name}" done rmdir "/usr/lib/$1/carla.$1" 2> /dev/null } make_symlinks() { mkdir -p "/usr/lib/$1/carla.$1" for name in carla-bridge-win64.exe carla-discovery-win64.exe \ jackbridge-wine64.dll; do ln -sf "/usr/lib/carla/${name}" "/usr/lib/$1/carla.$1/${name}" done } But your solution is probably simpler and more robust.

Joermungand commented on 2015-12-12 15:49 (UTC)

It works like this: cd "$srcdir/$pkgname" mkdir -p "$pkgdir/usr/lib/carla" cp bin/*.exe "$pkgdir/usr/lib/carla/" cp bin/*.dll "$pkgdir/usr/lib/carla/" mkdir -p "$pkgdir/usr/lib/lv2/carla.lv2" mkdir -p "$pkgdir/usr/lib/vst/carla.vst" cd "$pkgdir/usr/lib/carla" ln -sr *.exe ../lv2/carla.lv2/ ln -sr *.exe ../vst/carla.vst/ ln -sr *.dll ../lv2/carla.lv2/ ln -sr *.dll ../vst/carla.vst/ Deleted exe, dll files in /usr/lib/carla reinstalled package. Links are there.

falkTX commented on 2015-12-12 15:21 (UTC)

Try deleting /usr/lib/carla/*.exe (simulating first install) and see if it still works.

Joermungand commented on 2015-12-12 15:19 (UTC)

It works with relative links.

falkTX commented on 2015-12-12 15:08 (UTC)

yes, but since we'd creating a symlink to a location that might not exist ($pkgdir might set) it makes things tricky. if you do $ ln -s $pkgdir/usr/lib/carla/*.exe $pkgdir/usr/lib/lv2/carla.lv2/ then the link will fail because $pkgdir is a random path used for building. if you do: $ ln -s /usr/lib/carla/*.exe $pkgdir/usr/lib/lv2/carla.lv2/ it will fail on the first time you try to install this package, because there are no *.exe files in /usr/lib/carla yet. if you know of something simple that works, let us know. afaik this requires a 'for' loop.. copying the file is just much simpler.

SpotlightKid commented on 2015-12-12 15:02 (UTC)

Wouldn't it be more efficient to use symlinks instead of copies?