Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2013 08:27:38 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315451 - head/x11-toolkits/fox17
Message-ID:  <201303280827.r2S8Rcif062485@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Mar 28 08:27:37 2013
New Revision: 315451
URL: http://svnweb.freebsd.org/changeset/ports/315451

Log:
  - Update to 1.7.38
  
    Changes:
  
    * Totally revamped implementation of FXThreadPool. The new FXThreadPool
      is organized about a lock-free queue, with semaphores managing
      synchronization between producer- and worker-threads. Thus, threads
      never block unless two edge conditions are reached: either the
      task-queue is empty, in which case worker threads will block (nothing
      to do), or task queue is filled up, and producer thread will block
      (no room in queue). An important new capability is for an additional
      thread to enter into the task-processing loop temporarily. Finally,
      the thread starting FXThreadPool, as well as the worker threads
      belonging to the FXThreadPool now have a thread-local variable
      referencing the FXThreadPool. This allows the threads involved to
      locate the address of the FXThreadPool, for instance to create an
      FXTaskGroup.
    * New FXTaskGroup class manages groups of task to be executed in parallel
      on a FXThreadPool. Tasks started through the FXTaskGroup interface are
      guaranteed to be completed within the lifetime of the FXTaskGroup
      instance.
    * New FXParallelInvoke and FXParallelFor template functions to implement
      parallel function call, and parallel for loop. This uses the new
      FXTaskGroup, and indirectly, FXThreadPool.
    * Pass optional stacksize when constructing FXWorker. Added stacksize
      option to FXThreadPool with which new workers will be started.
    * FXBarrier wait primitive now sports API's to change break-through
      threshold, and forced-release option.
    * FXSemaphore now has API's for timed wait, and try-wait for non-blocking
      semaphore decrement.
    * Added additional atomic variable types in FXAtomic.h.
    * Added check for maximum dash-pattern length in FXDC and FXDCWindow.
    * Fixed some issues with FXStat of files.
    * Off-by-one error fixed in FXRex counted repeat of complex subpatterns.
    * Clear internal text pointers in FXRex prior to a match.
    * Added a few missing print-patterns to Adie.stx syntax file.
    * Added FXSemaphore-protected queue class FXSemaQueue; this is itself a
      wrapper around FXPtrQueue.
    * Added lock-free queue class FXLFQueue.
    * Numeric conversion issues fixed in fxstrtod.cpp; in particular, some
      corner cases now give more accurate results.
    * The function fxscanf.cpp does no longer eat the "e" when scanning for a
      number, unless actually followed by digits.
    * Switch to statvfs() from statfs() in FXStat.
    * Indexing operator added to FXAutoPtr.
    * Added new class FXScopedThread. FXScopedThread automatically performs a
      join() upon destruction.

Modified:
  head/x11-toolkits/fox17/Makefile
  head/x11-toolkits/fox17/distinfo
  head/x11-toolkits/fox17/pkg-plist   (contents, props changed)

Modified: head/x11-toolkits/fox17/Makefile
==============================================================================
--- head/x11-toolkits/fox17/Makefile	Thu Mar 28 08:03:05 2013	(r315450)
+++ head/x11-toolkits/fox17/Makefile	Thu Mar 28 08:27:37 2013	(r315451)
@@ -1,8 +1,8 @@
-# Whom: gahr
+# Created by: gahr
 # $FreeBSD$
 
 PORTNAME=	fox
-PORTVERSION=	1.7.37
+PORTVERSION=	1.7.38
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	http://ftp.fox-toolkit.org/pub/ \
    		ftp://ftp.fox-toolkit.org/pub/
@@ -31,7 +31,7 @@ CONFIGURE_ARGS=	--with-opengl=yes \
 		--bindir=${PREFIX}/bin/${PORTNAME}-${MAJORVER}
 
 CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		reswrap-17.1 shutterbug-17.1 adie-17.1 PathFinder-17.1 \
 		calculator-17.1 ControlPanel-17.1
@@ -70,15 +70,17 @@ BROKEN=		Does not link on powerpc
 .endif
 
 post-patch:
+# Rename man pages as in manpage.1 --> manpage-17.1 to avoid
+# conflicts with x11-toolkits/fox16
 	for f in ${MAN1}; do \
-	    old=$$(echo $$f | sed -e 's|-17||'); \
+	    old=$$(echo $$f | ${SED} -e 's|-17||'); \
 	    dir=$$(dirname $$(find ${WRKSRC} -name $$old)); \
-	    mv $$dir/$$old $$dir/$$f; \
+	    ${MV} $$dir/$$old $$dir/$$f; \
 	done
 	${FIND} ${WRKSRC} -name Makefile.am -o -name Makefile.in | ${XARGS} \
 	    ${REINPLACE_CMD} -i '' -e '${MAN_REPLACE}'
-	${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|; s|"||g' ${WRKSRC}/fox17.pc.in
-.if defined(NOPORTDOCS)
+	${REINPLACE_CMD} -e '/^Libs:/s|$$| -pthread|; s|"||g' ${WRKSRC}/fox17.pc.in
+.if !${PORT_OPTIONS:MDOCS}
 	${REINPLACE_CMD} -e '/^SUBDIRS/s/ doc//' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
 .endif
 

Modified: head/x11-toolkits/fox17/distinfo
==============================================================================
--- head/x11-toolkits/fox17/distinfo	Thu Mar 28 08:03:05 2013	(r315450)
+++ head/x11-toolkits/fox17/distinfo	Thu Mar 28 08:27:37 2013	(r315451)
@@ -1,2 +1,2 @@
-SHA256 (fox-1.7.37.tar.gz) = c3dadbaac55319da3d8ad237a7e8b4903ba91fdc45d721d815314db67d6eced1
-SIZE (fox-1.7.37.tar.gz) = 4964962
+SHA256 (fox-1.7.38.tar.gz) = 83fd1262a65096db54a82daa080d6845020480bb5c8ab63fa333a0eef8fd2bc1
+SIZE (fox-1.7.38.tar.gz) = 4979947

Modified: head/x11-toolkits/fox17/pkg-plist
==============================================================================
--- head/x11-toolkits/fox17/pkg-plist	Thu Mar 28 08:03:05 2013	(r315450)
+++ head/x11-toolkits/fox17/pkg-plist	Thu Mar 28 08:27:37 2013	(r315451)
@@ -90,7 +90,6 @@ include/fox-%%MAJORVER%%/FXComplexd.h
 include/fox-%%MAJORVER%%/FXComplexf.h
 include/fox-%%MAJORVER%%/FXComposeContext.h
 include/fox-%%MAJORVER%%/FXComposite.h
-include/fox-%%MAJORVER%%/FXConcurrent.h
 include/fox-%%MAJORVER%%/FXCondition.h
 include/fox-%%MAJORVER%%/FXConsole.h
 include/fox-%%MAJORVER%%/FXCursor.h
@@ -181,6 +180,7 @@ include/fox-%%MAJORVER%%/FXJPGImage.h
 include/fox-%%MAJORVER%%/FXKOI8RCodec.h
 include/fox-%%MAJORVER%%/FXKnob.h
 include/fox-%%MAJORVER%%/FXLabel.h
+include/fox-%%MAJORVER%%/FXLFQueue.h
 include/fox-%%MAJORVER%%/FXList.h
 include/fox-%%MAJORVER%%/FXListBox.h
 include/fox-%%MAJORVER%%/FXLocale.h
@@ -214,6 +214,7 @@ include/fox-%%MAJORVER%%/FXMutex.h
 include/fox-%%MAJORVER%%/FXObject.h
 include/fox-%%MAJORVER%%/FXObjectList.h
 include/fox-%%MAJORVER%%/FXOptionMenu.h
+include/fox-%%MAJORVER%%/FXParallel.h
 include/fox-%%MAJORVER%%/FXPCXIcon.h
 include/fox-%%MAJORVER%%/FXPCXImage.h
 include/fox-%%MAJORVER%%/FXPNGIcon.h
@@ -257,11 +258,13 @@ include/fox-%%MAJORVER%%/FXRootWindow.h
 include/fox-%%MAJORVER%%/FXRuler.h
 include/fox-%%MAJORVER%%/FXRulerView.h
 include/fox-%%MAJORVER%%/FXRunnable.h
+include/fox-%%MAJORVER%%/FXScopedThread.h
 include/fox-%%MAJORVER%%/FXScrollArea.h
 include/fox-%%MAJORVER%%/FXScrollBar.h
 include/fox-%%MAJORVER%%/FXScrollPane.h
 include/fox-%%MAJORVER%%/FXScrollWindow.h
 include/fox-%%MAJORVER%%/FXSearchDialog.h
+include/fox-%%MAJORVER%%/FXSemaQueue.h
 include/fox-%%MAJORVER%%/FXSemaphore.h
 include/fox-%%MAJORVER%%/FXSeparator.h
 include/fox-%%MAJORVER%%/FXSettings.h



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