Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542952 - net-misc/rdesktop-1.8.3 has x11-libs/libXrandr automagic
Summary: net-misc/rdesktop-1.8.3 has x11-libs/libXrandr automagic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 18:33 UTC by Nikoli
Modified: 2015-09-14 09:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2015-03-11 18:33:13 UTC
$ check-deps.sh net-misc/rdesktop
 * Checking "net-misc/rdesktop-1.8.3"
 * Missing in RDEPEND and DEPEND:
        x11-libs/libXrandr
                X86_64;libXrandr.so.2
                        /usr/bin/rdesktop
 * Nothing links to libraries from these packages:
        x11-libs/libXau
        x11-libs/libXdmcp
        x11-libs/libXext


configure.ac:# xrandr
configure.ac-if test -n "$PKG_CONFIG"; then
configure.ac:    PKG_CHECK_MODULES(XRANDR, xrandr, [HAVE_XRANDR=1], [HAVE_XRANDR=0])
configure.ac-fi
configure.ac:if test x"$HAVE_XRANDR" = "x1"; then
configure.ac:    CFLAGS="$CFLAGS $XRANDR_CFLAGS"
configure.ac:    LIBS="$LIBS $XRANDR_LIBS"
configure.ac:    AC_DEFINE(HAVE_XRANDR)
configure.ac-fi


xwin.c-#include "xproto.h"
xwin.c:#ifdef HAVE_XRANDR
xwin.c:#include <X11/extensions/Xrandr.h>
xwin.c-#endif
--
xwin.c- XSelectInput(g_display, g_wnd, input_mask);
xwin.c:#ifdef HAVE_XRANDR
xwin.c- XSelectInput(g_display, RootWindowOfScreen(g_screen), StructureNotifyMask);
--
xwin.c-                 case ConfigureNotify:
xwin.c:#ifdef HAVE_XRANDR
xwin.c-                         if ((g_sizeopt || g_fullscreen)
Comment 1 Bernard Cafarelli gentoo-dev 2015-09-14 09:50:50 UTC
Finally fixed in 1.8.3-r1! I'll send it upstream too