Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2009 16:55:45 +0100 (CET)
From:      Florian Smeets <flo@kasimir.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        czauner+ports@onlineloop.com
Subject:   ports/132585: [PATCH] textproc/wbxml2: update to 0.10.4, honor NOPORTDOCS
Message-ID:  <20090312155545.E4C8A3F504@mail.solomo.de>
Resent-Message-ID: <200903121600.n2CG0Crh040199@freefall.freebsd.org>

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

>Number:         132585
>Category:       ports
>Synopsis:       [PATCH] textproc/wbxml2: update to 0.10.4, honor NOPORTDOCS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 12 16:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Florian Smeets
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD mail.solomo.de 7.1-STABLE FreeBSD 7.1-STABLE #6: Sun Mar  1 16:30:44 CET
>Description:
- Update to 0.10.4
- Fix NOPORTDOCS case     

As the last few updates were approved by maintainer timeout i could take over maintainership if desired.

Changelogs:
https://libwbxml.opensync.org/wiki/ReleaseNotes/libwbxml-0.10.1
https://libwbxml.opensync.org/wiki/ReleaseNotes/libwbxml-0.10.2
https://libwbxml.opensync.org/wiki/ReleaseNotes/libwbxml-0.10.3
https://libwbxml.opensync.org/wiki/ReleaseNotes/libwbxml-0.10.4


Added file(s):
- files/noportdocs-CMakeLists.txt.diff

Port maintainer (czauner+ports@onlineloop.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- wbxml2-0.10.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/wbxml2.orig/Makefile /usr/ports/textproc/wbxml2/Makefile
--- /usr/ports/textproc/wbxml2.orig/Makefile	2009-01-19 02:14:51.000000000 +0100
+++ /usr/ports/textproc/wbxml2/Makefile	2009-03-12 16:28:11.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	wbxml2
-PORTVERSION=	0.10.0
+PORTVERSION=	0.10.4
 CATEGORIES=	textproc devel
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	libwbxml
@@ -24,6 +24,10 @@
 CMAKE_SOURCE_PATH=..
 PATCH_WRKSRC=	${WRKDIR}/libwbxml-${PORTVERSION}
 
+.if defined(NOPORTDOCS)
+EXTRA_PATCHES=	${FILESDIR}/noportdocs-CMakeLists.txt.diff
+.endif
+
 pre-patch:
 	@cd ${PATCH_WRKSRC}
 
diff -ruN --exclude=CVS /usr/ports/textproc/wbxml2.orig/distinfo /usr/ports/textproc/wbxml2/distinfo
--- /usr/ports/textproc/wbxml2.orig/distinfo	2009-01-19 02:14:51.000000000 +0100
+++ /usr/ports/textproc/wbxml2/distinfo	2009-03-12 16:28:11.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (libwbxml-0.10.0.tar.bz2) = faaa28938e22ba839ca5eafbdaa1543b
-SHA256 (libwbxml-0.10.0.tar.bz2) = 35cee44dcec64dce0672aa412df174f6e794445a708d7179be683cb37a2a103e
-SIZE (libwbxml-0.10.0.tar.bz2) = 314569
+MD5 (libwbxml-0.10.4.tar.bz2) = ca010b6748e6ce966157b078529fa3e1
+SHA256 (libwbxml-0.10.4.tar.bz2) = f271b74ad7df052c00225ef213634564b5fff67888b30f9e858336c7912c374e
+SIZE (libwbxml-0.10.4.tar.bz2) = 344334
diff -ruN --exclude=CVS /usr/ports/textproc/wbxml2.orig/files/noportdocs-CMakeLists.txt.diff /usr/ports/textproc/wbxml2/files/noportdocs-CMakeLists.txt.diff
--- /usr/ports/textproc/wbxml2.orig/files/noportdocs-CMakeLists.txt.diff	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/textproc/wbxml2/files/noportdocs-CMakeLists.txt.diff	2009-03-12 16:28:11.000000000 +0100
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig	2009-03-12 15:07:17.000000000 +0000
++++ CMakeLists.txt	2009-03-12 15:08:53.000000000 +0000
+@@ -158,7 +158,7 @@
+ #	ADD_CUSTOM_TARGET( DoxygenDoc )
+ #	ADD_DEPENDENCIES( DoxygenDoc DoxygenDocLibrary DoxygenDocTools )
+ #ENDIF ( BUILD_DOCUMENTATION )
+-OPTION( ENABLE_INSTALL_DOC "install documentation" ON )
++OPTION( ENABLE_INSTALL_DOC "install documentation" OFF )
+ IF( ENABLE_INSTALL_DOC )
+ 	ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/AUTHORS )
+ 	ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/BUGS )
+
diff -ruN --exclude=CVS /usr/ports/textproc/wbxml2.orig/files/patch-CMakeLists.txt /usr/ports/textproc/wbxml2/files/patch-CMakeLists.txt
--- /usr/ports/textproc/wbxml2.orig/files/patch-CMakeLists.txt	2009-01-19 02:14:51.000000000 +0100
+++ /usr/ports/textproc/wbxml2/files/patch-CMakeLists.txt	2009-03-12 16:28:11.000000000 +0100
@@ -1,11 +1,12 @@
---- CMakeLists.txt	2008-12-05 16:06:35.000000000 +0200
-+++ CMakeLists.txt	2008-12-06 15:09:44.000000000 +0200
-@@ -152,7 +152,7 @@
- ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/TODO )
+--- CMakeLists.txt.orig	2009-03-12 09:25:18.000000000 +0000
++++ CMakeLists.txt	2009-03-12 09:26:03.000000000 +0000
+@@ -174,7 +174,8 @@
+ ENDIF( ENABLE_INSTALL_DOC )
  
  # todo: add requires in pc file
--INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libwbxml2.pc" DESTINATION "${LIB_INSTALL_DIR}/pkgconfig/" )
+-INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libwbxml2.pc" DESTINATION "${LIBDATA_INSTALL_DIR}/pkgconfig/" )
 +INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libwbxml2.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/" )
- 
++
  # status output
  INCLUDE( ShowStatus )
+ MESSAGE( STATUS "==================================================" )
diff -ruN --exclude=CVS /usr/ports/textproc/wbxml2.orig/pkg-plist /usr/ports/textproc/wbxml2/pkg-plist
--- /usr/ports/textproc/wbxml2.orig/pkg-plist	2009-01-19 02:14:51.000000000 +0100
+++ /usr/ports/textproc/wbxml2/pkg-plist	2009-03-12 16:28:11.000000000 +0100
@@ -20,17 +20,17 @@
 include/wbxml_config.h
 lib/libwbxml2.so
 lib/libwbxml2.so.0
-lib/libwbxml2.so.0.0.10
+lib/libwbxml2.so.0.0.14
 libdata/pkgconfig/libwbxml2.pc
-share/doc/libwbxml/AUTHORS
-share/doc/libwbxml/BUGS
-share/doc/libwbxml/COPYING
-share/doc/libwbxml/ChangeLog
-share/doc/libwbxml/GNU-LGPL
-share/doc/libwbxml/INSTALL
-share/doc/libwbxml/NEWS
-share/doc/libwbxml/README
-share/doc/libwbxml/References
-share/doc/libwbxml/THANKS
-share/doc/libwbxml/TODO
-@dirrm share/doc/libwbxml
+%%PORTDOCS%%share/doc/libwbxml/AUTHORS
+%%PORTDOCS%%share/doc/libwbxml/BUGS
+%%PORTDOCS%%share/doc/libwbxml/COPYING
+%%PORTDOCS%%share/doc/libwbxml/ChangeLog
+%%PORTDOCS%%share/doc/libwbxml/GNU-LGPL
+%%PORTDOCS%%share/doc/libwbxml/INSTALL
+%%PORTDOCS%%share/doc/libwbxml/NEWS
+%%PORTDOCS%%share/doc/libwbxml/README
+%%PORTDOCS%%share/doc/libwbxml/References
+%%PORTDOCS%%share/doc/libwbxml/THANKS
+%%PORTDOCS%%share/doc/libwbxml/TODO
+%%PORTDOCS%%@dirrm share/doc/libwbxml
--- wbxml2-0.10.4.patch ends here ---

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



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