Commit 61c9c6d7 authored by jan.koester's avatar jan.koester
Browse files

Merge branch 'gtk-desktop': git and jq on the devel and desktop ISOs; <chrono> includes <vector>

parents 5cf646a7 90069b0d
Loading
Loading
Loading
Loading
+9 −6
Changes for build-chroot.sh: 9 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -62,7 +62,8 @@
#   ISO_NAME/ISO_TITLE/ISO_VOLID/ISO_HOSTNAME  naming of the live ISOs (the variant
#                 is appended: <ISO_NAME>-server.iso, "<ISO_TITLE> server", <ISO_VOLID>_SERVER)
#   ISO_VARIANTS  ISOs the 'iso' step builds (default: server devel desktop); server and
#                 devel leave out the DESKTOP_PACKAGES, desktop is server plus them
#                 devel leave out the DESKTOP_PACKAGES, desktop is server plus them;
#                 ISO_SERVER_EXCLUDE (git jq) are on devel and desktop only
#   ISO_DEVEL_TOOLS  packages besides *-dev, *-devel, *-headers left out of the server ISO
#                 (default: clang lld lldb llvm-project llvm-tools cmake ninja makeplus dwarves createrepo_c)
#   ISO_DEVEL_PATHS  paths not installed on the server ISO besides *.a, *.la and perl's CORE/
@@ -1454,14 +1455,14 @@ stage_sources() {
# which this chroot doesn't have (its rpm dependencies are in /usr).
PACKAGES="${PACKAGES:-zlib zstd popt lua file systempp libressl libelf rpm fresh makeplus libbpf bpftool ninja cmake python3 llvm-project
    ca-certificates ncurses libjson-c libbrotli libcmdplus libuuidp libnetplus libhtmlpp libconfplus libhttppp libparitypp
    libauthdb-client libmediadb-client libsmtppp libimappp mammut libdbpp liblzma libxml2 libarchive bzip2 libffi pcre2 glib2 curl libsolv librepo fmt toml11 libsmartcols dnf5 createrepo_c 
    fenriros-release proxyplus openssh dosfstools e2fsprogs gptfdisk tzdata syslite sharedd adconnect storaged iscsid upsd firewalld tinyxml2 snmpdd ntpplus containerd webctl limine perl rsync
    libauthdb-client libmediadb-client libsmtppp libimappp mammut libdbpp liblzma libxml2 libarchive bzip2 expat libffi pcre2 glib2 curl libsolv librepo fmt toml11 libsmartcols dnf5 createrepo_c 
    fenriros-release proxyplus openssh dosfstools e2fsprogs gptfdisk tzdata syslite sharedd adconnect storaged iscsid upsd firewalld tinyxml2 snmpdd ntpplus containerd webctl limine perl rsync git jq
    nasm libwebp x264 x265 libaom ffmpeg
    fenriros-installer dwarves mrustc rust kernel systrace}"
# the xpara desktop: built after PACKAGES (they need rust, ffmpeg, glib2, ...),
# in the repository, only on the desktop ISO (glib2 needs libffi and pcre2,
# which therefore are in PACKAGES)
DESKTOP_PACKAGES="${DESKTOP_PACKAGES-pkgconf python3-modules expat libpng pixman freetype harfbuzz fontconfig fribidi
DESKTOP_PACKAGES="${DESKTOP_PACKAGES-pkgconf python3-modules libpng pixman freetype harfbuzz fontconfig fribidi
    cairo pango gdk-pixbuf atk libepoxy gtk3 alsa-lib dejavu-fonts xpara feman meplay deskctl cbindgen nodejs firefox}"

# rpmbuild's automatic Provides/Requires (libc.so.1()(64bit), ...) need
@@ -1632,6 +1633,8 @@ ISO_REQUIRED="systempp fresh syslite kernel limine"
ISO_VARIANTS="${ISO_VARIANTS:-server devel desktop}"
# build tools among the desktop packages: not on the desktop ISO either
ISO_DESKTOP_TOOLS="${ISO_DESKTOP_TOOLS:-cbindgen nodejs python3-modules pkgconf}"
# on the devel and desktop ISOs, not the server one
ISO_SERVER_EXCLUDE="${ISO_SERVER_EXCLUDE:-git jq}"
ISO_DEVEL_TOOLS="${ISO_DEVEL_TOOLS:-clang lld lldb llvm-project llvm-tools cmake ninja makeplus dwarves createrepo_c rust cargo mrustc}"
ISO_DEVEL_PATHS="${ISO_DEVEL_PATHS:-/usr/include /usr/lib/pkgconfig /usr/share/pkgconfig /usr/lib/cmake /usr/share/cmake /usr/share/aclocal}"

@@ -1708,8 +1711,8 @@ iso_image() {
        # iso-candidates: "name evr path" of every RPM, iso-rpms the newest
        # paths, iso-desktop-names the desktop stack's packages (server: none
        # of them, desktop: all but their build tools)
        local ex=" $ISO_DEVEL_TOOLS " nodesk=1
        [[ $v = desktop ]] && { ex+="$ISO_DESKTOP_TOOLS "; nodesk=0; }
        local ex=" $ISO_DEVEL_TOOLS $ISO_SERVER_EXCLUDE " nodesk=1
        [[ $v = desktop ]] && { ex=" $ISO_DEVEL_TOOLS $ISO_DESKTOP_TOOLS "; nodesk=0; }
        awk -v ex="$ex" -v nodesk=$nodesk 'FILENAME ~ /iso-desktop-names$/ { desk[$1]; next }
            NR == FNR { keep[$1]; next }
            ($3 in keep) && $1 !~ /-(dev|devel|headers)$/ && index(ex, " " $1 " ") == 0 &&
+5 −0
Changes for include/cxx/chrono: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1009,3 +1009,8 @@ struct formatter<chrono::year_month_day, char> {
};

}

/* as libstdc++'s (C++20 <chrono> has the time zone database's vectors):
 * code reaches std::vector through <chrono> (real gap: dnf5's logger,
 * which got it through <string_view>'s <functional> before) */
#include <vector>