From owner-svn-ports-head@freebsd.org Thu Feb 22 07:59:30 2018 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 23185F10362; Thu, 22 Feb 2018 07:59:30 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C42B873B4C; Thu, 22 Feb 2018 07:59:29 +0000 (UTC) (envelope-from wen@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 BDA5E24D72; Thu, 22 Feb 2018 07:59:29 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1M7xTUR034720; Thu, 22 Feb 2018 07:59:29 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1M7xT2l034713; Thu, 22 Feb 2018 07:59:29 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201802220759.w1M7xT2l034713@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Thu, 22 Feb 2018 07:59:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462568 - in head/multimedia/gxine: . files X-SVN-Group: ports-head X-SVN-Commit-Author: wen X-SVN-Commit-Paths: in head/multimedia/gxine: . files X-SVN-Commit-Revision: 462568 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 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: Thu, 22 Feb 2018 07:59:30 -0000 Author: wen Date: Thu Feb 22 07:59:28 2018 New Revision: 462568 URL: https://svnweb.freebsd.org/changeset/ports/462568 Log: - Update to 0.5.910 [1] - Regenerate patch with makepatch PR: 226084 [1] Submitted by: w.schwarzenfeld@utanet.at [1] Added: head/multimedia/gxine/files/patch-src_console__output.c (contents, props changed) head/multimedia/gxine/files/patch-src_desktop__integration.c (contents, props changed) Deleted: head/multimedia/gxine/files/patch-src_console_output.c head/multimedia/gxine/files/patch-src_desktop_integration.c Modified: head/multimedia/gxine/Makefile head/multimedia/gxine/distinfo head/multimedia/gxine/files/patch-src__Makefile.in head/multimedia/gxine/files/patch-src__lirc.c head/multimedia/gxine/pkg-plist Modified: head/multimedia/gxine/Makefile ============================================================================== --- head/multimedia/gxine/Makefile Thu Feb 22 07:55:38 2018 (r462567) +++ head/multimedia/gxine/Makefile Thu Feb 22 07:59:28 2018 (r462568) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gxine -PORTVERSION= 0.5.908 -PORTREVISION= 5 +PORTVERSION= 0.5.910 CATEGORIES= multimedia MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION} @@ -16,10 +15,10 @@ LIB_DEPENDS= libnspr4.so:devel/nspr \ libmozjs185.so:lang/spidermonkey185 \ libxine.so:multimedia/libxine -USES= desktop-file-utils gmake libtool pathfix pkgconfig tar:xz -USE_GNOME= gtk20 +USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig tar:xz +USE_GNOME= gtk30 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-hal --with-libintl-prefix=${LOCALBASE} +CONFIGURE_ARGS= --without-hal --with-libintl-prefix=${LOCALBASE} --with-gtk3 INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include @@ -58,6 +57,7 @@ post-patch: 's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in post-install: + ${CP} ${WRKSRC}/pixmaps/logo.mpv ${STAGEDIR}${PREFIX}/share/gxine .if ${PORT_OPTIONS:MWEBPLUGIN} @${STRIP_CMD} ${STAGEDIR}${WEBPLUGIN_DIR}/${WEBPLUGIN_FILES} .endif Modified: head/multimedia/gxine/distinfo ============================================================================== --- head/multimedia/gxine/distinfo Thu Feb 22 07:55:38 2018 (r462567) +++ head/multimedia/gxine/distinfo Thu Feb 22 07:59:28 2018 (r462568) @@ -1,2 +1,3 @@ -SHA256 (gxine-0.5.908.tar.xz) = 832e47136ec68a573b22b6cc1c1d57607e78b05712ba9fb8e64464b5201ed9e7 -SIZE (gxine-0.5.908.tar.xz) = 917780 +TIMESTAMP = 1519264096 +SHA256 (gxine-0.5.910.tar.xz) = 567a0e14bea30e8bb82080173b61b574a6a22ab074f513c535f276780741fe17 +SIZE (gxine-0.5.910.tar.xz) = 931616 Modified: head/multimedia/gxine/files/patch-src__Makefile.in ============================================================================== --- head/multimedia/gxine/files/patch-src__Makefile.in Thu Feb 22 07:55:38 2018 (r462567) +++ head/multimedia/gxine/files/patch-src__Makefile.in Thu Feb 22 07:59:28 2018 (r462568) @@ -1,23 +1,7 @@ ---- src/Makefile.in.orig 2012-02-21 04:10:20.000000000 +0900 -+++ src/Makefile.in 2012-05-15 17:11:18.000000000 +0900 -@@ -405,12 +405,12 @@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - GNU_VERBOSITY := $(if $(findstring GNU,$(shell $(MAKE) -v)),0,1) --INCLUDES = -I../include -I$(top_srcdir)/include -I$(includedir) \ -- -I$(top_builddir)/pixmaps $(LIRC_INCLUDE) -+INCLUDES = -I../include -I$(top_srcdir)/include \ -+ -I$(top_builddir)/pixmaps $(JS_CFLAGS) $(LIRC_INCLUDE) - - AM_CFLAGS = $(GNU99) $(XINE_CFLAGS) $(X_CFLAGS) \ - $(GTK2_CFLAGS) $(GTHREAD2_CFLAGS) \ -- $(HAL_CFLAGS) $(UDEV_CFLAGS) $(DBUS_CFLAGS) $(JS_CFLAGS) \ -+ $(HAL_CFLAGS) $(UDEV_CFLAGS) $(DBUS_CFLAGS) $(NSPR_CFLAGS) \ - -DLOCALEDIR=\"$(localedir)\" - - gxine_SOURCES = \ -@@ -452,7 +452,7 @@ - gxine_LDADD = $(XINE_LIBS) $(GTK2_LIBS) $(GTHREAD2_LIBS) \ +--- src/Makefile.in.orig 2018-02-22 07:47:00 UTC ++++ src/Makefile.in +@@ -470,7 +470,7 @@ gxine_SOURCES = \ + gxine_LDADD = $(XINE_LIBS) $(GTK2_LIBS) $(GTK3_LIBS) $(GTHREAD2_LIBS) \ $(JS_LIBS) $(HAL_LIBS) $(UDEV_LIBS) $(DBUS_LIBS) $(LIRC_LIBS) \ $(X_LIBS) $(X_EXTRA_LIBS) $(XEXT_LIBS) $(XTEST_LIBS) \ - $(XINERAMA_LIBS) $(XRANDR_LIBS) $(XCB_LIBS) -ldl -lm Modified: head/multimedia/gxine/files/patch-src__lirc.c ============================================================================== --- head/multimedia/gxine/files/patch-src__lirc.c Thu Feb 22 07:55:38 2018 (r462567) +++ head/multimedia/gxine/files/patch-src__lirc.c Thu Feb 22 07:59:28 2018 (r462568) @@ -1,11 +1,11 @@ ---- src/lirc.c.orig 2011-08-07 20:20:33.000000000 +0900 -+++ src/lirc.c 2012-05-15 03:54:41.000000000 +0900 -@@ -223,8 +223,8 @@ +--- src/lirc.c.orig 2017-12-27 17:41:32 UTC ++++ src/lirc.c +@@ -226,8 +226,8 @@ static JSBool js_reload_lirc (JSContext *cx, uintN arg if (gxine_lirc_thread_created) pthread_join (gxine_lirc_thread, NULL); gxine_lirc_start (); -#endif - JS_SET_RVAL (cx, vp, gxine_lirc_thread ? JSVAL_TRUE : JSVAL_FALSE); + JS_SET_RVAL (cx, vp, gxine_lirc_thread_created ? JSVAL_TRUE : JSVAL_FALSE); +#endif return JS_TRUE; } Added: head/multimedia/gxine/files/patch-src_console__output.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/gxine/files/patch-src_console__output.c Thu Feb 22 07:59:28 2018 (r462568) @@ -0,0 +1,162 @@ +--- src/console_output.c.orig 2017-12-27 17:41:32 UTC ++++ src/console_output.c +@@ -45,6 +45,159 @@ static void console_push (const char *s, uint8_t e) {} + #else + /* defines & functions for gxine */ + ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version < 800067 ++ ++/* from src/contrib/cvs/lib/getline.h */ ++#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) ++#define __PROTO(args) args ++#else ++#define __PROTO(args) () ++#endif /* GCC. */ ++ ++#define GETLINE_NO_LIMIT -1 ++ ++int ++ getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream)); ++int ++ getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream, ++ int limit)); ++int ++ getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream, ++ int _terminator, int _offset, int limit)); ++ ++/* getline.h */ ++/* from src/contrib/cvs/lib/getline.c */ ++ ++#include ++#include ++#include ++ ++#define MIN_CHUNK 64 ++ ++int ++getstr (lineptr, n, stream, terminator, offset, limit) ++ char **lineptr; ++ size_t *n; ++ FILE *stream; ++ int terminator; ++ int offset; ++ int limit; ++{ ++ int nchars_avail; /* Allocated but unused chars in *LINEPTR. */ ++ char *read_pos; /* Where we're reading into *LINEPTR. */ ++ int ret; ++ ++ if (!lineptr || !n || !stream) ++ { ++ errno = EINVAL; ++ return -1; ++ } ++ ++ if (!*lineptr) ++ { ++ *n = MIN_CHUNK; ++ *lineptr = malloc (*n); ++ if (!*lineptr) ++ { ++ errno = ENOMEM; ++ return -1; ++ } ++ *lineptr[0] = '\0'; ++ } ++ ++ nchars_avail = *n - offset; ++ read_pos = *lineptr + offset; ++ ++ for (;;) ++ { ++ int save_errno; ++ register int c; ++ ++ if (limit == 0) ++ break; ++ else ++ { ++ c = getc (stream); ++ ++ /* If limit is negative, then we shouldn't pay attention to ++ it, so decrement only if positive. */ ++ if (limit > 0) ++ limit--; ++ } ++ ++ save_errno = errno; ++ ++ /* We always want at least one char left in the buffer, since we ++ always (unless we get an error while reading the first char) ++ NUL-terminate the line buffer. */ ++ ++ assert((*lineptr + *n) == (read_pos + nchars_avail)); ++ if (nchars_avail < 2) ++ { ++ if (*n > MIN_CHUNK) ++ *n *= 2; ++ else ++ *n += MIN_CHUNK; ++ ++ nchars_avail = *n + *lineptr - read_pos; ++ *lineptr = realloc (*lineptr, *n); ++ if (!*lineptr) ++ { ++ errno = ENOMEM; ++ return -1; ++ } ++ read_pos = *n - nchars_avail + *lineptr; ++ assert((*lineptr + *n) == (read_pos + nchars_avail)); ++ } ++ ++ if (ferror (stream)) ++ { ++ /* Might like to return partial line, but there is no ++ place for us to store errno. And we don't want to just ++ lose errno. */ ++ errno = save_errno; ++ return -1; ++ } ++ ++ if (c == EOF) ++ { ++ /* Return partial line, if any. */ ++ if (read_pos == *lineptr) ++ return -1; ++ else ++ break; ++ } ++ ++ *read_pos++ = c; ++ nchars_avail--; ++ ++ if (c == terminator) ++ /* Return the line. */ ++ break; ++ } ++ ++ /* Done - NUL terminate and return the number of chars read. */ ++ *read_pos = '\0'; ++ ++ ret = read_pos - (*lineptr + offset); ++ return ret; ++} ++ ++int ++getline (lineptr, n, stream) ++ char **lineptr; ++ size_t *n; ++ FILE *stream; ++{ ++ return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT); ++} ++ ++/* getline.c */ ++#endif /* __FreeBSD_version */ ++#endif /* defined(__FreeBSD__) */ ++ + # include + # include + # include "log_window.h" Added: head/multimedia/gxine/files/patch-src_desktop__integration.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/gxine/files/patch-src_desktop__integration.c Thu Feb 22 07:59:28 2018 (r462568) @@ -0,0 +1,20 @@ +--- src/desktop_integration.c.orig 2017-12-27 17:41:32 UTC ++++ src/desktop_integration.c +@@ -120,6 +120,9 @@ static void *get_func (const char *name) + + gboolean gxine_vfs_init (void) + { ++#ifndef USE_INTEGRATION_WIZARD ++ return gnome_vfs_available = 0; ++#else + void (*init_func) (void) = NULL; + + if (gnome_vfs_available != -1) +@@ -170,6 +173,7 @@ gboolean gxine_vfs_init (void) + #endif + + return gnome_vfs_available = 1; ++#endif + } + + /* Modified: head/multimedia/gxine/pkg-plist ============================================================================== --- head/multimedia/gxine/pkg-plist Thu Feb 22 07:55:38 2018 (r462567) +++ head/multimedia/gxine/pkg-plist Thu Feb 22 07:59:28 2018 (r462568) @@ -1,17 +1,17 @@ bin/gxine bin/gxine_client +%%ETCDIR%%/gtk.css %%ETCDIR%%/gtkrc %%ETCDIR%%/keypad.xml %%ETCDIR%%/startup %%ETCDIR%%/toolbar-fullscreen.xml %%ETCDIR%%/toolbar-window.xml -%%WEBPLUGIN%%lib/gxine/gxineplugin.so -man/man1/gxine.1.gz -man/man1/gxine_client.1.gz man/de/man1/gxine.1.gz man/de/man1/gxine_client.1.gz man/es/man1/gxine.1.gz man/es/man1/gxine_client.1.gz +man/man1/gxine.1.gz +man/man1/gxine_client.1.gz share/applications/gxine.desktop %%DATADIR%%/logo.mpv %%DATADIR%%/mediamarks