HowTo: Bitwig Studio RPM
-
- KVRian
- 510 posts since 5 Apr, 2014
Hi Renich,
Heiko from Bitwig is already aware of the problem, he said that the next release will include a fix.
cheers
Heiko from Bitwig is already aware of the problem, he said that the next release will include a fix.
cheers
-
- KVRian
- 510 posts since 5 Apr, 2014
Have you tried running Bitwig 1.2 ?
i can´t launch it
i can´t launch it
-
- KVRian
- 510 posts since 5 Apr, 2014
@ Renich,
i tried and did send the results to Heiko from Bitwig.
i tried and did send the results to Heiko from Bitwig.
-
- KVRian
- 510 posts since 5 Apr, 2014
Hi Renich,
so here my commandline output:
so here my commandline output:
Code: Select all
cd /opt/bitwig-studio
[ustudio@p2003004AAF437E4396DE80FFFEC572CC bitwig-studio]$ LD_DEBUG=1 LD_DEBUG_OUTPUT=/tmp/ld.debug bitwig-studio
warning: debug option `1' unknown; try LD_DEBUG=help
warning: debug option `1' unknown; try LD_DEBUG=help
JRE Path: //opt/bitwig-studio/lib/jre
Could not de-obfuscate stack trace: /home/ustudio/.BitwigStudio/4624c1b52c2a9f8fa33f537c791263cfa064dd5f-Linux-release.txt not found.
Could not de-obfuscate stack trace: /home/ustudio/.BitwigStudio/4624c1b52c2a9f8fa33f537c791263cfa064dd5f-Linux-release.txt not found.
java.lang.UnsatisfiedLinkError: /opt/bitwig-studio/lib/bitwig-studio/libx11-windowing-system.so: libbz2.so.1.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at FJe.NrQ(SourceFile:186)
at com.bitwig.x11_windowing_system.X11WindowingSystem.NrQ(SourceFile:20)
at com.bitwig.x11_windowing_system.X11WindowingSystem.<clinit>(SourceFile:14)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.bitwig.windowing_system.wUd.wCC(SourceFile:151)
at com.bitwig.windowing_system.wUd.<clinit>(SourceFile:42)
at com.bitwig.flt.app.FloatMainApplication.QH(SourceFile:630)
at bZB.hcl(SourceFile:73)
at com.bitwig.flt.app.FloatMainApplication.hcl(SourceFile:657)
at bVY.KOJ(SourceFile:1915)
at bVY.NrQ(SourceFile:142)
at bWq.run(SourceFile:866)
at bVY.wCC(SourceFile:1230)
at com.bitwig.flt.app.JrS.wCC(SourceFile:1368)
at bVY.NrQ(SourceFile:1188)
at bVY.ToH(SourceFile:870)
at com.bitwig.flt.app.FloatMainApplication.main(SourceFile:6336)
-
- KVRian
- 510 posts since 5 Apr, 2014
hi renich,
it did work for me with the following installed and done.
Just make a symlink of the file.
Prompt # ln -s /<path to libbz2>/libbz2.so.1 /<path to libbz2>/libbz2.so.1.0
Something like that. On debian libbz2so.1 is located in /lib/x86_64-linux-gnu/libbz2.so.1
If it's the same on Suse, just do as root or superuser in a terminal
ln -s /lib/x86_64-linux-gnu/libbz2.so.1 /lib/x86_64-linux-gnu/libbz2.so.1.0
and did install "libbsd.so"
cheers
it did work for me with the following installed and done.
Just make a symlink of the file.
Prompt # ln -s /<path to libbz2>/libbz2.so.1 /<path to libbz2>/libbz2.so.1.0
Something like that. On debian libbz2so.1 is located in /lib/x86_64-linux-gnu/libbz2.so.1
If it's the same on Suse, just do as root or superuser in a terminal
ln -s /lib/x86_64-linux-gnu/libbz2.so.1 /lib/x86_64-linux-gnu/libbz2.so.1.0
and did install "libbsd.so"
cheers
-
- KVRian
- 510 posts since 5 Apr, 2014
Hi Renich,
i just got the following error trying to create an rpm package:
hope you can help me. 
Thanks
i just got the following error trying to create an rpm package:
Code: Select all
Start: rpmbuild bitwig-studio-1.3.1-1.fc22.src.rpm
Baue für die Zielplattform(en): x86_64
Baue für das Ziel x86_64
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.oW3w5f
+ umask 022
+ cd /builddir/build/BUILD
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.pqsb4o
+ umask 022
+ cd /builddir/build/BUILD
+ exit 0
Ausführung(%install): /bin/sh -e /var/tmp/rpm-tmp.VMB92x
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64
++ dirname /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64
+ dpkg -x /builddir/build/SOURCES/bitwig-studio-1.3.1.deb /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64
+ mkdir -m 755 -p /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/bin /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/share
+ mv /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/bin /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/
+ mv /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/share /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/
+ mv /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/share/icons/hicolor /builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/share/icons
mv: '/builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/share/icons/hicolor' and '/builddir/build/BUILDROOT/bitwig-studio-1.3.1-1.fc22.x86_64/usr/local/share/icons/hicolor' are the same file
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.VMB92x (%install)
Fehler-Status beim Beenden von /var/tmp/rpm-tmp.VMB92x (%install)
Fehler beim Bauen des RPM:
ERROR: Exception(SRPMS/bitwig-studio-1.3.1-1.fc22.src.rpm) Config(fedora-22-x86_64) 3 minutes 4 seconds
INFO: Results and/or logs in: results/
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bitwig-studio.spec
Thanks
-
- KVRist
- Topic Starter
- 116 posts since 27 Mar, 2014
Sorry @beerhunter, for letting you down.
Here's the spec file. It builds fine.
I have installed fedora in a docker container to be able to build this. I hope it works fine. I am, also, maintaining the funtoo build: https://github.com/renich/funtoo-bitwig-studio
I'll try to keep the Fedorian version alive... with your help, of course.
Here's the spec file. It builds fine.
Code: Select all
%global _beta_version %{version}-BETA-%{release}
Name: bitwig-studio
Version: 1.3.6
Release: 1%{?dist}
Summary: A dynamic software solution for music creation and performance to realize all of your musical ideas in every stage of production.
License: EULA
URL: http://www.bitwig.com/
Source0: http://downloads.bitwig.com/%{name}-%{version}.deb
BuildRequires: dpkg
Requires: xcb-util-wm
%global __requires_exclude_from ^(/opt/bitwig-studio/bin/.*\\.so|/opt/bitwig-studio/bin/jre/lib/amd64/headless/.*\\.so|/opt/bitwig-studio/bin/jre/lib/amd64/jli/.*\\.so|/opt/bitwig-studio/bin/jre/lib/amd64/server/.*\\.so|/opt/bitwig-studio/bin/jre/lib/amd64/.*\\.so|/opt/bitwig-studio/bin/jre/lib/amd64/xawt/.*\\.so|/opt/bitwig-studio/bin/vamp-plugins/.*\\.so)$
%description
Bitwig Studio is a dynamic software solution for music creation and performance to realize all of your musical ideas in every stage
of production.
From sound design to music creation, discover the new standard in customized workflow. Bitwig Studio inspires you to take greater
control of your productions, giving you access to every aspect of your workflow as needed. Streamline your creative process and
quickly take your music from ideas to complete songs, tracks and compositions. With Bitwig Studio, you’re in command of a workflow
that works best for you.
Record and arrange, improvise and perform, or do it all at once. Choose between several display profiles. Design your own sounds
with dedicated container devices. Combine built-in instruments, effects, and VST plug-ins. Bitwig Studio’s unified mapping system
allows you to modulate any device or VST parameter using macro controls and modulator devices.
Explore a new world of creative possibilities, including audio and note expressions, histogram-based value editing, layered editing,
extensive bounce-in-place functions, automatic slicing, smart controller integration, and the Open Controller Scripting API. Every
feature in Bitwig Studio was developed by musicians, for musicians. Welcome to the next generation of music creation and performance
software for Windows, Mac OS X, and Linux.
%prep
%build
%install
dpkg -x %{_sourcedir}/%{name}-%{version}.deb %{buildroot}
# put things into place
mkdir -m 755 -p %{buildroot}/usr/local/{bin,share}
#mv %{buildroot}/usr/bin %{buildroot}/usr/local/
mv %{buildroot}/usr/share %{buildroot}/usr/local/
#mv %{buildroot}/usr/local/share/icons/gnome %{buildroot}/usr/local/share/icons/hicolor
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
/opt/bitwig-studio
#"/usr/local/share/icons/hicolor/48x48/apps/Bitwig Studio.png"
/usr/bin/bitwig-studio
/usr/local/share/applications/bitwig-studio.desktop
/usr/local/share/icons/hicolor/48x48/apps/bitwig-modular.png
/usr/local/share/icons/hicolor/48x48/apps/bitwig-studio.png
/usr/local/share/icons/hicolor/scalable/apps/bitwig-modular.sh
/usr/local/share/icons/hicolor/scalable/apps/bitwig-studio.svg
/usr/local/share/icons/hicolor/scalable/mimetypes/application-bitwig-clip.svg
/usr/local/share/icons/hicolor/scalable/mimetypes/application-bitwig-device.svg
/usr/local/share/icons/hicolor/scalable/mimetypes/application-bitwig-preset.svg
/usr/local/share/icons/hicolor/scalable/mimetypes/application-bitwig-project-folder.svg
/usr/local/share/icons/hicolor/scalable/mimetypes/application-bitwig-project.svg
/usr/local/share/mime/packages/bitwig-studio.xml
%changelog
* Tue Feb 23 2016 Renich Bon Ciric - 1.3.6-1
* updated to 1.3.6
* Fri May 22 2015 Renich Bon Ciric - 1.1.8-1
- updated to 1.0.18
* Tue Oct 14 2014 Renich Bon Ciric <renich@woralelandia.com - 1.0.15-1
- updated to 1.0.15
- updated source url
* Tue Sep 16 2014 Renich Bon Ciric <renich@woralelandia.com> - 1.0.14-1
- updated to 1.0.14
* Sat Sep 13 2014 Renich Bon Ciric <renich@woralelandia.com> - 1.0.13-2
- updated to 1.0.13
- moved all files to /usr/local
* Thu Apr 10 2014 Renich Bon Ciric <renich@woralelandia.com> - 1.0.6-1
- Updated to version 1.0.6
* Wed Apr 02 2014 Renich Bon Ciric - 1.0.5-1
- Updated to version 1.0.5
* Tue Apr 01 2014 Renich Bon Ciric <renich@woralelandia.com> - 1.0.4-1
- First packaging
I'll try to keep the Fedorian version alive... with your help, of course.
-
- KVRian
- 510 posts since 5 Apr, 2014
Hi Renich,
I got an error telling me that "Name: Bitwig Studio" is a wrong tag.
I will try with the updated version of Fedora 23, when i am back home.
Cheers
*EDIT*
It´s still the same, any idea why ?
I got an error telling me that "Name: Bitwig Studio" is a wrong tag.
I will try with the updated version of Fedora 23, when i am back home.
Cheers
*EDIT*
It´s still the same, any idea why ?
-
- KVRian
- 510 posts since 5 Apr, 2014
i´ll send you a detailed one this evening
-
- KVRian
- 510 posts since 5 Apr, 2014
Code: Select all
[ustudio@localhost ~]$ su -c 'yum install @fedora-packager'
Passwort:
Yum command has been deprecated, redirecting to '/usr/bin/dnf install @fedora-packager'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
Die letzte Prüfung auf abgelaufene Metadaten wurde vor 4:10:10 am Fri Feb 26 15:20:35 2016 ausgeführt.
Gruppe »Fedora-Paket-Ersteller« ist bereits installiert, wird übersprungen.
Abhängigkeiten sind aufgelöst.
Nichts zu tun.
Komplett!
[ustudio@localhost ~]$ cd ~/rpmbuild
[ustudio@localhost rpmbuild]$ rpmbuild -bs SPECS/bitwig-studio.spec
Fehler: Zeile 3: Unbekannter Tag: Name: Bitwig-studio
[ustudio@localhost rpmbuild]$that´s what it says
what version of Fedora do you run ?
-
- KVRist
- Topic Starter
- 116 posts since 27 Mar, 2014
OK, but did it build the source RPM?
I use the following script to build the package:
I use the following script to build the package:
Code: Select all
#!/usr/bin/env bash
# vars
version=$( grep 'Version:' SPECS/bitwig-studio.spec | egrep -o '[[:digit:]].*$' )
revision=$( grep 'Release:' SPECS/bitwig-studio.spec | egrep -o '[[:digit:]]{1,}' )
fedora_version=23
# Get in there and put the spec file in SPEC (one line)
#curl -k https://downloads.woralelandia.com/fedora/20/bitwig-studio/bitwig-studio.spec > ~/rpmbuild/SPECS/bitwig-studio.spec
# Go to the SOURCES dir and get the sources
cd ~/rpmbuild/SOURCES
spectool -g ~/rpmbuild/SPECS/bitwig-studio.spec || exit 1
# Ready your SRPM
cd ~/rpmbuild
rpmbuild -bs SPECS/bitwig-studio.spec || exit 2
# Start building (one line)
mock --resultdir results/ --rebuild SRPMS/bitwig-studio-${version}-${revision}.fc${fedora_version}.src.rpm || exit 3
# Install your RPM
#sudo yum install ~/rpmbuild/results/bitwig-studio-${version}-${revision}.fc${fedora_version}.x86_64.rpm
exit 0