Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 04:33:23 GMT
From:      Julian Dunn <jdunn@aquezada.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151568: maintainer update: net-im/ttytter to 1.1.6
Message-ID:  <201010190433.o9J4XNi4010205@www.freebsd.org>
Resent-Message-ID: <201010190440.o9J4e5Wd019864@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151568
>Category:       ports
>Synopsis:       maintainer update: net-im/ttytter to 1.1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 04:40:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Julian Dunn
>Release:        8.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD fbsdvbox 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Maintainer update of net-im/ttytter to 1.1.6. Support (optional) use of in-tree Term:Readline:TTYtter driver for readline operations.

Other updates per the vendor:

# 1.1.6 is a very large systems update, touching quite a bit of low-level code. In particular, this version requires full POSIX signals to function at all, whereas previous versions only needed them in certain circumstances: your system must support either or both of SIGUSR1/2 or SIGPWR/SYS (i.e., signals 30 and 31), which are used as software interrupt signals between the foreground and background processes, or TTYtter will crash or hang. This has been verified to work on all the supported systems above.

If your TTYtter abruptly quits when you type commands, your system does not support these signals correctly. Send me a report so that I can investigate a workaround.
# Support for repaintable readline prompts, when combined with a supporting driver such as Term::ReadLine::TTYtter. T::RL::T is custom-designed for this purpose, including dynamic repainting, history synchronization, background signaling, improvements to UTF-8 support and even a character counter. You can add support to your favourite readline driver with some extra stub functions. If you use T::RL::T as your readline driver (which is now the default for -readline if it is installed), /vcheck and -vcheck check its version too. This driver is a beta. It is still in development. Expect bugs.
# Location support with -location, -lat and -long. Your account must be geo-enabled, which cannot be done from TTYtter; you must do it from the Twitter web interface. You can then set a (default) location with -lat/-long, and use -location to toggle if/when to send it.
# /block and /unblock for those users you hate, like @doctorlinguist. That guy is a total jerk. Don't listen to a thing he says.
# The foreground now sends squelch signals to the background when a command is running, which should reduce command output stepping on background updates.
# -searchhits specifies how many search results to grab from the Search API, both with /search (thanks @jdvalentine) and tracked results.
# /set [boolean] can now be used to set a Boolean option to 1, like /set ansi. Similarly, /unset can now set an option to zero (or literal string "0"). These commands are mostly intended for booleans and may not work right with other options.
# -status can now be passed a line of text over standard input if you use -status=- (that's dash "status" equals dash), which is useful for scripts that can't trust their input but really want to use -hold (speaking of, a bug with -hold holding for an incorrect duration should now be fixed too). If your script can't cope with this and absolutely needs the old behaviour, -oldstatus is available as a deprecated stopgap to use the old -status behaviour, but may disappear in future versions.
# Faster UTF-8 processing.
# Growl notifications on Mac OS X are now asynchronous, which significantly improves their processing speed.
# Background event loop rewritten to drive select() in a more compatible fashion, which should eliminate random freezes (-freezebug is still in 1.1.6 for purposes of debugging, just in case).
# TTYtter now tells you what readline driver it is using, if any. You can set the PERL_RL environment variable to override this (such as Gnu, Perl, TTYtter or Stub).
# All prompts now use -readline when enabled.
# Command line options didn't always override what was in the .ttytterrc file. Fixed.
# Retweeting a tweet with UTF-8 characters should no longer generate a signature error.
# Foreground menu codes are now shown in bold to set them off from background updates.
# -simplestart prints an abbreviated startup banner for slower systems or more dire screen readers.
# JSON fetches are more compatible with arbitrary OAuth signature algorithms, which should help extension authors and /eval jockeys.
# The -readline TAB completion routine now includes all the supported commands (thanks again @jdvalentine).
# API changes: new library functions &sendnotifies and &senddmnotifies, which decouple notification from &defaulthandle and &defaultdmhandle respectively. This allows extensions to send their own notifications without relying on the default handlers (thanks @stormdragon2976 for the use case). In TTYtter 2.0, with the next major revision of the internal API, this idea will be explored much further. 
>How-To-Repeat:
N/A
>Fix:
Apply attached patch.

Patch attached with submission follows:

diff -Nur ttytter.old/Makefile ttytter/Makefile
--- ttytter.old/Makefile	2010-09-16 13:52:28.000000000 -0400
+++ ttytter/Makefile	2010-10-19 00:21:52.000000000 -0400
@@ -5,10 +5,10 @@
 # $FreeBSD: ports/net-im/ttytter/Makefile,v 1.14 2010/09/16 17:52:28 decke Exp $
 
 PORTNAME=	ttytter
-PORTVERSION=	1.1.5
+PORTVERSION=	1.1.6
 CATEGORIES=	net-im
 MASTER_SITES=	http://www.floodgap.com/software/ttytter/dist1/
-DISTFILES=	1.1.05.txt
+DISTFILES=	1.1.06.txt
 EXTRACT_ONLY=
 
 MAINTAINER=	jdunn@aquezada.com
@@ -20,7 +20,8 @@
 NO_BUILD=	yes
 USE_PERL5_RUN=	yes
 
-OPTIONS=	READLINE	"Include rich readline support"	on
+OPTIONS=	READLINE	"Include rich readline support"	on \
+		RLTTYTTER       "Use T::R::TTYtter readline driver (beta!)" off \
 
 PLIST_FILES=	bin/${PORTNAME}
 
@@ -30,6 +31,10 @@
 RUN_DEPENDS+=	${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl
 .endif
 
+.if defined(WITH_RLTTYTTER)
+RUN_DEPENDS+=   ${SITE_PERL}/Term/ReadLine/TTYtter.pm:${PORTSDIR}/devel/p5-ReadLine-TTYtter
+.endif
+
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@${CP} ${DISTDIR}/${DISTFILES}  ${WRKSRC}/${PORTNAME}-${PORTVERSION}.txt
diff -Nur ttytter.old/distinfo ttytter/distinfo
--- ttytter.old/distinfo	2010-09-16 13:52:28.000000000 -0400
+++ ttytter/distinfo	2010-10-19 00:21:11.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (1.1.05.txt) = 354aa87ed02105b800a8dcb9e658f8dd
-SHA256 (1.1.05.txt) = 07882c8ddb4241e3fe6e93f7c561ae48c7fe6bd0089aa56a12e19c916859b5ea
-SIZE (1.1.05.txt) = 138521
+MD5 (1.1.06.txt) = cfb9a2b9334c194ace2d695bf01a3025
+SHA256 (1.1.06.txt) = 5acb9eda329fa11d7a41bed9d0e0574d6b532dc99e23d7c8c371a117e4547b8a
+SIZE (1.1.06.txt) = 147442


>Release-Note:
>Audit-Trail:
>Unformatted:



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