pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48532: x11/xrandr wants libXrandr >= 1.4



        Note: There was a bad value `' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         48532
>Category:       pkg
>Synopsis:       x11/xrandr wants libXrandr >= 1.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 19 14:15:00 +0000 2014
>Originator:     Makoto Fujiwara
>Release:        NetBSD 6.1.2
>Organization:
KINU Corporation
>Environment:
        
        
System: NetBSD m08 6.1.2 NetBSD 6.1.2 (DDB-SHOW) #0: Sun Jan 19 21:42:08 JST 
2014 root@m08:/export/src-6.1.2/src/src/sys/arch/amd64/compile/obj/DDB-SHOW 
amd64
Architecture: x86_64
Machine: amd64
>Description:
As you may read the results of bulkbuild, x11/xrandr is fail to configure.
  
http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2013Q4/NetBSD-6.0-x86_64/20140118.0052/xrandr-1.4.1/configure.log

checking for XRANDR... configure: error: Package requirements 
         (xrandr >= 1.4 xrender x11 xproto >= 7.0.17) were not met:
Requested 'xrandr >= 1.4' but version of Xrandr is 1.3.2
>How-To-Repeat:
        with X11_TYPE=native (or empty)
        cd /usr/pkgsrc/x11/randr
        make package
>Fix:
        This may not be a correct patch, but at least fix the problem

Index: mk/defaults/mk.conf
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mk/defaults/mk.conf,v
retrieving revision 1.229
diff -u -r1.229 mk.conf
--- mk/defaults/mk.conf 31 Dec 2013 17:22:58 -0000      1.229
+++ mk/defaults/mk.conf 19 Jan 2014 13:46:09 -0000
@@ -196,11 +196,11 @@
 
 .if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/X11R7/lib/libX11.so))
-PREFER_PKGSRC?=
+PREFER_PKGSRC?= libXrandr
 .elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/lib/libexpat.so))
 PREFER_PKGSRC?=                MesaLib Xft2 Xrandr Xrender fontconfig  \
-                       freetype2 glu randrproto renderproto xcursor
+                       freetype2 glu randrproto renderproto xcursor libXrandr
 .elif (!empty(MACHINE_PLATFORM:MOpenBSD-*-*) && \
      exists(/usr/X11R6/lib/X11/config/xorgversion.def))
 PREFER_PKGSRC?=
Index: x11/xrandr/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/xrandr/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- x11/xrandr/Makefile 17 Jul 2013 21:49:57 -0000      1.16
+++ x11/xrandr/Makefile 19 Jan 2014 13:46:09 -0000
@@ -21,8 +21,16 @@
 SUBST_STAGE.nickle=    post-build
 SUBST_MESSAGE.nickle=  Fixing path to nickle.
 
-BUILDLINK_API_DEPENDS.libXrandr+=      libXrandr>=1.2
+.include "../../devel/xorg-util-macros/buildlink3.mk"
+# See mk/defaults/mk.conf
+#PREFER_PKGSRC+=       libXrandr
+BUILDLINK_API_DEPENDS.libXrandr+=      libXrandr>=1.4
 .include "../../x11/libXrandr/buildlink3.mk"
 .include "../../x11/libXrender/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
+
+#PREFER_PKGSRC+=       randrproto
+BUILDLINK_API_DEPENDS.randrproto+=     randrproto>=1.4
+.include "../../x11/randrproto/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"
Index: x11/libXrandr/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/libXrandr/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- x11/libXrandr/Makefile      8 Sep 2013 08:19:48 -0000       1.15
+++ x11/libXrandr/Makefile      19 Jan 2014 13:46:09 -0000
@@ -27,6 +27,7 @@
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXrender/buildlink3.mk"
+BUILDLINK_API_DEPENDS.randrproto+=      randrproto>=1.4
 .include "../../x11/randrproto/buildlink3.mk"
 .include "../../x11/renderproto/buildlink3.mk"
 

>Unformatted:
 x11/xrandr wants libXrandr >= 1.4
                sw-bug
        
        


Home | Main Index | Thread Index | Old Index