Comments (10)
Can you trigger the workflow to build it?
https://github.com/rleh/openocd-build/actions/runs/4349155188
from openocd-build.
Also, even though the dependencies are still contained in official ubuntu-20.04 repos
That turned out to not be true for libjaylink-dev, which is 0.1.0 on Focal Fossa and 0.2.0 on Jammy Jellyfish. Sorry, I checked only the main dependencies, not the ones needed for all programmers.
from openocd-build.
That is already done in #8, together with updating the Fedora OS from 33 to 37.
The version number from the rpmbuild source folder can't be easily removed, rpmbuild requires the source (archive) to habe the version number in it's name (for (good) reasons).
from openocd-build.
Shall I also bump
and maybe remove the version number from the rpm build here:openocd-build/.github/workflows/build.yml
Line 116 in 1ede6ac
from openocd-build.
rpmbuild requires the source (archive) to have the version number
That requirement is sensible, cloning an arbitray state of the repo into a possibly different name maybe less so.
Proposal:
export openocd_version=0.12.0
git clone --branch v${openocd_version} --single-branch --depth 1 http://openocd.zylin.com/openocd.git openocd-${openocd_version}
from openocd-build.
The idea of this builds was/is to not just have the latest official release (that is already (more or less fast) done by the package maintainers of your linux distro), but to provide builds of the latest master
branch. Lately this has gotten better, but after 0.10 it took OpenOCD 4 years to release version 0.11.0.
I wanted to use 0.11.999 (or similar) as the version number, but that didn't work for some reason I can't remember.
The current state is from my point of view but also acceptable, because the OpenOCD master build also has version number 0.12.0+dev-snapshot
which kind of matches the package version:
$ openocd --version
Open On-Chip Debugger 0.12.0+dev-snapshot (2023-03-07-03:12)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
$ dnf info openocd
Name : openocd
Version : 0.12.0
Release : master.20230307.0311
# ...
It is also necessary to replace the version number inside the Spec file to match the source "archive":
from openocd-build.
The idea of this builds was/is to not just have the latest official release
That sounds reasonable, I think everybody who is interested in using only the latest stable version can either use a fast-paced/rolling release distro (even Fedora and Debian have v0.12.0 already in their package sources) and/or they can just build it from source, which is easy enough to do.
from openocd-build.
I tried to change to openocd version to 0.12.0+dev-snapshot
in #9 (and only define once), let's see if it works...
from openocd-build.
The only restriction placed on the version is that it cannot contain a dash "-".
Meh.
from openocd-build.
DEB package versions strings are only allowed to contain A-Za-z0-9.+-:~
from openocd-build.
Related Issues (1)
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 openocd-build.