mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-22 18:20:30 +08:00
add xinit support
This commit is contained in:
parent
ac52714964
commit
67524810e3
15
mk_xfce.sh
15
mk_xfce.sh
@ -43,8 +43,8 @@ DEJAVUFONTS2_SRC_URL=https://nchc.dl.sourceforge.net/project/dejavu/dejavu/2.37/
|
||||
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
|
||||
XTERM_SRC_URL=https://invisible-island.net/datafiles/release/xterm.tar.gz
|
||||
EXPAT_SRC_URL=https://nchc.dl.sourceforge.net/project/expat/expat/2.4.9/expat-2.4.9.tar.xz
|
||||
LIBUDEV_SRC_URL=https://dev.gentoo.org/~blueness/eudev/eudev-3.2.9.tar.gz
|
||||
LIBUUID_SRC_URL=https://jaist.dl.sourceforge.net/project/libuuid/libuuid-1.0.3.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
|
||||
NCURSES_SRC_URL=https://invisible-island.net/datafiles/release/ncurses.tar.gz
|
||||
@ -108,6 +108,7 @@ 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
|
||||
XTRANS_SRC_URL=https://www.x.org/releases/individual/lib/xtrans-1.4.0.tar.gz
|
||||
LIBICE_SRC_URL=https://www.x.org/releases/individual/lib/libICE-1.0.10.tar.gz
|
||||
XINIT_SRC_URL=https://www.x.org/releases/individual/app/xinit-1.4.1.tar.gz
|
||||
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
|
||||
@ -157,7 +158,6 @@ ZLIB_SRC_NAME=$(download_src ${ZLIB_SRC_URL})
|
||||
LIBZIP_SRC_NAME=$(download_src ${LIBZIP_SRC_URL})
|
||||
LIBELF_SRC_NAME=$(download_src ${LIBELF_SRC_URL})
|
||||
LIBUDEV_SRC_NAME=$(download_src ${LIBUDEV_SRC_URL})
|
||||
LIBUUID_SRC_NAME=$(download_src ${LIBUUID_SRC_URL})
|
||||
LIBTHAI_SRC_NAME=$(download_src ${LIBTHAI_SRC_URL})
|
||||
LIBNETTLE_SRC_NAME=$(download_src ${LIBNETTLE_SRC_URL})
|
||||
LIBDATRIE_SRC_NAME=$(download_src ${LIBDATRIE_SRC_URL})
|
||||
@ -165,6 +165,7 @@ LIBPCRE_SRC_NAME=$(download_src ${LIBPCRE_SRC_URL})
|
||||
LIBPCRE2_SRC_NAME=$(download_src ${LIBPCRE2_SRC_URL})
|
||||
LIBNOTIFY_SRC_NAME=$(download_src ${LIBNOTIFY_SRC_URL})
|
||||
GLIB_SRC_NAME=$(download_src ${GLIB_SRC_URL})
|
||||
EXPAT_SRC_NAME=$(download_src ${EXPAT_SRC_URL})
|
||||
PIXMAN_SRC_NAME=$(download_src ${PIXMAN_SRC_URL})
|
||||
FREETYPE_SRC_NAME=$(download_src ${FREETYPE_SRC_URL})
|
||||
CAIRO_SRC_NAME=$(download_src ${CAIRO_SRC_URL})
|
||||
@ -186,6 +187,7 @@ LIBATK_BRIDGE_SRC_NAME=$(download_src ${LIBATK_BRIDGE_SRC_URL})
|
||||
LIBJPEGTURBO_SRC_NAME=$(download_src ${LIBJPEGTURBO_SRC_URL})
|
||||
LIBXPROTO_SRC_NAME=$(download_src ${LIBXPROTO_SRC_URL})
|
||||
XTRANS_SRC_NAME=$(download_src ${XTRANS_SRC_URL})
|
||||
XINIT_SRC_NAME=$(download_src ${XINIT_SRC_URL})
|
||||
LIBSM_SRC_NAME=$(download_src ${LIBSM_SRC_URL})
|
||||
LIBICE_SRC_NAME=$(download_src ${LIBICE_SRC_URL})
|
||||
LIBX11_SRC_NAME=$(download_src ${LIBX11_SRC_URL})
|
||||
@ -285,7 +287,6 @@ ZLIB_SRC_DIR=$(unzip_src ".tar.xz" ${ZLIB_SRC_NAME}); echo "unzip ${ZLIB_SRC_NAM
|
||||
LIBZIP_SRC_DIR=$(unzip_src ".tar.xz" ${LIBZIP_SRC_NAME}); echo "unzip ${LIBZIP_SRC_NAME} source code"
|
||||
LIBELF_SRC_DIR=$(unzip_src ".tar.bz2" ${LIBELF_SRC_NAME}); echo "unzip ${LIBELF_SRC_NAME} source code"
|
||||
LIBUDEV_SRC_DIR=$(unzip_src ".tar.gz" ${LIBUDEV_SRC_NAME}); echo "unzip ${LIBUDEV_SRC_NAME} source code"
|
||||
LIBUUID_SRC_DIR=$(unzip_src ".tar.gz" ${LIBUUID_SRC_NAME}); echo "unzip ${LIBUUID_SRC_NAME} source code"
|
||||
LIBTHAI_SRC_DIR=$(unzip_src ".tar.xz" ${LIBTHAI_SRC_NAME}); echo "unzip ${LIBTHAI_SRC_NAME} source code"
|
||||
LIBNETTLE_SRC_DIR=$(unzip_src ".tar.gz" ${LIBNETTLE_SRC_NAME}); echo "unzip ${LIBNETTLE_SRC_NAME} source code"
|
||||
LIBDATRIE_SRC_DIR=$(unzip_src ".tar.xz" ${LIBDATRIE_SRC_NAME}); echo "unzip ${LIBDATRIE_SRC_NAME} source code"
|
||||
@ -293,6 +294,7 @@ LIBPCRE_SRC_DIR=$(unzip_src ".tar.gz" ${LIBPCRE_SRC_NAME}); echo "unzip ${LIBPCR
|
||||
LIBPCRE2_SRC_DIR=$(unzip_src ".tar.gz" ${LIBPCRE2_SRC_NAME}); echo "unzip ${LIBPCRE2_SRC_NAME} source code"
|
||||
LIBNOTIFY_SRC_DIR=$(unzip_src ".tar.xz" ${LIBNOTIFY_SRC_NAME}); echo "unzip ${LIBNOTIFY_SRC_NAME} source code"
|
||||
GLIB_SRC_DIR=$(unzip_src ".tar.xz" ${GLIB_SRC_NAME}); echo "unzip ${GLIB_SRC_NAME} source code"
|
||||
EXPAT_SRC_DIR=$(unzip_src ".tar.xz" ${EXPAT_SRC_NAME}); echo "unzip ${EXPAT_SRC_NAME} source code"
|
||||
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"
|
||||
CAIRO_SRC_DIR=$(unzip_src ".tar.xz" ${CAIRO_SRC_NAME}); echo "unzip ${CAIRO_SRC_NAME} source code"
|
||||
@ -329,6 +331,7 @@ KBPROTO_SRC_DIR=$(unzip_src ".tar.gz" ${KBPROTO_SRC_NAME}); echo "unzip ${KBPROT
|
||||
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"
|
||||
XINIT_SRC_DIR=$(unzip_src ".tar.gz" ${XINIT_SRC_NAME}); echo "unzip ${XINIT_SRC_NAME} source code"
|
||||
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"
|
||||
@ -675,6 +678,8 @@ common_build() {
|
||||
common_build xshmfence ${XSHMFENCE_SRC_DIR}
|
||||
# 编译 xxf86vm
|
||||
common_build xxf86vm ${XXF86VM_SRC_DIR}
|
||||
# 编译 xinit
|
||||
common_build xinit ${XINIT_SRC_DIR}
|
||||
# 编译 xi ( 问题解决见上面的注释 )
|
||||
common_build xi ${XI_SRC_DIR}
|
||||
# 编译 xtst
|
||||
@ -704,6 +709,8 @@ common_build() {
|
||||
meson_build pango ${PANGO_SRC_DIR}
|
||||
# 编译基础库 ( 这些都是系统库,新系统需要集成 )
|
||||
if [ "$1" = "img" ]; then
|
||||
# 编译 expat
|
||||
common_build expat ${EXPAT_SRC_DIR}
|
||||
# 编译 libudev
|
||||
common_build libudev ${LIBUDEV_SRC_DIR}
|
||||
# 编译 libpcre
|
||||
@ -712,8 +719,6 @@ common_build() {
|
||||
common_build libnettle ${LIBNETTLE_SRC_DIR}
|
||||
# 编译 dbus-1( 我们的系统需要编译,如果在当前系统上运行 xfce4,需要注释掉,否则就会和系统自带的 dbus-1 冲突 )
|
||||
common_build dbus-1 ${DBUS1_SRC_DIR} --disable-tests
|
||||
# 编译 libuuid
|
||||
common_build libuuid ${LIBUUID_SRC_DIR}
|
||||
fi
|
||||
# 编译 libatk
|
||||
meson_build libatk ${LIBATK_SRC_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user