Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2016 03:09:50 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416136 - in head/net-im: . ring-gnome ring-gnome/files
Message-ID:  <201605300309.u4U39oCf065404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon May 30 03:09:50 2016
New Revision: 416136
URL: https://svnweb.freebsd.org/changeset/ports/416136

Log:
  New port: net-im/ring-gnome
  
  Ring is a secure and distributed voice, video and chat communication
  platform that requires no centralized server and leaves the power
  of privacy in the hands of the user.
  
  WWW: https://ring.cx/
  
  PR:		209544
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Added:
  head/net-im/ring-gnome/
  head/net-im/ring-gnome/Makefile   (contents, props changed)
  head/net-im/ring-gnome/distinfo   (contents, props changed)
  head/net-im/ring-gnome/files/
  head/net-im/ring-gnome/files/patch-CMakeLists.txt   (contents, props changed)
  head/net-im/ring-gnome/files/pkg-message.in   (contents, props changed)
  head/net-im/ring-gnome/pkg-descr   (contents, props changed)
  head/net-im/ring-gnome/pkg-plist   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Mon May 30 03:06:09 2016	(r416135)
+++ head/net-im/Makefile	Mon May 30 03:09:50 2016	(r416136)
@@ -150,6 +150,7 @@
     SUBDIR += ramblercontacts
     SUBDIR += ricochet
     SUBDIR += ring-daemon
+    SUBDIR += ring-gnome
     SUBDIR += ring-libclient
     SUBDIR += rubygem-earthquake
     SUBDIR += rubygem-hipchat

Added: head/net-im/ring-gnome/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-gnome/Makefile	Mon May 30 03:09:50 2016	(r416136)
@@ -0,0 +1,52 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	ring-gnome
+PORTVERSION=	0.160516
+#DISTVERSIONPREFIX=	v
+CATEGORIES=	net-im net-p2p
+
+MAINTAINER=	yuri@rawbw.com
+COMMENT=	Gnome client of the Ring VoIP SIP phone and IM
+
+LICENSE=	GPLv3
+LICENSE_FILES=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libringclient.so:net-im/ring-libclient \
+		libqrencode.so:graphics/libqrencode \
+		libcogl-pango.so:graphics/cogl \
+		libclutter-1.0.so:graphics/clutter \
+		libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
+		libnotify.so:devel/libnotify \
+		libsoup-2.4.so:devel/libsoup \
+		libplc4.so:devel/nspr \
+		libjson-glib-1.0.so:devel/json-glib \
+		libnss3.so:security/nss \
+		libsecret-1.so:security/libsecret \
+		libebook-1.2.so:databases/evolution-data-server
+
+BROKEN_FreeBSD_9=	Fails due to compiler issues
+
+USE_GITHUB=	yes
+GH_TUPLE+=	savoirfairelinux:ring-client-gnome:07107e9
+
+SUB_FILES=	pkg-message
+
+USES=		cmake compiler:c++14-lang gettext gmake pkgconfig shebangfix sqlite
+USE_GNOME=	glib20 gtk20 cairo gdkpixbuf2 libxml2 gtk30
+USE_XORG=	x11 xcomposite xdamage xext xfixes xi xrandr xscrnsaver
+USE_GL=		gl egl
+USE_QT5=	core gui network xml opengl sql sql-sqlite3_run widgets svg \
+		concurrent buildtools_build linguisttools_build qmake_build
+SHEBANG_FILES=	${WRKSRC}/src/ring.cx
+INSTALLS_ICONS=	yes
+
+OPTIONS_DEFINE=	NLS
+NLS_CMAKE_ON=	-DFREEBSD_NLS_ON:BOOL=ON
+OPTIONS_SUB=	yes
+
+post-stage:
+	@${GZIP_CMD} ${GZIP} < ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svgz
+	@${RM} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svg
+
+.include <bsd.port.mk>

Added: head/net-im/ring-gnome/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-gnome/distinfo	Mon May 30 03:09:50 2016	(r416136)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1463424510
+SHA256 (savoirfairelinux-ring-client-gnome-0.160516-07107e9_GH0.tar.gz) = 14df8601b6520f9040321efb366d33d59a3c139b98acd6b69be0a519e99bdc60
+SIZE (savoirfairelinux-ring-client-gnome-0.160516-07107e9_GH0.tar.gz) = 677210

Added: head/net-im/ring-gnome/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-gnome/files/patch-CMakeLists.txt	Mon May 30 03:09:50 2016	(r416136)
@@ -0,0 +1,30 @@
+--- CMakeLists.txt.orig	2016-05-06 14:35:17 UTC
++++ CMakeLists.txt
+@@ -11,7 +11,7 @@ IF (CMAKE_COMPILER_IS_GNUCC)
+    ENDIF()
+ ENDIF()
+ 
+-ADD_DEFINITIONS("-std=c++1y")
++set(CMAKE_CXX_FLAGS "-std=c++1y")
+ 
+ # set project name and version
+ PROJECT(ring-client-gnome)
+@@ -306,7 +306,10 @@ GLIB_COMPILE_RESOURCES( GLIB_RESOURCES_R
+ #    ADD_SUBDIRECTORY( src/test)
+ # ENDIF()
+ 
++option(FREEBSD_NLS_ON "NLS option: install translations" OFF)
++
+ # for translations
++IF (FREEBSD_NLS_ON)
+ IF (GETTEXT_FOUND)
+ 
+   # get all translation files; they're expected to be named using the following convention:
+@@ -331,6 +334,7 @@ IF (GETTEXT_FOUND)
+   ENDFOREACH(PO_FILE)
+ 
+ ENDIF(GETTEXT_FOUND)
++ENDIF(FREEBSD_NLS_ON)
+ 
+ # install and compile glib gsettings schema
+ add_schema("cx.ring.RingGnome.gschema.xml" GSCHEMA_RING)

Added: head/net-im/ring-gnome/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-gnome/files/pkg-message.in	Mon May 30 03:09:50 2016	(r416136)
@@ -0,0 +1,10 @@
+======================================================================
+You installed the Ring softphone and IM Gnome client.
+
+Ring is currently in beta, and might not always function as expected.
+
+It will only work when pulseaudio server is running.
+
+For video to work you need to make sure that your webcam is available
+through the V4L interface.
+======================================================================

Added: head/net-im/ring-gnome/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-gnome/pkg-descr	Mon May 30 03:09:50 2016	(r416136)
@@ -0,0 +1,5 @@
+Ring is a secure and distributed voice, video and chat communication
+platform that requires no centralized server and leaves the power
+of privacy in the hands of the user.
+
+WWW: https://ring.cx/

Added: head/net-im/ring-gnome/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-gnome/pkg-plist	Mon May 30 03:09:50 2016	(r416136)
@@ -0,0 +1,34 @@
+bin/gnome-ring
+bin/ring.cx
+share/appdata/gnome-ring.appdata.xml
+share/applications/gnome-ring.desktop
+share/glib-2.0/schemas/cx.ring.RingGnome.gschema.xml
+share/gnome-ring/gnome-ring.desktop
+share/icons/hicolor/scalable/apps/ring.svgz
+%%NLS%%share/locale/ar/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/cs_CZ/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/da_DK/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/de/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/es/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/fa_IR/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/fr_CA/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/he/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/id/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/ru_RU/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/zh/LC_MESSAGES/ring-client-gnome.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/ring-client-gnome.mo



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