From owner-svn-ports-head@freebsd.org Sat May 11 18:52:02 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED18C15A4B85; Sat, 11 May 2019 18:52:01 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90BDD6D1BB; Sat, 11 May 2019 18:52:01 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6AAF01F876; Sat, 11 May 2019 18:52:01 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4BIq1L6018755; Sat, 11 May 2019 18:52:01 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4BIq0Ae018751; Sat, 11 May 2019 18:52:00 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201905111852.x4BIq0Ae018751@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Sat, 11 May 2019 18:52:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501286 - in head/graphics/gegl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: kwm X-SVN-Commit-Paths: in head/graphics/gegl: . files X-SVN-Commit-Revision: 501286 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 90BDD6D1BB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 18:52:02 -0000 Author: kwm Date: Sat May 11 18:52:00 2019 New Revision: 501286 URL: https://svnweb.freebsd.org/changeset/ports/501286 Log: Update gegl to 0.4.14. Added: head/graphics/gegl/files/ head/graphics/gegl/files/patch-gegl_gegl-config.c (contents, props changed) Modified: head/graphics/gegl/Makefile head/graphics/gegl/distinfo head/graphics/gegl/pkg-plist Modified: head/graphics/gegl/Makefile ============================================================================== --- head/graphics/gegl/Makefile Sat May 11 18:48:06 2019 (r501285) +++ head/graphics/gegl/Makefile Sat May 11 18:52:00 2019 (r501286) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gegl -PORTVERSION= 0.4.12 -PORTREVISION= 3 +PORTVERSION= 0.4.14 CATEGORIES= graphics MASTER_SITES= GIMP @@ -20,7 +19,7 @@ LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libfribidi.so:converters/fribidi \ libpng.so:graphics/png -USES= compiler:c11 cpe gettext gmake gnome jpeg libtool localbase \ +USES= compiler:c++14-lang cpe gettext gmake gnome jpeg libtool localbase \ pathfix pkgconfig shebangfix uniquefiles tar:bzip2 USE_GNOME= glib20 intltool introspection:build USE_LDCONFIG= yes @@ -30,7 +29,7 @@ CONFIGURE_ARGS= --without-vala --disable-docs CONFIGURE_ARGS+=--without-mrg --without-lensfun INSTALL_TARGET= install-strip -GEGL_MINOR= 412 +GEGL_MINOR= 414 GEGL_VER= 0.4 PLIST_SUB+= GEGL_MINOR="${GEGL_MINOR}" GEGL_VER=${GEGL_VER} @@ -46,10 +45,10 @@ UNIQUE_SUFFIX_FILES= bin/gcut OPTIONS_SUB= yes OPTIONS_DEFINE= CAIRO ENSCRIPT EXIV2 FFMPEG PIXBUF GRAPHVIZ JASPER \ - LUA OPENEXR RAW PANGO LIBRSVG2 SDL SPIRO V4L \ + LUA OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L \ EXAMPLES LCMS2 WEBP TIFF GEXIV2 OPTIONS_DEFAULT=CAIRO ENSCRIPT EXIV2 PIXBUF GRAPHVIZ JASPER LCMS2 LUA \ - OPENEXR RAW PANGO LIBRSVG2 SDL SPIRO V4L WEBP TIFF + OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L WEBP TIFF ENSCRIPT_DESC= Enscript support SPIRO_DESC= Spiro support @@ -65,6 +64,9 @@ CAIRO_CONFIGURE_WITH= cairo PANGO_USE= GNOME=pango PANGO_CONFIGURE_WITH= pango +POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib +POPPLER_CONFIGURE_WITH= popplerglib + ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg @@ -93,6 +95,7 @@ LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_CONFIGURE_OFF= --without-librsvg SDL_USE= SDL=sdl +SDL_USES= sdl SDL_CONFIGURE_WITH= sdl SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro Modified: head/graphics/gegl/distinfo ============================================================================== --- head/graphics/gegl/distinfo Sat May 11 18:48:06 2019 (r501285) +++ head/graphics/gegl/distinfo Sat May 11 18:52:00 2019 (r501286) @@ -1,3 +1,3 @@ -TIMESTAMP = 1543060134 -SHA256 (gegl-0.4.12.tar.bz2) = e967293eabe89257e1d511bf68435fbfd44e6e0f9ef51b86cc50781f09eb5852 -SIZE (gegl-0.4.12.tar.bz2) = 7065555 +TIMESTAMP = 1555532285 +SHA256 (gegl-0.4.14.tar.bz2) = 4c01d58599d8ddb3714effd2675ea1863272cf2d7d9ed3d32aee80c89f859901 +SIZE (gegl-0.4.14.tar.bz2) = 7209142 Added: head/graphics/gegl/files/patch-gegl_gegl-config.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gegl/files/patch-gegl_gegl-config.c Sat May 11 18:52:00 2019 (r501286) @@ -0,0 +1,70 @@ +--- gegl/gegl-config.c.orig 2019-04-17 20:23:56 UTC ++++ gegl/gegl-config.c +@@ -34,6 +34,9 @@ + #include + #endif + ++#include ++#include ++ + G_DEFINE_TYPE (GeglConfig, gegl_config, G_TYPE_OBJECT) + + static GObjectClass * parent_class = NULL; +@@ -219,8 +222,8 @@ gegl_config_class_init (GeglConfigClass *klass) + long mem_total = default_tile_cache_size; + long mem_min = 512 << 20; // 512mb + long mem_available = mem_min; ++ + #ifdef G_OS_WIN32 +-#ifdef G_OS_WIN32 + # if defined(_MSC_VER) && (_MSC_VER <= 1200) + MEMORYSTATUS memory_status; + memory_status.dwLength = sizeof (memory_status); +@@ -240,7 +243,46 @@ gegl_config_class_init (GeglConfigClass *klass) + mem_available = memory_status.ullAvailPhys; + } + # endif +-#endif ++#elif defined(__APPLE__) ++ /* get total memory from the HW_MEMSIZE */ ++ int64_t usermem; ++ size_t len = sizeof usermem; ++ static int mib[2] = { CTL_HW, HW_MEMSIZE }; ++ ++ if (sysctl (mib, 2, &usermem, &len, NULL, 0) == 0) { ++ mem_total = usermem; ++ } ++ /* and available mem from host_statistics64 */ ++ vm_size_t page_size = sysconf (_SC_PAGESIZE); ++ mach_port_t host = mach_host_self (); ++ vm_statistics64_data_t vm_stat; ++ kern_return_t kret; ++ unsigned int count = HOST_VM_INFO64_COUNT; ++ ++ kret = host_statistics64 (host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count); ++ ++ if (kret == KERN_SUCCESS) ++ { ++ mem_available = (long) (vm_stat.free_count + vm_stat.active_count ++ + vm_stat.inactive_count ++# ifdef MAC_OS_X_VERSION_10_9 ++ + vm_stat.compressor_page_count ++# endif ++ ) * page_size; ++ mach_port_deallocate (mach_task_self (), host); ++ } ++#elif defined(__FreeBSD__) ++ ++ size_t len = sizeof(unsigned int); ++ unsigned int realmem, physmem; ++ ++ if(sysctlbyname("hw.realmem", &realmem, &len, NULL, 0)) { ++ mem_total = (int64_t) realmem; ++ }; ++ ++ if (sysctlbyname("hw.physmem", &physmem, &len, NULL, 0)) { ++ mem_available = physmem; ++ } + + #else + mem_total = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE); Modified: head/graphics/gegl/pkg-plist ============================================================================== --- head/graphics/gegl/pkg-plist Sat May 11 18:48:06 2019 (r501285) +++ head/graphics/gegl/pkg-plist Sat May 11 18:52:00 2019 (r501286) @@ -7,8 +7,8 @@ include/gegl-%%GEGL_VER%%/gegl-buffer-backend.h include/gegl-%%GEGL_VER%%/gegl-buffer-cl-iterator.h include/gegl-%%GEGL_VER%%/gegl-buffer-enums.h include/gegl-%%GEGL_VER%%/gegl-buffer-iterator.h -include/gegl-%%GEGL_VER%%/gegl-buffer-iterator2.h include/gegl-%%GEGL_VER%%/gegl-buffer-matrix2.h +include/gegl-%%GEGL_VER%%/gegl-buffer-swap.h include/gegl-%%GEGL_VER%%/gegl-buffer.h include/gegl-%%GEGL_VER%%/gegl-color.h include/gegl-%%GEGL_VER%%/gegl-cpuaccel.h @@ -19,15 +19,18 @@ include/gegl-%%GEGL_VER%%/gegl-graph-debug.h include/gegl-%%GEGL_VER%%/gegl-init.h include/gegl-%%GEGL_VER%%/gegl-lookup.h include/gegl-%%GEGL_VER%%/gegl-matrix.h +include/gegl-%%GEGL_VER%%/gegl-memory.h include/gegl-%%GEGL_VER%%/gegl-node.h include/gegl-%%GEGL_VER%%/gegl-op.h include/gegl-%%GEGL_VER%%/gegl-operations-util.h +include/gegl-%%GEGL_VER%%/gegl-parallel.h include/gegl-%%GEGL_VER%%/gegl-paramspecs.h include/gegl-%%GEGL_VER%%/gegl-path.h include/gegl-%%GEGL_VER%%/gegl-plugin.h include/gegl-%%GEGL_VER%%/gegl-processor.h include/gegl-%%GEGL_VER%%/gegl-random.h include/gegl-%%GEGL_VER%%/gegl-rectangle.h +include/gegl-%%GEGL_VER%%/gegl-scratch.h include/gegl-%%GEGL_VER%%/gegl-tile-backend.h include/gegl-%%GEGL_VER%%/gegl-tile-handler.h include/gegl-%%GEGL_VER%%/gegl-tile-source.h @@ -82,6 +85,7 @@ include/gegl-%%GEGL_VER%%/sc/sc-sample.h %%OPENEXR%%lib/gegl-%%GEGL_VER%%/exr-save.so %%FFMPEG%%lib/gegl-%%GEGL_VER%%/ff-load.so %%FFMPEG%%lib/gegl-%%GEGL_VER%%/ff-save.so +lib/gegl-%%GEGL_VER%%/gegl-common-cxx.so lib/gegl-%%GEGL_VER%%/gegl-common-gpl3.so lib/gegl-%%GEGL_VER%%/gegl-common.so lib/gegl-%%GEGL_VER%%/gegl-core.so @@ -95,6 +99,7 @@ lib/gegl-%%GEGL_VER%%/jpg-save.so %%CAIRO%%lib/gegl-%%GEGL_VER%%/npd.so lib/gegl-%%GEGL_VER%%/npy-save.so %%CAIRO%%lib/gegl-%%GEGL_VER%%/path.so +%%POPPLER%%lib/gegl-%%GEGL_VER%%/pdf-load.so %%PIXBUF%%lib/gegl-%%GEGL_VER%%/pixbuf.so lib/gegl-%%GEGL_VER%%/png-load.so lib/gegl-%%GEGL_VER%%/png-save.so