klemek bb82ae6458 feat: Github CI (#12)
* feat: Github CI

* add verbose to gcc

* reorder jobs

* add extra warnings and small fix
2025-08-20 11:10:08 +02:00
2025-08-20 11:10:08 +02:00
2025-06-05 17:54:45 +02:00
2025-08-20 11:10:08 +02:00
2025-06-03 20:07:24 +02:00
2025-06-06 00:00:18 +02:00
2025-08-20 08:31:13 +00:00
2025-08-20 08:28:23 +00:00
2025-08-20 11:10:08 +02:00
2025-08-20 08:31:13 +00:00
2025-08-20 08:42:08 +00:00

margen

generate a marble-like pattern bitmap image, blazing fast.

Written in pure C without librairies.

Install

From release

See Releases

tar xvzf margen-x.y.z.tar.gz
cd margen-x.y.z
./configure
make
make install

From repository (PKGBUILD)

git clone https://github.com/klemek/margen
cd margen
makepkg -si

From repository (dev version)

git clone https://github.com/klemek/margen
cd margen
aclocal
autoconf
automake --add-missing
./configure
make
make install

CLI arguments

usage: margen [--help] [-v] [-q] [-w=WIDTH] [-h=HEIGHT] [-o=PATH] [--seed=SEED][-p=PIXEL_SIZE] [-s=SLOPE] [-c=R,G,B] [-va=R,G,B] [-vr=VAR_RANGE] [-r=ROTATION] [-m]

generate a marble-like pattern bitmap image, blazing fast.

options:
  --help             show this help message and exit
  -q, --quiet        do not print to console
  -w, --width        image width (default: 1920)
  -h, --height       image height (default: 1080)
  -o, --output       output file (default: output.bmp)
  --seed             random seed (default: time based)
  -p, --pixel        pixel size (default: random)
  -s, --slope        slope [0-255] (default: random)
  -c, --color        base color [0-255,0-255,0-255] (default: random)
  -va, --variation   fixed variation [0-255,0-255,0-255] (default: random)
  -vr, --var-range   random variation range [0-255] (default: 30)
  -r, --rotation     start corner rotation [0-3] (default: random)
  -m, --monochrome   grayscale generation

Release guide

# 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 margen-x.y.z.tar.gz
$EDITOR PKGBUILD
# push to repo
git commit -am "margen vX.Y.Z"
git tag vX.Y.Z
git push origin master --tags
# create release from tag on github
# attach .tar.gz to the github release
make -f Makefile.dev release-arch
# attach .pkg.tar.zst to the github release
S
Description
Marble-like pattern generator, blazing fast
Readme 35 MiB
v1.2.6 Latest
2025-09-24 16:12:04 +02:00
Languages
C 92.7%
Shell 3.6%
Makefile 2%
M4 1.7%