cleaned up meson subprojects

This commit is contained in:
John McQuah 2022-03-11 15:47:41 -05:00
parent 2886a7b92a
commit 8e4ab3c1fb
8 changed files with 163 additions and 2 deletions

4
REPO
View File

@ -119,8 +119,8 @@ f:bfc6b59a99e4cad11f446c3d41fbd8dd:python3-agate-excel/.footprint
f:c9a349aba698a195de02511b7d0f7222:python3-sqlalchemy/.signature
f:6e722d52a4a03d8ed3c4381120a2e074:python3-sqlalchemy/Pkgfile
f:804ec48752abdbb6198658edc84ab05d:python3-sqlalchemy/.footprint
f:9ce24c2898e3c4c992faf68fcb119c88:waybar/.signature
f:d6f92da237d876a7d09e35a5c359e233:waybar/Pkgfile
f:31f636f2b471fc95838f2970ec074da5:waybar/.signature
f:cc1d8f43a13ae7f43e29ec5993e559ca:waybar/Pkgfile
f:85556c904c079fe22d7bf703b0962ca3:waybar/.footprint
f:1c4de4af60e9ed45b56890df01628268:sbcl/.signature
f:3486f94a83e7be7393d2208029d887b9:sbcl/Pkgfile

15
chrono-date/.footprint Normal file
View File

@ -0,0 +1,15 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/date/
-rw-r--r-- root/root usr/include/date/date.h
-rw-r--r-- root/root usr/include/date/tz.h
drwxr-xr-x root/root usr/lib64/
drwxr-xr-x root/root usr/lib64/cmake/
drwxr-xr-x root/root usr/lib64/cmake/date/
-rw-r--r-- root/root usr/lib64/cmake/date/dateConfig.cmake
-rw-r--r-- root/root usr/lib64/cmake/date/dateConfigVersion.cmake
-rw-r--r-- root/root usr/lib64/cmake/date/dateTargets-none.cmake
-rw-r--r-- root/root usr/lib64/cmake/date/dateTargets.cmake
lrwxrwxrwx root/root usr/lib64/libdate-tz.so -> libdate-tz.so.3
lrwxrwxrwx root/root usr/lib64/libdate-tz.so.3 -> libdate-tz.so.3.0.0
-rwxr-xr-x root/root usr/lib64/libdate-tz.so.3.0.0

9
chrono-date/.signature Normal file
View File

@ -0,0 +1,9 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxPSLtY9lCANmEK0VFUQIRWrFuM4z2I2Ouw8ez5nxx4xWpfDPSlp+5VmbyFu79URBrTz0M8rgFi9cVfDorqWv+A4=
SHA256 (Pkgfile) = a940e23e956a3d2d3e0cb55d3dac01c225613a78c38761eb33f0de3a421f6f8a
SHA256 (.footprint) = 635a4b2569a4b5215609c980b781e7de355f4c0df08235c28ab33824bff6cf8f
SHA256 (chrono-date-3.0.1.tar.gz) = 7a390f200f0ccd207e8cff6757e04817c1a0aec3e327b006b7eb451c57ee3538
SHA256 (538-output-date-pc-for-pkg-config.patch) = f7f479e0220070ec22963aaba0f1af1f34c2e48627b2483e2ccc1cb97b2a1096
SHA256 (052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch) = 9d8586fce2b98130dbfa5586250a74142f87cde97a9368ae07ebe89e5d6ea586
SHA256 (b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch) = 2a14544db6dad5e0f6a674384fccb86144915c45e9d3826f0c49ef2c01143884
SHA256 (disable_buggy_libstdc++_tests.patch) = bd770b44554790c8854dd433aa670ecb8071a69bbeb2855c97dc66570d442165

46
chrono-date/Pkgfile Normal file
View File

@ -0,0 +1,46 @@
# Description: date and time library based on the C++11/14/17 <chrono> header
# URL: https://howardhinnant.github.io/date/date.html
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on:
name=chrono-date
version=3.0.1
release=1
source=("https://github.com/HowardHinnant/date/archive/v$version.tar.gz"
"https://patch-diff.githubusercontent.com/raw/HowardHinnant/date/pull/538.patch"
"https://github.com/HowardHinnant/date/commit/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch"
"https://github.com/HowardHinnant/date/commit/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch"
"disable_buggy_libstdc++_tests.patch")
renames=("$name-$version.tar.gz"
"538-output-date-pc-for-pkg-config.patch"
SKIP SKIP SKIP)
build() {
cd date-$version
# https://github.com/HowardHinnant/date/issues/671
# These two patches were commited right after release of 3.0.1 and fix a
# failing test.
patch -p1 < $SRC/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch
patch -p1 < $SRC/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch
# https://github.com/HowardHinnant/date/issues/537
# Modified to link against date-tz as newer releases of date changed the library.
# patch -p1 < $SRC/538-output-date-pc-for-pkg-config.patch
# FIXME: one particular test suite will fail; according to the date author,
# GCC's std::time_get is buggy and bugs should be raised to that project.
# See:
# https://github.com/HowardHinnant/date/issues/334
# https://github.com/HowardHinnant/date/issues/455
# https://github.com/HowardHinnant/date/issues/496
patch -p1 < $SRC/disable_buggy_libstdc++_tests.patch
cmake -B build -S "." \
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX="/usr" \
-DBUILD_SHARED_LIBS=true \
-DBUILD_TZ_LIB=true \
-DENABLE_DATE_TESTING=true \
-Wno-dev
make -C build testit
make -C build DESTDIR=$PKG install
}

View File

@ -0,0 +1,30 @@
--- a/test/date_test/parse.pass.cpp 2020-06-02 18:08:57.000000000 -0700
+++ b/test/date_test/parse.pass.cpp 2020-07-11 19:35:35.349377734 -0700
@@ -874,27 +874,20 @@
int
main()
{
- test_a();
- test_b();
- test_c();
test_C();
test_d();
test_D();
test_F();
test_H();
- test_Ip();
test_j();
test_m();
test_M();
- test_p();
- test_r();
test_R();
test_S();
test_T();
test_U();
test_W();
test_GV();
- test_x();
test_X();
test_z();
test_Z();

37
waybar/.footprint Normal file
View File

@ -0,0 +1,37 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/xdg/
drwxr-xr-x root/root etc/xdg/waybar/
-rw-r--r-- root/root etc/xdg/waybar/config
-rw-r--r-- root/root etc/xdg/waybar/style.css
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/waybar
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/waybar-backlight.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-battery.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-bluetooth.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-clock.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-cpu.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-custom.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-disk.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-idle-inhibitor.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-inhibitor.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-keyboard-state.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-memory.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-mpd.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-network.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-pulseaudio.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-river-tags.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-sndio.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-states.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-sway-language.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-sway-mode.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-sway-window.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-sway-workspaces.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-temperature.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-tray.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-wlr-taskbar.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar-wlr-workspaces.5.gz
-rw-r--r-- root/root usr/share/man/man5/waybar.5.gz

5
waybar/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxEvRUCisEeDocx+saLL+XDRjKui3I9o2sZ9IqRY5XMopxweTNilHZZ2DytGGWSQTAGscpS4yf5MC8/nZwJ8XCwc=
SHA256 (Pkgfile) = a312135474d44fbf1be24441958c9f3c658ef7cd90f0a101e358bf7999f2033c
SHA256 (.footprint) = 8126b4e7c61f74b6902117c437ab4d38daf97f578a4b9e11e55947826256880f
SHA256 (waybar-0.9.9.tar.gz) = 23a94538538f43a6db4c1c5f7e09e75ab743ded1ccfc737e1f3e0971fe4cdd87

19
waybar/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: sway status bar with improved system tray
# URL: https://github.com/Alexays/Waybar/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: meson ninja scdoc jsoncpp gtk3 gtkmm3 fmt chrono-date spdlog libsigc++ gtk-layer-shell wayland-protocols gobject-introspection
# Optional: sndio pulseaudio libappindicator-gtk3 catch2 libmpdclient libdbusmenu-gtk3
name=waybar
version=0.9.9
release=1
source=(https://github.com/Alexays/Waybar/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
prt-get isinst catch2 || PKGMK_WAYBAR="-D tests=disabled"
cd Waybar-$version
meson --buildtype=release --prefix=/usr build $PKGMK_WAYBAR
ninja -C build
DESTDIR=$PKG ninja -C build install
}