Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2012 16:10:33 GMT
From:      Veniamin Gvozdikov <g.veniamin@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163816: [update]: audio/clementine-player up to 1.0.0
Message-ID:  <201201041610.q04GAXxP095766@red.freebsd.org>
Resent-Message-ID: <201201041620.q04GK9ZV017677@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163816
>Category:       ports
>Synopsis:       [update]: audio/clementine-player up to 1.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 04 16:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Veniamin Gvozdikov
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD  8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219081M: Wed Mar  2 08:23:31 CET 2011     root@www4:/usr/obj/i386/usr/src/sys/GENERIC  i386
>Description:
Added support ipdos, and full description can see in the chagelog.
>How-To-Repeat:

>Fix:
diff -ruN clementine-player.orig/Makefile clementine-player/Makefile
--- clementine-player.orig/Makefile	2012-01-04 16:04:52.458780584 +0000
+++ clementine-player/Makefile	2012-01-03 21:51:10.537273456 +0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	clementine
-PORTVERSION=	0.7.1
-PORTREVISION=	2
+PORTVERSION=	1.0.0
 CATEGORIES=	audio
 MASTER_SITES=	GOOGLE_CODE
 PKGNAMESUFFIX=	-player
@@ -20,8 +19,13 @@
 LIB_DEPENDS=	tag.1:${PORTSDIR}/audio/taglib \
 		notify.4:${PORTSDIR}/devel/libnotify \
 		xine.1:${PORTSDIR}/multimedia/libxine \
-		mtp:${PORTSDIR}/audio/libmtp
-BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
+		mtp.11:${PORTSDIR}/audio/libmtp \
+		usbmuxd.1:${PORTSDIR}/comms/usbmuxd \
+		imobiledevice.1:${PORTSDIR}/comms/libimobiledevice \
+		gpod.7:${PORTSDIR}/audio/libgpod \
+		qjson.0:${PORTSDIR}/devel/qjson
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
+		chrpath:${PORTSDIR}/devel/chrpath
 
 PROJECTHOST=	${PORTNAME}${PKGNAMESUFFIX}
 
@@ -31,11 +35,15 @@
 USE_QT_VER=	4
 QT_COMPONENTS=	gui xml qmake_build uic_build moc_build rcc_build \
 		linguist_build network sql opengl dbus qtestlib corelib
-USE_GCC=	4.2+
+USE_GCC=	4.6+
 INSTALLS_ICONS=	yes
 USE_GSTREAMER=	gio ogg mp3 flac soup vorbis
 MAKE_JOBS_UNSAFE=	yes
 
+GCC_LIBS=	"${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}"
+CMAKE_ARGS+=	-DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \
+		-DCMAKE_SKIP_RPATH:BOOL=ON
+
 OPTIONS=	VISUALISATION "Visualisations from projectM" off \
 		LASTFM "Support Last.fm service (requires ruby)" on
 
@@ -52,4 +60,7 @@
 LIB_DEPENDS+=	lastfm.0:${PORTSDIR}/audio/liblastfm
 .endif
 
+post-build:
+	${LOCALBASE}/bin/chrpath -r "${GCC_LIBS}" "${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}"
+
 .include <bsd.port.post.mk>
diff -ruN clementine-player.orig/distinfo clementine-player/distinfo
--- clementine-player.orig/distinfo	2012-01-04 16:04:52.418749239 +0000
+++ clementine-player/distinfo	2011-12-31 16:21:56.200425776 +0000
@@ -1,2 +1,2 @@
-SHA256 (clementine-0.7.1.tar.gz) = 246e56f9283384b354bd43d5ec9937ceb93889f680f7bf45bd1ab00db36d61bc
-SIZE (clementine-0.7.1.tar.gz) = 5967162
+SHA256 (clementine-1.0.0.tar.gz) = 9ee14a4a273e9f807ced25b80a92242433799ef8eb36a0cddd0f5f0965737e35
+SIZE (clementine-1.0.0.tar.gz) = 8222950
diff -ruN clementine-player.orig/files/patch-dist_clementine.desktop clementine-player/files/patch-dist_clementine.desktop
--- clementine-player.orig/files/patch-dist_clementine.desktop	2012-01-04 16:04:52.258926692 +0000
+++ clementine-player/files/patch-dist_clementine.desktop	2011-12-31 16:24:20.721270744 +0000
@@ -1,5 +1,5 @@
---- dist/clementine.desktop.orig	2010-11-03 20:46:26.000000000 +0100
-+++ dist/clementine.desktop	2010-12-29 18:21:47.000000000 +0100
+--- dist/clementine.desktop.orig	2011-12-31 16:23:15.690338600 +0000
++++ dist/clementine.desktop	2011-12-31 16:23:58.392741839 +0000
 @@ -6,8 +6,8 @@
  GenericName[pt]=Reprodutor de músicas Clementine
  Comment=Plays music and last.fm streams
diff -ruN clementine-player.orig/files/patch-src_CMakeLists.txt clementine-player/files/patch-src_CMakeLists.txt
--- clementine-player.orig/files/patch-src_CMakeLists.txt	2012-01-04 16:04:52.338858638 +0000
+++ clementine-player/files/patch-src_CMakeLists.txt	2011-12-31 16:33:56.209956317 +0000
@@ -1,26 +1,18 @@
---- src/CMakeLists.txt.orig	2011-04-02 01:17:22.000000000 +0800
-+++ src/CMakeLists.txt	2011-04-02 01:20:20.000000000 +0800
+--- src/CMakeLists.txt.orig	2011-12-31 16:26:35.723358998 +0000
++++ src/CMakeLists.txt	2011-12-31 16:33:29.301851516 +0000
 @@ -5,9 +5,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
  option(BUILD_WERROR "Build with -Werror" ON)
  
  if(BUILD_WERROR)
 -  if (LINUX)
-+  if (UNIX AND NOT APPLE)
++  if (LINUX AND NOT APPLE)
      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
 -  endif (LINUX)
-+  endif (UNIX AND NOT APPLE)
++  endif (LINUX AND NOT APPLE)
  endif(BUILD_WERROR)
  
  include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
-@@ -883,7 +883,6 @@ target_link_libraries(clementine_lib
-   ${QTSINGLECOREAPPLICATION_LIBRARIES}
-   ${QTIOCOMPRESSOR_LIBRARIES}
-   ${CMAKE_THREAD_LIBS_INIT}
--  dl
-   z
- )
- 
-@@ -982,14 +981,14 @@ if (WIN32)
+@@ -1073,15 +1073,15 @@ if (WIN32)
    )
  endif (WIN32)
  
@@ -31,18 +23,18 @@
    # command but they're actually used by libraries that appear after them, so
    # they end up getting ignored.  This appends them to the very end of the link
    # line, ensuring they're always used.
--  target_link_libraries(clementine_lib -lX11 -ldl)
+   find_package(X11)
+-  target_link_libraries(clementine_lib ${X11_X11_LIB} ${CMAKE_DL_LIBS})
 -endif (LINUX)
-+  target_link_libraries(clementine_lib -lX11)
++  target_link_libraries(clementine_lib ${X11_X11_LIB})
 +endif (UNIX AND NOT APPLE)
  
  add_dependencies(clementine_lib qtsingleapplication)
  
-@@ -1016,6 +1015,8 @@ add_executable(clementine
+@@ -1108,6 +1108,7 @@ add_executable(clementine
    ${CLEMENTINE-WIN32-RESOURCES}
    main.cpp
  )
-+
 +set_target_properties(clementine PROPERTIES OUTPUT_NAME clementine-player)
  target_link_libraries(clementine
    clementine_lib

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201041610.q04GAXxP095766>