-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add imlib2 support for login screen customisation #1962
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ee79247
Add zoom and scale functionality to xrdp_bitmap_load()
matt335672 2c841d0
Split xrdp_bitmap.c into separate files for testing
matt335672 f875028
Rework and simplify xrdp_bitmap_load_bmp()
matt335672 47737c7
Add unit tests for xrdp_bitmap_load()
matt335672 1606cdf
Added -with-imlib2 to configure.ac
matt335672 8f8b4c5
Add imlib2 support to xrdp_bitmap_load.c
matt335672 19d49e3
Added code to cope with dithering in xrdp_bitmap_load tests
matt335672 2d123d5
Add imlib2 to CI
matt335672 971f911
Add xrdp_bitmap_load() jpg and png test cases
matt335672 d998ce7
Add additional background and logo parameters to xrdp.ini
matt335672 82b8c0a
Background login image on the primary monitor only
matt335672 ed6e71a
Disable the login screen background if the client has disabled wallpaper
matt335672 e355071
Address review comments and re-test
matt335672 aa43a00
Add --with-imlib2 to i386 CI
matt335672 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ EXTRA_DIST = \ | |
|
||
SUBDIRS = \ | ||
common \ | ||
memtest | ||
memtest \ | ||
xrdp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
AM_CPPFLAGS = \ | ||
-I$(top_builddir) \ | ||
-I$(top_srcdir)/xrdp \ | ||
-I$(top_srcdir)/libxrdp \ | ||
-I$(top_srcdir)/common \ | ||
$(IMLIB2_CFLAGS) | ||
|
||
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ | ||
$(top_srcdir)/tap-driver.sh | ||
|
||
PACKAGE_STRING="XRDP daemon" | ||
|
||
EXTRA_DIST = \ | ||
test_4bit.bmp \ | ||
test_8bit.bmp \ | ||
test_24bit.bmp \ | ||
test_not4_4bit.bmp \ | ||
test_not4_8bit.bmp \ | ||
test_not4_24bit.bmp \ | ||
test1.jpg \ | ||
test_alpha_blend.png | ||
|
||
TESTS = test_xrdp | ||
check_PROGRAMS = test_xrdp | ||
|
||
test_xrdp_SOURCES = \ | ||
test_xrdp.h \ | ||
test_xrdp_main.c \ | ||
test_bitmap_load.c | ||
|
||
test_xrdp_CFLAGS = \ | ||
-D IMAGEDIR=\"$(srcdir)\" \ | ||
@CHECK_CFLAGS@ | ||
|
||
test_xrdp_LDADD = \ | ||
$(top_builddir)/xrdp/xrdp_bitmap_load.o \ | ||
$(top_builddir)/xrdp/xrdp_bitmap_common.o \ | ||
$(top_builddir)/xrdp/funcs.o \ | ||
$(top_builddir)/common/libcommon.la \ | ||
$(IMLIB2_LIBS) \ | ||
@CHECK_LIBS@ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Auto-detection is generally very nice but autodetected libraries will not appear in
xrdp -v
. I want an easy way to tell users if your compiled xrdp supports png/jpg images on the login screen.ldd /usr/sbin/xrdp
sounds a little bit guru's way.If we introduce more auto-detection, we might need to invent a new way to show which libraries/features compiled with.
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.
That's a really good point - I hadn't thought of that but it's a feature I use a lot when triaging problems. I'll remove the auto-detect.