2022-08-08 06:36:26 +08:00
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# set +e
|
2022-09-12 10:00:18 +08:00
|
|
|
|
# 所有的编译基于 Ubuntu 18.04.6 Server LTS 编译通过, 纯净的系统,其它系统请自行调整脚本
|
2022-08-12 06:36:59 +08:00
|
|
|
|
|
2022-08-08 06:36:26 +08:00
|
|
|
|
# 预装工具
|
|
|
|
|
if [ -f "/usr/bin/apt" ]; then
|
2022-09-11 22:02:04 +08:00
|
|
|
|
apt install autoconf autoconf-archive automake libtool make nasm cmake m4 pkg-config llvm-10 clang-10 intltool -y || exit
|
2022-09-12 14:36:10 +08:00
|
|
|
|
apt install check bison flex python3-pip libpython-dev gperf gtk-doc-tools xsltproc -y || exit
|
2022-09-11 22:02:04 +08:00
|
|
|
|
apt install libssl-dev libcurl4-openssl-dev libsqlite3-dev libmicrohttpd-dev libarchive-dev libgirepository1.0-dev -y || exit
|
2022-09-14 21:21:11 +08:00
|
|
|
|
# 需要安装, 安装主题, 显卡驱动, 安装字库否则不能正常显示, gsettings-desktop-schemas 保证 xfdesktop-settings 能运行
|
2022-09-13 22:04:57 +08:00
|
|
|
|
apt install libudev-dev libdbus-1-dev dbus-x11 gobject-introspection icon-naming-utils -y || exit
|
2022-08-08 06:36:26 +08:00
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ -f "/usr/bin/yum" ]; then
|
|
|
|
|
echo "xxx"
|
|
|
|
|
fi
|
|
|
|
|
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# undefined symbol: Py_InitModule4_64 需要安装高版本的 python3.8-dbg
|
2022-08-30 06:07:09 +08:00
|
|
|
|
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple ninja
|
|
|
|
|
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple meson
|
|
|
|
|
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple gi-docgen
|
2022-08-12 06:36:59 +08:00
|
|
|
|
|
2022-08-08 06:36:26 +08:00
|
|
|
|
#-----------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# 导入公共变量
|
|
|
|
|
#
|
|
|
|
|
#-----------------------------------------------
|
|
|
|
|
. ./common.sh
|
|
|
|
|
|
2022-09-14 21:21:11 +08:00
|
|
|
|
MTDEV_SRC_URL=https://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2
|
2022-08-12 06:36:59 +08:00
|
|
|
|
GETTEXT_SRC_URL=https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz
|
|
|
|
|
LIBMNT_SRC_URL=https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-2.36.tar.xz
|
2022-08-21 23:42:14 +08:00
|
|
|
|
LIBZIP_SRC_URL=https://libzip.org/download/libzip-1.9.2.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBELF_SRC_URL=https://sourceware.org/elfutils/ftp/0.186/elfutils-0.186.tar.bz2
|
|
|
|
|
CAIRO_SRC_URL=https://www.cairographics.org/releases/cairo-1.16.0.tar.xz
|
|
|
|
|
PIXMAN_SRC_URL=https://www.cairographics.org/releases/pixman-0.40.0.tar.gz
|
|
|
|
|
ZLIB_SRC_URL=https://nchc.dl.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBPNG_SRC_URL=https://nchc.dl.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
FREETYPE_SRC_URL=https://nchc.dl.sourceforge.net/project/freetype/freetype2/2.12.0/freetype-2.12.0.tar.xz
|
2022-10-01 19:47:23 +08:00
|
|
|
|
DEJAVUFONTS1_SRC_URL=https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_2_37/dejavu-fonts-ttf-2.37.tar.bz2
|
|
|
|
|
DEJAVUFONTS2_SRC_URL=https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_2_37/dejavu-lgc-fonts-ttf-2.37.tar.bz2
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBJPEGTURBO_SRC_URL=https://sourceforge.net/projects/libjpeg-turbo/files/2.1.0/libjpeg-turbo-2.1.0.tar.gz
|
|
|
|
|
XKBCOMMON_SRC_URL=https://xkbcommon.org/download/libxkbcommon-1.4.1.tar.xz
|
2022-10-09 21:52:51 +08:00
|
|
|
|
XTERM_SRC_URL=https://invisible-island.net/archives/xterm/xterm-372.tgz
|
2022-09-29 23:14:34 +08:00
|
|
|
|
EXPAT_SRC_URL=https://nchc.dl.sourceforge.net/project/expat/expat/2.4.9/expat-2.4.9.tar.xz
|
2022-09-28 21:54:06 +08:00
|
|
|
|
LIBUDEV_SRC_URL=https://dev.gentoo.org/~blueness/eudev/eudev-3.2.9.tar.gz
|
|
|
|
|
LIBNETTLE_SRC_URL=https://ftp.gnu.org/gnu/nettle/nettle-3.8.1.tar.gz
|
|
|
|
|
LIBPCRE_SRC_URL=https://nchc.dl.sourceforge.net/project/pcre/pcre/8.39/pcre-8.39.tar.gz
|
2022-10-01 22:33:38 +08:00
|
|
|
|
LLVM_SRC_URL=https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/llvm-10.0.0.src.tar.xz
|
2022-10-09 21:52:51 +08:00
|
|
|
|
NCURSES_SRC_URL=https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz
|
2022-09-14 21:21:11 +08:00
|
|
|
|
XFCE_SRC_URL=https://archive.xfce.org/xfce/4.16/fat_tarballs/xfce-4.16.tar.bz2
|
2022-10-09 21:52:51 +08:00
|
|
|
|
LIBEDIT_SRC_URL=https://thrysoee.dk/editline/libedit-20210910-3.1.tar.gz
|
|
|
|
|
IMSENSORS_SRC_URL=https://ftp.gwdg.de/pub/linux/misc/lm-sensors/lm_sensors-3.4.0.tar.bz2
|
2022-08-30 06:07:09 +08:00
|
|
|
|
|
|
|
|
|
# download from https://github.com
|
|
|
|
|
LIBFFI_SRC_URL=https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz
|
2022-08-22 23:49:14 +08:00
|
|
|
|
LIBTHAI_SRC_URL=https://github.com/tlwg/libthai/releases/download/v0.1.29/libthai-0.1.29.tar.xz
|
|
|
|
|
LIBDATRIE_SRC_URL=https://github.com/tlwg/libdatrie/releases/download/v0.2.13/libdatrie-0.2.13.tar.xz
|
2022-08-21 10:12:25 +08:00
|
|
|
|
LIBPCRE2_SRC_URL=https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.gz
|
2022-09-14 21:21:11 +08:00
|
|
|
|
XRDP_SRC_URL=https://github.com/neutrinolabs/xrdp/releases/download/v0.9.19/xrdp-0.9.19.tar.gz
|
2022-08-12 06:36:59 +08:00
|
|
|
|
FRIBIDI_SRC_URL=https://github.com/fribidi/fribidi/releases/download/v1.0.12/fribidi-1.0.12.tar.xz
|
2022-09-14 21:21:11 +08:00
|
|
|
|
HARFBUZZ_SRC_URL=https://github.com/harfbuzz/harfbuzz/releases/download/5.1.0/harfbuzz-5.1.0.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBPAM_SRC_URL=https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz
|
2022-09-10 08:21:18 +08:00
|
|
|
|
LIBWACOM_SRC_URL=https://github.com/linuxwacom/libwacom/releases/download/libwacom-2.4.0/libwacom-2.4.0.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
|
|
|
|
|
# download from https://gitlab.freedesktop.org
|
2022-09-14 05:32:21 +08:00
|
|
|
|
WAYLANDCORE_SRC_URL=https://wayland.freedesktop.org/releases/wayland-1.20.0.tar.xz
|
|
|
|
|
WAYLANDPROT_SRC_URL=https://wayland.freedesktop.org/releases/wayland-protocols-1.25.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
UPOWER_SRC_URL=https://gitlab.freedesktop.org/upower/upower/-/archive/v1.90.0/upower-v1.90.0.tar.gz
|
|
|
|
|
MESA_SRC_URL=https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-20.0.0-rc3/mesa-mesa-20.0.0-rc3.tar.gz
|
|
|
|
|
LIBDRM_SRC_URL=https://dri.freedesktop.org/libdrm/libdrm-2.4.110.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
DBUS1_SRC_URL=https://dbus.freedesktop.org/releases/dbus/dbus-1.12.12.tar.gz
|
2022-08-21 23:42:14 +08:00
|
|
|
|
GSTREAMER_SRC_URL=https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.20.2.tar.xz
|
2022-09-12 16:36:52 +08:00
|
|
|
|
ICONNAMINGUTILS_SRC_URL=http://tango.freedesktop.org/releases/icon-naming-utils-0.8.90.tar.bz2
|
2022-09-12 14:36:10 +08:00
|
|
|
|
HICOLORICONTHEME_SRC_URL=https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.17.tar.xz
|
2022-09-10 08:21:18 +08:00
|
|
|
|
LIBEVDEV_SRC_URL=https://www.freedesktop.org/software/libevdev/libevdev-1.13.0.tar.xz
|
|
|
|
|
LIBINPUT_SRC_URL=https://www.freedesktop.org/software/libinput/libinput-1.19.4.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
FONTCFG_SRC_URL=https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.96.tar.xz
|
|
|
|
|
STARTUPNOTI_SRC_URL=http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
|
2022-09-13 22:04:57 +08:00
|
|
|
|
# download from https://download.gnome.org
|
2022-08-30 06:07:09 +08:00
|
|
|
|
GLIB_SRC_URL=https://download.gnome.org/sources/glib/2.62/glib-2.62.0.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBATK_SRC_URL=https://download.gnome.org/sources/atk/2.38/atk-2.38.0.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
PANGO_SRC_URL=https://download.gnome.org/sources/pango/1.48/pango-1.48.9.tar.xz
|
2022-08-14 00:16:16 +08:00
|
|
|
|
GTKX_SRC_URL=https://download.gnome.org/sources/gtk%2B/3.24/gtk%2B-3.24.9.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBXML_SRC_URL=https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.8.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBGUDEV_SRC_URL=https://download.gnome.org/sources/libgudev/236/libgudev-236.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBWNCK_SRC_URL=https://download.gnome.org/sources/libwnck/3.36/libwnck-3.36.0.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBEPOXY_SRC_URL=https://download.gnome.org/sources/libepoxy/1.5/libepoxy-1.5.10.tar.xz
|
|
|
|
|
GRAPHENE_SRC_URL=https://download.gnome.org/sources/graphene/1.10/graphene-1.10.8.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBNOTIFY_SRC_URL=https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.0.tar.xz
|
2022-09-17 23:10:03 +08:00
|
|
|
|
GDKPIXBUF_SRC_URL=https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBATK_CORE_SRC_URL=https://download.gnome.org/sources/at-spi2-core/2.38/at-spi2-core-2.38.0.tar.xz
|
|
|
|
|
LIBATK_BRIDGE_SRC_URL=https://download.gnome.org/sources/at-spi2-atk/2.38/at-spi2-atk-2.38.0.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
GNOMEICONTHEME_SRC_URL=https://download.gnome.org/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz
|
2022-09-17 23:10:03 +08:00
|
|
|
|
GOBJINTROSPE_SRC_URL=https://download.gnome.org/sources/gobject-introspection/1.73/gobject-introspection-1.73.1.tar.xz
|
2022-09-14 21:21:11 +08:00
|
|
|
|
GSETDESKTOPSCHEMAS_SRC_URL=https://download.gnome.org/sources/gsettings-desktop-schemas/42/gsettings-desktop-schemas-42.0.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
|
|
|
|
|
# download from https://www.x.org/releases/individual
|
|
|
|
|
XI_SRC_URL=https://www.x.org/releases/individual/lib/libXi-1.8.tar.gz
|
2022-09-01 22:32:14 +08:00
|
|
|
|
XT_SRC_URL=https://www.x.org/releases/individual/lib/libXt-1.2.1.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
XMU_SRC_URL=https://www.x.org/releases/individual/lib/libXmu-1.1.3.tar.gz
|
|
|
|
|
LIBSM_SRC_URL=https://www.x.org/releases/individual/lib/libSM-1.2.3.tar.gz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XAU_SRC_URL=https://www.x.org/releases/individual/lib/libXau-1.0.10.tar.xz
|
2022-09-01 22:32:14 +08:00
|
|
|
|
XAW_SRC_URL=https://www.x.org/releases/individual/lib/libXaw-1.0.14.tar.gz
|
|
|
|
|
XPM_SRC_URL=https://www.x.org/releases/individual/lib/libXpm-3.5.13.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBX11_SRC_URL=https://www.x.org/releases/individual/lib/libX11-1.8.tar.gz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XEXT_SRC_URL=https://www.x.org/releases/individual/lib/libXext-1.3.4.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBXCB_SRC_URL=https://www.x.org/releases/individual/lib/libxcb-1.15.tar.xz
|
|
|
|
|
XTST_SRC_URL=https://www.x.org/releases/individual/lib/libXtst-1.2.3.tar.gz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XTRANS_SRC_URL=https://www.x.org/releases/individual/lib/xtrans-1.4.0.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBICE_SRC_URL=https://www.x.org/releases/individual/lib/libICE-1.0.10.tar.gz
|
2022-09-29 23:14:34 +08:00
|
|
|
|
XINIT_SRC_URL=https://www.x.org/releases/individual/app/xinit-1.4.1.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
XDMCP_SRC_URL=https://www.x.org/releases/individual/lib/libXdmcp-1.1.3.tar.gz
|
|
|
|
|
XFONT_SRC_URL=https://www.x.org/releases/individual/lib/libXfont2-2.0.6.tar.xz
|
|
|
|
|
LIBXCVT_SRC_URL=https://www.x.org/releases/individual/lib/libxcvt-0.1.2.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XRANDR_SRC_URL=https://www.x.org/releases/individual/lib/libXrandr-1.5.2.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
XFIXES_SRC_URL=https://www.x.org/releases/individual/lib/libXfixes-6.0.0.tar.gz
|
|
|
|
|
XKBFILE_SRC_URL=https://www.x.org/releases/individual/lib/libxkbfile-1.1.0.tar.gz
|
|
|
|
|
FONTENC_SRC_URL=https://www.x.org/releases/individual/lib/libfontenc-1.1.6.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XDAMAGE_SRC_URL=https://www.x.org/releases/individual/lib/libXdamage-1.1.5.tar.gz
|
|
|
|
|
XXF86VM_SRC_URL=https://www.x.org/releases/individual/lib/libXxf86vm-1.1.4.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
XRENDER_SRC_URL=https://www.x.org/releases/individual/lib/libXrender-0.9.10.tar.gz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XSHMFENCE_SRC_URL=https://www.x.org/releases/individual/lib/libxshmfence-1.3.tar.gz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
XINERAMA_SRC_URL=https://www.x.org/releases/individual/lib/libXinerama-1.1.4.tar.gz
|
2022-09-14 21:21:11 +08:00
|
|
|
|
LIBPCIACCESS_SRC_URL=https://www.x.org/releases/individual/lib/libpciaccess-0.16.tar.gz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XORGMACROS_SRC_URL=https://www.x.org/releases/individual/util/util-macros-1.19.3.tar.gz
|
|
|
|
|
ICEAUTH_SRC_URL=https://www.x.org/releases/individual/app/iceauth-1.0.9.tar.xz
|
2022-09-13 22:04:57 +08:00
|
|
|
|
XKBCOMP_SRC_URL=https://www.x.org/releases/individual/app/xkbcomp-1.4.5.tar.gz
|
|
|
|
|
BDFTOPCF_SRC_URL=https://www.x.org/releases/individual/app/bdftopcf-1.1.tar.bz2
|
|
|
|
|
MKFONTDIR_SRC_URL=https://www.x.org/releases/individual/app/mkfontdir-1.0.7.tar.bz2
|
|
|
|
|
MKFONTSCALE_SRC_URL=https://www.x.org/releases/individual/app/mkfontscale-1.2.2.tar.xz
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XCBUTIL_SRC_URL=https://www.x.org/releases/individual/xcb/xcb-util-0.4.0.tar.gz
|
|
|
|
|
KBPROTO_SRC_URL=https://www.x.org/releases/individual/proto/kbproto-1.0.7.tar.gz
|
|
|
|
|
LIBXPROTO_SRC_URL=https://www.x.org/releases/individual/proto/xproto-7.0.31.tar.gz
|
|
|
|
|
XEXTPROTO_SRC_URL=https://www.x.org/releases/individual/proto/xextproto-7.3.0.tar.gz
|
|
|
|
|
XCBPROTO_SRC_URL=https://www.x.org/releases/individual/proto/xcb-proto-1.15.2.tar.gz
|
|
|
|
|
XORGPROTO_SRC_URL=https://www.x.org/releases/individual/proto/xorgproto-2022.2.tar.xz
|
2022-09-14 21:21:11 +08:00
|
|
|
|
XSERVER_SRC_URL=https://www.x.org/releases/individual/xserver/xorg-server-21.1.4.tar.xz
|
2022-09-10 16:31:48 +08:00
|
|
|
|
FONTUTIL_SRC_URL=https://www.x.org/releases/individual/font/font-util-1.3.3.tar.xz
|
|
|
|
|
FONTMISC_SRC_URL=https://www.x.org/releases/individual/font/font-misc-misc-1.1.2.tar.bz2
|
2022-09-10 08:21:18 +08:00
|
|
|
|
XF86INPUT_SRC_URL=https://www.x.org/releases/individual/driver/xf86-input-libinput-1.2.1.tar.xz
|
2022-09-12 22:04:20 +08:00
|
|
|
|
XF86VIDEOVESA_SRC_URL=https://www.x.org/releases/individual/driver/xf86-video-vesa-2.5.0.tar.bz2
|
2022-10-10 21:19:13 +08:00
|
|
|
|
XF86VIDEOVMWARE_SRC_URL=https://www.x.org/releases/individual/driver/xf86-video-vmware-13.3.0.tar.bz2
|
2022-09-14 21:21:11 +08:00
|
|
|
|
XKBDATA_SRC_URL=https://www.x.org/releases/individual/data/xkbdata-1.0.1.tar.bz2
|
|
|
|
|
XKBDCFG_SRC_URL=https://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.36.tar.xz
|
2022-08-08 06:36:26 +08:00
|
|
|
|
|
|
|
|
|
#----------------------------
|
|
|
|
|
#
|
|
|
|
|
# 下载源码
|
|
|
|
|
#
|
|
|
|
|
#----------------------------
|
|
|
|
|
mkdir -pv source
|
|
|
|
|
cd source
|
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
LIBFFI_SRC_NAME=$(download_src ${LIBFFI_SRC_URL})
|
2022-08-21 10:12:25 +08:00
|
|
|
|
LIBXML_SRC_NAME=$(download_src ${LIBXML_SRC_URL})
|
2022-08-21 01:40:05 +08:00
|
|
|
|
LIBMNT_SRC_NAME=$(download_src ${LIBMNT_SRC_URL})
|
|
|
|
|
LIBPNG_SRC_NAME=$(download_src ${LIBPNG_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
ZLIB_SRC_NAME=$(download_src ${ZLIB_SRC_URL})
|
2022-08-21 23:42:14 +08:00
|
|
|
|
LIBZIP_SRC_NAME=$(download_src ${LIBZIP_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBELF_SRC_NAME=$(download_src ${LIBELF_SRC_URL})
|
2022-09-28 21:54:06 +08:00
|
|
|
|
LIBUDEV_SRC_NAME=$(download_src ${LIBUDEV_SRC_URL})
|
2022-08-22 23:49:14 +08:00
|
|
|
|
LIBTHAI_SRC_NAME=$(download_src ${LIBTHAI_SRC_URL})
|
2022-10-09 21:52:51 +08:00
|
|
|
|
LIBEDIT_SRC_NAME=$(download_src ${LIBEDIT_SRC_URL})
|
2022-09-28 21:54:06 +08:00
|
|
|
|
LIBNETTLE_SRC_NAME=$(download_src ${LIBNETTLE_SRC_URL})
|
2022-08-22 23:49:14 +08:00
|
|
|
|
LIBDATRIE_SRC_NAME=$(download_src ${LIBDATRIE_SRC_URL})
|
2022-09-28 21:54:06 +08:00
|
|
|
|
LIBPCRE_SRC_NAME=$(download_src ${LIBPCRE_SRC_URL})
|
2022-08-21 10:12:25 +08:00
|
|
|
|
LIBPCRE2_SRC_NAME=$(download_src ${LIBPCRE2_SRC_URL})
|
2022-08-21 23:42:14 +08:00
|
|
|
|
LIBNOTIFY_SRC_NAME=$(download_src ${LIBNOTIFY_SRC_URL})
|
2022-08-21 01:40:05 +08:00
|
|
|
|
GLIB_SRC_NAME=$(download_src ${GLIB_SRC_URL})
|
2022-10-01 22:33:38 +08:00
|
|
|
|
LLVM_SRC_NAME=$(download_src ${LLVM_SRC_URL})
|
2022-09-29 23:14:34 +08:00
|
|
|
|
EXPAT_SRC_NAME=$(download_src ${EXPAT_SRC_URL})
|
2022-08-21 01:40:05 +08:00
|
|
|
|
PIXMAN_SRC_NAME=$(download_src ${PIXMAN_SRC_URL})
|
|
|
|
|
FREETYPE_SRC_NAME=$(download_src ${FREETYPE_SRC_URL})
|
2022-10-09 21:52:51 +08:00
|
|
|
|
IMSENSORS_SRC_NAME=$(download_src ${IMSENSORS_SRC_URL})
|
2022-08-21 01:40:05 +08:00
|
|
|
|
CAIRO_SRC_NAME=$(download_src ${CAIRO_SRC_URL})
|
|
|
|
|
FONTCFG_SRC_NAME=$(download_src ${FONTCFG_SRC_URL})
|
|
|
|
|
HARFBUZZ_SRC_NAME=$(download_src ${HARFBUZZ_SRC_URL})
|
|
|
|
|
FRIBIDI_SRC_NAME=$(download_src ${FRIBIDI_SRC_URL})
|
|
|
|
|
PANGO_SRC_NAME=$(download_src ${PANGO_SRC_URL})
|
|
|
|
|
GDKPIXBUF_SRC_NAME=$(download_src ${GDKPIXBUF_SRC_URL})
|
|
|
|
|
LIBATK_SRC_NAME=$(download_src ${LIBATK_SRC_URL})
|
|
|
|
|
GETTEXT_SRC_NAME=$(download_src ${GETTEXT_SRC_URL})
|
2022-08-22 23:49:14 +08:00
|
|
|
|
WAYLANDCORE_SRC_NAME=$(download_src ${WAYLANDCORE_SRC_URL})
|
2022-08-21 01:40:05 +08:00
|
|
|
|
WAYLANDPROT_SRC_NAME=$(download_src ${WAYLANDPROT_SRC_URL})
|
|
|
|
|
STARTUPNOTI_SRC_NAME=$(download_src ${STARTUPNOTI_SRC_URL})
|
|
|
|
|
LIBGUDEV_SRC_NAME=$(download_src ${LIBGUDEV_SRC_URL})
|
|
|
|
|
UPOWER_SRC_NAME=$(download_src ${UPOWER_SRC_URL})
|
|
|
|
|
LIBWNCK_SRC_NAME=$(download_src ${LIBWNCK_SRC_URL})
|
|
|
|
|
LIBATK_CORE_SRC_NAME=$(download_src ${LIBATK_CORE_SRC_URL})
|
|
|
|
|
LIBATK_BRIDGE_SRC_NAME=$(download_src ${LIBATK_BRIDGE_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBJPEGTURBO_SRC_NAME=$(download_src ${LIBJPEGTURBO_SRC_URL})
|
|
|
|
|
LIBXPROTO_SRC_NAME=$(download_src ${LIBXPROTO_SRC_URL})
|
|
|
|
|
XTRANS_SRC_NAME=$(download_src ${XTRANS_SRC_URL})
|
2022-09-29 23:14:34 +08:00
|
|
|
|
XINIT_SRC_NAME=$(download_src ${XINIT_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBSM_SRC_NAME=$(download_src ${LIBSM_SRC_URL})
|
|
|
|
|
LIBICE_SRC_NAME=$(download_src ${LIBICE_SRC_URL})
|
|
|
|
|
LIBX11_SRC_NAME=$(download_src ${LIBX11_SRC_URL})
|
|
|
|
|
XRANDR_SRC_NAME=$(download_src ${XRANDR_SRC_URL})
|
|
|
|
|
XINERAMA_SRC_NAME=$(download_src ${XINERAMA_SRC_URL})
|
|
|
|
|
XRENDER_SRC_NAME=$(download_src ${XRENDER_SRC_URL})
|
|
|
|
|
KBPROTO_SRC_NAME=$(download_src ${KBPROTO_SRC_URL})
|
|
|
|
|
XKBCOMMON_SRC_NAME=$(download_src ${XKBCOMMON_SRC_URL})
|
|
|
|
|
XEXT_SRC_NAME=$(download_src ${XEXT_SRC_URL})
|
|
|
|
|
XEXTPROTO_SRC_NAME=$(download_src ${XEXTPROTO_SRC_URL})
|
|
|
|
|
XCBPROTO_SRC_NAME=$(download_src ${XCBPROTO_SRC_URL})
|
|
|
|
|
LIBXCB_SRC_NAME=$(download_src ${LIBXCB_SRC_URL})
|
|
|
|
|
XCBUTIL_SRC_NAME=$(download_src ${XCBUTIL_SRC_URL})
|
|
|
|
|
ICEAUTH_SRC_NAME=$(download_src ${ICEAUTH_SRC_URL})
|
2022-09-01 22:32:14 +08:00
|
|
|
|
XT_SRC_NAME=$(download_src ${XT_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XAU_SRC_NAME=$(download_src ${XAU_SRC_URL})
|
2022-09-01 22:32:14 +08:00
|
|
|
|
XAW_SRC_NAME=$(download_src ${XAW_SRC_URL})
|
|
|
|
|
XMU_SRC_NAME=$(download_src ${XMU_SRC_URL})
|
|
|
|
|
XPM_SRC_NAME=$(download_src ${XPM_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XDMCP_SRC_NAME=$(download_src ${XDMCP_SRC_URL})
|
|
|
|
|
XRANDR_SRC_NAME=$(download_src ${XRANDR_SRC_URL})
|
|
|
|
|
XRENDER_SRC_NAME=$(download_src ${XRENDER_SRC_URL})
|
|
|
|
|
KBPROTO_SRC_NAME=$(download_src ${KBPROTO_SRC_URL})
|
|
|
|
|
XEXT_SRC_NAME=$(download_src ${XEXT_SRC_URL})
|
|
|
|
|
XEXTPROTO_SRC_NAME=$(download_src ${XEXTPROTO_SRC_URL})
|
|
|
|
|
XCBPROTO_SRC_NAME=$(download_src ${XCBPROTO_SRC_URL})
|
|
|
|
|
LIBXCB_SRC_NAME=$(download_src ${LIBXCB_SRC_URL})
|
|
|
|
|
XCBUTIL_SRC_NAME=$(download_src ${XCBUTIL_SRC_URL})
|
|
|
|
|
XAU_SRC_NAME=$(download_src ${XAU_SRC_URL})
|
|
|
|
|
XDMCP_SRC_NAME=$(download_src ${XDMCP_SRC_URL})
|
|
|
|
|
XORGPROTO_SRC_NAME=$(download_src ${XORGPROTO_SRC_URL})
|
|
|
|
|
XFIXES_SRC_NAME=$(download_src ${XFIXES_SRC_URL})
|
|
|
|
|
XDAMAGE_SRC_NAME=$(download_src ${XDAMAGE_SRC_URL})
|
|
|
|
|
XSHMFENCE_SRC_NAME=$(download_src ${XSHMFENCE_SRC_URL})
|
|
|
|
|
XXF86VM_SRC_NAME=$(download_src ${XXF86VM_SRC_URL})
|
|
|
|
|
XI_SRC_NAME=$(download_src ${XI_SRC_URL})
|
|
|
|
|
XTST_SRC_NAME=$(download_src ${XTST_SRC_URL})
|
2022-08-21 01:40:05 +08:00
|
|
|
|
XFCE_SRC_NAME=$(download_src ${XFCE_SRC_URL})
|
2022-08-21 23:42:14 +08:00
|
|
|
|
MESA_SRC_NAME=$(download_src ${MESA_SRC_URL})
|
|
|
|
|
LIBDRM_SRC_NAME=$(download_src ${LIBDRM_SRC_URL})
|
|
|
|
|
GSTREAMER_SRC_NAME=$(download_src ${GSTREAMER_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBPAM_SRC_NAME=$(download_src ${LIBPAM_SRC_URL})
|
|
|
|
|
XRDP_SRC_NAME=$(download_src ${XRDP_SRC_URL})
|
2022-08-31 21:23:52 +08:00
|
|
|
|
XKBCOMP_SRC_NAME=$(download_src ${XKBCOMP_SRC_URL})
|
|
|
|
|
LIBXCVT_SRC_NAME=$(download_src ${LIBXCVT_SRC_URL})
|
|
|
|
|
XKBFILE_SRC_NAME=$(download_src ${XKBFILE_SRC_URL})
|
|
|
|
|
FONTENC_SRC_NAME=$(download_src ${FONTENC_SRC_URL})
|
|
|
|
|
XFONT_SRC_NAME=$(download_src ${XFONT_SRC_URL})
|
2022-09-10 16:31:48 +08:00
|
|
|
|
FONTUTIL_SRC_NAME=$(download_src ${FONTUTIL_SRC_URL})
|
|
|
|
|
MKFONTDIR_SRC_NAME=$(download_src ${MKFONTDIR_SRC_URL})
|
|
|
|
|
MKFONTSCALE_SRC_NAME=$(download_src ${MKFONTSCALE_SRC_URL})
|
|
|
|
|
BDFTOPCF_SRC_NAME=$(download_src ${BDFTOPCF_SRC_URL})
|
|
|
|
|
FONTMISC_SRC_NAME=$(download_src ${FONTMISC_SRC_URL})
|
2022-08-31 21:23:52 +08:00
|
|
|
|
XSERVER_SRC_NAME=$(download_src ${XSERVER_SRC_URL})
|
2022-09-01 22:32:14 +08:00
|
|
|
|
NCURSES_SRC_NAME=$(download_src ${NCURSES_SRC_URL})
|
|
|
|
|
XTERM_SRC_NAME=$(download_src ${XTERM_SRC_URL})
|
2022-09-11 22:02:04 +08:00
|
|
|
|
XKBDATA_SRC_NAME=$(download_src ${XKBDATA_SRC_URL})
|
|
|
|
|
XKBDCFG_SRC_NAME=$(download_src ${XKBDCFG_SRC_URL})
|
2022-09-10 08:21:18 +08:00
|
|
|
|
MTDEV_SRC_NAME=$(download_src ${MTDEV_SRC_URL})
|
|
|
|
|
LIBEVDEV_SRC_NAME=$(download_src ${LIBEVDEV_SRC_URL})
|
|
|
|
|
LIBWACOM_SRC_NAME=$(download_src ${LIBWACOM_SRC_URL})
|
|
|
|
|
LIBINPUT_SRC_NAME=$(download_src ${LIBINPUT_SRC_URL})
|
|
|
|
|
XF86INPUT_SRC_NAME=$(download_src ${XF86INPUT_SRC_URL})
|
2022-09-12 22:04:20 +08:00
|
|
|
|
XF86VIDEOVESA_SRC_NAME=$(download_src ${XF86VIDEOVESA_SRC_URL})
|
2022-10-10 21:19:13 +08:00
|
|
|
|
XF86VIDEOVMWARE_SRC_NAME=$(download_src ${XF86VIDEOVMWARE_SRC_URL})
|
2022-09-13 22:04:57 +08:00
|
|
|
|
DEJAVUFONTS1_SRC_NAME=$(download_src ${DEJAVUFONTS1_SRC_URL})
|
|
|
|
|
DEJAVUFONTS2_SRC_NAME=$(download_src ${DEJAVUFONTS2_SRC_URL})
|
2022-09-12 10:34:02 +08:00
|
|
|
|
GNOMEICONTHEME_SRC_NAME=$(download_src ${GNOMEICONTHEME_SRC_URL})
|
2022-09-12 14:36:10 +08:00
|
|
|
|
HICOLORICONTHEME_SRC_NAME=$(download_src ${HICOLORICONTHEME_SRC_URL})
|
2022-09-12 16:36:52 +08:00
|
|
|
|
ICONNAMINGUTILS_SRC_NAME=$(download_src ${ICONNAMINGUTILS_SRC_URL})
|
2022-09-13 22:04:57 +08:00
|
|
|
|
DBUS1_SRC_NAME=$(download_src ${DBUS1_SRC_URL})
|
|
|
|
|
GRAPHENE_SRC_NAME=$(download_src ${GRAPHENE_SRC_URL})
|
|
|
|
|
LIBEPOXY_SRC_NAME=$(download_src ${LIBEPOXY_SRC_URL})
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XORGMACROS_SRC_NAME=$(download_src ${XORGMACROS_SRC_URL})
|
2022-09-13 22:04:57 +08:00
|
|
|
|
GOBJINTROSPE_SRC_NAME=$(download_src ${GOBJINTROSPE_SRC_URL})
|
2022-09-14 21:21:11 +08:00
|
|
|
|
GSETDESKTOPSCHEMAS_SRC_NAME=$(download_src ${GSETDESKTOPSCHEMAS_SRC_URL})
|
2022-09-17 23:10:03 +08:00
|
|
|
|
LIBPCIACCESS_SRC_NAME=$(download_src ${LIBPCIACCESS_SRC_URL} xorg-libpciaccess-)
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# gtk 因为 + 号,需要特殊处理
|
2022-08-12 06:36:59 +08:00
|
|
|
|
GTKX_SRC_NAME=$(echo $(file_name ${GTKX_SRC_URL}) | sed 's/%2B/+/')
|
2022-08-30 06:07:09 +08:00
|
|
|
|
if [ ! -f "${GTKX_SRC_NAME}" ]; then
|
2022-08-12 06:36:59 +08:00
|
|
|
|
wget -c -t 0 $GTKX_SRC_URL
|
|
|
|
|
fi
|
|
|
|
|
|
2022-08-08 06:36:26 +08:00
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
#---------------------------
|
|
|
|
|
#
|
|
|
|
|
# 解压源码
|
|
|
|
|
#
|
|
|
|
|
#---------------------------
|
|
|
|
|
mkdir -pv ${build_dir}
|
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
LIBFFI_SRC_DIR=$(unzip_src ".tar.gz" ${LIBFFI_SRC_NAME}); echo "unzip ${LIBFFI_SRC_NAME} source code"
|
2022-08-21 10:12:25 +08:00
|
|
|
|
LIBXML_SRC_DIR=$(unzip_src ".tar.xz" ${LIBXML_SRC_NAME}); echo "unzip ${LIBXML_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
LIBMNT_SRC_DIR=$(unzip_src ".tar.xz" ${LIBMNT_SRC_NAME}); echo "unzip ${LIBMNT_SRC_NAME} source code"
|
|
|
|
|
LIBPNG_SRC_DIR=$(unzip_src ".tar.xz" ${LIBPNG_SRC_NAME}); echo "unzip ${LIBPNG_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
ZLIB_SRC_DIR=$(unzip_src ".tar.xz" ${ZLIB_SRC_NAME}); echo "unzip ${ZLIB_SRC_NAME} source code"
|
2022-08-21 23:42:14 +08:00
|
|
|
|
LIBZIP_SRC_DIR=$(unzip_src ".tar.xz" ${LIBZIP_SRC_NAME}); echo "unzip ${LIBZIP_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBELF_SRC_DIR=$(unzip_src ".tar.bz2" ${LIBELF_SRC_NAME}); echo "unzip ${LIBELF_SRC_NAME} source code"
|
2022-10-09 21:52:51 +08:00
|
|
|
|
LIBEDIT_SRC_DIR=$(unzip_src ".tar.gz" ${LIBEDIT_SRC_NAME}); echo "unzip ${LIBEDIT_SRC_NAME} source code"
|
2022-09-28 22:20:39 +08:00
|
|
|
|
LIBUDEV_SRC_DIR=$(unzip_src ".tar.gz" ${LIBUDEV_SRC_NAME}); echo "unzip ${LIBUDEV_SRC_NAME} source code"
|
2022-08-22 23:49:14 +08:00
|
|
|
|
LIBTHAI_SRC_DIR=$(unzip_src ".tar.xz" ${LIBTHAI_SRC_NAME}); echo "unzip ${LIBTHAI_SRC_NAME} source code"
|
2022-09-28 21:54:06 +08:00
|
|
|
|
LIBNETTLE_SRC_DIR=$(unzip_src ".tar.gz" ${LIBNETTLE_SRC_NAME}); echo "unzip ${LIBNETTLE_SRC_NAME} source code"
|
2022-08-22 23:49:14 +08:00
|
|
|
|
LIBDATRIE_SRC_DIR=$(unzip_src ".tar.xz" ${LIBDATRIE_SRC_NAME}); echo "unzip ${LIBDATRIE_SRC_NAME} source code"
|
2022-09-28 21:54:06 +08:00
|
|
|
|
LIBPCRE_SRC_DIR=$(unzip_src ".tar.gz" ${LIBPCRE_SRC_NAME}); echo "unzip ${LIBPCRE_SRC_NAME} source code"
|
2022-08-21 10:12:25 +08:00
|
|
|
|
LIBPCRE2_SRC_DIR=$(unzip_src ".tar.gz" ${LIBPCRE2_SRC_NAME}); echo "unzip ${LIBPCRE2_SRC_NAME} source code"
|
2022-08-21 23:42:14 +08:00
|
|
|
|
LIBNOTIFY_SRC_DIR=$(unzip_src ".tar.xz" ${LIBNOTIFY_SRC_NAME}); echo "unzip ${LIBNOTIFY_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
GLIB_SRC_DIR=$(unzip_src ".tar.xz" ${GLIB_SRC_NAME}); echo "unzip ${GLIB_SRC_NAME} source code"
|
2022-10-01 22:33:38 +08:00
|
|
|
|
LLVM_SRC_DIR=$(unzip_src ".tar.xz" ${LLVM_SRC_NAME}); echo "unzip ${LLVM_SRC_NAME} source code"
|
2022-09-29 23:14:34 +08:00
|
|
|
|
EXPAT_SRC_DIR=$(unzip_src ".tar.xz" ${EXPAT_SRC_NAME}); echo "unzip ${EXPAT_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
PIXMAN_SRC_DIR=$(unzip_src ".tar.gz" ${PIXMAN_SRC_NAME}); echo "unzip ${PIXMAN_SRC_NAME} source code"
|
|
|
|
|
FREETYPE_SRC_DIR=$(unzip_src ".tar.xz" ${FREETYPE_SRC_NAME}); echo "unzip ${FREETYPE_SRC_NAME} source code"
|
2022-10-09 21:52:51 +08:00
|
|
|
|
IMSENSORS_SRC_DIR=$(unzip_src ".tar.bz2" ${IMSENSORS_SRC_NAME}); echo "unzip ${IMSENSORS_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
CAIRO_SRC_DIR=$(unzip_src ".tar.xz" ${CAIRO_SRC_NAME}); echo "unzip ${CAIRO_SRC_NAME} source code"
|
|
|
|
|
FONTCFG_SRC_DIR=$(unzip_src ".tar.xz" ${FONTCFG_SRC_NAME}); echo "unzip ${FONTCFG_SRC_NAME} source code"
|
|
|
|
|
HARFBUZZ_SRC_DIR=$(unzip_src ".tar.xz" ${HARFBUZZ_SRC_NAME}); echo "unzip ${HARFBUZZ_SRC_NAME} source code"
|
|
|
|
|
FRIBIDI_SRC_DIR=$(unzip_src ".tar.xz" ${FRIBIDI_SRC_NAME}); echo "unzip ${FRIBIDI_SRC_NAME} source code"
|
|
|
|
|
PANGO_SRC_DIR=$(unzip_src ".tar.xz" ${PANGO_SRC_NAME}); echo "unzip ${PANGO_SRC_NAME} source code"
|
2022-09-13 22:04:57 +08:00
|
|
|
|
GDKPIXBUF_SRC_DIR=$(unzip_src ".tar.xz" ${GDKPIXBUF_SRC_NAME}); echo "unzip ${GDKPIXBUF_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
DBUS1_SRC_DIR=$(unzip_src ".tar.gz" ${DBUS1_SRC_NAME}); echo "unzip ${DBUS1_SRC_NAME} source code"
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBATK_SRC_DIR=$(unzip_src ".tar.xz" ${LIBATK_SRC_NAME}); echo "unzip ${LIBATK_SRC_NAME} source code"
|
|
|
|
|
LIBEPOXY_SRC_DIR=$(unzip_src ".tar.xz" ${LIBEPOXY_SRC_NAME}); echo "unzip ${LIBEPOXY_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
LIBATK_CORE_SRC_DIR=$(unzip_src ".tar.xz" ${LIBATK_CORE_SRC_NAME}); echo "unzip ${LIBATK_CORE_SRC_NAME} source code"
|
|
|
|
|
LIBATK_BRIDGE_SRC_DIR=$(unzip_src ".tar.xz" ${LIBATK_BRIDGE_SRC_NAME}); echo "unzip ${LIBATK_BRIDGE_SRC_NAME} source code"
|
2022-09-13 22:04:57 +08:00
|
|
|
|
GRAPHENE_SRC_DIR=$(unzip_src ".tar.xz" ${GRAPHENE_SRC_NAME}); echo "unzip ${GRAPHENE_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
GETTEXT_SRC_DIR=$(unzip_src ".tar.gz" ${GETTEXT_SRC_NAME}); echo "unzip ${GETTEXT_SRC_NAME} source code"
|
2022-09-14 05:32:21 +08:00
|
|
|
|
WAYLANDCORE_SRC_DIR=$(unzip_src ".tar.xz" ${WAYLANDCORE_SRC_NAME}); echo "unzip ${WAYLANDCORE_SRC_NAME} source code"
|
|
|
|
|
WAYLANDPROT_SRC_DIR=$(unzip_src ".tar.xz" ${WAYLANDPROT_SRC_NAME}); echo "unzip ${WAYLANDPROT_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
STARTUPNOTI_SRC_DIR=$(unzip_src ".tar.gz" ${STARTUPNOTI_SRC_NAME}); echo "unzip ${STARTUPNOTI_SRC_NAME} source code"
|
2022-09-13 22:04:57 +08:00
|
|
|
|
LIBGUDEV_SRC_DIR=$(unzip_src ".tar.xz" ${LIBGUDEV_SRC_NAME}); echo "unzip ${LIBGUDEV_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
UPOWER_SRC_DIR=$(unzip_src ".tar.gz" ${UPOWER_SRC_NAME}); echo "unzip ${UPOWER_SRC_NAME} source code"
|
2022-09-13 22:04:57 +08:00
|
|
|
|
GOBJINTROSPE_SRC_DIR=$(unzip_src ".tar.xz" ${GOBJINTROSPE_SRC_NAME}); echo "unzip ${GOBJINTROSPE_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
LIBWNCK_SRC_DIR=$(unzip_src ".tar.xz" ${LIBWNCK_SRC_NAME}); echo "unzip ${LIBWNCK_SRC_NAME} source code"
|
2022-08-21 23:42:14 +08:00
|
|
|
|
GSTREAMER_SRC_DIR=$(unzip_src ".tar.xz" ${GSTREAMER_SRC_NAME}); echo "unzip ${GSTREAMER_SRC_NAME} source code"
|
|
|
|
|
LIBDRM_SRC_DIR=$(unzip_src ".tar.xz" ${LIBDRM_SRC_NAME}); echo "unzip ${LIBDRM_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBJPEGTURBO_SRC_DIR=$(unzip_src ".tar.gz" ${LIBJPEGTURBO_SRC_NAME}); echo "unzip ${LIBJPEGTURBO_SRC_NAME} source code"
|
|
|
|
|
LIBXPROTO_SRC_DIR=$(unzip_src ".tar.gz" ${LIBXPROTO_SRC_NAME}); echo "unzip ${LIBXPROTO_SRC_NAME} source code"
|
|
|
|
|
LIBSM_SRC_DIR=$(unzip_src ".tar.gz" ${LIBSM_SRC_NAME}); echo "unzip ${LIBSM_SRC_NAME} source code"
|
|
|
|
|
LIBICE_SRC_DIR=$(unzip_src ".tar.gz" ${LIBICE_SRC_NAME}); echo "unzip ${LIBICE_SRC_NAME} source code"
|
|
|
|
|
LIBX11_SRC_DIR=$(unzip_src ".tar.gz" ${LIBX11_SRC_NAME}); echo "unzip ${LIBX11_SRC_NAME} source code"
|
|
|
|
|
XRANDR_SRC_DIR=$(unzip_src ".tar.gz" ${XRANDR_SRC_NAME}); echo "unzip ${XRANDR_SRC_NAME} source code"
|
|
|
|
|
XINERAMA_SRC_DIR=$(unzip_src ".tar.gz" ${XINERAMA_SRC_NAME}); echo "unzip ${XINERAMA_SRC_NAME} source code"
|
|
|
|
|
XRENDER_SRC_DIR=$(unzip_src ".tar.gz" ${XRENDER_SRC_NAME}); echo "unzip ${XRENDER_SRC_NAME} source code"
|
|
|
|
|
KBPROTO_SRC_DIR=$(unzip_src ".tar.gz" ${KBPROTO_SRC_NAME}); echo "unzip ${KBPROTO_SRC_NAME} source code"
|
|
|
|
|
XKBCOMMON_SRC_DIR=$(unzip_src ".tar.xz" ${XKBCOMMON_SRC_NAME}); echo "unzip ${XKBCOMMON_SRC_NAME} source code"
|
|
|
|
|
XEXT_SRC_DIR=$(unzip_src ".tar.gz" ${XEXT_SRC_NAME}); echo "unzip ${XEXT_SRC_NAME} source code"
|
|
|
|
|
XEXTPROTO_SRC_DIR=$(unzip_src ".tar.gz" ${XEXTPROTO_SRC_NAME}); echo "unzip ${XEXTPROTO_SRC_NAME} source code"
|
2022-09-29 23:14:34 +08:00
|
|
|
|
XINIT_SRC_DIR=$(unzip_src ".tar.gz" ${XINIT_SRC_NAME}); echo "unzip ${XINIT_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XTRANS_SRC_DIR=$(unzip_src ".tar.gz" ${XTRANS_SRC_NAME}); echo "unzip ${XTRANS_SRC_NAME} source code"
|
|
|
|
|
XCBPROTO_SRC_DIR=$(unzip_src ".tar.gz" ${XCBPROTO_SRC_NAME}); echo "unzip ${XCBPROTO_SRC_NAME} source code"
|
|
|
|
|
LIBXCB_SRC_DIR=$(unzip_src ".tar.xz" ${LIBXCB_SRC_NAME}); echo "unzip ${LIBXCB_SRC_NAME} source code"
|
|
|
|
|
XCBUTIL_SRC_DIR=$(unzip_src ".tar.gz" ${XCBUTIL_SRC_NAME}); echo "unzip ${XCBUTIL_SRC_NAME} source code"
|
|
|
|
|
ICEAUTH_SRC_DIR=$(unzip_src ".tar.xz" ${ICEAUTH_SRC_NAME}); echo "unzip ${ICEAUTH_SRC_NAME} source code"
|
2022-09-01 22:32:14 +08:00
|
|
|
|
XT_SRC_DIR=$(unzip_src ".tar.gz" ${XT_SRC_NAME}); echo "unzip ${XT_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XAU_SRC_DIR=$(unzip_src ".tar.xz" ${XAU_SRC_NAME}); echo "unzip ${XAU_SRC_NAME} source code"
|
2022-09-01 22:32:14 +08:00
|
|
|
|
XAW_SRC_DIR=$(unzip_src ".tar.gz" ${XAW_SRC_NAME}); echo "unzip ${XAW_SRC_NAME} source code"
|
|
|
|
|
XMU_SRC_DIR=$(unzip_src ".tar.gz" ${XMU_SRC_NAME}); echo "unzip ${XMU_SRC_NAME} source code"
|
|
|
|
|
XPM_SRC_DIR=$(unzip_src ".tar.gz" ${XPM_SRC_NAME}); echo "unzip ${XPM_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
XDMCP_SRC_DIR=$(unzip_src ".tar.gz" ${XDMCP_SRC_NAME}); echo "unzip ${XDMCP_SRC_NAME} source code"
|
|
|
|
|
XORGPROTO_SRC_DIR=$(unzip_src ".tar.xz" ${XORGPROTO_SRC_NAME}); echo "unzip ${XORGPROTO_SRC_NAME} source code"
|
|
|
|
|
XFIXES_SRC_DIR=$(unzip_src ".tar.gz" ${XFIXES_SRC_NAME}); echo "unzip ${XFIXES_SRC_NAME} source code"
|
|
|
|
|
XDAMAGE_SRC_DIR=$(unzip_src ".tar.gz" ${XDAMAGE_SRC_NAME}); echo "unzip ${XDAMAGE_SRC_NAME} source code"
|
|
|
|
|
XSHMFENCE_SRC_DIR=$(unzip_src ".tar.gz" ${XSHMFENCE_SRC_NAME}); echo "unzip ${XSHMFENCE_SRC_NAME} source code"
|
|
|
|
|
XXF86VM_SRC_DIR=$(unzip_src ".tar.gz" ${XXF86VM_SRC_NAME}); echo "unzip ${XXF86VM_SRC_NAME} source code"
|
|
|
|
|
XI_SRC_DIR=$(unzip_src ".tar.gz" ${XI_SRC_NAME}); echo "unzip ${XI_SRC_NAME} source code"
|
|
|
|
|
XTST_SRC_DIR=$(unzip_src ".tar.gz" ${XTST_SRC_NAME}); echo "unzip ${XTST_SRC_NAME} source code"
|
|
|
|
|
XORGMACROS_SRC_DIR=$(unzip_src ".tar.gz" ${XORGMACROS_SRC_NAME}); echo "unzip ${XORGMACROS_SRC_NAME} source code"
|
2022-09-14 21:21:11 +08:00
|
|
|
|
LIBPCIACCESS_SRC_DIR=$(unzip_src ".tar.gz" ${LIBPCIACCESS_SRC_NAME}); echo "unzip ${LIBPCIACCESS_SRC_NAME} source code"
|
2022-08-21 23:42:14 +08:00
|
|
|
|
MESA_SRC_DIR=$(unzip_src ".tar.gz" ${MESA_SRC_NAME}); echo "unzip ${MESA_SRC_NAME} source code"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
GTKX_SRC_DIR=$(unzip_src ".tar.xz" ${GTKX_SRC_NAME}); echo "unzip ${GTKX_SRC_NAME} source code"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
LIBPAM_SRC_DIR=$(unzip_src ".tar.xz" ${LIBPAM_SRC_NAME}); echo "unzip ${LIBPAM_SRC_NAME} source code"
|
|
|
|
|
XRDP_SRC_DIR=$(unzip_src ".tar.gz" ${XRDP_SRC_NAME}); echo "unzip ${XRDP_SRC_NAME} source code"
|
2022-08-31 21:23:52 +08:00
|
|
|
|
XKBCOMP_SRC_DIR=$(unzip_src ".tar.gz" ${XKBCOMP_SRC_NAME}); echo "unzip ${XKBCOMP_SRC_NAME} source code"
|
|
|
|
|
LIBXCVT_SRC_DIR=$(unzip_src ".tar.xz" ${LIBXCVT_SRC_NAME}); echo "unzip ${LIBXCVT_SRC_NAME} source code"
|
|
|
|
|
XKBFILE_SRC_DIR=$(unzip_src ".tar.gz" ${XKBFILE_SRC_NAME}); echo "unzip ${XKBFILE_SRC_NAME} source code"
|
|
|
|
|
FONTENC_SRC_DIR=$(unzip_src ".tar.xz" ${FONTENC_SRC_NAME}); echo "unzip ${FONTENC_SRC_NAME} source code"
|
|
|
|
|
XFONT_SRC_DIR=$(unzip_src ".tar.xz" ${XFONT_SRC_NAME}); echo "unzip ${XFONT_SRC_NAME} source code"
|
2022-09-10 16:31:48 +08:00
|
|
|
|
FONTUTIL_SRC_DIR=$(unzip_src ".tar.xz" ${FONTUTIL_SRC_NAME}); echo "unzip ${FONTUTIL_SRC_NAME} source code"
|
|
|
|
|
MKFONTDIR_SRC_DIR=$(unzip_src ".tar.bz2" ${MKFONTDIR_SRC_NAME}); echo "unzip ${MKFONTDIR_SRC_NAME} source code"
|
2022-09-12 22:04:20 +08:00
|
|
|
|
MKFONTSCALE_SRC_DIR=$(unzip_src ".tar.xz" ${MKFONTSCALE_SRC_NAME}); echo "unzip ${MKFONTSCALE_SRC_NAME} source code"
|
|
|
|
|
BDFTOPCF_SRC_DIR=$(unzip_src ".tar.bz2" ${BDFTOPCF_SRC_NAME}); echo "unzip ${BDFTOPCF_SRC_NAME} source code"
|
2022-09-10 16:31:48 +08:00
|
|
|
|
FONTMISC_SRC_DIR=$(unzip_src ".tar.bz2" ${FONTMISC_SRC_NAME}); echo "unzip ${FONTMISC_SRC_NAME} source code"
|
2022-08-31 21:23:52 +08:00
|
|
|
|
XSERVER_SRC_DIR=$(unzip_src ".tar.xz" ${XSERVER_SRC_NAME}); echo "unzip ${XSERVER_SRC_NAME} source code"
|
2022-09-10 08:21:18 +08:00
|
|
|
|
MTDEV_SRC_DIR=$(unzip_src ".tar.bz2" ${MTDEV_SRC_NAME}); echo "unzip ${MTDEV_SRC_NAME} source code"
|
|
|
|
|
LIBWACOM_SRC_DIR=$(unzip_src ".tar.xz" ${LIBWACOM_SRC_NAME}); echo "unzip ${LIBWACOM_SRC_NAME} source code"
|
|
|
|
|
LIBEVDEV_SRC_DIR=$(unzip_src ".tar.xz" ${LIBEVDEV_SRC_NAME}); echo "unzip ${LIBEVDEV_SRC_NAME} source code"
|
|
|
|
|
LIBINPUT_SRC_DIR=$(unzip_src ".tar.xz" ${LIBINPUT_SRC_NAME}); echo "unzip ${LIBINPUT_SRC_NAME} source code"
|
|
|
|
|
XF86INPUT_SRC_DIR=$(unzip_src ".tar.xz" ${XF86INPUT_SRC_NAME}); echo "unzip ${XF86INPUT_SRC_NAME} source code"
|
2022-09-12 22:04:20 +08:00
|
|
|
|
XF86VIDEOVESA_SRC_DIR=$(unzip_src ".tar.bz2" ${XF86VIDEOVESA_SRC_NAME}); echo "unzip ${XF86VIDEOVESA_SRC_NAME} source code"
|
2022-10-10 21:19:13 +08:00
|
|
|
|
XF86VIDEOVMWARE_SRC_DIR=$(unzip_src ".tar.bz2" ${XF86VIDEOVMWARE_SRC_NAME}); echo "unzip ${XF86VIDEOVMWARE_SRC_NAME} source code"
|
2022-09-13 22:04:57 +08:00
|
|
|
|
DEJAVUFONTS1_SRC_DIR=$(unzip_src ".tar.bz2" ${DEJAVUFONTS1_SRC_NAME}); echo "unzip ${DEJAVUFONTS1_SRC_NAME} source code"
|
|
|
|
|
DEJAVUFONTS2_SRC_DIR=$(unzip_src ".tar.bz2" ${DEJAVUFONTS2_SRC_NAME}); echo "unzip ${DEJAVUFONTS2_SRC_NAME} source code"
|
2022-09-12 10:34:02 +08:00
|
|
|
|
GNOMEICONTHEME_SRC_DIR=$(unzip_src ".tar.xz" ${GNOMEICONTHEME_SRC_NAME}); echo "unzip ${GNOMEICONTHEME_SRC_NAME} source code"
|
2022-09-12 14:36:10 +08:00
|
|
|
|
HICOLORICONTHEME_SRC_DIR=$(unzip_src ".tar.xz" ${HICOLORICONTHEME_SRC_NAME}); echo "unzip ${HICOLORICONTHEME_SRC_NAME} source code"
|
2022-09-12 22:04:20 +08:00
|
|
|
|
ICONNAMINGUTILS_SRC_DIR=$(unzip_src ".tar.bz2" ${ICONNAMINGUTILS_SRC_NAME}); echo "unzip ${ICONNAMINGUTILS_SRC_NAME} source code"
|
2022-09-14 21:21:11 +08:00
|
|
|
|
GSETDESKTOPSCHEMAS_SRC_DIR=$(unzip_src ".tar.xz" ${GSETDESKTOPSCHEMAS_SRC_NAME}); echo "unzip ${GSETDESKTOPSCHEMAS_SRC_NAME} source code"
|
2022-09-01 22:32:14 +08:00
|
|
|
|
NCURSES_SRC_DIR=$(unzip_src ".tar.gz" ${NCURSES_SRC_NAME}); echo "unzip ${NCURSES_SRC_NAME} source code"
|
|
|
|
|
XTERM_SRC_DIR=$(unzip_src ".tar.gz" ${XTERM_SRC_NAME}); echo "unzip ${XTERM_SRC_NAME} source code"
|
2022-09-11 22:02:04 +08:00
|
|
|
|
XKBDCFG_SRC_DIR=$(unzip_src ".tar.xz" ${XKBDCFG_SRC_NAME}); echo "unzip ${XKBDCFG_SRC_NAME} source code"
|
|
|
|
|
XKBDATA_SRC_DIR=$(unzip_src ".tar.bz2" ${XKBDATA_SRC_NAME}); echo "unzip ${XKBDATA_SRC_NAME} source code"
|
2022-08-08 06:36:26 +08:00
|
|
|
|
XFCE_SRC_DIR=${build_dir}"/"$(file_dirname ${XFCE_SRC_NAME} .tar.bz2)
|
2022-08-30 06:07:09 +08:00
|
|
|
|
if [ ! -d "${XFCE_SRC_DIR}" ]; then
|
2022-08-12 06:36:59 +08:00
|
|
|
|
echo "unzip ${XFCE_SRC_NAME} source code" && tar xf source/${XFCE_SRC_NAME} -C ${build_dir}
|
2022-08-08 06:36:26 +08:00
|
|
|
|
mkdir -pv $XFCE_SRC_DIR
|
|
|
|
|
tar xf ${build_dir}/src/exo-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/thunar-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfce4-dev-tools-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfce4-settings-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/garcon-0.8.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/thunar-volman-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfce4-panel-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfconf-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/libxfce4ui-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/tumbler-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfce4-power-manager-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfdesktop-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/libxfce4util-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfce4-appfinder-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfce4-session-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
tar xf ${build_dir}/src/xfwm4-4.16.0.tar.bz2 -C ${XFCE_SRC_DIR}
|
|
|
|
|
rm -rf ${build_dir}/src
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# 编译 xfce
|
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------
|
|
|
|
|
cd ${build_dir}
|
|
|
|
|
|
2022-08-14 00:16:16 +08:00
|
|
|
|
xfce_inc=${xfce_install}/usr/include
|
|
|
|
|
xfce_loc_inc=${xfce_install}/usr/local/include
|
|
|
|
|
xfce_x86_64_inc=${xfce_install}/usr/lib/x86_64-linux-gnu
|
2022-08-12 06:36:59 +08:00
|
|
|
|
include_path=" \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-I${xfce_inc} \
|
|
|
|
|
-I${xfce_inc}/glib-2.0 \
|
|
|
|
|
-I${xfce_inc}/harfbuzz \
|
|
|
|
|
-I${xfce_inc}/libmount \
|
2022-08-21 01:40:05 +08:00
|
|
|
|
-I${xfce_inc}/atk-1.0 \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-I${xfce_inc}/gtk-3.0 \
|
2022-08-21 01:40:05 +08:00
|
|
|
|
-I${xfce_inc}/gudev-1.0 \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-I${xfce_inc}/pango-1.0 \
|
|
|
|
|
-I${xfce_inc}/harfbuzz \
|
|
|
|
|
-I${xfce_inc}/libwnck-3.0 \
|
|
|
|
|
-I${xfce_inc}/gdk-pixbuf-2.0 \
|
2022-08-21 01:40:05 +08:00
|
|
|
|
-I${xfce_inc}/libupower-glib \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-I${xfce_loc_inc} \
|
|
|
|
|
-I${xfce_loc_inc}/cairo \
|
|
|
|
|
-I${xfce_loc_inc}/exo-2 \
|
2022-08-21 01:40:05 +08:00
|
|
|
|
-I${xfce_loc_inc}/libxml2 \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-I${xfce_loc_inc}/pixman-1 \
|
2022-08-30 06:07:09 +08:00
|
|
|
|
-I${xfce_loc_inc}/dbus-1.0 \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-I${xfce_loc_inc}/freetype2 \
|
|
|
|
|
-I${xfce_loc_inc}/thunarx-3 \
|
|
|
|
|
-I${xfce_loc_inc}/garcon-1 \
|
|
|
|
|
-I${xfce_loc_inc}/garcon-gtk3-1 \
|
|
|
|
|
-I${xfce_x86_64_inc} \
|
2022-09-09 23:26:24 +08:00
|
|
|
|
-I/usr/include/python3.8 \
|
|
|
|
|
-I/usr/include/dbus-1.0 \
|
|
|
|
|
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include"
|
2022-08-14 00:16:16 +08:00
|
|
|
|
|
|
|
|
|
xfce_lib=${xfce_install}/usr/lib
|
|
|
|
|
xfce_share=${xfce_install}/usr/share
|
|
|
|
|
xfce_loc_lib=${xfce_install}/usr/local/lib
|
|
|
|
|
xfce_loc_share=${xfce_install}/usr/local/share
|
2022-08-12 06:36:59 +08:00
|
|
|
|
library_path=" \
|
|
|
|
|
-L${glibc_install}/lib64 \
|
2022-08-30 06:07:09 +08:00
|
|
|
|
-L${xfce_install}/lib64 \
|
2022-08-14 00:16:16 +08:00
|
|
|
|
-L${xfce_lib} \
|
|
|
|
|
-L${xfce_loc_lib} \
|
2022-08-30 06:07:09 +08:00
|
|
|
|
-L${xfce_lib}/x86_64-linux-gnu \
|
|
|
|
|
-L${xfce_instal}/opt/libjpeg-turbo/lib64"
|
2022-08-12 06:36:59 +08:00
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
pkg_cfg1="${xfce_lib}/pkgconfig"
|
|
|
|
|
pkg_cfg2="${xfce_share}/pkgconfig"
|
|
|
|
|
pkg_cfg3="${xfce_loc_lib}/pkgconfig"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
pkg_cfg4="${xfce_loc_share}/pkgconfig"
|
|
|
|
|
pkg_cfg5="${xfce_lib}/x86_64-linux-gnu/pkgconfig"
|
|
|
|
|
pkg_cfg6="${xfce_install}/opt/libjpeg-turbo/lib64/pkgconfig"
|
|
|
|
|
pkg_cfg7="/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig"
|
|
|
|
|
cfg_opt="--with-sysroot=${xfce_install}"
|
|
|
|
|
xwin_opt="--x-includes=${xfce_loc_inc} --x-libraries=${xfce_loc_lib}"
|
2022-08-12 06:36:59 +08:00
|
|
|
|
|
2022-10-09 21:52:51 +08:00
|
|
|
|
export CFLAGS="${include_path} -fPIC"
|
|
|
|
|
export CXXFLAGS="${include_path} -fPIC"
|
2022-08-12 06:36:59 +08:00
|
|
|
|
export LDFLAGS="${library_path}"
|
|
|
|
|
|
|
|
|
|
export PKG_CONFIG_SYSROOT_DIR="${xfce_install}"
|
|
|
|
|
export PKG_CONFIG_TOP_BUILD_DIR="${xfce_install}"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
export PKG_CONFIG_PATH="${pkg_cfg1}:${pkg_cfg2}:${pkg_cfg3}:${pkg_cfg4}:${pkg_cfg5}:${pkg_cfg6}:${pkg_cfg7}"
|
|
|
|
|
|
|
|
|
|
# 解决 libxcb 编译问题
|
|
|
|
|
mkdir -pv ${xfce_share}/aclocal
|
|
|
|
|
mkdir -pv ${xfce_loc_share}/aclocal
|
|
|
|
|
|
|
|
|
|
# 解决 xcb-util 编译问题
|
|
|
|
|
# 解决 pciaccess: must install xorg-macros 1.8 or later before running autoconf/autogen
|
|
|
|
|
export ACLOCAL="aclocal -I /usr/share/aclocal -I ${xfce_share}/aclocal -I ${xfce_loc_share}/aclocal"
|
2022-08-12 06:36:59 +08:00
|
|
|
|
|
2022-08-14 00:16:16 +08:00
|
|
|
|
# 编译过程中会寻找 *.gir 的文件,.gir 的目录就是这个
|
|
|
|
|
export XDG_DATA_DIRS="${xfce_share}:${xfce_loc_share}:${xfce_share}/gir-1.0:$XDG_DATA_DIRS"
|
|
|
|
|
export GDK_PIXBUF_PIXDATA="${xfce_install}/usr/bin/gdk-pixbuf-pixdata"
|
|
|
|
|
|
2022-08-21 10:12:25 +08:00
|
|
|
|
# 编译过程中有工具需要 libffi.so.8 库的,需要加载一下,否则会出现找不到 libffi.so.8
|
2022-08-30 06:07:09 +08:00
|
|
|
|
export PATH="${xfce_install}/usr/bin:${xfce_install}/usr/local/bin:$PATH"
|
|
|
|
|
export LD_LIBRARY_PATH="${xfce_lib}:${xfce_loc_lib}:${xfce_lib}/x86_64-linux-gnu:${xfce_install}/opt/libjpeg-turbo/lib64:$LD_LIBRARY_PATH"
|
2022-08-21 10:12:25 +08:00
|
|
|
|
ldconfig
|
|
|
|
|
|
2022-08-14 00:16:16 +08:00
|
|
|
|
# python 模块的搜寻目录
|
|
|
|
|
# export PYTHONPATH="${xfce_lib}/x86_64-linux-gnu/gobject-introspection:${PYTHONPATH}"
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# xfce 库编译时用到 g-ir-scanner 工具,由于设置了 PKG_CONFIG_SYSROOT_DIR , 导致 xfce 调用 g-ir-scanner
|
|
|
|
|
# 的路径变成了 ${sysroot}/usr/bin/g-ir-scanner,这个路径下肯定没有 g-ir-scanner,它只存在 /usr/bin 下,
|
|
|
|
|
# 所以只能做一个软链过来, PKG_CONFIG_SYSROOT_DIR 不能去掉或设置为空,因为编译 gtk+ 以及依赖库都需要设置这个变量
|
|
|
|
|
#
|
2022-09-17 23:10:03 +08:00
|
|
|
|
# 上述问题解决了:glibc 版本必须用低版本 2.32 ---> 2.27 就可以让 mk_xfce.sh 编译通过了
|
|
|
|
|
#
|
2022-08-14 00:16:16 +08:00
|
|
|
|
#----------------------------------------------------------------------------------------------------------------
|
2022-08-30 06:07:09 +08:00
|
|
|
|
setup_girtools() {
|
|
|
|
|
mkdir -p ${xfce_install}"/usr/bin"
|
|
|
|
|
for gir_name in $(find /usr/bin -name "g-ir-*")
|
|
|
|
|
do
|
|
|
|
|
if [ -f "${xfce_install}${gir_name}" ]; then
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
ln -s "${gir_name}" "${xfce_install}${gir_name}" || (echo "setup tools ${gir_name} failed" && exit)
|
|
|
|
|
done
|
2022-08-14 00:16:16 +08:00
|
|
|
|
|
2022-08-30 06:07:09 +08:00
|
|
|
|
gi_makefile=/usr/share/gobject-introspection-1.0/Makefile.introspection
|
|
|
|
|
mkdir -pv ${xfce_share}/gobject-introspection-1.0
|
|
|
|
|
if [ ! -f "${xfce_install}${gi_makefile}" ]; then
|
|
|
|
|
ln -s "${gi_makefile}" "${xfce_install}${gi_makefile}"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
setup_girtools
|
2022-08-14 00:16:16 +08:00
|
|
|
|
|
2022-09-14 21:21:11 +08:00
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# meson 编译 编译参数一览 https://mesonbuild.com/Reference-tables.html
|
2022-09-14 21:21:11 +08:00
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build() {
|
2022-08-21 10:12:25 +08:00
|
|
|
|
local name=$1
|
|
|
|
|
local srcdir=$2
|
2022-08-30 06:07:09 +08:00
|
|
|
|
shift
|
|
|
|
|
shift
|
2022-08-20 08:16:34 +08:00
|
|
|
|
if [ ! -f .${name} ]; then
|
|
|
|
|
echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir} && mkdir -pv build
|
2022-08-30 06:07:09 +08:00
|
|
|
|
meson setup build --prefix=/usr --pkg-config-path=${PKG_CONFIG_PATH} "$@"
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson compile -C build
|
|
|
|
|
meson install -C build --destdir=${xfce_install} && echo "ok" > ../.${name} || exit
|
|
|
|
|
cd .. && echo "${GREEN}build ${name} end${NC}"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-14 21:21:11 +08:00
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# xfce4 编译定义
|
2022-09-14 21:21:11 +08:00
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
2022-08-20 08:16:34 +08:00
|
|
|
|
xfce4_build() {
|
2022-08-21 10:12:25 +08:00
|
|
|
|
local name=$1
|
|
|
|
|
local srcdir=$2
|
2022-08-20 08:16:34 +08:00
|
|
|
|
if [ ! -f .${name} ]; then
|
2022-08-30 06:07:09 +08:00
|
|
|
|
echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir}
|
|
|
|
|
./configure ${cfg_opt} ${xwin_opt}
|
2022-08-20 08:16:34 +08:00
|
|
|
|
make -j8 && make install DESTDIR=${xfce_install} && echo "ok" > ../.${name} || exit
|
|
|
|
|
cd .. && echo "${GREEN}build ${name} end${NC}"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-14 21:21:11 +08:00
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# 公共模块编译
|
2022-09-14 21:21:11 +08:00
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
2022-08-20 08:16:34 +08:00
|
|
|
|
common_build() {
|
2022-08-21 10:12:25 +08:00
|
|
|
|
local name=$1
|
|
|
|
|
local srcdir=$2
|
2022-08-30 06:07:09 +08:00
|
|
|
|
shift
|
|
|
|
|
shift
|
2022-08-20 08:16:34 +08:00
|
|
|
|
if [ ! -f .${name} ]; then
|
|
|
|
|
echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir}
|
|
|
|
|
if [ -f autogen.sh ]; then
|
2022-08-30 06:07:09 +08:00
|
|
|
|
#autoreconf -i
|
2022-08-20 08:16:34 +08:00
|
|
|
|
./autogen.sh
|
|
|
|
|
fi
|
2022-08-21 23:42:14 +08:00
|
|
|
|
if [ -f CMakeLists.txt ]; then
|
2022-08-30 06:07:09 +08:00
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr
|
2022-08-21 23:42:14 +08:00
|
|
|
|
fi
|
|
|
|
|
if [ -f ./configure ]; then
|
2022-08-30 06:07:09 +08:00
|
|
|
|
./configure ${cfg_opt} "$@" ${xwin_opt}
|
2022-08-21 23:42:14 +08:00
|
|
|
|
fi
|
2022-08-20 08:16:34 +08:00
|
|
|
|
make -j8 && make install DESTDIR=${xfce_install} && echo "ok" > ../.${name} || exit
|
|
|
|
|
cd .. && echo "${GREEN}build ${name} end${NC}"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-01 22:33:38 +08:00
|
|
|
|
#----------------------------------------------------------------------------------------------------------------
|
|
|
|
|
# llvm 编译
|
|
|
|
|
#----------------------------------------------------------------------------------------------------------------
|
|
|
|
|
llvm_build() {
|
|
|
|
|
local name=$1
|
|
|
|
|
local srcdir=$2
|
|
|
|
|
shift
|
|
|
|
|
shift
|
|
|
|
|
if [ ! -f .${name} ]; then
|
|
|
|
|
echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir} && mkdir -pv build && cd build
|
2022-10-02 18:45:28 +08:00
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
2022-10-01 22:33:38 +08:00
|
|
|
|
if [ -f ./configure ]; then
|
|
|
|
|
./configure ${cfg_opt} "$@" ${xwin_opt}
|
|
|
|
|
fi
|
|
|
|
|
make -j8 && make install DESTDIR=${xfce_install} && echo "ok" > ../../.${name} || exit
|
|
|
|
|
cd ../.. && echo "${GREEN}build ${name} end${NC}"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-21 23:42:14 +08:00
|
|
|
|
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
#
|
|
|
|
|
# 编译 harfbuzz 遇到问题: linking of temporary binary failed,关闭 glibc 的链接,问题就解决了,原因推测如下:
|
|
|
|
|
# 目前还不支持和 glibc 同时编译,因为如果编译链接 glibc ,可能需要全部依赖都做到源码编译,否则,可能编译过程中有问题
|
|
|
|
|
# 因为 apt install 安装的软件可能依赖系统自带的 glibc,这边指定编译的 glibc ,就会导致链接器工作混乱。导致链接失败
|
|
|
|
|
# 因此编译 xfce 时,一定保证 glibc_install/lib64 目录为空,否则就会出现上面的错误 died with <Signals.SIGSEGV: 11>
|
|
|
|
|
#
|
|
|
|
|
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# if [ ! -d "xfce_install" ]; then
|
|
|
|
|
mkdir -pv xfce_install
|
|
|
|
|
|
2022-08-14 00:16:16 +08:00
|
|
|
|
# 编译 libffi, 替换系统的
|
2022-08-21 01:40:05 +08:00
|
|
|
|
common_build libffi ${LIBFFI_SRC_DIR}
|
2022-08-21 10:12:25 +08:00
|
|
|
|
# 编译 libxml
|
|
|
|
|
common_build libxml ${LIBXML_SRC_DIR}
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 util-linux ( libmount )
|
2022-09-12 16:36:52 +08:00
|
|
|
|
common_build libmnt ${LIBMNT_SRC_DIR} --without-python
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# 编译 zlib
|
|
|
|
|
common_build zlib ${ZLIB_SRC_DIR}
|
2022-08-21 23:42:14 +08:00
|
|
|
|
# 编译 libzip
|
|
|
|
|
common_build libzip ${LIBZIP_SRC_DIR}
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# 编译 libpng
|
|
|
|
|
common_build libpng ${LIBPNG_SRC_DIR}
|
|
|
|
|
# 编译 libelf
|
|
|
|
|
common_build libelf ${LIBELF_SRC_DIR}
|
2022-08-22 23:49:14 +08:00
|
|
|
|
# 编译 libdatrie
|
|
|
|
|
common_build libdatrie ${LIBDATRIE_SRC_DIR}
|
2022-08-30 06:07:09 +08:00
|
|
|
|
if [ ! -f "/usr/local/bin/trietool" ]; then
|
|
|
|
|
ln -s ${xfce_install}/usr/local/bin/trietool /usr/local/bin/trietool
|
|
|
|
|
fi
|
2022-08-22 23:49:14 +08:00
|
|
|
|
# 编译 libthai
|
|
|
|
|
common_build libthai ${LIBTHAI_SRC_DIR}
|
2022-08-21 10:12:25 +08:00
|
|
|
|
# 编译 libpcre2
|
|
|
|
|
common_build libpcre2 ${LIBPCRE2_SRC_DIR}
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 glib
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build glib ${GLIB_SRC_DIR}
|
2022-08-30 06:07:09 +08:00
|
|
|
|
if [ ! -f "/usr/bin/glib-mkenums" ]; then
|
|
|
|
|
ln -s ${xfce_install}/usr/bin/glib-mkenums /usr/bin/glib-mkenums
|
|
|
|
|
fi
|
2022-09-17 23:10:03 +08:00
|
|
|
|
# 编译 gobject-introspection ( 这个不需要了,用系统的就行 )
|
|
|
|
|
# meson_build gobject-introspection ${GOBJINTROSPE_SRC_DIR}
|
2022-09-14 21:21:11 +08:00
|
|
|
|
# 在编译机上测试 xfce4 是否能正常工作,在这之前编译的有系统组件,不能覆盖系统的组件,否则会导致系统不能正常运行
|
|
|
|
|
if [ "${with_xfce_test}" = true ] && [ ! -f "tmp.tar.gz" ]; then
|
2022-08-30 06:07:09 +08:00
|
|
|
|
tar zcf tmp.tar.gz ${xfce_install}
|
|
|
|
|
fi
|
|
|
|
|
# 编译 wayland-core ( documentation 依赖 graphviz 粘连了图形库 )
|
|
|
|
|
meson_build wayland-core ${WAYLANDCORE_SRC_DIR} -Ddocumentation=false
|
|
|
|
|
if [ ! -f "/usr/bin/wayland-scanner" ]; then
|
|
|
|
|
ln -s ${xfce_install}/usr/bin/wayland-scanner /usr/bin/wayland-scanner
|
|
|
|
|
fi
|
|
|
|
|
# 编译 wayland-protocols
|
|
|
|
|
meson_build wayland-protocols ${WAYLANDPROT_SRC_DIR}
|
|
|
|
|
# 编译 libjpeg
|
|
|
|
|
common_build libjpeg-turbo ${LIBJPEGTURBO_SRC_DIR}
|
|
|
|
|
# 编译 xorg-macros
|
|
|
|
|
common_build xorg-macros ${XORGMACROS_SRC_DIR}
|
|
|
|
|
# 编译 libxproto
|
|
|
|
|
common_build libxproto ${LIBXPROTO_SRC_DIR}
|
|
|
|
|
# 编译 xorgproto
|
|
|
|
|
common_build xorgproto ${XORGPROTO_SRC_DIR}
|
|
|
|
|
# 编译 xau
|
|
|
|
|
common_build xau ${XAU_SRC_DIR}
|
|
|
|
|
# 编译 xtrans
|
|
|
|
|
common_build xtrans ${XTRANS_SRC_DIR}
|
|
|
|
|
# 编译 xcb-proto
|
|
|
|
|
common_build xcb-proto ${XCBPROTO_SRC_DIR}
|
|
|
|
|
# 编译 libxcb
|
|
|
|
|
common_build libxcb ${LIBXCB_SRC_DIR}
|
|
|
|
|
# 编译 libice
|
|
|
|
|
common_build libice ${LIBICE_SRC_DIR}
|
|
|
|
|
# 编译 libsm
|
|
|
|
|
common_build libsm ${LIBSM_SRC_DIR}
|
|
|
|
|
# 编译 libx11
|
|
|
|
|
common_build libx11 ${LIBX11_SRC_DIR} --with-keysymdefdir="${xfce_install}/usr/local/include/X11"
|
|
|
|
|
# 编译 xext
|
|
|
|
|
common_build xext ${XEXT_SRC_DIR}
|
|
|
|
|
# 编译 xrender
|
|
|
|
|
common_build xrender ${XRENDER_SRC_DIR}
|
|
|
|
|
# 编译 xrandr
|
|
|
|
|
common_build xrandr ${XRANDR_SRC_DIR}
|
|
|
|
|
# 编译 iceauth
|
|
|
|
|
common_build iceauth ${ICEAUTH_SRC_DIR}
|
|
|
|
|
# 编译 libxcb-util
|
|
|
|
|
common_build libxcb-util ${XCBUTIL_SRC_DIR}
|
|
|
|
|
# 编译 kbproto
|
|
|
|
|
common_build kbproto ${KBPROTO_SRC_DIR}
|
|
|
|
|
# 编译 xextproto
|
|
|
|
|
common_build xextproto ${XEXTPROTO_SRC_DIR}
|
|
|
|
|
# 编译 xdmcp
|
|
|
|
|
common_build xdmcp ${XDMCP_SRC_DIR}
|
|
|
|
|
# 编译 xfixes
|
|
|
|
|
common_build xfixes ${XFIXES_SRC_DIR}
|
|
|
|
|
# 编译 xdamage
|
|
|
|
|
common_build xdamage ${XDAMAGE_SRC_DIR}
|
|
|
|
|
# 编译 xinerama
|
|
|
|
|
common_build xinerama ${XINERAMA_SRC_DIR}
|
|
|
|
|
# 编译 xshmfence
|
|
|
|
|
common_build xshmfence ${XSHMFENCE_SRC_DIR}
|
|
|
|
|
# 编译 xxf86vm
|
|
|
|
|
common_build xxf86vm ${XXF86VM_SRC_DIR}
|
2022-09-29 23:14:34 +08:00
|
|
|
|
# 编译 xinit
|
|
|
|
|
common_build xinit ${XINIT_SRC_DIR}
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# 编译 xi ( 问题解决见上面的注释 )
|
|
|
|
|
common_build xi ${XI_SRC_DIR}
|
|
|
|
|
# 编译 xtst
|
|
|
|
|
common_build xtst ${XTST_SRC_DIR}
|
|
|
|
|
# 编译 xkbcommon
|
2022-08-31 21:23:52 +08:00
|
|
|
|
meson_build xkbcommon ${XKBCOMMON_SRC_DIR} -Denable-docs=false
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# 编译 gdkpixbuf
|
2022-09-13 22:04:57 +08:00
|
|
|
|
meson_build gdkpixbuf ${GDKPIXBUF_SRC_DIR} -Dman=false
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 pixman
|
2022-08-20 08:16:34 +08:00
|
|
|
|
common_build pixman ${PIXMAN_SRC_DIR} --enable-libpng=yes
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 freetype
|
2022-08-21 01:40:05 +08:00
|
|
|
|
common_build freetype_pre ${FREETYPE_SRC_DIR} --with-harfbuzz=no
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 harfbuzz
|
2022-08-21 01:40:05 +08:00
|
|
|
|
meson_build harfbuzz_pre ${HARFBUZZ_SRC_DIR} -Dcairo=disabled
|
2022-08-14 10:43:36 +08:00
|
|
|
|
# 编译 freetype
|
2022-08-20 08:16:34 +08:00
|
|
|
|
common_build freetype ${FREETYPE_SRC_DIR} --with-harfbuzz=yes
|
2022-08-14 10:43:36 +08:00
|
|
|
|
# 编译 fontconfig
|
2022-08-20 08:16:34 +08:00
|
|
|
|
common_build fontconfig ${FONTCFG_SRC_DIR}
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# 编译 cairo ( 这个需要 x window,所以放到 libx11 之后编译 )
|
2022-08-31 21:23:52 +08:00
|
|
|
|
cairo_opt="--with-x --enable-png=yes --enable-xlib=yes --enable-xlib-xrender=yes --enable-gtk-doc-html=no"
|
2022-08-20 08:16:34 +08:00
|
|
|
|
common_build cairo ${CAIRO_SRC_DIR} ${cairo_opt}
|
2022-08-14 13:23:05 +08:00
|
|
|
|
# 编译 harfbuzz
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build harfbuzz ${HARFBUZZ_SRC_DIR} -Dcairo=enabled
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 fribidi
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build fribidi ${FRIBIDI_SRC_DIR}
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 pango
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build pango ${PANGO_SRC_DIR}
|
2022-09-28 21:54:06 +08:00
|
|
|
|
# 编译基础库 ( 这些都是系统库,新系统需要集成 )
|
2022-09-30 20:54:55 +08:00
|
|
|
|
if [ "${with_xfce}" = true ] && [ "$1" = "img" ]; then
|
2022-10-01 22:33:38 +08:00
|
|
|
|
# 编译 llvm ( swrast 依赖此库 )
|
2022-10-09 07:05:29 +08:00
|
|
|
|
# llvm_build llvm ${LLVM_SRC_DIR}
|
2022-09-29 23:14:34 +08:00
|
|
|
|
# 编译 expat
|
|
|
|
|
common_build expat ${EXPAT_SRC_DIR}
|
2022-10-09 21:52:51 +08:00
|
|
|
|
# 编译 ncurses ( libtinfo.so.5 )
|
|
|
|
|
common_build ncurses ${NCURSES_SRC_DIR} --with-shared --with-termlib
|
|
|
|
|
# 编译 libedit
|
|
|
|
|
common_build libedit ${LIBEDIT_SRC_DIR}
|
2022-09-28 21:54:06 +08:00
|
|
|
|
# 编译 libudev
|
|
|
|
|
common_build libudev ${LIBUDEV_SRC_DIR}
|
|
|
|
|
# 编译 libpcre
|
|
|
|
|
common_build libpcre ${LIBPCRE_SRC_DIR}
|
|
|
|
|
# 编译 libnettle
|
|
|
|
|
common_build libnettle ${LIBNETTLE_SRC_DIR}
|
|
|
|
|
# 编译 dbus-1( 我们的系统需要编译,如果在当前系统上运行 xfce4,需要注释掉,否则就会和系统自带的 dbus-1 冲突 )
|
2022-09-26 22:00:07 +08:00
|
|
|
|
common_build dbus-1 ${DBUS1_SRC_DIR} --disable-tests
|
2022-10-09 21:52:51 +08:00
|
|
|
|
# 编译 ( libsensors4 )
|
|
|
|
|
common_build im_sensors ${IMSENSORS_SRC_DIR}
|
2022-09-26 22:00:07 +08:00
|
|
|
|
fi
|
2022-08-20 08:16:34 +08:00
|
|
|
|
# 编译 libatk
|
|
|
|
|
meson_build libatk ${LIBATK_SRC_DIR}
|
2022-08-21 10:12:25 +08:00
|
|
|
|
# 编译 libatk-core ( 依赖: libxml )
|
2022-08-21 01:40:05 +08:00
|
|
|
|
meson_build libatk-core ${LIBATK_CORE_SRC_DIR}
|
2022-08-21 10:12:25 +08:00
|
|
|
|
# 编译 libatk-bridge ( 依赖: libatk-core )
|
2022-08-21 01:40:05 +08:00
|
|
|
|
meson_build libatk-bridge ${LIBATK_BRIDGE_SRC_DIR}
|
2022-09-14 21:21:11 +08:00
|
|
|
|
# 编译 libpciaccess
|
|
|
|
|
common_build libpciaccess ${LIBPCIACCESS_SRC_DIR}
|
2022-08-21 23:42:14 +08:00
|
|
|
|
# 编译 libdrm
|
2022-10-09 21:52:51 +08:00
|
|
|
|
meson_build libdrm ${LIBDRM_SRC_DIR} -Dudev=true
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 graphene
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build graphene ${GRAPHENE_SRC_DIR}
|
2022-08-21 23:42:14 +08:00
|
|
|
|
# 编译 mesa
|
|
|
|
|
meson_build mesa ${MESA_SRC_DIR}
|
2022-08-22 23:49:14 +08:00
|
|
|
|
# 编译 libepoxy
|
|
|
|
|
meson_build libepoxy ${LIBEPOXY_SRC_DIR}
|
2022-09-12 16:36:52 +08:00
|
|
|
|
# 编译 gtk+
|
|
|
|
|
meson_build gtk+ ${GTKX_SRC_DIR}
|
2022-08-19 23:29:54 +08:00
|
|
|
|
# 编译 libstartup-notification0 ( 很多 xfce4 应用依赖此库, 依赖: libxcb-util-dev )
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# common_build startupnoti ${STARTUPNOTI_SRC_DIR}
|
2022-08-19 23:29:54 +08:00
|
|
|
|
# 编译 libgudev ( upower 依赖此库, 依赖: apt install libudev-dev )
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build libgudev ${LIBGUDEV_SRC_DIR}
|
2022-08-19 23:29:54 +08:00
|
|
|
|
# 编译 upower ( xfce4-power-manager 依赖此库, 依赖: libgudev )
|
2022-09-10 16:31:48 +08:00
|
|
|
|
meson_build upower ${UPOWER_SRC_DIR} -Dc_args="-DENOTSUP=95"
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 gettext 解决 libintl 的问题 gtk+
|
2022-09-14 21:21:11 +08:00
|
|
|
|
# common_build gettext ${GETTEXT_SRC_DIR}
|
2022-08-21 23:42:14 +08:00
|
|
|
|
# 编译 gstreamer
|
|
|
|
|
meson_build gstreamer ${GSTREAMER_SRC_DIR}
|
2022-08-14 00:16:16 +08:00
|
|
|
|
# 编译 libwnck
|
2022-08-20 08:16:34 +08:00
|
|
|
|
meson_build libwnck ${LIBWNCK_SRC_DIR}
|
2022-08-21 23:42:14 +08:00
|
|
|
|
# 编译 libnotify
|
2022-08-31 21:23:52 +08:00
|
|
|
|
meson_build libnotify ${LIBNOTIFY_SRC_DIR} -Dman=false -Dgtk_doc=false -Ddocbook_docs=disabled
|
2022-08-30 06:07:09 +08:00
|
|
|
|
# 编译 libpam
|
|
|
|
|
common_build libpam ${LIBPAM_SRC_DIR}
|
|
|
|
|
# 编译 xrdp
|
|
|
|
|
common_build xrdp ${XRDP_SRC_DIR}
|
2022-08-31 21:23:52 +08:00
|
|
|
|
# 编译 libxcvt
|
|
|
|
|
meson_build libxcvt ${LIBXCVT_SRC_DIR}
|
|
|
|
|
# 编译 xkbfile
|
|
|
|
|
common_build xkbfile ${XKBFILE_SRC_DIR}
|
2022-08-31 22:48:05 +08:00
|
|
|
|
# 编译 xkbcomp
|
|
|
|
|
common_build xkbcomp ${XKBCOMP_SRC_DIR}
|
2022-08-31 21:23:52 +08:00
|
|
|
|
# 编译 fontenc
|
|
|
|
|
common_build fontenc ${FONTENC_SRC_DIR}
|
|
|
|
|
# 编译 xfont
|
|
|
|
|
common_build xfont ${XFONT_SRC_DIR}
|
|
|
|
|
# 编译 xserver
|
2022-09-10 16:57:46 +08:00
|
|
|
|
common_build xserver ${XSERVER_SRC_DIR} --with-log-dir="/var/log" --with-fontrootdir="/usr/local/share/fonts/X11"
|
2022-09-03 13:54:01 +08:00
|
|
|
|
# 编译 xt ( xterm )
|
|
|
|
|
common_build xt ${XT_SRC_DIR}
|
|
|
|
|
# 编译 xmu ( xterm )
|
|
|
|
|
common_build xmu ${XMU_SRC_DIR}
|
|
|
|
|
# 编译 xpm ( xterm )
|
|
|
|
|
common_build xpm ${XPM_SRC_DIR}
|
|
|
|
|
# 编译 xaw ( xterm )
|
|
|
|
|
common_build xaw ${XAW_SRC_DIR}
|
2022-09-12 10:00:18 +08:00
|
|
|
|
# 编译 xkbcfg ( 键盘数据 xkbdata, Xorg need it ) 或者安装 apt install xkb-data
|
2022-09-11 22:02:04 +08:00
|
|
|
|
meson_build xkbcfg ${XKBDCFG_SRC_DIR}
|
2022-09-12 22:04:20 +08:00
|
|
|
|
# 编译 icon-naming-util
|
|
|
|
|
# common_build iconnamingutil ${ICONNAMINGUTIL_SRC_DIR}
|
2022-09-12 14:36:10 +08:00
|
|
|
|
# 编译 gnome-icon-theme
|
2022-09-12 10:34:02 +08:00
|
|
|
|
common_build gnomeicontheme ${GNOMEICONTHEME_SRC_DIR}
|
2022-09-12 14:36:10 +08:00
|
|
|
|
# 编译 hicolor-icon-theme
|
|
|
|
|
common_build hicoloricontheme ${HICOLORICONTHEME_SRC_DIR}
|
2022-09-01 22:32:14 +08:00
|
|
|
|
# 编译 xterm
|
2022-10-09 21:52:51 +08:00
|
|
|
|
# common_build xterm ${XTERM_SRC_DIR}
|
2022-09-10 16:31:48 +08:00
|
|
|
|
# fontutil
|
|
|
|
|
common_build fontutil ${FONTUTIL_SRC_DIR}
|
|
|
|
|
# mkfontdir
|
|
|
|
|
common_build mkfontdir ${MKFONTDIR_SRC_DIR}
|
|
|
|
|
# bdftopcf
|
|
|
|
|
common_build bdftopcf ${BDFTOPCF_SRC_DIR}
|
|
|
|
|
# mkfontscale
|
|
|
|
|
common_build mkfontscale ${MKFONTSCALE_SRC_DIR}
|
|
|
|
|
# fontmisc
|
|
|
|
|
mkdir -p /usr/local/share/fonts/X11/util
|
|
|
|
|
cp ${FONTUTIL_SRC_DIR}/map-* /usr/local/share/fonts/X11/util/
|
|
|
|
|
common_build fontmisc ${FONTMISC_SRC_DIR}
|
2022-09-10 08:21:18 +08:00
|
|
|
|
# mtdev ( libinput )
|
|
|
|
|
common_build mtdev ${MTDEV_SRC_DIR}
|
|
|
|
|
# libevdev ( libinput )
|
|
|
|
|
meson_build libevdev ${LIBEVDEV_SRC_DIR} -Ddocumentation=disabled
|
|
|
|
|
# libwacom ( libinput )
|
|
|
|
|
meson_build libwacom ${LIBWACOM_SRC_DIR} -Ddocumentation=disabled -Dtests=disabled
|
|
|
|
|
# libinput ( xf86input )
|
|
|
|
|
meson_build libinput ${LIBINPUT_SRC_DIR}
|
2022-09-12 14:36:10 +08:00
|
|
|
|
# xf86input ( libinput 的封装,使 libinput 用于 X 上的输入设备代替其他用于 X 输入的软件包即以 xf86-input- 为前缀的软件包 )
|
2022-09-10 08:21:18 +08:00
|
|
|
|
common_build xf86input ${XF86INPUT_SRC_DIR}
|
2022-09-12 23:15:31 +08:00
|
|
|
|
# xf86videovesa ( vesa是一个支持大部分显卡的通用驱动,不提供任何 2D 和 3D 加速功能 也可以 apt install libgl1-mesa-dri )
|
2022-09-12 22:04:20 +08:00
|
|
|
|
common_build xf86videovesa ${XF86VIDEOVESA_SRC_DIR}
|
2022-10-10 21:19:13 +08:00
|
|
|
|
# xf86videovmware ( qemu 要模拟 vmware 的显卡,需要编译此工程 -vga vmware )
|
|
|
|
|
common_build xf86videovmware ${XF86VIDEOVMWARE_SRC_DIR}
|
2022-09-14 21:21:11 +08:00
|
|
|
|
# gsetting-desktop-schemas
|
|
|
|
|
meson_build gsetting-desktop-schemas ${GSETDESKTOPSCHEMAS_SRC_DIR}
|
|
|
|
|
|
|
|
|
|
# 必须编译一次 schemas, 否则会提示: No schemas installed
|
|
|
|
|
glib-compile-schemas ${xfce_install}/usr/share/glib-2.0/schemas/
|
2022-08-12 06:36:59 +08:00
|
|
|
|
|
2022-09-12 10:00:18 +08:00
|
|
|
|
# 编译 dejavu-fonts ( 否则界面字体显示为小方块 ) 或者安装 apt install fonts-dejavu-core
|
2022-09-13 22:04:57 +08:00
|
|
|
|
mkdir -p ${xfce_install}/etc/fonts/conf.d
|
|
|
|
|
mkdir -p ${xfce_install}/etc/fonts/conf.avail
|
|
|
|
|
mkdir -p ${xfce_install}/usr/share/fonts/truetype/dejavu
|
|
|
|
|
|
|
|
|
|
cp ${DEJAVUFONTS1_SRC_DIR}/ttf/* ${xfce_install}/usr/share/fonts/truetype/dejavu
|
|
|
|
|
for font_name in $(find ${DEJAVUFONTS1_SRC_DIR}/fontconfig -name "*.conf")
|
|
|
|
|
do
|
|
|
|
|
tmp_name=$(file_name ${font_name})
|
2022-09-14 21:21:11 +08:00
|
|
|
|
if [ ! -f ${xfce_install}/etc/fonts/conf.avail/${tmp_name} ]; then
|
|
|
|
|
cp ${font_name} ${xfce_install}/etc/fonts/conf.avail
|
|
|
|
|
fi
|
|
|
|
|
if [ ! -f ${xfce_install}/etc/fonts/conf.d/${tmp_name} ]; then
|
|
|
|
|
ln -s ../conf.avail/${tmp_name} ${xfce_install}/etc/fonts/conf.d/${tmp_name}
|
|
|
|
|
fi
|
2022-09-13 22:04:57 +08:00
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
cp ${DEJAVUFONTS2_SRC_DIR}/ttf/* ${xfce_install}/usr/share/fonts/truetype/dejavu
|
|
|
|
|
for font_name in $(find ${DEJAVUFONTS2_SRC_DIR}/fontconfig -name "*.conf")
|
|
|
|
|
do
|
|
|
|
|
tmp_name=$(file_name ${font_name})
|
2022-09-14 21:21:11 +08:00
|
|
|
|
if [ ! -f ${xfce_install}/etc/fonts/conf.avail/${tmp_name} ]; then
|
|
|
|
|
cp ${font_name} ${xfce_install}/etc/fonts/conf.avail
|
|
|
|
|
fi
|
|
|
|
|
if [ ! -f ${xfce_install}/etc/fonts/conf.d/${tmp_name} ]; then
|
|
|
|
|
ln -s ../conf.avail/${tmp_name} ${xfce_install}/etc/fonts/conf.d/${tmp_name}
|
|
|
|
|
fi
|
2022-09-13 22:04:57 +08:00
|
|
|
|
done
|
2022-09-12 10:00:18 +08:00
|
|
|
|
|
2022-09-15 23:04:22 +08:00
|
|
|
|
# 让 upower.service 能正常启动, 还需要替换系统的 libglib 库
|
|
|
|
|
# sed -i "s/LockPersonality/#LockPersonality/g" ${xfce_install}/lib/systemd/system/upower.service
|
|
|
|
|
# sed -i "s/SystemCallArchitectures/#SystemCallArchitectures/g" ${xfce_install}/lib/systemd/system/upower.service
|
|
|
|
|
# sed -i "s/SystemCallFilter/#SystemCallFilter/g" ${xfce_install}/lib/systemd/system/upower.service
|
|
|
|
|
|
2022-08-12 06:36:59 +08:00
|
|
|
|
# 编译 xfce
|
|
|
|
|
cd ${XFCE_SRC_DIR}
|
|
|
|
|
|
2022-08-14 00:16:16 +08:00
|
|
|
|
# 必须去掉这个,否则 xfce 编译不过,做的还是有点差,和 gtk+ 的编译还是差一个档次
|
2022-08-30 06:07:09 +08:00
|
|
|
|
#unset PKG_CONFIG_SYSROOT_DIR
|
2022-08-14 00:16:16 +08:00
|
|
|
|
unset PKG_CONFIG_TOP_BUILD_DIR
|
2022-08-21 01:40:05 +08:00
|
|
|
|
xfce4_inc="${xfce_loc_inc}/xfce4"
|
|
|
|
|
base_inc="${xfce_inc}/gtk-3.0:${xfce_inc}/pango-1.0:${xfce_inc}/harfbuzz:${xfce_inc}/atk-1.0:${xfce_inc}/gdk-pixbuf-2.0"
|
2022-08-14 00:16:16 +08:00
|
|
|
|
garcon_inc="${xfce_loc_inc}/garcon-1:${xfce_loc_inc}/garcon-gtk3-1:${xfce_loc_inc}/xfce4/libxfce4panel-2.0"
|
2022-08-20 08:16:34 +08:00
|
|
|
|
startup_inc="${xfce_loc_inc}/startup-notification-1.0"
|
2022-08-21 01:40:05 +08:00
|
|
|
|
xfce_mod_inc="${xfce4_inc}:${xfce4_inc}/xfconf-0:${xfce4_inc}/libxfce4kbd-private-3:${xfce4_inc}/libxfce4ui-2"
|
2022-08-14 00:16:16 +08:00
|
|
|
|
other_mod_inc="${xfce_inc}/libwnck-3.0:${xfce_loc_inc}/cairo:${xfce_loc_inc}/exo-2:${xfce_loc_inc}/thunarx-3"
|
2022-08-20 08:16:34 +08:00
|
|
|
|
export C_INCLUDE_PATH="${base_inc}:${garcon_inc}:${startup_inc}:${xfce_mod_inc}:${other_mod_inc}"
|
|
|
|
|
xfce4_build xfce4-dev-tools xfce4-dev-tools-4.16.0
|
2022-08-30 06:07:09 +08:00
|
|
|
|
xfce4_build libxfce4util libxfce4util-4.16.0
|
|
|
|
|
xfce4_build xfconf xfconf-4.16.0
|
2022-08-20 08:16:34 +08:00
|
|
|
|
xfce4_build libxfce4ui libxfce4ui-4.16.0
|
|
|
|
|
xfce4_build garcon garcon-0.8.0
|
|
|
|
|
xfce4_build exo exo-4.16.0
|
|
|
|
|
xfce4_build xfce4-panel xfce4-panel-4.16.0
|
|
|
|
|
xfce4_build thunar thunar-4.16.0
|
|
|
|
|
xfce4_build xfce4-settings xfce4-settings-4.16.0
|
|
|
|
|
xfce4_build xfce4-session xfce4-session-4.16.0
|
2022-08-30 06:07:09 +08:00
|
|
|
|
xfce4_build xfwm4 xfwm4-4.16.0
|
|
|
|
|
xfce4_build xfdesktop xfdesktop-4.16.0
|
2022-08-20 08:16:34 +08:00
|
|
|
|
xfce4_build thunar-volman thunar-volman-4.16.0
|
2022-08-30 06:07:09 +08:00
|
|
|
|
xfce4_build tumbler tumbler-4.16.0
|
|
|
|
|
xfce4_build xfce4-power-manager xfce4-power-manager-4.16.0
|
|
|
|
|
xfce4_build xfce4-appfinder xfce4-appfinder-4.16.0
|
2022-08-14 10:43:36 +08:00
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
cd ..
|
2022-08-08 06:36:26 +08:00
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# fi
|
2022-08-16 22:47:33 +08:00
|
|
|
|
|
|
|
|
|
# 此开关选项可以在编译机器上,体验桌面系统了 ( Ubuntu Server 18.04 )
|
|
|
|
|
if [ "${with_xfce_test}" = true ]; then
|
|
|
|
|
|
|
|
|
|
# gtk+ 之前 compile 的库不能覆盖系统目录,否则可能导致系统启动失败,或者 xfce4 不能正常运行,只能通过 ld.so.conf.d 加载
|
2022-08-21 01:40:05 +08:00
|
|
|
|
rm test/a test/b -rf
|
2022-08-16 22:47:33 +08:00
|
|
|
|
mkdir -pv test/a test/b
|
2022-08-21 01:40:05 +08:00
|
|
|
|
tar zxf tmp.tar.gz -C test/a && (mv test/a${xfce_install}/* test/a) && (rm test/a/root -rf)
|
2022-08-16 22:47:33 +08:00
|
|
|
|
cp ${xfce_install}/* test/b -rf
|
|
|
|
|
|
|
|
|
|
# 删除 to 目录中,与 from 目录中路径一模一样的文件
|
|
|
|
|
from_dir=test/a
|
|
|
|
|
to_dir=test/b
|
|
|
|
|
|
|
|
|
|
# 删除缓存文件
|
|
|
|
|
if [ -f tmpfile.txt ]; then
|
|
|
|
|
rm tmpfile.txt -rf
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# 从目录中删除重复文件,只保持 xfce4 的文件
|
|
|
|
|
ls_dir $from_dir $from_dir
|
|
|
|
|
for line in $(cat tmpfile.txt)
|
|
|
|
|
do
|
|
|
|
|
file=$to_dir$line
|
|
|
|
|
if [ -f $file ]; then
|
2022-08-21 01:40:05 +08:00
|
|
|
|
rm $file -rf && echo "delete repeat file : $file"
|
2022-08-16 22:47:33 +08:00
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# 删除空目录,去掉冗余目录
|
|
|
|
|
find $to_dir -type d -empty -delete
|
2022-08-21 01:40:05 +08:00
|
|
|
|
# 拷贝编译后的 xfce4 到系统目录
|
2022-09-14 21:21:11 +08:00
|
|
|
|
cd $to_dir && (cp ./ / -r -n); cd ..
|
2022-08-16 22:47:33 +08:00
|
|
|
|
|
|
|
|
|
# 预装运行环境
|
2022-09-11 22:05:18 +08:00
|
|
|
|
rm /usr/local/share/X11/xkb -rf
|
2022-09-12 14:36:10 +08:00
|
|
|
|
ln -s /usr/share/X11/xkb /usr/local/share/X11
|
2022-08-16 22:47:33 +08:00
|
|
|
|
|
|
|
|
|
# xfdesktop 需要库的路径, xfdesktop 不能运行,基本上桌面就是黑屏了,可能有 dock 栏和最上面的状态栏
|
2022-08-18 06:43:52 +08:00
|
|
|
|
libdir=`pwd`"/a/usr"
|
2022-09-12 14:36:10 +08:00
|
|
|
|
libpath="${libdir}/lib:${libdir}/local/lib:${libdir}/lib/x86_64-linux-gnu"
|
2022-08-30 06:07:09 +08:00
|
|
|
|
libjpegdir=`pwd`"/a/opt/libjpeg-turbo/lib64"
|
2022-09-15 23:04:22 +08:00
|
|
|
|
# 可以让 xrdp 调用,也可以手工启动
|
2022-09-12 14:36:10 +08:00
|
|
|
|
echo "LD_LIBRARY_PATH=\"${libpath}:${libjpegdir}\" xfce4-session" > ~/.xsession
|
2022-09-15 23:04:22 +08:00
|
|
|
|
# 不用起服务的方式了,太麻烦
|
|
|
|
|
echo "LD_LIBRARY_PATH=\"${libpath}:${libjpegdir}\" /usr/libexec/upowerd -rd" > ~/.upowerd
|
2022-09-30 20:54:55 +08:00
|
|
|
|
chmod +x ~/.xsession ~/.upowerd
|
|
|
|
|
|
|
|
|
|
# 你可以直接在虚拟机里面执行 startxfce4.sh,UBUNTU 18.04 Server 就会进入桌面模式了
|
|
|
|
|
echo "/root/.upowerd &" > ~/xfce.sh
|
|
|
|
|
echo "/root/.xsession" >> ~/xfce.sh
|
|
|
|
|
echo "xinit /root/xfce.sh -- /usr/local/bin/Xorg :10" > ~/startxfce4.sh
|
|
|
|
|
chmod +x ~/xfce.sh ~/startxfce4.sh
|
2022-08-16 22:47:33 +08:00
|
|
|
|
|
2022-09-12 10:06:47 +08:00
|
|
|
|
# 整个流程说明
|
|
|
|
|
# 0. 运行说明
|
2022-09-12 14:36:10 +08:00
|
|
|
|
# Xorg 需要鼠标键盘驱动 ( libinput ), 需要显卡驱动, 需要键盘数据,需要字体, 需要 hicolor & gnome theme
|
|
|
|
|
# 1. 编译源码 ./mk_xfce.sh, 编译完毕, 更新一下系统库
|
|
|
|
|
# ldconfig
|
|
|
|
|
# 2. 在虚拟机里面运行 xserver
|
|
|
|
|
# X :10
|
|
|
|
|
# 3. 在 ssh 的终端里, 电源管理以服务的形式启动会失败,需要单独手工启动
|
|
|
|
|
# export DISPLAY=:10
|
|
|
|
|
# LD_LIBRARY_PATH="${libpath}:${libjpegdir}" /usr/libexec/upowerd -v
|
|
|
|
|
# 4. 在 ssh 的终端里
|
|
|
|
|
# export DISPLAY=:10
|
|
|
|
|
# LD_LIBRARY_PATH="${libpath}:${libjpegdir}" xfce4-session
|
2022-09-17 14:21:44 +08:00
|
|
|
|
# 5. 这样虚拟机里面就会出现真正的窗口系统
|
2022-08-16 22:47:33 +08:00
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
2022-08-21 01:40:05 +08:00
|
|
|
|
cd ..
|
2022-08-14 00:16:16 +08:00
|
|
|
|
echo "${CYAN}build all success - [${GREEN} ok ${CYAN}]${NC}"
|