Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 04:49:44 +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: r416086 - in head/net-im: . ring-libclient ring-libclient/files
Message-ID:  <201605290449.u4T4niKQ069398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun May 29 04:49:44 2016
New Revision: 416086
URL: https://svnweb.freebsd.org/changeset/ports/416086

Log:
  New port: net-im/ring-libclient
  
  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:		209543
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Added:
  head/net-im/ring-libclient/
  head/net-im/ring-libclient/Makefile   (contents, props changed)
  head/net-im/ring-libclient/distinfo   (contents, props changed)
  head/net-im/ring-libclient/files/
  head/net-im/ring-libclient/files/patch-CMakeLists.txt   (contents, props changed)
  head/net-im/ring-libclient/files/patch-src_account.h   (contents, props changed)
  head/net-im/ring-libclient/files/patch-src_localringtonecollection.cpp   (contents, props changed)
  head/net-im/ring-libclient/files/patch-src_phonedirectorymodel.h   (contents, props changed)
  head/net-im/ring-libclient/files/patch-src_private_textrecording__p.h   (contents, props changed)
  head/net-im/ring-libclient/files/patch-src_trustrequest.h   (contents, props changed)
  head/net-im/ring-libclient/pkg-descr   (contents, props changed)
  head/net-im/ring-libclient/pkg-plist   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Sun May 29 04:12:59 2016	(r416085)
+++ head/net-im/Makefile	Sun May 29 04:49:44 2016	(r416086)
@@ -150,6 +150,7 @@
     SUBDIR += ramblercontacts
     SUBDIR += ricochet
     SUBDIR += ring-daemon
+    SUBDIR += ring-libclient
     SUBDIR += rubygem-earthquake
     SUBDIR += rubygem-hipchat
     SUBDIR += rubygem-lita

Added: head/net-im/ring-libclient/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/Makefile	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,35 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	ring-libclient
+PORTVERSION=	0.160516
+#DISTVERSIONPREFIX=	v
+CATEGORIES=	net-im net-p2p
+
+MAINTAINER=	yuri@rawbw.com
+COMMENT=	Client library for the Ring VoIP SIP phone and IM
+
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	libring.so:net-im/ring-daemon
+
+BROKEN_FreeBSD_9=	Fails due to compiler issues
+
+USE_GITHUB=	yes
+#GH_TUPLE+=	savoirfairelinux:ring-lrc:9eaac77
+GH_TUPLE+=	savoirfairelinux:ring-lrc:cb5ee04
+
+USES=		cmake compiler:c++14-lang gmake
+USE_GNOME=	glib20 gtk20 cairo gdkpixbuf2
+USE_XORG=	x11 xscrnsaver
+USE_GL=		gl
+USE_QT5=	core gui network xml opengl sql sql-sqlite3_run widgets svg \
+		concurrent buildtools_build linguisttools_build qmake_build
+USE_LDCONFIG=	yes
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+
+OPTIONS_DEFINE=	NLS
+NLS_CMAKE_ON=	-DFREEBSD_NLS_ON:BOOL=ON
+OPTIONS_SUB=	yes
+
+.include <bsd.port.mk>

Added: head/net-im/ring-libclient/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/distinfo	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1464118610
+SHA256 (savoirfairelinux-ring-lrc-0.160516-cb5ee04_GH0.tar.gz) = c00c27ebc461091adff923820e384bbe07078fc2266f505a3ec01066933a8592
+SIZE (savoirfairelinux-ring-lrc-0.160516-cb5ee04_GH0.tar.gz) = 499643

Added: head/net-im/ring-libclient/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/files/patch-CMakeLists.txt	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,21 @@
+--- CMakeLists.txt.orig	2016-05-19 17:41:40 UTC
++++ CMakeLists.txt
+@@ -751,7 +751,10 @@ INSTALL( FILES ${libringclient_CONFIG_PA
+ #    COMPATIBILITY SameMajorVersion
+ # )
+ 
++option(FREEBSD_NLS_ON "NLS option: install translations" OFF)
++
+ # translations
++IF( FREEBSD_NLS_ON )
+ IF( Qt5LinguistTools_FOUND )
+    # translation template file
+    SET(TS_TEMPLATE ${CMAKE_SOURCE_DIR}/translations/lrc_en.ts)
+@@ -767,6 +770,7 @@ IF( Qt5LinguistTools_FOUND )
+ 
+    INSTALL(FILES ${QM_FILES} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libringclient/translations")
+ ENDIF()
++ENDIF()
+ 
+ # uninstall target
+ CONFIGURE_FILE(

Added: head/net-im/ring-libclient/files/patch-src_account.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/files/patch-src_account.h	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,12 @@
+--- src/account.h.orig	2016-05-19 17:41:40 UTC
++++ src/account.h
+@@ -24,6 +24,9 @@
+ //Qt
+ class QString;
+ 
++//FreeBSD
++#include <time.h>
++
+ //Ring
+ #include "itembase.h"
+ #include "keyexchangemodel.h"

Added: head/net-im/ring-libclient/files/patch-src_localringtonecollection.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/files/patch-src_localringtonecollection.cpp	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,11 @@
+--- src/localringtonecollection.cpp.orig	2016-05-19 17:41:40 UTC
++++ src/localringtonecollection.cpp
+@@ -115,7 +115,7 @@ bool LocalRingtoneCollection::load()
+       qWarning() << "Ringtones doesn't exist or is not readable";
+ 
+ //TODO remove that and do a proper collection for each platforms
+-#ifdef Q_OS_LINUX
++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
+    QDir ringtonesDir(QFileInfo(QCoreApplication::applicationFilePath()).path()+"/../share/ring/ringtones/");
+ #elif defined(Q_OS_WIN)
+    QDir ringtonesDir(QFileInfo(QCoreApplication::applicationFilePath()).path()+"/ringtones/");

Added: head/net-im/ring-libclient/files/patch-src_phonedirectorymodel.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/files/patch-src_phonedirectorymodel.h	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,11 @@
+--- src/phonedirectorymodel.h.orig	2016-05-29 04:15:59 UTC
++++ src/phonedirectorymodel.h
+@@ -19,6 +19,8 @@
+ 
+ #include "typedefs.h"
+ 
++#include <time.h>
++
+ //Qt
+ #include <QtCore/QString>
+ #include <QtCore/QAbstractTableModel>

Added: head/net-im/ring-libclient/files/patch-src_private_textrecording__p.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/files/patch-src_private_textrecording__p.h	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,12 @@
+--- src/private/textrecording_p.h.orig	2016-05-29 04:18:08 UTC
++++ src/private/textrecording_p.h
+@@ -25,6 +25,9 @@
+ //Daemon
+ #include <account_const.h>
+ 
++//FreeBSD
++#include <time.h>
++
+ //Ring
+ #include "media/media.h"
+ #include "media/textrecording.h"

Added: head/net-im/ring-libclient/files/patch-src_trustrequest.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/files/patch-src_trustrequest.h	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,11 @@
+--- src/trustrequest.h.orig	2016-05-29 04:14:51 UTC
++++ src/trustrequest.h
+@@ -20,6 +20,8 @@
+ #include <QtCore/QObject>
+ #include <typedefs.h>
+ 
++#include <time.h>
++
+ class TrustRequestPrivate;
+ class AccountModel;
+ class AccountModelPrivate;

Added: head/net-im/ring-libclient/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/pkg-descr	Sun May 29 04:49:44 2016	(r416086)
@@ -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-libclient/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/ring-libclient/pkg-plist	Sun May 29 04:49:44 2016	(r416086)
@@ -0,0 +1,144 @@
+include/libringclient/account.h
+include/libringclient/accountlistcolorizerdefault.h
+include/libringclient/accountmodel.h
+include/libringclient/accountstatusmodel.h
+include/libringclient/audio/alsapluginmodel.h
+include/libringclient/audio/inputdevicemodel.h
+include/libringclient/audio/managermodel.h
+include/libringclient/audio/outputdevicemodel.h
+include/libringclient/audio/ringtonedevicemodel.h
+include/libringclient/audio/settings.h
+include/libringclient/availableaccountmodel.h
+include/libringclient/bootstrapmodel.h
+include/libringclient/call.h
+include/libringclient/call.hpp
+include/libringclient/callmodel.h
+include/libringclient/categorizedbookmarkmodel.h
+include/libringclient/categorizedcontactmodel.h
+include/libringclient/categorizedhistorymodel.h
+include/libringclient/certificate.h
+include/libringclient/certificatemodel.h
+include/libringclient/chainoftrustmodel.h
+include/libringclient/ciphermodel.h
+include/libringclient/codecmodel.h
+include/libringclient/collectionconfigurationinterface.h
+include/libringclient/collectioncreationinterface.h
+include/libringclient/collectioneditor.h
+include/libringclient/collectioneditor.hpp
+include/libringclient/collectionextensioninterface.h
+include/libringclient/collectionextensionmodel.h
+include/libringclient/collectionextensionmodel.hpp
+include/libringclient/collectioninterface.h
+include/libringclient/collectioninterface.hpp
+include/libringclient/collectionmanagerinterface.h
+include/libringclient/collectionmanagerinterface.hpp
+include/libringclient/collectionmediator.h
+include/libringclient/collectionmediator.hpp
+include/libringclient/collectionmodel.h
+include/libringclient/contactmethod.h
+include/libringclient/credential.h
+include/libringclient/credentialmodel.h
+include/libringclient/daemoncertificatecollection.h
+include/libringclient/dbuserrorhandlerdefault.h
+include/libringclient/extensions/presencecollectionextension.h
+include/libringclient/extensions/securityevaluationextension.h
+include/libringclient/fallbackpersoncollection.h
+include/libringclient/foldercertificatecollection.h
+include/libringclient/globalinstances.h
+include/libringclient/historytimecategorymodel.h
+include/libringclient/hookmanager.h
+include/libringclient/interfaces/accountlistcolorizeri.h
+include/libringclient/interfaces/actionextenderi.h
+include/libringclient/interfaces/contactmethodselectori.h
+include/libringclient/interfaces/dbuserrorhandleri.h
+include/libringclient/interfaces/itemmodelstateserializeri.h
+include/libringclient/interfaces/pixmapmanipulatori.h
+include/libringclient/interfaces/presenceserializeri.h
+include/libringclient/interfaces/shortcutcreatori.h
+include/libringclient/itembase.h
+include/libringclient/itembase.hpp
+include/libringclient/itemdataroles.h
+include/libringclient/keyexchangemodel.h
+include/libringclient/lastusednumbermodel.h
+include/libringclient/localbookmarkcollection.h
+include/libringclient/localhistorycollection.h
+include/libringclient/localmacrocollection.h
+include/libringclient/localprofilecollection.h
+include/libringclient/localrecordingcollection.h
+include/libringclient/localringtonecollection.h
+include/libringclient/localtextrecordingcollection.h
+include/libringclient/macro.h
+include/libringclient/macromodel.h
+include/libringclient/media/audio.h
+include/libringclient/media/avrecording.h
+include/libringclient/media/file.h
+include/libringclient/media/media.h
+include/libringclient/media/recording.h
+include/libringclient/media/recordingmodel.h
+include/libringclient/media/text.h
+include/libringclient/media/textrecording.h
+include/libringclient/media/video.h
+include/libringclient/mime.h
+include/libringclient/networkinterfacemodel.h
+include/libringclient/numbercategory.h
+include/libringclient/numbercategorymodel.h
+include/libringclient/numbercompletionmodel.h
+include/libringclient/peerprofilecollection.h
+include/libringclient/pendingtrustrequestmodel.h
+include/libringclient/person.h
+include/libringclient/personmodel.h
+include/libringclient/phonedirectorymodel.h
+include/libringclient/pixmapmanipulatordefault.h
+include/libringclient/presenceserializerdefault.h
+include/libringclient/presencestatusmodel.h
+include/libringclient/profile.h
+include/libringclient/profilemodel.h
+include/libringclient/protocolmodel.h
+include/libringclient/recentmodel.h
+include/libringclient/ringtone.h
+include/libringclient/ringtonemodel.h
+include/libringclient/securityevaluationmodel.h
+include/libringclient/securityflaw.h
+include/libringclient/shortcutcreatordefault.h
+include/libringclient/tlsmethodmodel.h
+include/libringclient/transitionalpersonbackend.h
+include/libringclient/trustrequest.h
+include/libringclient/typedefs.h
+include/libringclient/uri.h
+include/libringclient/useractionmodel.h
+include/libringclient/video/channel.h
+include/libringclient/video/configurationproxy.h
+include/libringclient/video/device.h
+include/libringclient/video/devicemodel.h
+include/libringclient/video/previewmanager.h
+include/libringclient/video/rate.h
+include/libringclient/video/renderer.h
+include/libringclient/video/resolution.h
+include/libringclient/video/sourcemodel.h
+lib/cmake/LibRingClient/LibRingClientConfig.cmake
+lib/libringclient.so
+lib/libringclient.so.1.0.0
+%%NLS%%share/libringclient/translations/lrc_ar.qm
+%%NLS%%share/libringclient/translations/lrc_bg.qm
+%%NLS%%share/libringclient/translations/lrc_ca.qm
+%%NLS%%share/libringclient/translations/lrc_cs_CZ.qm
+%%NLS%%share/libringclient/translations/lrc_da_DK.qm
+%%NLS%%share/libringclient/translations/lrc_de.qm
+%%NLS%%share/libringclient/translations/lrc_eo.qm
+%%NLS%%share/libringclient/translations/lrc_es.qm
+%%NLS%%share/libringclient/translations/lrc_fa_IR.qm
+%%NLS%%share/libringclient/translations/lrc_fr.qm
+%%NLS%%share/libringclient/translations/lrc_he.qm
+%%NLS%%share/libringclient/translations/lrc_hr.qm
+%%NLS%%share/libringclient/translations/lrc_id.qm
+%%NLS%%share/libringclient/translations/lrc_lt.qm
+%%NLS%%share/libringclient/translations/lrc_pl.qm
+%%NLS%%share/libringclient/translations/lrc_pt.qm
+%%NLS%%share/libringclient/translations/lrc_pt_BR.qm
+%%NLS%%share/libringclient/translations/lrc_ru.qm
+%%NLS%%share/libringclient/translations/lrc_ru_RU.qm
+%%NLS%%share/libringclient/translations/lrc_sv.qm
+%%NLS%%share/libringclient/translations/lrc_tr.qm
+%%NLS%%share/libringclient/translations/lrc_uk.qm
+%%NLS%%share/libringclient/translations/lrc_zh.qm
+%%NLS%%share/libringclient/translations/lrc_zh_CN.qm



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