Bug 175542 - [PATCH] new port comms/ebook2cwgui
Summary: [PATCH] new port comms/ebook2cwgui
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 11:10 UTC by Chris Petrik
Modified: 2013-03-14 18:50 UTC (History)
0 users

See Also:


Attachments
file.shar (2.10 KB, text/plain)
2013-01-24 11:10 UTC, Chris Petrik
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petrik 2013-01-24 11:10:00 UTC

0.1.2 / 2013-01-23   Fabian Kurz   <fabian@fkurz.net>
	* Added about.* to the "dist" target of the Makefile
	* Fixed character set detection on Unix/Linux. wxExecute
	  does not call a shell on Unix, therefore the file to
	  check was passed to the executable including the quotation
	  marks around it (problem 1) and only the first part of
	  it, if there was a space in the filename (problem 2).
	* Fix CW waveform settings (use numerical parameters for
	  -T option, and the proper ones).

0.1.1 / 2013-01-06   Fabian Kurz   <fabian@fkurz.net>
	* Add new options: Chapter duration (seconds, -d parameter; 
	  words, -l parameter) can be set now.
	* Detect version of ebook2cw and warn if it lacks support for
	  commands used by this GUI version.
	* Bugfix: On Unix/Linux, actually check current directory
	  for existence of ebook2cw, not just $PATH [tnx DF9RU]

log can be found here:
http://tinderbox2.bsdjunk.com/tb/logs/9.1-FreeBSD/ebook2cwgui-0.1.2.log

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-08 09:54:45 UTC
State Changed
From-To: open->feedback

we are not new ports without maintainer, PORTDOCS is wrong, please have 
a look at the portershandbook and resubmit. thx
Comment 2 Chris Petrik 2013-02-08 10:23:56 UTC
http://tinderbox2.bsdjunk.com/tb/logs/9.1-FreeBSD/ebook2cwgui-0.1.2.log

doesn't complain.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-02-18 05:45:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->db

over to maintainer
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-14 18:49:29 UTC
Author: db
Date: Thu Mar 14 18:49:15 2013
New Revision: 314176
URL: http://svnweb.freebsd.org/changeset/ports/314176

Log:
  - ebook2cwgui
  
  A graphical user interface (GUI) for ebook2cw is available as a
  separate program (screenshots: WinXP, Linux). It is designed to
  work on Windows (95 through 7), Linux and Mac OS X (not tested).
  It's a single executable file that you can download here
  (Windows version - see the download directory for the source code to
  compile it for other platforms).
  
  The GUI uses the same configuration file as ebook2cw, called ebook2cw.conf.
  
  PR:		ports/175542
  Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com>

Added:
  head/comms/ebook2cwgui/
  head/comms/ebook2cwgui/Makefile   (contents, props changed)
  head/comms/ebook2cwgui/distinfo   (contents, props changed)
  head/comms/ebook2cwgui/pkg-descr   (contents, props changed)
Modified:
  head/comms/Makefile

Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile	Thu Mar 14 18:10:47 2013	(r314175)
+++ head/comms/Makefile	Thu Mar 14 18:49:15 2013	(r314176)
@@ -29,6 +29,7 @@
     SUBDIR += dfu-programmer
     SUBDIR += dfu-util
     SUBDIR += ebook2cw
+    SUBDIR += ebook2cwgui
     SUBDIR += echolinux
     SUBDIR += efax
     SUBDIR += efax-gtk

Added: head/comms/ebook2cwgui/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/ebook2cwgui/Makefile	Thu Mar 14 18:49:15 2013	(r314176)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+#
+
+PORTNAME=	ebook2cwgui
+PORTVERSION=	0.1.2
+CATEGORIES=	comms hamradio
+MASTER_SITES=	http://fkurz.net/ham/ebook2cw/ \
+		http://distfiles.bsdjunk.com/ \
+		${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	db
+
+MAINTAINER=	db@FreeBSD.org
+COMMENT=	WxWidgets front end for ebooks2cw
+
+RUN_DEPENDS=	ebook2cw:${PORTSDIR}/comms/ebook2cw
+
+MAN1=		ebook2cwgui.1
+
+USE_WX=	yes
+
+PLIST_FILES=	bin/ebook2cwgui
+PORTDOCS=	*
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG:S,${PREFIX}/bin/,,}|g' \
+	     ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
+		-e 's|g++|${CXX}|g' \
+	     ${WRKSRC}/Makefile
+
+do-install:
+	@${INSTALL_SCRIPT} ${WRKSRC}/ebook2cwgui ${PREFIX}/bin/ebook2cwgui
+	@${INSTALL_DATA} ${WRKSRC}/ebook2cwgui.1 ${MANPREFIX}/man/man1
+.if     !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for 	f in README COPYING ChangeLog
+	@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/$f
+.endfor
+.endif
+
+.include <bsd.port.mk>

Added: head/comms/ebook2cwgui/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/ebook2cwgui/distinfo	Thu Mar 14 18:49:15 2013	(r314176)
@@ -0,0 +1,2 @@
+SHA256 (ebook2cwgui-0.1.2.tar.gz) = 211c5593f65743d33c5fb3ce98b118592a7b15c8b807fde34a10660d6ff0812c
+SIZE (ebook2cwgui-0.1.2.tar.gz) = 15661

Added: head/comms/ebook2cwgui/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/ebook2cwgui/pkg-descr	Thu Mar 14 18:49:15 2013	(r314176)
@@ -0,0 +1,6 @@
+ebook2cwgui is a GUI front end for ebook2cw created in WxWidgets with 
+support for both Linux and Windows.
+
+Written by Fabian Kurz, DJ1YFK <mail@fkurz.net>
+
+WWW: http://fkurz.net/ham/ebook2cw.html#graphicaluserinterface
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Diane Bruce freebsd_committer freebsd_triage 2013-03-14 18:50:12 UTC
State Changed
From-To: feedback->closed

New port added, with minor changes. Thanks!