Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2018 09:25:44 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466843 - in head/multimedia/syncplay: . files
Message-ID:  <201804090925.w399PiDr009512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Apr  9 09:25:44 2018
New Revision: 466843
URL: https://svnweb.freebsd.org/changeset/ports/466843

Log:
  multimedia/syncplay: Update 1.5.2 -> 1.5.3
  
  Port changes:
  * Add LICENSE_FILE
  * Add post-patch fixing DATADIR
  * Change WWW to https
  * Update patch of makefile
  
  PR:		227371
  Submitted by:	Christian Heckendorf <heckendorfc@gmail.com> (maintainer)

Modified:
  head/multimedia/syncplay/Makefile
  head/multimedia/syncplay/distinfo
  head/multimedia/syncplay/files/patch-GNUmakefile
  head/multimedia/syncplay/pkg-descr
  head/multimedia/syncplay/pkg-plist

Modified: head/multimedia/syncplay/Makefile
==============================================================================
--- head/multimedia/syncplay/Makefile	Mon Apr  9 09:16:47 2018	(r466842)
+++ head/multimedia/syncplay/Makefile	Mon Apr  9 09:25:44 2018	(r466843)
@@ -2,13 +2,14 @@
 
 PORTNAME=	syncplay
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.5.2
+DISTVERSION=	1.5.3
 CATEGORIES=	multimedia
 
 MAINTAINER=	heckendorfc@gmail.com
 COMMENT=	Synchronize video playback over networks
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
 
@@ -37,5 +38,8 @@ VLC_MAKE_ARGS=	VLC_SUPPORT=true
 VLC_MAKE_ARGS_OFF=	VLC_SUPPORT=false
 CLIENT_INSTALL_TARGET=	install-client
 SERVER_INSTALL_TARGET=	install-server
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|path = os.path.dirname(os.path.dirname(__file__))|path = "'${DATADIR}'"|g' ${WRKSRC}/syncplay/utils.py
 
 .include <bsd.port.mk>

Modified: head/multimedia/syncplay/distinfo
==============================================================================
--- head/multimedia/syncplay/distinfo	Mon Apr  9 09:16:47 2018	(r466842)
+++ head/multimedia/syncplay/distinfo	Mon Apr  9 09:25:44 2018	(r466843)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1520079690
-SHA256 (Syncplay-syncplay-v1.5.2_GH0.tar.gz) = 8a6a6e73b28e842230b4deef3b031f8ebeea5e30ffca393f2c4f8de207c6f428
-SIZE (Syncplay-syncplay-v1.5.2_GH0.tar.gz) = 1636375
+TIMESTAMP = 1523143615
+SHA256 (Syncplay-syncplay-v1.5.3_GH0.tar.gz) = db7dff9362645e7ed1f79eb5c70a742a8ffb6f52c9412def6766c2a9a55260fa
+SIZE (Syncplay-syncplay-v1.5.3_GH0.tar.gz) = 1637072

Modified: head/multimedia/syncplay/files/patch-GNUmakefile
==============================================================================
--- head/multimedia/syncplay/files/patch-GNUmakefile	Mon Apr  9 09:16:47 2018	(r466842)
+++ head/multimedia/syncplay/files/patch-GNUmakefile	Mon Apr  9 09:25:44 2018	(r466843)
@@ -1,6 +1,6 @@
---- GNUmakefile.orig	2017-01-30 23:01:02 UTC
+--- GNUmakefile.orig	2018-04-07 21:02:55 UTC
 +++ GNUmakefile
-@@ -38,6 +38,10 @@ endif
+@@ -38,17 +38,22 @@ endif
  	APP_SHORTCUT_PATH = ${DESTDIR}${PREFIX}/share/applications
  	SHARE_PATH        = ${DESTDIR}${PREFIX}/share
  
@@ -9,10 +9,26 @@
 +all:
 +
  common:
- 	-mkdir -p $(LIB_PATH)/syncplay/resources/lua/intf
+-	-mkdir -p $(LIB_PATH)/syncplay/resources/lua/intf
++	-mkdir -p $(SHARE_PATH)/syncplay/resources/lua/intf
  	-mkdir -p $(APP_SHORTCUT_PATH)
-@@ -59,8 +63,8 @@ u-common:
+ 	-mkdir -p $(SHARE_PATH)/app-install/icons
+ 	-mkdir -p $(SHARE_PATH)/pixmaps/
++	-mkdir -p $(LIB_PATH)/syncplay
+ 	cp -r syncplay $(LIB_PATH)/syncplay/
+ 	chmod 755 $(LIB_PATH)/syncplay/
+ 	cp -r resources/hicolor $(SHARE_PATH)/icons/
+-	cp -r resources/*.png $(LIB_PATH)/syncplay/resources/
+-	cp -r resources/*.lua $(LIB_PATH)/syncplay/resources/
+-	cp -r resources/lua/intf/*.lua $(LIB_PATH)/syncplay/resources/lua/intf/
++	cp -r resources/*.png $(SHARE_PATH)/syncplay/resources/
++	cp -r resources/*.lua $(SHARE_PATH)/syncplay/resources/
++	cp -r resources/lua/intf/*.lua $(SHARE_PATH)/syncplay/resources/lua/intf/
+ 	cp resources/hicolor/48x48/apps/syncplay.png $(SHARE_PATH)/app-install/icons/
+ 	cp resources/hicolor/48x48/apps/syncplay.png $(SHARE_PATH)/pixmaps/
  
+@@ -60,8 +65,8 @@ u-common:
+ 
  client:
  	-mkdir -p $(BIN_PATH)
 +	sed -i '' -e 's%# libpath%site.addsitedir\("${PREFIX}/lib/syncplay"\)%' syncplayClient.py
@@ -21,7 +37,7 @@
  	chmod 755 $(BIN_PATH)/syncplay
  	cp syncplayClient.py $(LIB_PATH)/syncplay/
  	cp resources/syncplay.desktop $(APP_SHORTCUT_PATH)/
-@@ -72,8 +76,6 @@ endif
+@@ -73,8 +78,6 @@ endif
  ifeq ($(VLC_SUPPORT),true)
  	-mkdir -p ${DESTDIR}$(VLC_LIB_PATH)/vlc/lua/intf/
  	cp resources/lua/intf/syncplay.lua ${DESTDIR}$(VLC_LIB_PATH)/vlc/lua/intf/
@@ -30,7 +46,7 @@
  endif
  
  u-client:
-@@ -85,8 +87,8 @@ u-client:
+@@ -86,8 +89,8 @@ u-client:
  
  server:
  	-mkdir -p $(BIN_PATH)

Modified: head/multimedia/syncplay/pkg-descr
==============================================================================
--- head/multimedia/syncplay/pkg-descr	Mon Apr  9 09:16:47 2018	(r466842)
+++ head/multimedia/syncplay/pkg-descr	Mon Apr  9 09:25:44 2018	(r466843)
@@ -6,4 +6,4 @@ media player instance are relayed to fellow viewers vi
 to allow for these actions to be replicated by the media players
 of everyone else in the same virtual room.
 
-WWW: http://syncplay.pl/
+WWW: https://syncplay.pl/

Modified: head/multimedia/syncplay/pkg-plist
==============================================================================
--- head/multimedia/syncplay/pkg-plist	Mon Apr  9 09:16:47 2018	(r466842)
+++ head/multimedia/syncplay/pkg-plist	Mon Apr  9 09:25:44 2018	(r466843)
@@ -1,59 +1,59 @@
 %%CLIENT%%bin/syncplay
 %%SERVER%%bin/syncplay-server
-lib/syncplay/resources/accept.png
-lib/syncplay/resources/application_get.png
-lib/syncplay/resources/arrow_refresh.png
-lib/syncplay/resources/arrow_switch.png
-lib/syncplay/resources/arrow_undo.png
-lib/syncplay/resources/bullet_right_grey.png
-lib/syncplay/resources/chevrons_right.png
-lib/syncplay/resources/clock_go.png
-lib/syncplay/resources/cog.png
-lib/syncplay/resources/cog_delete.png
-lib/syncplay/resources/comments.png
-lib/syncplay/resources/control_pause_blue.png
-lib/syncplay/resources/control_play_blue.png
-lib/syncplay/resources/cross.png
-lib/syncplay/resources/cross_checkbox.png
-lib/syncplay/resources/delete.png
-lib/syncplay/resources/door_in.png
-lib/syncplay/resources/email_go.png
-lib/syncplay/resources/empty_checkbox.png
-lib/syncplay/resources/error.png
-lib/syncplay/resources/eye.png
-lib/syncplay/resources/film_add.png
-lib/syncplay/resources/film_edit.png
-lib/syncplay/resources/film_folder_edit.png
-lib/syncplay/resources/film_go.png
-lib/syncplay/resources/film_link.png
-lib/syncplay/resources/folder_explore.png
-lib/syncplay/resources/folder_film.png
-lib/syncplay/resources/help.png
-lib/syncplay/resources/house.png
-lib/syncplay/resources/key_go.png
-lib/syncplay/resources/lock.png
-lib/syncplay/resources/lock_open.png
-lib/syncplay/resources/lua/intf/syncplay.lua
-lib/syncplay/resources/mpc-be.png
-lib/syncplay/resources/mpc-hc.png
-lib/syncplay/resources/mpc-hc64.png
-lib/syncplay/resources/mplayer.png
-lib/syncplay/resources/mpv.png
-lib/syncplay/resources/page_white_key.png
-lib/syncplay/resources/shield_add.png
-lib/syncplay/resources/shield_edit.png
-lib/syncplay/resources/syncplay.png
-lib/syncplay/resources/syncplayintf.lua
-lib/syncplay/resources/table_refresh.png
-lib/syncplay/resources/tick.png
-lib/syncplay/resources/tick_checkbox.png
-lib/syncplay/resources/timeline_marker.png
-lib/syncplay/resources/user_comment.png
-lib/syncplay/resources/user_key.png
-lib/syncplay/resources/vlc.png
-lib/syncplay/resources/world_add.png
-lib/syncplay/resources/world_explore.png
-lib/syncplay/resources/world_go.png
+%%DATADIR%%/resources/accept.png
+%%DATADIR%%/resources/application_get.png
+%%DATADIR%%/resources/arrow_refresh.png
+%%DATADIR%%/resources/arrow_switch.png
+%%DATADIR%%/resources/arrow_undo.png
+%%DATADIR%%/resources/bullet_right_grey.png
+%%DATADIR%%/resources/chevrons_right.png
+%%DATADIR%%/resources/clock_go.png
+%%DATADIR%%/resources/cog.png
+%%DATADIR%%/resources/cog_delete.png
+%%DATADIR%%/resources/comments.png
+%%DATADIR%%/resources/control_pause_blue.png
+%%DATADIR%%/resources/control_play_blue.png
+%%DATADIR%%/resources/cross.png
+%%DATADIR%%/resources/cross_checkbox.png
+%%DATADIR%%/resources/delete.png
+%%DATADIR%%/resources/door_in.png
+%%DATADIR%%/resources/email_go.png
+%%DATADIR%%/resources/empty_checkbox.png
+%%DATADIR%%/resources/error.png
+%%DATADIR%%/resources/eye.png
+%%DATADIR%%/resources/film_add.png
+%%DATADIR%%/resources/film_edit.png
+%%DATADIR%%/resources/film_folder_edit.png
+%%DATADIR%%/resources/film_go.png
+%%DATADIR%%/resources/film_link.png
+%%DATADIR%%/resources/folder_explore.png
+%%DATADIR%%/resources/folder_film.png
+%%DATADIR%%/resources/help.png
+%%DATADIR%%/resources/house.png
+%%DATADIR%%/resources/key_go.png
+%%DATADIR%%/resources/lock.png
+%%DATADIR%%/resources/lock_open.png
+%%DATADIR%%/resources/lua/intf/syncplay.lua
+%%DATADIR%%/resources/mpc-be.png
+%%DATADIR%%/resources/mpc-hc.png
+%%DATADIR%%/resources/mpc-hc64.png
+%%DATADIR%%/resources/mplayer.png
+%%DATADIR%%/resources/mpv.png
+%%DATADIR%%/resources/page_white_key.png
+%%DATADIR%%/resources/shield_add.png
+%%DATADIR%%/resources/shield_edit.png
+%%DATADIR%%/resources/syncplay.png
+%%DATADIR%%/resources/syncplayintf.lua
+%%DATADIR%%/resources/table_refresh.png
+%%DATADIR%%/resources/tick.png
+%%DATADIR%%/resources/tick_checkbox.png
+%%DATADIR%%/resources/timeline_marker.png
+%%DATADIR%%/resources/user_comment.png
+%%DATADIR%%/resources/user_key.png
+%%DATADIR%%/resources/vlc.png
+%%DATADIR%%/resources/world_add.png
+%%DATADIR%%/resources/world_explore.png
+%%DATADIR%%/resources/world_go.png
 lib/syncplay/syncplay/__init__.py
 lib/syncplay/syncplay/client.py
 lib/syncplay/syncplay/clientManager.py



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