[Bug 271526] New: powerdevil/daemon/backends/upower/xrandrbrightness.cpp fails to compile due to no Xrandr-1.3 on Solaris 10

Ben Taylor bentaylor.solx86 at gmail.com
Sat Apr 23 02:25:13 BST 2011


https://bugs.kde.org/show_bug.cgi?id=271526

           Summary: powerdevil/daemon/backends/upower/xrandrbrightness.cpp
                    fails to compile due to no Xrandr-1.3 on Solaris 10
           Product: kde
           Version: 4.6
          Platform: Unlisted Binaries
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: bentaylor.solx86 at gmail.com


Version:           4.6
OS:                Solaris

Solaris 10/Update 9 X86, Sun Studio 12

XRRGetScreenResourcesCurrent is part of XRANDR-1.3.  the usual use of
this function is to isolate it via:

#ifdef HAVE_XRANDR_1_3
    if (minor > 2)
        m_resources = XRRGetScreenResourcesCurrent(QX11Info::display(),
QX11Info::appRootWindow()); // ve
rsion 1.3, faster version
    else
#endif
        m_resources = XRRGetScreenResources(QX11Info::display(),
QX11Info::appRootWindow());



Reproducible: Always

Steps to Reproduce:
Compile KDE4.6.2 via the KDE4 Solaris project as defined on
http://techbase.kde.org/Projects/KDE_on_Solaris on Solaris 10 with Sun Studio
12

Actual Results:  
pkgbuild:
"/export/home/bent/packages/BUILD/kdebase-workspace-4.6.2/powerdevil/daemon/backends/upower/xrandrbrightness.cpp",
line 57: Error: The function "XRRGetScreenResourcesCurrent" must have a
prototype.
pkgbuild: 1 Error(s) detected.
pkgbuild: make[3]: ***
[powerdevil/daemon/CMakeFiles/kded_powerdevil.dir/backends/upower/xrandrbrightness.o]
Error 1
pkgbuild: make[3]: Leaving directory
`/export/home/bent/packages/BUILD/kdebase-workspace-4.6.2/build-kdebase-workspace-4.6.2'
pkgbuild: make[2]: *** [powerdevil/daemon/CMakeFiles/kded_powerdevil.dir/all]
Error 2
pkgbuild: make[2]: Leaving directory
`/export/home/bent/packages/BUILD/kdebase-workspace-4.6.2/build-kdebase-workspace-4.6.2'
pkgbuild: make[1]: *** [all] Error 2


Expected Results:  
A similar patch to this file compiled on Solaris 10

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list