[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-commits
Subject:    [cvs] dists/10.7/stable/main/finkinfo/libs libdbusmenu-qt.info, NONE, 1.1 libdbusmenu-qt.patch, NONE
From:       Hanspeter Niederstrasser <nieder () users ! sourceforge ! net>
Date:       2014-02-28 20:11:40
Message-ID: E1WJTmZ-00051X-3D () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27425

Added Files:
	libdbusmenu-qt.info libdbusmenu-qt.patch 
Log Message:
new 10.7 pkg libdbusmenu-qt 0.9.2

--- NEW FILE: libdbusmenu-qt.patch ---
diff -Nurd libdbusmenu-qt-0.8.0/CMakeLists.txt \
                libdbusmenu-qt-0.8.0-new/CMakeLists.txt
--- libdbusmenu-qt-0.8.0/CMakeLists.txt	2011-02-24 11:36:20.000000000 -0500
+++ libdbusmenu-qt-0.8.0-new/CMakeLists.txt	2011-03-07 13:23:00.000000000 -0500
@@ -41,7 +41,7 @@
     )
 add_dependencies(distcheck dist)
 
-find_package(Qt4 REQUIRED)
+find_package(Qt4 4.6.0 REQUIRED)
 
 include_directories(
     ${QT_INCLUDE_DIR}
@@ -50,12 +50,23 @@
     ${QT_QTGUI_INCLUDE_DIR}
     )
 
+set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING \
"Directory where lib will install") +
+set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
+
+set(CMAKE_INSTALL_RPATH_USE_LINK_PATH  TRUE)
+set(CMAKE_INSTALL_RPATH "${LIB_INSTALL_DIR}" )
+
 configure_file(dbusmenu-qt.pc.in ${CMAKE_BINARY_DIR}/dbusmenu-qt.pc @ONLY)
 
 install(FILES ${CMAKE_BINARY_DIR}/dbusmenu-qt.pc
     DESTINATION lib${LIB_SUFFIX}/pkgconfig
     )
 
+option(BUILD_TESTS "Build tests" ON)
+
 add_subdirectory(src)
-add_subdirectory(tests)
+if (BUILD_TESTS)
+	add_subdirectory(tests)
+endif (BUILD_TESTS)
 add_subdirectory(tools)
diff -Nurd libdbusmenu-qt-0.8.0/dbusmenu-qt.pc.in \
                libdbusmenu-qt-0.8.0-new/dbusmenu-qt.pc.in
--- libdbusmenu-qt-0.8.0/dbusmenu-qt.pc.in	2011-02-24 11:36:20.000000000 -0500
+++ libdbusmenu-qt-0.8.0-new/dbusmenu-qt.pc.in	2011-03-07 13:20:59.000000000 -0500
@@ -1,6 +1,6 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/lib
+libdir=@LIB_INSTALL_DIR@
 includedir=@CMAKE_INSTALL_PREFIX@/include/dbusmenu-qt
 
 Name: libdbusmenu-qt
diff -Nurd libdbusmenu-qt-0.8.0/src/CMakeLists.txt \
                libdbusmenu-qt-0.8.0-new/src/CMakeLists.txt
--- libdbusmenu-qt-0.8.0/src/CMakeLists.txt	2011-02-24 11:36:20.000000000 -0500
+++ libdbusmenu-qt-0.8.0-new/src/CMakeLists.txt	2011-03-07 13:24:10.000000000 -0500
@@ -73,7 +73,10 @@
     )
 
 install(TARGETS dbusmenu-qt
-    LIBRARY DESTINATION lib${LIB_SUFFIX})
+    LIBRARY DESTINATION lib${LIB_SUFFIX}
+	 ARCHIVE DESTINATION lib
+	 RUNTIME DESTINATION bin
+ )
 
 install(DIRECTORY .
     DESTINATION include/dbusmenu-qt
diff -Nurd libdbusmenu-qt-0.8.0/tools/CMakeLists.txt \
                libdbusmenu-qt-0.8.0-new/tools/CMakeLists.txt
--- libdbusmenu-qt-0.8.0/tools/CMakeLists.txt	2011-02-24 11:36:20.000000000 -0500
+++ libdbusmenu-qt-0.8.0-new/tools/CMakeLists.txt	2011-03-07 13:26:09.000000000 -0500
@@ -1,3 +1,4 @@
+if (BUILD_TESTS)
 find_package(QJSON)
 if (QJSON_FOUND)
     message(STATUS "QJSON found, testapp will be built")
@@ -5,3 +6,4 @@
 else (QJSON_FOUND)
     message(STATUS "QJSON not found, testapp will not be built")
 endif (QJSON_FOUND)
+endif (BUILD_TESTS)
diff -Nurd libdbusmenu-qt-0.8.0/tools/testapp/CMakeLists.txt \
                libdbusmenu-qt-0.8.0-new/tools/testapp/CMakeLists.txt
--- libdbusmenu-qt-0.8.0/tools/testapp/CMakeLists.txt	2011-02-24 11:36:20.000000000 \
                -0500
+++ libdbusmenu-qt-0.8.0-new/tools/testapp/CMakeLists.txt	2011-03-07 \
13:26:22.000000000 -0500 @@ -10,6 +10,7 @@
     ${QT_QTGUI_INCLUDE_DIR}
     ${QT_QTDBUS_INCLUDE_DIR}
     ${QJSON_INCLUDE_DIR}
+    ${QJSON_INCLUDE_DIR}/..
     )
 
 add_executable(dbusmenubench-qtapp ${qtapp_SRCS})
@@ -19,5 +20,5 @@
     ${QT_QTGUI_LIBRARY}
     ${QT_QTCORE_LIBRARY}
     ${QT_QTDBUS_LIBRARY}
-    ${QJSON_LIBRARIES}
+    ${QJSON_LIBRARY}
     )

--- NEW FILE: libdbusmenu-qt.info ---
Info4: <<
Package: libdbusmenu-qt-%type_pkg[qt]
Version: 0.9.2
Revision: 31
Description: DBus protocol for menus
Type: qt (x11 mac)
License: LGPL
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>

Depends: <<
	dbus (>= 1.2.24-1),
	%N-shlibs (= %v-%r),
	qjson-%type_pkg[qt]-shlibs (>= 0.5-1)
<<
BuildDepends: <<
	cmake (>= 2.8.2-1),
	dbus1.3-dev (>= 1.2.24-1),
	fink (>= 0.30.2-1),
	kde4-buildenv (>= 4.12.2-1),
	qjson-%type_pkg[qt] (>= 0.5-1),
	qt4-base-%type_pkg[qt] (>= 4.7.3-2),
	system-openssl-dev
<<
BuildDependsOnly: true
GCC: 4.0

Source: http://launchpad.net/libdbusmenu-qt/trunk/%v/+download/libdbusmenu-qt-%v.tar.bz2
                
Source-MD5: 9a49484927669cd2ec91b3bf9ba8b79e
PatchFile: libdbusmenu-qt.patch
PatchFile-MD5: 85b59b536ecb2eca921c4d7d0f3cc1ae

UseMaxBuildJobs: true
CompileScript: <<
	#!/bin/sh -ev
	export KDE4_PREFIX="%p" KDE4_TYPE="%type_pkg[qt]"
	. %p/sbin/kde4.12-buildenv.sh
	
	mkdir -p build
	pushd build
	cmake \
		$KDE4_CMAKE_ARGS \
		-DBUILD_TESTS:BOOLEAN=OFF \
	..
	make
	popd
<<

InstallScript: <<
#!/bin/sh -ev
	pushd build
		make -j1 install/fast DESTDIR="%d"
	popd
<<
SplitOff: <<
	Package: %N-shlibs
	Description: Shared libraries for libdbusmenu
	Depends: <<
		qt4-base-%type_pkg[qt]-qtdbus-shlibs (>= 4.7.3-2),
		qt4-base-%type_pkg[qt]-qtgui-shlibs (>= 4.7.3-2)
	<<
	Files: opt/kde4/%type_pkg[qt]/lib/libdbusmenu-qt.2*.dylib
	Shlibs: %p/opt/kde4/%type_pkg[qt]/lib/libdbusmenu-qt.2.dylib 2.0.0 %n (>= 0.3.0-1)
<<
Homepage: https://launchpad.net/libdbusmenu-qt
DescDetail: <<
libbusmenu-qt is a standalone library providing a way to import and 
export QMenu instances using the DBusMenu protocol.
<<
DescPackaging: <<
Based on RangerRick's experimental package.
<<
<<


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic