Closed apprehensions closed 1 year ago
Why not just make the version & soures git?
Also I can't build this:
cc -std=c99 -pedantic -Wall -Wextra -Os -I/usr/X11R6/include -DVERSION=\"0.3.6\" -c -o apint.o apint.c
apint.c:48:10: fatal error: saveas/saveas.h: No such file or directory
48 | #include <saveas/saveas.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: apint.o] Error 1
Oh shit I forgot about a library it needs sorry
i love git rebase
'd prefer the following since it avoids having to make libsaveas a standalone package.
==> build <==
#!/bin/sh -e
export DESTDIR=$1
# Bundle libsaveas since nothing else uses this.
cd libsaveas
mkdir -p tmp
make DESTDIR="$PWD/tmp"
make DESTDIR="$PWD/tmp" PREFIX=/usr install
cd $OLDPWD
# Ensure that we can use the bundled libsaveas.
sed "/^INCS/s~$~ -I$PWD/libsaveas/tmp/usr/include/ ~" config.mk > _
mv -f _ config.mk
sed "/^LDFLAGS/s~$~ -L$PWD/libsaveas/tmp/usr/lib/~" config.mk > _
mv -f _ config.mk
sed "/^CFLAGS/s/$/ -static/" config.mk > _
mv -f _ config.mk
make
make PREFIX=/usr install
==> depends <==
libpng
libxcb
xcb-util-cursor
xcb-util-image
xcb-util-keysyms
xcb-util-wm
==> sources <==
git+https://github.com/alpheratz0/apint
git+https://github.com/alpheratz0/libsaveas libsaveas
==> version <==
git 1
sorry!! i wanted to do this originally but i got distracted doing other things, though; i thought bundling wasn't a KISS thing; as said by testuser.
amazing paint program
please dont tell me i need esources please i cannot reclone and add and squash and rebase -i HEAD~2 please