Comments (10)
I fixed another (related?) issue that I think was affecting you(?). Symlinking to $(PREFIX)/bin/stargate
would result in sglib not found
, because Stargate DAW would try to find the relative path from the symlink and not the target file. Correct me if I am wrong, but I think this was your problem, that my code did not know how to handle being symlink'd.
As far as the lib vs. lib64 thing:
$(PREFIX)/lib/stargate
does not have any 64 bit binary files IIRC, it's text Python modules, presets, graphics assets, themes and fonts and maybe a few other random files. I am open to moving it to $(PREFIX)/share
instead, but having multiple potential paths is a harder sell because it will be quite messy to maintain.
Is this only because you offer 32 bit packages and want to avoid conflict? But if you are installing Stargate DAW to it's own prefix (/opt/stargate), I don't see why it would matter if the folder was named lib or lib64, since it would be completely contained and isolated within it's own prefix. Help me understand what you need and we will figure out a solution.
from stargate.
Yes, you're right. There are no binaries in /usr/lib/stargate :)
As far as I can tell, the /usr/lib/stargate content should be better placed in /usr/share/stargate.
The only exception should be for the /usr/lib/stargate/stargate content which should be better in /usr/lib/python3.9/site-packages/ (and no lib64 here because there are no binaries in these directories).
But I totally understand your argument about multiple directories.
The package now works. I need to perform some more tests, but now, it starts. It's available on Fedora 33, 34 and 35.
from stargate.
Great, glad to hear it's working. :-)
Be sure to test Fedora35 extra well. I don't know what they did to their PyQt5 package, but it has substantial API differences from any other PyQt5 I have seen. I made a bunch of commits last week to fix issues I found in Fedora 35 beta.
As for the original topic of the thread, I ran this:
$ find /usr/share -name '*.py' | wc -l
779
Seems to be a common practice to put Python scripts and modules in /usr/share
when they are not meant to be globally accessible to other Python applications. I've been considering moving everything to /usr/share for a while, my concern with doing it now is there are at least several people (that I know of) actively packaging Stargate DAW, and I suspect it would require every single one of them to change their packaging. I might do this later once things settle down.
Some research did not yield any kind of standard for where to put Python modules that should NOT be available system wide. /usr/share seems to be the place.
from stargate.
Update, expanding the query to be more inclusive:
$ find /usr/share \
-name '*.py' -or -name '*.lua' -or -name '*.rb' -or \
-name '*.pl' -or -name '*.pm' -or -name '*.sh' | wc -l
2442
That's a lot of scripts
from stargate.
So, OK for me. I thought there was some kind of standards for python package installation. But you're right, there must be a difference between package available for other applications and private python libraries. Your proposal is totally fine for me.
from stargate.
BTW, if you have any interest in adding any of your Stargate DAW packages into the main Fedora repos, you are welcome to do so. I would like for Stargate DAW to be in Fedora, Debian/Ubuntu and Arch at a minimum. I am hoping to find others who are interested in being distro package maintainers, in the interest of freeing up my time to focus on developing features and fixing bugs.
from stargate.
Files in $(PREFIX)/lib
were moved to $(PREFIX)/share
from stargate.
Thanks a lot, I will update my spec file for the next release !
from stargate.
See also the latest update in #19 , I made a number of other significant changes to allow internet-less builds without vendored dependencies.
from stargate.
Thanks, I will clean-up the sed things I added to disable this automatic install :)
from stargate.
Related Issues (20)
- Is VST support on the TODO list? HOT 13
- Strange saving of recorded samples (Win10) HOT 4
- Portable installation doesn't work (as intended) (Win10) HOT 10
- Strange behaviour of save/discard when recording audio (Win10) HOT 2
- stargate is in the AUR HOT 2
- Contact information? HOT 1
- Support for Windows 7, 8
- Crashes on old, unsupported Mac hardware
- Doesn't build on artix ( arch ) linux HOT 13
- Time stretching, pitch shifting known issues HOT 14
- Issues with sample paths (Win10) HOT 4
- Crashes on some locales HOT 2
- Debian package depends on missing fftw3 package HOT 9
- Can't compile from source HOT 1
- Unable to create new project in windows 11 latest HOT 7
- 3 PlugIns, if and when you'll have time and will HOT 9
- ComboBox menus only show on main monitor HOT 2
- add to flathub and make a flatpak HOT 2
- where do i download the plugins and are they in the .clap format? HOT 2
- dawproject HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stargate.