Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 14:06:45 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413573 - in head/comms/gammu: . files
Message-ID:  <201604181406.u3IE6jU1080481@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Apr 18 14:06:44 2016
New Revision: 413573
URL: https://svnweb.freebsd.org/changeset/ports/413573

Log:
  Update to 1.37.2
  
  PR:		208863
  Submitted by:	tkato432 yahoo com
  Sponsored by:	Absolight

Added:
  head/comms/gammu/files/patch-contrib_CMakeLists.txt   (contents, props changed)
Deleted:
  head/comms/gammu/files/extra-patch-contrib_CMakeLists.txt
Modified:
  head/comms/gammu/Makefile   (contents, props changed)
  head/comms/gammu/distinfo   (contents, props changed)
  head/comms/gammu/files/patch-CMakeLists.txt   (contents, props changed)
  head/comms/gammu/pkg-descr   (contents, props changed)
  head/comms/gammu/pkg-plist   (contents, props changed)

Modified: head/comms/gammu/Makefile
==============================================================================
--- head/comms/gammu/Makefile	Mon Apr 18 14:06:38 2016	(r413572)
+++ head/comms/gammu/Makefile	Mon Apr 18 14:06:44 2016	(r413573)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	gammu
-PORTVERSION=	1.37.0
+PORTVERSION=	1.37.2
 CATEGORIES=	comms
-MASTER_SITES=	http://dl.cihar.com/gammu/releases/ \
-		http://dl.cihar.com.nyud.net/gammu/releases/
+MASTER_SITES=	http://dl.cihar.com/gammu/releases/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GNU All Mobile Management Utilities
@@ -14,12 +13,13 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcurl.so:ftp/curl
+#RUN_DEPENDS=	cdialog:devel/cdialog
 
 CONFLICTS=	gammu-devel-[1-9]* gammu-python-[1-9]*
 
-CMAKE_ARGS+=	-DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
+CMAKE_ARGS=	-DINSTALL_LIBDATA_DIR:PATH=${PREFIX}/libdata
 
-USES=		cmake gettext pkgconfig python shebangfix
+USES=		cmake:outsource gettext iconv pkgconfig shebangfix tar:xz
 SHEBANG_FILES=	utils/jadmaker utils/gammu-config
 bash_CMD=	/bin/sh
 USE_GNOME=	glib20
@@ -28,22 +28,21 @@ PLIST_SUB+=	VERSION=${PORTVERSION}
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	BASH
+OPTIONS_DEFINE=		BASH DBI DOCS PGSQL MYSQL ODBC
+OPTIONS_DEFAULT=	BASH
+OPTIONS_SUB=		yes
 
 BASH_BUILD_DEPENDS=	bash:shells/bash
 BASH_RUN_DEPENDS=	${BASH_BUILD_DEPENDS}
-BASH_PLIST_FILES=	etc/bash_completion.d/gammu
-BASH_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-patch-contrib_CMakeLists.txt
-
-post-patch:
-	@${REINPLACE_CMD} -i '' -e 's:/etc/bash_completion.d:${PREFIX}/etc/bash_completion.d:' \
-		${WRKSRC}/contrib/CMakeLists.txt
-
-post-install:
-	(cd ${STAGEDIR}${PREFIX} && \
-	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \
-	${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
+BASH_CMAKE_OFF=		-DINSTALL_BASH_COMPLETION:BOOL=OFF
+DBI_DESC=		Database support via LibDBI
+DBI_LIB_DEPENDS=	libdbi.so:databases/libdbi
+DBI_CMAKE_OFF=		-DWITH_LibDBI:BOOL=OFF
+PGSQL_USES=		pgsql
+PGSQL_CMAKE_OFF=	-DWITH_Postgres:BOOL=OFF
+MYSQL_USE=		mysql=yes
+MYSQL_CMAKE_OFF=	-DWITH_MySQL:BOOL=OFF
+ODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
+ODBC_CMAKE_OFF=		-DWITH_ODBC:BOOL=OFF
 
 .include <bsd.port.mk>

Modified: head/comms/gammu/distinfo
==============================================================================
--- head/comms/gammu/distinfo	Mon Apr 18 14:06:38 2016	(r413572)
+++ head/comms/gammu/distinfo	Mon Apr 18 14:06:44 2016	(r413573)
@@ -1,2 +1,2 @@
-SHA256 (gammu-1.37.0.tar.gz) = 4661d50266ac2742c13d2cb3e362b1049f536d95cc911db735c4dafbf92bfeff
-SIZE (gammu-1.37.0.tar.gz) = 3000108
+SHA256 (gammu-1.37.2.tar.xz) = 5057cf7435c49d385e1f5c0d8f5723af58dc9727d748a78d103ad202b1baa9d0
+SIZE (gammu-1.37.2.tar.xz) = 1664676

Modified: head/comms/gammu/files/patch-CMakeLists.txt
==============================================================================
--- head/comms/gammu/files/patch-CMakeLists.txt	Mon Apr 18 14:06:38 2016	(r413572)
+++ head/comms/gammu/files/patch-CMakeLists.txt	Mon Apr 18 14:06:44 2016	(r413573)
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2015-12-08 10:38:11 UTC
+--- CMakeLists.txt.orig	2016-04-13 11:37:33 UTC
 +++ CMakeLists.txt
-@@ -116,7 +116,7 @@ check_symbol_exists (getpwnam "pwd.h" HA
+@@ -117,7 +117,7 @@ check_symbol_exists (getpwnam "pwd.h" HA
  check_symbol_exists (getgrnam "grp.h" HAVE_GETGRNAM)
  check_symbol_exists (getpwuid "pwd.h" HAVE_GETPWUID)
  check_symbol_exists (getuid "unistd.h" HAVE_GETUID)
@@ -9,7 +9,23 @@
  check_symbol_exists (setuid "unistd.h" HAVE_SETUID)
  check_symbol_exists (setgid "unistd.h" HAVE_SETGID)
  check_symbol_exists (SIGHUP "signal.h" HAVE_SIGHUP)
-@@ -590,7 +590,7 @@ mark_as_advanced (INSTALL_DATA_DIR)
+@@ -415,7 +415,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMP
+     #
+     # Warnings related flags
+     #
+-    MACRO_TUNE_COMPILER("-O2")
+     MACRO_TUNE_COMPILER("-Wall")
+     MACRO_TUNE_COMPILER("-Werror-implicit-function-declaration")
+     MACRO_TUNE_COMPILER("-Wno-deprecated-declarations")
+@@ -547,7 +546,6 @@ endif (BUILD_SHARED_LIBS)
+ set (DOCS
+     README.rst
+     ChangeLog
+-    COPYING
+     )
+ 
+ # OpenCellID API key
+@@ -591,7 +589,7 @@ mark_as_advanced (INSTALL_DATA_DIR)
  set (INSTALL_DOC_DIR "share/doc/gammu" CACHE STRING "Path for documentation installation")
  mark_as_advanced (INSTALL_DOC_DIR)
  

Added: head/comms/gammu/files/patch-contrib_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/gammu/files/patch-contrib_CMakeLists.txt	Mon Apr 18 14:06:44 2016	(r413573)
@@ -0,0 +1,14 @@
+--- contrib/CMakeLists.txt.orig	2016-04-13 11:37:33 UTC
++++ contrib/CMakeLists.txt
+@@ -83,10 +83,7 @@ if (INSTALL_PHP_EXAMPLES)
+ endif (INSTALL_PHP_EXAMPLES)
+ 
+ if (INSTALL_BASH_COMPLETION)
+-    macro_optional_find_package (BashCompletion)
+-    if (NOT BASH_COMPLETION_FOUND)
+-      set (BASH_COMPLETION_COMPLETIONSDIR "/etc/bash_completion.d" CACHE PATH "Location of bash_completion.d")
+-    endif (NOT BASH_COMPLETION_FOUND)
++      set (BASH_COMPLETION_COMPLETIONSDIR "etc/bash_completion.d" CACHE PATH "Location of bash_completion.d")
+     install (
+         FILES bash-completion/gammu
+         DESTINATION ${BASH_COMPLETION_COMPLETIONSDIR}

Modified: head/comms/gammu/pkg-descr
==============================================================================
--- head/comms/gammu/pkg-descr	Mon Apr 18 14:06:38 2016	(r413572)
+++ head/comms/gammu/pkg-descr	Mon Apr 18 14:06:44 2016	(r413573)
@@ -1,7 +1,5 @@
-Gammu (Gnu All Mobile Management Utilities)
-
 Gammu is the name of the project as well as name of command line
-utility, which you can use to control your phone. It is written in
+utility, which you can use to control mobile phone. It is written in
 C and built on top of libGammu.
 
 Gammu command line utility provides access to wide range of phone

Modified: head/comms/gammu/pkg-plist
==============================================================================
--- head/comms/gammu/pkg-plist	Mon Apr 18 14:06:38 2016	(r413572)
+++ head/comms/gammu/pkg-plist	Mon Apr 18 14:06:44 2016	(r413573)
@@ -5,6 +5,8 @@ bin/gammu-smsd
 bin/gammu-smsd-inject
 bin/gammu-smsd-monitor
 bin/jadmaker
+%%BASH%%etc/bash_completion.d/gammu
+include/gammu/gammu.h
 include/gammu/gammu-backup.h
 include/gammu/gammu-bitmap.h
 include/gammu/gammu-calendar.h
@@ -32,7 +34,6 @@ include/gammu/gammu-statemachine.h
 include/gammu/gammu-types.h
 include/gammu/gammu-unicode.h
 include/gammu/gammu-wap.h
-include/gammu/gammu.h
 lib/libGammu.so
 lib/libGammu.so.7
 lib/libGammu.so.7.%%VERSION%%
@@ -41,12 +42,12 @@ lib/libgsmsd.so.7
 lib/libgsmsd.so.7.%%VERSION%%
 libdata/pkgconfig/gammu.pc
 libdata/pkgconfig/gammu-smsd.pc
+man/man1/gammu.1.gz
 man/man1/gammu-config.1.gz
 man/man1/gammu-detect.1.gz
 man/man1/gammu-smsd-inject.1.gz
 man/man1/gammu-smsd-monitor.1.gz
 man/man1/gammu-smsd.1.gz
-man/man1/gammu.1.gz
 man/man1/jadmaker.1.gz
 man/man5/gammu-backup.5.gz
 man/man5/gammu-smsbackup.5.gz



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