-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tinyx: port X11 #82
base: master
Are you sure you want to change the base?
tinyx: port X11 #82
Conversation
0af4985
to
f4be2eb
Compare
6fff19f
to
5cfc088
Compare
c07b378
to
a451d71
Compare
85770ab
to
89d1aff
Compare
a3fb453
to
52c953e
Compare
JIRA: RTOS-826
66e8fcb
to
5a4dd99
Compare
bf96377
to
f617fbc
Compare
build.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JIRA: RTOS-826, RTOS-861
02-keysym.patch adds key event printing for keyboard testing (a poor man's xev) JIRA: RTOS-826, RTOS-863
These patches require /dev/kbd and /dev/mouse PS/2 vdevs to be available JIRA: RTOS-826, RTOS-864
JIRA: RTOS-826, RTOS-865
JIRA: RTOS-826, RTOS-861
28e8e6b
to
2ef1e42
Compare
JIRA: RTOS-826, RTOS-889
JIRA: RTOS-826, RTOS-865, RTOS-889
JIRA: RTOS-826, RTOS-889
JIRA: RTOS-862
Pressing ^C in X session is now captured by client apps instead of killing the X server. Pressing ^C in st sends SIGINT to the process inside pty instead of doing nothing. JIRA: RTOS-826, RTOS-861, RTOS-889
…in xserver JIRA: RTOS-902, RTOS-906
Use the TTYSETMODE ioctl to stop the fbcon from drawing to the same framebuffer xserver is using JIRA: RTOS-906, RTOS-925
JIRA: RTOS-889
2ef1e42
to
5d48778
Compare
Adds a port of feh image viewer with png support from imlib2. The support is hardcoded into imlib2 loaders.c as a workaround for the lack of dynamic lib support (dlopen(), dlsym() etc.) JIRA: RTOS-955
} | ||
|
||
|
||
build_freetype() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b_port_apply_patches "${PREFIX_PORT_SRC}" "${appname}/${version}" | ||
|
||
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b_port_apply_patches "${PREFIX_PORT_SRC}" "${appname}/${version}" | ||
|
||
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b_port_apply_patches "${PREFIX_PORT_SRC}" "${appname}/${version}" | ||
|
||
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b_port_apply_patches "${PREFIX_PORT_SRC}" "${appname}/${version}" | ||
|
||
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ | ||
--libdir="${PREFIX_A}" --includedir="${PREFIX_H}" \ | ||
--prefix="${PREFIX_PORT_INSTALL}" --datarootdir="${PREFIX_A}" "${@}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ | ||
--libdir="${PREFIX_A}" --includedir="${PREFIX_H}" \ | ||
--prefix="${PREFIX_PORT_INSTALL}" --datarootdir="${PREFIX_A}" "${@}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ | ||
--libdir="${PREFIX_A}" --includedir="${PREFIX_H}" \ | ||
--prefix="${PREFIX_PORT_INSTALL}" --datarootdir="${PREFIX_A}" "${@}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make -C "${PREFIX_PORT_SRC}" PREFIX="${PREFIX_PORT_BUILD}" PLATFORM="unix" \ | ||
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ | ||
--libdir="${PREFIX_A}" --includedir="${PREFIX_H}" \ | ||
--prefix="${PREFIX_PORT_INSTALL}" --datarootdir="${PREFIX_A}" "${@}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
# Image viewer (requires libpng port) | ||
|
||
build_freetype |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ | ||
--libdir="${PREFIX_A}" --includedir="${PREFIX_H}" \ | ||
--prefix="${PREFIX_PORT_INSTALL}" --datarootdir="${PREFIX_A}" "${@}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shellcheck (suggestion)] reported by reviewdog 🐶
CFG="--host="${HOST%phoenix}linux" --bindir="${PREFIX_PROG}" --sbindir="${PREFIX_PROG}" \ | |
--libdir="${PREFIX_A}" --includedir="${PREFIX_H}" \ | |
--prefix="${PREFIX_PORT_INSTALL}" --datarootdir="${PREFIX_A}" "${@}" \ | |
CFG="--host=""${HOST%phoenix}"linux" --bindir=""${PREFIX_PROG}"" --sbindir=""${PREFIX_PROG}"" \ | |
--libdir=""${PREFIX_A}"" --includedir=""${PREFIX_H}"" \ | |
--prefix=""${PREFIX_PORT_INSTALL}"" --datarootdir=""${PREFIX_A}"" "${@}" \ |
JIRA: RTOS-861, RTOS-826
Description
Adds ports of:
-tcp -ac
Having all this, using a dotfile config such as one on adamgreloch/tinyx project branch, one can run:
Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment
build: Add common utility functions, tidy up build process #78
posix: fix unix socket accept/connect, add their nonblocking variants, handle MSG_PEEK in recv phoenix-rtos-kernel#572
pc-tty: add framebuffer-based console phoenix-rtos-devices#515
pc-tty: add PS/2 mouse support and kbd/mouse vdevs phoenix-rtos-devices#512
ia32: add passing of graphmode params via syspage and platformctl phoenix-rtos-kernel#596
png: add libpng port #88