pkgsrc-Bugs archive

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

pkg/41218: graphics/gegl is broken under Linux (13 idirect failures) [patch]



>Number:         41218
>Category:       pkg
>Synopsis:       graphics/gegl is broken under Linux (13 idirect failures) 
>[patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 15 09:10:00 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        linux
>Organization:
home
>Environment:
linux
>Description:
Under Linux graphics/gegl fails like this
=> Checking file-check results for gegl-0.0.22nb2
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/gegl-0.0/v4l.a
ERROR:         /usr/pkg/lib/gegl-0.0/v4l.la
ERROR:         /usr/pkg/lib/gegl-0.0/v4l.so

Full report is here
http://mova.org/~cheusov/pub/pkgsrc-distbb/Linux/current/logs/20090410.2105/graphics_gegl_gegl-0.0.22nb2/stage_install.html

This is because under Linux an additional modules is installed (See 
configure.ac)
The attached patch was tested under Linux

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gegl/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile    3 Feb 2009 06:21:40 -0000       1.5
+++ Makefile    15 Apr 2009 09:03:26 -0000
@@ -23,6 +23,14 @@
 
 PKGCONFIG_OVERRIDE+=   gegl.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=    v4l
+
+.if ${OPSYS} == "Linux" && exists(/usr/include/linux/videodev.h)
+PLIST.v4l=     yes
+.endif
+
 .include "options.mk"
 
 .include "../../graphics/babl/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gegl/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- PLIST       3 Feb 2009 06:21:40 -0000       1.5
+++ PLIST       15 Apr 2009 09:03:26 -0000
@@ -108,6 +108,7 @@
 lib/gegl-0.0/threshold.la
 lib/gegl-0.0/tonemap.la
 lib/gegl-0.0/unsharp-mask.la
+${PLIST.v4l}lib/gegl-0.0/v4l.la
 lib/gegl-0.0/value-invert.la
 lib/gegl-0.0/whitebalance.la
 lib/gegl-0.0/write-buffer.la




Home | Main Index | Thread Index | Old Index