-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include version number in source code #3
Comments
Here's the VCS package: https://aur.archlinux.org/packages/string-machine-git/ |
Thank you for making the package. A pkgver() as this one would likely work. (as copied from Arch Wiki, except deleting "v" as prefix)
(1) regarding install, I'm leaving a user install where desired, because distributions don't adopt fixed conventions for LV2 location. |
If it is guaranteed, that releases will always be properly tagged in Git and the format of the tag name doesn't change, parsing the version number from the tag should be ok. My experience with other projects 've packaged is that this is often not reliable in the long run. Of course I can always change the Also, sometimes developers like to set a new higher version number for the in-development version, which wouldn't be reflected by the tag for the latest release. Re 1) I'm fine with having manual install commands in the PKGBUILD, but you might want to have a look at how I did an Re 2) Arch users usually are not accustomed to install binary packages from third-parties, since that doesn't integrate well with the Arch package system. IMHO it's better to make compiling from source as easy and obvious as possible for packagers. Re 3) I'll update the dependencies. Would be nice to document these dependencies in an "Build" or "Installation" section in the readme, like you do in the https://github.com/jpcima/rezonateur project. |
Regarding version, I tag with the "v" prefix and operate by the semver naming scheme. An exception is for continuous github releases, when I add them at a future point, which use
As you suggest, I will add a rule and documentation. |
Ok, thanks. Close this issue as you see fit. |
I will thanks. As I just observed, building the PKGBUILD from the clean chroot, it also needs So that's |
Just to confirm: these are only build-time dependencies, right? I don't see either the LV2 or VST plugin |
Yes it's header-only dependencies.
|
Ok, I've fixed an extremely dumb bug which made filter cutoff not controlled as it should. It will warrant a new package version, but first, it will need a new set of presets, as current ones will be broken. |
The original issue is fixed, so this can be closed, I guess. |
Hi there, thanks for this awesome plugin. I had been hoping for a release of a good Open Source string machine plugin for a long time.
I'm in the process of packaging the plugin for the Arch User Repository. I'll do a package for the release version (0.1.0) and a VCS package, which always compiles the latest state of the Git repo. For the latter it would be helpful, if the version number of the software was included somewhere in the sources. so my PKGBUILD can extract it.
The obvious place would be the
#define
on line 8 ofplugins/string-machine/DistrhoPluginInfo.h
, e.g.:Also, an "install" target in the Makefile would be nice, but I guess that should be raised as an issue with DPF.
The text was updated successfully, but these errors were encountered: