ports/51482: IMCom port upgrade (supersedes ports/50776)

Martijn Lina martijn at sewers-2.demon.nl
Sun Apr 27 22:50:06 UTC 2003


>Number:         51482
>Category:       ports
>Synopsis:       IMCom port upgrade (supersedes ports/50776)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 15:50:04 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martijn Lina
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD drain 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #1: Tue Apr 1 00:04:18 CEST 2003 root at drain:/usr/obj/usr/src/sys/DRAIN i386


	
>Description:
	
	IMCom port upgrade to the latest 1.30 beta, take two. This is wanted 
	because the old stable ones (latest 0.95) doesn't handle some xml
	messages from MSN correctly.

	This PR supersedes ports/50776. Thanks to Ian D. Leroux who pointed out
	that the new patch file was missing. He also told me there's another
	good reason to switch to imcom's beta release:

	"I use accented characters a fair bit, and that seems to make version
	0.93 virtually unusable"


>How-To-Repeat:
	MSN problems are hard to trace, i don't know the exact conditions.
>Fix:

	This diff deletes files/patch-aa, so if you're a commiter also cvs
	remove that file.

diff -urNd imcom.orig/Makefile imcom/Makefile
--- imcom.orig/Makefile	Sat Feb 22 04:26:08 2003
+++ imcom/Makefile	Mon Apr 28 00:18:56 2003
@@ -2,17 +2,23 @@
 # Date created:				Jun 09 2002
 # Whom:					Martijn Lina
 #
-# $FreeBSD: ports/net/imcom/Makefile,v 1.2 2003/02/21 13:14:44 knu Exp $
+# $FreeBSD$
 
 PORTNAME=	imcom
-PORTVERSION=	0.93
+PORTVERSION=	1.30.b8
 CATEGORIES=	net
-MASTER_SITES=	http://imcom.floobin.cx/files/
+MASTER_SITES=	http://nafai.dyndns.org/files/imcom-betas/
+DISTNAME=	${PORTNAME}-1.30beta8
 
 MAINTAINER=	martijn at pacno.net
 COMMENT=	IMCom is a command-line Jabber client written in Python
 
+RUN_DEPENDS=	${LOCALBASE}/lib/python2.2/xml/parsers/expat.py:${PORTSDIR}/textproc/py-expat
+
+GNU_CONFIGURE=	yes
 USE_PYTHON=	yes
+
+MAN1=		imcom.1
 
 pre-install:
 	@cd ${WRKSRC} ; \
diff -urNd imcom.orig/distinfo imcom/distinfo
--- imcom.orig/distinfo	Mon Jan 20 02:29:20 2003
+++ imcom/distinfo	Thu Apr 10 10:38:52 2003
@@ -1 +1 @@
-MD5 (imcom-0.93.tar.gz) = 0e63d044c48490cb84a326a64b2760c9
+MD5 (imcom-1.30beta8.tar.gz) = 5b04cf52449a1ecd8a9dc38c4560061f
diff -urNd imcom.orig/files/patch-Makefile.in imcom/files/patch-Makefile.in
--- imcom.orig/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
+++ imcom/files/patch-Makefile.in	Thu Apr 10 11:22:02 2003
@@ -0,0 +1,40 @@
+--- Makefile.in.orig	Thu Apr 10 11:11:05 2003
++++ Makefile.in	Thu Apr 10 11:18:55 2003
+@@ -2,21 +2,29 @@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ datadir = @datadir@
++docdir = @datadir@/doc
+ mandir = @mandir@
+ 
++pythonprograms=	CLI.py LogHandler.py AccountCreator.py
++pythondata=	AutoStatus.py CICommands.py Colors.py DTCPSocketManager.py \
++		GUI.py GUI2.py GUIbackend.py IHTTPServer.py IMCom.py JIDLink.py \
++		JabberHandler.py JabberTags.py Preferences.py SocketWrapper.py \
++		VCardTags.py test.py testuni.py 
++
+ all:
+-	chmod +x imcom CLI.py LogHandler.py AccountCreator.py
+ 
+ install: all
+ 	mkdir -p ${datadir}/imcom
+-	mkdir -p ${datadir}/imcom/docs
+-	cp *.py ${datadir}/imcom
+-	mkdir -p ${bindir}
+-	cp imcom ${bindir}
+-	cp docs/*.html ${datadir}/imcom/docs
+-	cp CONTRIBUTORS LICENSE README README.autostatus TODO WHATSNEW ${datadir}/imcom/docs
++	${BSD_INSTALL_DATA} ${pythondata} ${datadir}/imcom
++	${BSD_INSTALL_SCRIPT} ${pythonprograms} ${datadir}/imcom
++	${BSD_INSTALL_SCRIPT} imcom ${bindir}/
++.if !defined(NOPORTDOCS)
++	mkdir -p ${docdir}/imcom/
++	${BSD_INSTALL_DATA} docs/*.html ${docdir}/imcom/
++	${BSD_INSTALL_DATA} CONTRIBUTORS LICENSE README README.autostatus TODO WHATSNEW ${docdir}/imcom
++.endif
+ 	mkdir -p ${mandir}/man1/
+-	cp docs/imcom.1 ${mandir}/man1/imcom.1
++	${BSD_INSTALL_MAN} docs/imcom.1 ${mandir}/man1/imcom.1
+ 
+ install-docs: install
+ 
diff -urNd imcom.orig/files/patch-aa imcom/files/patch-aa
--- imcom.orig/files/patch-aa	Mon Jan 20 02:29:20 2003
+++ imcom/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,25 +0,0 @@
---- Makefile.orig	Wed May 22 02:45:56 2002
-+++ Makefile	Wed May 22 02:47:12 2002
-@@ -1,13 +1,13 @@
- all:
- 
- install:
--	mkdir -p /usr/local/share/imcom
--	mkdir -p /usr/local/share/imcom/docs
--	cp AutoStatus.API CONTRIBUTORS LICENSE README README.autostatus TODO WHATSNEW /usr/local/share/imcom/docs
--	cp docs/* /usr/local/share/imcom/docs
--	cp *.py /usr/local/share/imcom
--	cp imcom /usr/local/bin
-+	mkdir -p ${LOCALBASE}/share/imcom
-+	mkdir -p ${LOCALBASE}/share/doc/imcom
-+	${BSD_INSTALL_DATA} AutoStatus.API CONTRIBUTORS LICENSE README README.autostatus TODO WHATSNEW ${LOCALBASE}/share/doc/imcom
-+	${BSD_INSTALL_DATA} docs/* ${LOCALBASE}/share/doc/imcom
-+	${BSD_INSTALL_SCRIPT} *.py ${LOCALBASE}/share/imcom
-+	${BSD_INSTALL_SCRIPT} imcom ${LOCALBASE}/bin
- 
- uninstall:
--	rm -rf /usr/local/share/imcom
--	rm -f /usr/local/bin/imcom
-+	rm -rf ${LOCALBASE}/share/imcom
-+	rm -rf ${LOCALBASE}/share/doc/imcom
-+	rm -f ${LOCALBASE}/bin/imcom
diff -urNd imcom.orig/pkg-plist imcom/pkg-plist
--- imcom.orig/pkg-plist	Mon Jan 20 02:29:20 2003
+++ imcom/pkg-plist	Thu Apr 10 11:33:41 2003
@@ -1,23 +1,17 @@
 bin/imcom
-share/doc/imcom/AutoStatus.API
-share/doc/imcom/CONTRIBUTORS
-share/doc/imcom/LICENSE
-share/doc/imcom/README
-share/doc/imcom/README.autostatus
-share/doc/imcom/TODO
-share/doc/imcom/WHATSNEW
-share/doc/imcom/CHANGELOG
-share/doc/imcom/advanced.html
-share/doc/imcom/commands.html
-share/doc/imcom/download.html
-share/doc/imcom/imcomrc.html
-share/doc/imcom/index.html
-share/doc/imcom/news.html
-share/doc/imcom/rosterlist.jpg
-share/doc/imcom/statuschange.jpg
-share/doc/imcom/style.css
-share/doc/imcom/template.html
-share/doc/imcom/whatis.html
+%%PORTDOCS%%share/doc/imcom/CONTRIBUTORS
+%%PORTDOCS%%share/doc/imcom/LICENSE
+%%PORTDOCS%%share/doc/imcom/README
+%%PORTDOCS%%share/doc/imcom/README.autostatus
+%%PORTDOCS%%share/doc/imcom/TODO
+%%PORTDOCS%%share/doc/imcom/WHATSNEW
+%%PORTDOCS%%share/doc/imcom/advanced.html
+%%PORTDOCS%%share/doc/imcom/commands.html
+%%PORTDOCS%%share/doc/imcom/download.html
+%%PORTDOCS%%share/doc/imcom/imcomrc.html
+%%PORTDOCS%%share/doc/imcom/news.html
+%%PORTDOCS%%share/doc/imcom/template.html
+%%PORTDOCS%%share/doc/imcom/whatis.html
 share/imcom/AccountCreator.py
 share/imcom/SocketWrapper.py
 share/imcom/Preferences.py
@@ -31,5 +25,12 @@
 share/imcom/CICommands.py
 share/imcom/AutoStatus.py
 share/imcom/VCardTags.py
+share/imcom/DTCPSocketManager.py
+share/imcom/GUI.py
+share/imcom/GUI2.py
+share/imcom/GUIbackend.py
+share/imcom/JIDLink.py
+share/imcom/test.py
+share/imcom/testuni.py
 @dirrm share/doc/imcom
 @dirrm share/imcom
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list