Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Aug 2012 11:28:17 +0100
From:      Alan Hicks <ahicks@p-o.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170389: Create mail/gmime-2.6 port
Message-ID:  <E1Sxy4H-000Pds-0V@p-o.co.uk>
Resent-Message-ID: <201208051030.q75AU1lG099196@freefall.freebsd.org>

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

>Number:         170389
>Category:       ports
>Synopsis:       Create mail/gmime-2.6 port
>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:   Sun Aug 05 10:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alan Hicks
>Release:        FreeBSD 9.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD schnittke.p-o.co.uk 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
    Create mail/gmime-2.6 port
	
>How-To-Repeat:
	
>Fix:
    Apply patch to repocopy of gmime24
	

--- gmime26.diff begins here ---
diff -rNu gmime24/Makefile gmime26/Makefile
--- gmime24/Makefile	2012-05-24 22:20:06.000000000 +0100
+++ gmime26/Makefile	2012-08-05 11:02:30.000000000 +0100
@@ -6,11 +6,11 @@
 #
 
 PORTNAME=	gmime
-PORTVERSION=	2.4.32
+PORTVERSION=	2.6.10
 PORTREVISION?=	0
 CATEGORIES?=	mail
 MASTER_SITES=	GNOME
-PKGNAMESUFFIX?=	-24
+PKGNAMESUFFIX?=	-26
 
 MAINTAINER?=	ahicks@p-o.co.uk
 COMMENT?=	Library (written in C) for parsing and creating messages using MIME
@@ -19,12 +19,13 @@
 
 CONFLICTS=	gmime-1.0.*
 
-SLAVEDIRS=	mail/gmime2-sharp
+SLAVEDIRS=	mail/gmime26-sharp
 
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}24
+DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}26
 USE_ICONV=	yes
 USE_GMAKE=	yes
 USE_GNOME?=	gnomehack glib20
+USE_PKGCONFIG=	build
 USE_LDCONFIG=	yes
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
@@ -37,7 +38,7 @@
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 
-LATEST_LINK?=	${PORTNAME}24
+LATEST_LINK?=	${PORTNAME}26
 
 PORTDOCS=	*
 
diff -rNu gmime24/distinfo gmime26/distinfo
--- gmime24/distinfo	2012-05-24 22:20:06.000000000 +0100
+++ gmime26/distinfo	2012-08-05 10:38:59.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (gmime-2.4.32.tar.xz) = a0e8f3a1949e7281e92edc5dd6309a7ca34b6838c6acf7b7f1563a41b5ddd74b
-SIZE (gmime-2.4.32.tar.xz) = 685512
+SHA256 (gmime-2.6.10.tar.xz) = a0e1132613339d6ba06df483a1f8d8bda6feb4f58f8b102daab2f1390fd6a3b7
+SIZE (gmime-2.6.10.tar.xz) = 721824
diff -rNu gmime24/files/patch-gmime-2.4.pc.in gmime26/files/patch-gmime-2.4.pc.in
--- gmime24/files/patch-gmime-2.4.pc.in	2009-02-09 08:59:58.000000000 +0000
+++ gmime26/files/patch-gmime-2.4.pc.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
---- gmime-2.4.pc.in.orig	Tue May  3 19:34:20 2005
-+++ gmime-2.4.pc.in	Wed Feb  1 00:51:53 2006
-@@ -7,6 +7,6 @@
- Name: GMime
- Version: @VERSION@
- Description: MIME parser and utility library
--Requires: glib-2.0,gobject-2.0
-+Requires: glib-2.0,gobject-2.0,gthread-2.0
- Libs: -L${libdir} @GMIME_LIBS@ @LIBS@
- Cflags: -I${includedir}/gmime-2.0 @GMIME_CFLAGS@
diff -rNu gmime24/files/patch-gmime.pc.in gmime26/files/patch-gmime.pc.in
--- gmime24/files/patch-gmime.pc.in	1970-01-01 01:00:00.000000000 +0100
+++ gmime26/files/patch-gmime.pc.in	2012-08-05 10:47:16.000000000 +0100
@@ -0,0 +1,11 @@
+--- gmime.pc.in.orig	2012-08-05 10:43:50.000000000 +0100
++++ gmime.pc.in	2012-08-05 10:44:16.000000000 +0100
+@@ -7,7 +7,7 @@
+ Name: GMime
+ Version: @VERSION@
+ Description: MIME parser and utility library
+-Requires: glib-2.0,gio-2.0,gobject-2.0
++Requires: glib-2.0,gio-2.0,gobject-2.0,gthread-2.0
+ Libs: -L${libdir} @GMIME_LIBS@
+ Libs.private: @GMIME_LIBS_PRIVATE@
+ Cflags: -I${includedir}/gmime-@GMIME_API_VERSION@ @GMIME_CFLAGS@
diff -rNu gmime24/files/patch-mono_gmime-sharp.dll.config.in gmime26/files/patch-mono_gmime-sharp.dll.config.in
--- gmime24/files/patch-mono_gmime-sharp.dll.config.in	2011-06-15 18:59:11.000000000 +0100
+++ gmime26/files/patch-mono_gmime-sharp.dll.config.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-
-$FreeBSD: ports/mail/gmime24/files/patch-mono_gmime-sharp.dll.config.in,v 1.1 2011/06/15 17:59:11 romain Exp $
-
---- mono/gmime-sharp.dll.config.in.orig
-+++ mono/gmime-sharp.dll.config.in
-@@ -1,3 +1,3 @@
- <configuration>
--  <dllmap dll="gmime" target="libgmime-@GMIME_API_VERSION@.so.@GMIME_MAJOR_VERSION@"/>
-+  <dllmap dll="gmime" target="libgmime-@GMIME_API_VERSION@.so"/>
- </configuration>
--- gmime26.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Sxy4H-000Pds-0V>