fix: gpicview compile errors
This commit is contained in:
parent
115509704e
commit
5254876ac8
3
src/cpio/.gitignore
vendored
3
src/cpio/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
@ -1,2 +0,0 @@
|
||||
# 2.14
|
||||
First version
|
@ -1,28 +0,0 @@
|
||||
NAME="cpio"
|
||||
DESC="Tools for archiving"
|
||||
VERSION="2.14"
|
||||
FILES=("https://ftp.gnu.org/gnu/cpio/cpio-$VERSION.tar.bz2")
|
||||
HASHES=("b153e1843561841d37190e48b891188d")
|
||||
DEPENDS=()
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $NAME-$VERSION.tar.bz2
|
||||
cd $NAME-$VERSION
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-mt \
|
||||
--with-rmt=/usr/libexec/rmt &&
|
||||
make &&
|
||||
makeinfo --html -o doc/html doc/cpio.texi &&
|
||||
makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &&
|
||||
makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi
|
||||
|
||||
make DESTDIR=$ROOTDIR install &&
|
||||
install -v -m755 -d $ROOTDIR/usr/share/doc/cpio-$VERSION/html
|
||||
install -v -m644 doc/html/* \
|
||||
$ROOTDIR/usr/share/doc/cpio-$VERSION/html
|
||||
install -v -m644 doc/cpio.{html,txt} \
|
||||
$ROOTDIR/usr/share/doc/cpio-$VERSION
|
||||
|
||||
cd .. && rm -rf $NAME-$VERSION
|
||||
}
|
@ -1,17 +1,22 @@
|
||||
NAME="gpicview"
|
||||
DESC="Lightweight image viewer"
|
||||
VERSION="0.2.5"
|
||||
FILES=("https://downloads.sourceforge.net/lxde/gpicview-$VERSION.tar.xz")
|
||||
|
||||
FILES=("https://downloads.sourceforge.net/lxde/gpicview-${VERSION}.tar.xz")
|
||||
HASHES=("26be9b0c5a234f1afe7d83d02a4a33f4")
|
||||
|
||||
DEPENDS=("gtk2")
|
||||
BUILD=("intltool")
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $NAME-$VERSION.tar.xz
|
||||
cd $NAME-$VERSION
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
export CFLAGS="${CFLAGS} -std=gnu89"
|
||||
./configure --prefix=/usr
|
||||
make && make DESTDIR="$ROOTDIR" install
|
||||
sed -i 's/Utility;//' "$ROOTDIR/usr/share/applications/gpicview.desktop"
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
sed -i 's/Utility;//' "${ROOTDIR}/usr/share/applications/gpicview.desktop"
|
||||
|
||||
cd .. && rm -r $NAME-$VERSION
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
||||
|
3
src/tools/.gitignore
vendored
3
src/tools/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
@ -1,2 +0,0 @@
|
||||
# 24.03
|
||||
First version
|
@ -1,14 +0,0 @@
|
||||
NAME="tools"
|
||||
DESC="Matterlinux tools and scripts collection"
|
||||
VERSION="24.03"
|
||||
FILES=("https://git.matterlinux.xyz/Matter/tools/archive/$VERSION.tar.gz")
|
||||
HASHES=("7c517a9e42b3f819612bcda72e5eb43f131cf538c0cea0b9da9099ca66a4d0ca")
|
||||
DEPENDS=("bash")
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $VERSION.tar.gz
|
||||
cd $NAME
|
||||
mkdir -p $ROOTDIR/usr/bin
|
||||
make DESTDIR=$ROOTDIR install
|
||||
cd .. && rm -rf $NAME
|
||||
}
|
Loading…
Reference in New Issue
Block a user