From owner-svn-ports-all@freebsd.org Sat Oct 10 19:15:58 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74B559D2B28; Sat, 10 Oct 2015 19:15:58 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAF7E1BCE; Sat, 10 Oct 2015 19:15:57 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9AJFuVi007063; Sat, 10 Oct 2015 19:15:56 GMT (envelope-from db@FreeBSD.org) Received: (from db@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9AJFujW007058; Sat, 10 Oct 2015 19:15:56 GMT (envelope-from db@FreeBSD.org) Message-Id: <201510101915.t9AJFujW007058@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: db set sender to db@FreeBSD.org using -f From: Diane Bruce Date: Sat, 10 Oct 2015 19:15:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399012 - in head/comms: unixcw unixcw/files xcwcp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2015 19:15:58 -0000 Author: db Date: Sat Oct 10 19:15:56 2015 New Revision: 399012 URL: https://svnweb.freebsd.org/changeset/ports/399012 Log: Update to 3.5.0 2015-09-29 Kamil Ignacak * bugfix: fixing code that resets tone queue on flushing. A bug was found on FreeBSD: after pressing Ctrl+C, application that wanted to stop and delete generator as part of SIGINT handling procedure, got stuck in cw_tq_flush_internal() function, waiting for tone queue to go idle. This never happened. Resetting all tone queue state variables in flush function ensures that the function completes and returns, and that client application can exit. 2015-09-12 Kamil Ignacak * xcwcp: the application souce code files are now ported to Qt5. Build system files have been modified to use Qt5 to build xcwcp. Discovery and adding -fPIC to compiler flags for xcwcp is right now very naive, perhaps that will have to be improved in the future. Modified: head/comms/unixcw/Makefile head/comms/unixcw/distinfo (contents, props changed) head/comms/unixcw/files/patch-src_libcw_Makefile.in (contents, props changed) head/comms/unixcw/pkg-plist (contents, props changed) head/comms/xcwcp/Makefile Modified: head/comms/unixcw/Makefile ============================================================================== --- head/comms/unixcw/Makefile Sat Oct 10 18:49:44 2015 (r399011) +++ head/comms/unixcw/Makefile Sat Oct 10 19:15:56 2015 (r399012) @@ -4,7 +4,7 @@ # it still works as well. PORTNAME?= unixcw -PORTVERSION= 3.4.2 +PORTVERSION= 3.5.0 CATEGORIES= comms hamradio MASTER_SITES= SF/unixcw/unixcw-${PORTVERSION} DISTNAME= unixcw_${PORTVERSION}.orig @@ -13,9 +13,10 @@ MAINTAINER= hamradio@FreeBSD.org COMMENT?= Libs for cw on unix LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes -.ifndef CONFIGURE_ARGS +.ifndef CONFIGURE_ARGS CONFIGURE_ARGS= --disable-xcwcp .endif CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \ @@ -23,11 +24,17 @@ CONFIGURE_ARGS+= --includedir="${LOCALBA --disable-alsa --disable-pulseaudio USE_LDCONFIG= yes -USES= gmake libtool pkgconfig +USES+= gmake libtool pkgconfig USE_CSTD= gnu99 WRKSRC= ${WRKDIR}/unixcw-${PORTVERSION} +MAJOR_LIB_VER= 6 +MINOR_LIB_VER= 5.1 +PLIST_SUB= MAJOR_LIB_VER=${MAJOR_LIB_VER} +PLIST_SUB+= MINOR_LIB_VER=${MINOR_LIB_VER} post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.6.4.1 +.ifndef XCWCP + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.${MAJOR_LIB_VER}.${MINOR_LIB_VER} +.endif .include Modified: head/comms/unixcw/distinfo ============================================================================== --- head/comms/unixcw/distinfo Sat Oct 10 18:49:44 2015 (r399011) +++ head/comms/unixcw/distinfo Sat Oct 10 19:15:56 2015 (r399012) @@ -1,2 +1,2 @@ -SHA256 (unixcw_3.4.2.orig.tar.gz) = 8c26f80861cb88de7554f1d693fb6288cf49ab5c7a6af31ee727860f56d76075 -SIZE (unixcw_3.4.2.orig.tar.gz) = 710813 +SHA256 (unixcw_3.5.0.orig.tar.gz) = ca94e54ce7e6da458aba13ecdea05e4ec7db50c482abf78201403c718680ac0c +SIZE (unixcw_3.5.0.orig.tar.gz) = 719974 Modified: head/comms/unixcw/files/patch-src_libcw_Makefile.in ============================================================================== --- head/comms/unixcw/files/patch-src_libcw_Makefile.in Sat Oct 10 18:49:44 2015 (r399011) +++ head/comms/unixcw/files/patch-src_libcw_Makefile.in Sat Oct 10 19:15:56 2015 (r399012) @@ -1,7 +1,7 @@ ---- src/libcw/Makefile.in.orig 2015-06-10 20:55:54 UTC +--- src/libcw/Makefile.in.orig 2015-10-06 17:17:18 UTC +++ src/libcw/Makefile.in -@@ -690,7 +690,7 @@ libcw_test_simple_gen_LDADD = -lm -lpthr - libcw_test_simple_gen_CFLAGS = -rdynamic +@@ -676,7 +676,7 @@ libcw_test_internal_LDADD = -lm -lpthrea + libcw_test_internal_CFLAGS = -rdynamic # target: libcw.pc -pkgconfigdir = $(libdir)/pkgconfig Modified: head/comms/unixcw/pkg-plist ============================================================================== --- head/comms/unixcw/pkg-plist Sat Oct 10 18:49:44 2015 (r399011) +++ head/comms/unixcw/pkg-plist Sat Oct 10 19:15:56 2015 (r399012) @@ -5,8 +5,8 @@ include/libcw.h include/libcw_debug.h lib/libcw.a lib/libcw.so -lib/libcw.so.6 -lib/libcw.so.6.4.1 +lib/libcw.so.%%MAJOR_LIB_VER%% +lib/libcw.so.%%MAJOR_LIB_VER%%.%%MINOR_LIB_VER%% libdata/pkgconfig/libcw.pc man/man1/cw.1.gz man/man1/cwgen.1.gz Modified: head/comms/xcwcp/Makefile ============================================================================== --- head/comms/xcwcp/Makefile Sat Oct 10 18:49:44 2015 (r399011) +++ head/comms/xcwcp/Makefile Sat Oct 10 19:15:56 2015 (r399012) @@ -1,25 +1,28 @@ # $FreeBSD$ PORTNAME= xcwcp + COMMENT= X11 CW Tutor using unixcw +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libcw.so:${PORTSDIR}/comms/unixcw MASTERDIR= ${.CURDIR}/../unixcw PLIST= ${.CURDIR}/pkg-plist -USE_QT4= gui moc_build qmake_build rcc_build uic_build designer -USE_AUTOTOOLS= autoconf +USE_QT5= buildtools gui widgets qmake_build +USES= gettext +GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-xcwcp +XCWCP= yes PLIST_FILES= bin/xcwcp \ man/man1/xcwcp.1.gz +LDFLAGS+= -L${LOCALBASE}/lib -lintl -post-stage: - # Remove files from the unixcw plist - for plistfile in `cat ${MASTERDIR}/pkg-plist`; \ - do \ - cleanfile=`echo $${plistfile} | ${SED} -E 's|man/man(.*).gz|man/man\1|'`; \ - ${RM} ${STAGEDIR}${PREFIX}/$${cleanfile}; \ - done +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/xcwcp/xcwcp ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/src/xcwcp/xcwcp.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include "${MASTERDIR}/Makefile"