Date: Wed, 25 Jan 2006 19:53:32 -0000 From: Conor McDermottroe <ports@mcdermottroe.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92328: [UPDATE] [MAINTAINER] Update gaim-otr to 3.0.0 Message-ID: <1138218812.28094@platinum.office.edgespace.net> Resent-Message-ID: <200601252200.k0PM0HZk043724@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92328 >Category: ports >Synopsis: [UPDATE] [MAINTAINER] Update gaim-otr to 3.0.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jan 25 22:00:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Conor McDermottroe >Release: FreeBSD 6.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD platinum.office.edgespace.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 10 18:58:38 GMT 2005 root@platinum.office.edgespace.net:/usr/obj/usr/src/sys/PLATINUM amd64 >Description: Update gaim-otr to 3.0.0 This depends on the PR above for libotr >How-To-Repeat: >Fix: diff -ruN gaim-otr.bak/Makefile gaim-otr/Makefile --- gaim-otr.bak/Makefile Tue Jan 24 16:34:34 2006 +++ gaim-otr/Makefile Tue Jan 24 18:47:48 2006 @@ -7,8 +7,7 @@ # PORTNAME= otr -PORTVERSION= 2.0.1 -PORTREVISION= 5 +PORTVERSION= 3.0.0 CATEGORIES= security net MASTER_SITES= http://www.cypherpunks.ca/otr/ \ http://www.xelerance.com/mirror/otr/ @@ -24,16 +23,7 @@ gcrypt:${PORTSDIR}/security/libgcrypt USE_X_PREFIX= yes -USE_GMAKE= yes -USE_REINPLACE= yes - -post-patch: - ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ - ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e "s|%%X11BASE%%|${X11BASE}|g" \ - ${WRKSRC}/Makefile - -do-install: - ${INSTALL_DATA} ${WRKSRC}/gaim-otr.so ${PREFIX}/lib/gaim +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libotr-prefix=${LOCALBASE}/lib --with-libotr-inc-prefix=${LOCALBASE}/include .include <bsd.port.mk> diff -ruN gaim-otr.bak/distinfo gaim-otr/distinfo --- gaim-otr.bak/distinfo Tue Jan 24 16:34:34 2006 +++ gaim-otr/distinfo Tue Jan 24 16:36:57 2006 @@ -1,3 +1,3 @@ -MD5 (gaim-otr-2.0.1.tar.gz) = 873568dac983b7182ad3ac6545567377 -SHA256 (gaim-otr-2.0.1.tar.gz) = 990edeb937b5fd118bbe7201557d8c6541f18492e3f318af789231bb652cb08c -SIZE (gaim-otr-2.0.1.tar.gz) = 34691 +MD5 (gaim-otr-3.0.0.tar.gz) = e819ef065bc0758f58beae5aa6a73ab1 +SHA256 (gaim-otr-3.0.0.tar.gz) = d6887fe5054bba466d15d1436ed15982a3b8ef1dbb8e73eeb79195535f88be01 +SIZE (gaim-otr-3.0.0.tar.gz) = 326217 diff -ruN gaim-otr.bak/files/patch-Makefile gaim-otr/files/patch-Makefile --- gaim-otr.bak/files/patch-Makefile Tue Jan 24 16:34:34 2006 +++ gaim-otr/files/patch-Makefile Thu Jan 1 01:00:00 1970 @@ -1,33 +0,0 @@ ---- Makefile.orig Wed Feb 23 14:49:10 2005 -+++ Makefile Mon Mar 21 18:31:51 2005 -@@ -2,7 +2,7 @@ - GAIM_OTR_VERSION = 2.0.1 - - # Replace this with the path to the GAIM headers --GAIM_SOURCE ?= /usr/include/gaim -+GAIM_SOURCE ?= %%X11BASE%%/include/gaim - - # If you don't have pkg-config, put the appropriate -I entry on the next line - GTK_HDRS ?= `pkg-config --cflags glib-2.0 gtk+-2.0` -@@ -10,10 +10,10 @@ - # The location of the libotr include files. Note that if, for example, - # the full path of message.h is /usr/include/libotr/message.h, you - # should put /usr/include on the next line, not /usr/include/libotr --LIBOTRINCDIR = /usr/include -+LIBOTRINCDIR = %%LOCALBASE%%/include - - # The locataion of libotr.a. --LIBOTRLIBDIR = /usr/lib -+LIBOTRLIBDIR = %%LOCALBASE%%/lib - - # The target - TARGET = gaim-otr.so -@@ -29,7 +29,7 @@ - -lgcrypt -lgpg-error - else - FPIC = -fPIC --LDFLAGS = -module -avoid-version -+LDFLAGS = -module -avoid-version -L%%LOCALBASE%%/lib - LDLIBS = -lotr -lgcrypt - endif - diff -ruN gaim-otr.bak/files/patch-gtk-dialog.c gaim-otr/files/patch-gtk-dialog.c --- gaim-otr.bak/files/patch-gtk-dialog.c Tue Jan 24 16:34:34 2006 +++ gaim-otr/files/patch-gtk-dialog.c Thu Jan 1 01:00:00 1970 @@ -1,19 +0,0 @@ ---- gtk-dialog.c.orig Tue Feb 8 18:31:12 2005 -+++ gtk-dialog.c Thu Apr 21 17:31:33 2005 -@@ -156,6 +156,7 @@ - const char *protocol_print; - GtkWidget *label; - GtkWidget *dialog; -+ OtrgDialogWaitHandle handle; - - p = gaim_find_prpl(protocol); - protocol_print = (p ? p->info->name : "Unknown"); -@@ -166,7 +167,7 @@ - - dialog = create_dialog(GAIM_NOTIFY_MSG_INFO, title, primary, secondary, - 0, &label); -- OtrgDialogWaitHandle handle = malloc(sizeof(struct s_OtrgDialogWait)); -+ handle = malloc(sizeof(struct s_OtrgDialogWait)); - handle->dialog = dialog; - handle->label = label; - diff -ruN gaim-otr.bak/pkg-plist gaim-otr/pkg-plist --- gaim-otr.bak/pkg-plist Tue Jan 24 16:34:34 2006 +++ gaim-otr/pkg-plist Tue Jan 24 18:48:00 2006 @@ -1 +1,2 @@ lib/gaim/gaim-otr.so +lib/gaim/gaim-otr.la >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138218812.28094>