pkgsrc-Users archive

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

Re: CVS commit: pkgsrc/x11/qt5-qtmultimedia



On Fri, Apr 17, 2015 at 12:50:27AM +0200, Joerg Sonnenberger wrote:
> On Fri, Apr 17, 2015 at 12:29:01AM +0200, Thomas Klausner wrote:
> > On Wed, Apr 15, 2015 at 01:13:44PM +0000, Joerg Sonnenberger wrote:
> > > Module Name:	pkgsrc
> > > Committed By:	joerg
> > > Date:		Wed Apr 15 13:13:44 UTC 2015
> > > 
> > > Modified Files:
> > > 	pkgsrc/x11/qt5-qtmultimedia: Makefile PLIST
> > > 
> > > Log Message:
> > > Explicitly add PREFIX/lib/pulseaudio to the library search path for the
> > > old wrapper, libtool doesn't correctly pick it up otherwise. Bump
> > > revision.
> > 
> > While this builds a qt5-qtmultimedia which includes the pulseaudio
> > files from the PLIST, this breaks all dependencies of the package that
> > I've tried so far.
> 
> Feel free to move the hack to pulseaudio's b3.mk. My interest in
> spending further time on this is zero...

With the attached patch, py-qt5 packages (haven't tried if it works
yet), but kid3 doesn't, same error:

CMake Error at /usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:15 (message):
  The imported target "Qt5::Multimedia" references the file

     "/usr/pkg/qt5/plugins/mediaservice/libgstcamerabin.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5Multimedia_CameraBinServicePlugin.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:133 (_qt5_Multimedia_check_file_exists)
  /usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5Multimedia_CameraBinServicePlugin.cmake:4 (_populate_Multimedia_plugin_properties)
  /usr/pkg/qt5/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:141 (include)
  CMakeLists.txt:213 (find_package)


 Thomas
Index: audio/pulseaudio/buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/audio/pulseaudio/buildlink3.mk,v
retrieving revision 1.23
diff -u -r1.23 buildlink3.mk
--- audio/pulseaudio/buildlink3.mk	21 Feb 2015 23:13:10 -0000	1.23
+++ audio/pulseaudio/buildlink3.mk	18 Apr 2015 06:29:19 -0000
@@ -18,6 +18,8 @@
 BUILDLINK_LIBDIRS.pulseaudio+=		lib/pulseaudio
 BUILDLINK_RPATHDIRS.pulseaudio+=	lib/pulseaudio
 
+_WRAP_EXTRA_ARGS.CXX+=	-L${PREFIX}/lib/pulseaudio
+
 pkgbase:= pulseaudio
 .  include "../../mk/pkg-build-options.mk"
 
Index: x11/qt5-qtmultimedia/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt5-qtmultimedia/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- x11/qt5-qtmultimedia/Makefile	15 Apr 2015 13:13:44 -0000	1.15
+++ x11/qt5-qtmultimedia/Makefile	18 Apr 2015 06:29:19 -0000
@@ -12,8 +12,6 @@
 
 .include "../../x11/qt5-qtbase/Makefile.common"
 
-_WRAP_EXTRA_ARGS.CXX+= -L${PREFIX}/lib/pulseaudio
-
 post-install:
 .for i in Qt5Multimedia.pc Qt5MultimediaQuick_p.pc Qt5MultimediaWidgets.pc
 	cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \


Home | Main Index | Thread Index | Old Index