chore: rename to forge (steel)

This commit is contained in:
2025-11-01 20:39:24 +01:00
parent 23f4ce27ee
commit e2a93d6158
8 changed files with 34 additions and 34 deletions
+2
View File
@@ -22,3 +22,5 @@ configure
*.pkg.tar.zst
pkg
forge-*
confdeps.*
conftest.*
+14 -4
View File
@@ -42,15 +42,17 @@ valgrind: build
--undef-value-errors=no \
./build/$(TARGET) $(TEST_ARGS)
.PHONY: release
release: clean
.PHONY: release-%
release-%: clean
git pull origin master
sed -i -E "s/[0-9]+\\.[0-9]+\\.[0-9]+/$*/g" configure.ac
aclocal
autoconf
automake --add-missing
./configure
make distcheck
mkdir -p build
cp $(TARGET)-*.tar.gz build/
cp "$(TARGET)-steel-$*.tar.gz" build/
@rm -rf \
autom4te.cache \
aclocal.m4 \
@@ -66,7 +68,15 @@ release: clean
Makefile.in \
missing \
src/.* \
src/*.o \
src/*.o
sed -i -E "s/pkgver=[0-9]+\\.[0-9]+\\.[0-9]+/pkgver=$*/g" PKGBUILD
sha256sum build/forge-steel-$*.tar.gz | cut -d' ' -f1 | xargs -I{} sed -i -E "s/sha256sums=\\('.*'\\)/sha256sums=\\('{}'\\)/g" PKGBUILD
git add configure.ac PKGBUILD
git commit -am "forge steel-$*"
git tag steel-$* -m "forge steel-$*"
@echo "Push release: git push origin master --tags"
@echo "Rollback release: git reset HEAD~1 --hard && git tag -d steel-$*"
.PHONY: release-arch
release-arch: clean
+3 -3
View File
@@ -1,12 +1,12 @@
pkgname=forge
pkgver=0.0.0
pkgver=1.0.0
pkgrel=1
pkgdesc="Fusion Of Real Time Generative Effects"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
depends=('glfw>=1:3.0', 'v4l-utils>=1.30', 'alsa-lib>=1.2.14')
url="https://github.com/klemek/forge"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/klemek/forge/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('TODO')
source=("${pkgname}-steel-${pkgver}.tar.gz::https://github.com/klemek/forge-steel/releases/download/steel-v${pkgver}/${pkgname}-steel-${pkgver}.tar.gz")
sha256sums=('71e2db98e1346b101d175535c30875f28eb21432f4147ecc2b40c9da3973f5fb')
srcdir=build
build() {
+11 -18
View File
@@ -1,9 +1,11 @@
[![CI](https://github.com/klemek/forge/actions/workflows/ci.yml/badge.svg)](https://github.com/klemek/forge/actions/workflows/ci.yml)
[![CI](https://github.com/klemek/forge-steel/actions/workflows/ci.yml/badge.svg)](https://github.com/klemek/forge-steel/actions/workflows/ci.yml)
# F.O.R.G.E.
# F.O.R.G.E. (Steel)
> **F**usion **O**f **R**eal **T**ime **G**enerative **E**ffects
*Steel version (linux executable)*
TODO
## Install
@@ -17,11 +19,11 @@ TODO
### From release
See [Releases](https://github.com/klemek/forge/releases)
See [Releases](https://github.com/klemek/forge-steel/releases)
```shell
tar xvzf forge-x.y.z.tar.gz
cd forge-x.y.z
tar xvzf forge-steel-x.y.z.tar.gz
cd forge-steel-x.y.z
./configure
make
make install
@@ -30,7 +32,7 @@ make install
### From repository (PKGBUILD)
```shell
git clone --recursive https://github.com/klemek/forge
git clone --recursive https://github.com/klemek/forge-steel
cd forge
makepkg -si
```
@@ -39,7 +41,7 @@ makepkg -si
### From repository (dev version)
```shell
git clone --recursive https://github.com/klemek/forge
git clone --recursive https://github.com/klemek/forge-steel
cd forge
aclocal
autoconf
@@ -76,18 +78,9 @@ options:
## Release guide
```shell
# get latest version
git pull origin master
# update configure.ac with new version
$EDITOR configure.ac
# make full build
make -f Makefile.dev release
# update PKGBUILD with new version and sha256 sum
sha256sum build/forge-x.y.z.tar.gzx
$EDITOR PKGBUILD
# push to repo
git commit -am "forge vX.Y.Z"
git tag vX.Y.Z
make -f Makefile.dev release-1.0.0
# push release
git push origin master --tags
# create release from tag on github
# attach .tar.gz to the github release
+1 -1
View File
@@ -1,4 +1,4 @@
AC_INIT([forge], [0.0.0], [klemek.dev@proton.me])
AC_INIT([forge], [steel-0.0.0], [klemek.dev@proton.me])
AM_INIT_AUTOMAKE
AC_PROG_CC
+1 -1
View File
@@ -8,7 +8,7 @@
#endif /* PACKAGE */
#ifndef VERSION
#define VERSION "(dev)"
#define VERSION "steel-dev"
#endif /* VERSION */
/* TYPES */
-1
View File
@@ -56,7 +56,6 @@ static long get_average_tap_duration(Tempo tempo) {
average_tap_duration = running_total / amount;
if (average_tap_duration < MIN_BEAT_LENGTH) {
log_debug("%ld", average_tap_duration);
return MIN_BEAT_LENGTH;
}
-4
View File
@@ -129,10 +129,6 @@ void window_use(Window *window, SharedContext *context) {
context->tex_resolution[0] =
(int)(context->tex_resolution[1] * context->resolution[0] /
context->resolution[1]);
log_debug("Resolution %f %f", context->resolution[0], context->resolution[1]);
log_debug("Tex resolution %f %f", context->tex_resolution[0],
context->tex_resolution[1]);
}
void window_close(Window *window) {