From 4c585ad54388285500fd18a6aaa516894e0f2c16 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:28:13 +0100 Subject: added xcatclock --- repo/apps/xclock-cat.xibuild | 18 ++++++++++++++++ repo/devel/imake.xibuild | 23 ++++++++++++++++++++ repo/devel/xorg-cf-files.xibuild | 23 ++++++++++++++++++++ repo/meta/base.xibuild | 2 +- repo/system/sbase.xibuild | 2 +- repo/x11/berry.xibuild | 22 +++++++++++++++++++ repo/x11/motif.xibuild | 46 ++++++++++++++++++++++++++++++++++++++++ repo/x11/xautolock.xibuild | 26 +++++++++++++++++++++++ 8 files changed, 160 insertions(+), 2 deletions(-) create mode 100644 repo/apps/xclock-cat.xibuild create mode 100644 repo/devel/imake.xibuild create mode 100644 repo/devel/xorg-cf-files.xibuild create mode 100644 repo/x11/berry.xibuild create mode 100644 repo/x11/motif.xibuild create mode 100644 repo/x11/xautolock.xibuild (limited to 'repo') diff --git a/repo/apps/xclock-cat.xibuild b/repo/apps/xclock-cat.xibuild new file mode 100644 index 0000000..0338096 --- /dev/null +++ b/repo/apps/xclock-cat.xibuild @@ -0,0 +1,18 @@ +#!/bin/sh + +NAME="xclock-cat" +DESC="xclock cat mode" + +MAKEDEPS="make" +DEPS="libx11 motif" + +PKG_VER=master +SOURCE="https://github.com/BarkyTheDog/catclock" + +build () { + make +} + +package () { + install -Dm755 xclock $PKG_DEST/usr/bin/xclock-cat +} diff --git a/repo/devel/imake.xibuild b/repo/devel/imake.xibuild new file mode 100644 index 0000000..2828071 --- /dev/null +++ b/repo/devel/imake.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="imake" +DESC="X Windows make utility" + +MAKEDEPS="make " +DEPS="musl " + +PKG_VER=1.0.8 +SOURCE="https://ftp.x.org/pub/individual/util/imake-$PKG_VER.tar.bz2" + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/xorg-cf-files.xibuild b/repo/devel/xorg-cf-files.xibuild new file mode 100644 index 0000000..a99bcdc --- /dev/null +++ b/repo/devel/xorg-cf-files.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="xorg-cf-files" +DESC="Data files for the imake utility" + +MAKEDEPS="make " +DEPS="" + +PKG_VER=1.0.7 +SOURCE="https://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-$PKG_VER.tar.bz2" + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/meta/base.xibuild b/repo/meta/base.xibuild index a9714a0..d773e40 100644 --- a/repo/meta/base.xibuild +++ b/repo/meta/base.xibuild @@ -1,5 +1,5 @@ #!/bin/sh -DEPS="bash bzip2 sbase findutils iana-etc file gawk gettext musl grep gzip iproute2 iputils xipkg pciutils procps-ng psmisc sed shadow tar util-linux xz linux-headers sysconfigs inetutils mkinitramfs genfstab eudev openrc kbd sysklogd openntpd tzdata" +DEPS="mksh bzip2 sbase findutils iana-etc file gawk gettext musl grep gzip iproute2 iputils xipkg pciutils procps-ng psmisc sed shadow tar util-linux xz linux-headers sysconfigs inetutils mkinitramfs genfstab eudev openrc kbd sysklogd tzdata" MAKEDEPS="grep python" DESC="The base system to be installed" diff --git a/repo/system/sbase.xibuild b/repo/system/sbase.xibuild index 35c4dfc..a380c9e 100644 --- a/repo/system/sbase.xibuild +++ b/repo/system/sbase.xibuild @@ -29,7 +29,7 @@ package () { make PREFIX=/usr DESTDIR=$PKG_DEST install # these are provided by other utils - for p in tar sed find xargs grep sort; do + for p in tar sed find xargs grep sort flock; do mv $PKG_DEST/usr/bin/$p $PKG_DEST/usr/bin/s$p mv $PKG_DEST/usr/share/man/man1/$p.1 $PKG_DEST/usr/share/man/man1/s$p.1 done diff --git a/repo/x11/berry.xibuild b/repo/x11/berry.xibuild new file mode 100644 index 0000000..5b4fe5e --- /dev/null +++ b/repo/x11/berry.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="berry" +DESC="A healthy, byte-sized window manager" + +MAKEDEPS="make " +DEPS="libx11 libxft libxinerama " + +PKG_VER=0.1.11 +SOURCE="https://github.com/JLErvin/berry/archive/refs/tags/$PKG_VER.tar.gz" + +build () { + make prefix=/usr +} + +package () { + make prefix=/usr DESTDIR=$PKG_DEST install + + install -Dm644 examples/sxhkdrc $PKG_DEST/usr/share/doc/berry/examples/ + install -Dm644 examples/autostart $PKG_DEST/usr/share/doc/berry/examples/ + +} diff --git a/repo/x11/motif.xibuild b/repo/x11/motif.xibuild new file mode 100644 index 0000000..a283ca0 --- /dev/null +++ b/repo/x11/motif.xibuild @@ -0,0 +1,46 @@ +#!/bin/sh + +NAME="motif" +DESC="User interface component toolkit" + +MAKEDEPS="make " +DEPS="libx11 libxft libxt libxpm musl " + +PKG_VER=2.3.8 +SOURCE="https://sourceforge.net/projects/motif/files/Motif%20$PKG_VER%20Source%20Code/motif-$PKG_VER.tar.gz/download" + +ADDITIONAL=" +02-fix-format-security.patch +03-no-demos.patch +06-cast-size_t-to-int.patch +07-fix_lintian_reported_manpage_typos.patch +08-fix_hyphen_in_man_pages.patch +09-fix_typo_in_libxm.patch +10-fix_manpage-has-bad-whatis-entry.patch +11-fix_underlinking.patch +13-fix_hardcoded_x11rgb_path.patch +15-link_uil_against_libuil.patch +16-fix-undefined-use-of-sprintf.patch +17-switch-to-system-iswspace.patch +18-option-main.patch" + +#prepare () { +# apply_patches +#} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-jpeg \ + --disable-png \ + --enable-xft \ + --disable-demos \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xautolock.xibuild b/repo/x11/xautolock.xibuild new file mode 100644 index 0000000..75476d6 --- /dev/null +++ b/repo/x11/xautolock.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="xautolock" +DESC="An automatic X screen-locker/screen-saver" + +MAKEDEPS="make imake xorg-cf-files" +DEPS="libx11 libxscrnsaver musl " + +PKG_VER=2.2 +SOURCE="https://www.ibiblio.org/pub/linux/X11/screensavers/xautolock-$PKG_VER.tgz" +ADDITIONAL="processwait.patch " + + +prepare () { + apply_patches +} + +build () { + xmkmf + make +} + +package () { + make PREFIX=/usr DESTDIR=$PKG_DEST install + make MANPATH=/usr/share/man DESTDIR=$PKG_DEST install.man +} -- cgit v1.2.1