Update to gtk-vnc-0.5.1.

This commit is contained in:
ajacoutot 2012-07-13 07:15:57 +00:00
parent 93e38ad1e1
commit 35a4bc964a
5 changed files with 15 additions and 221 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.38 2012/03/12 17:00:54 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.39 2012/07/13 07:15:57 ajacoutot Exp $
COMMENT= VNC viewer widget for GTK
GNOME_PROJECT= gtk-vnc
GNOME_VERSION= 0.5.0
GNOME_VERSION= 0.5.1
PKGNAME= ${DISTNAME}
SHARED_LIBS += gtk-vnc-2.0 0.0 # 0.2
SHARED_LIBS += gvnc-1.0 0.0 # 0.1
SHARED_LIBS += gvnc-1.0 0.1 # 0.1
SHARED_LIBS += gtk-vnc-2.0 0.1 # 0.2
CATEGORIES= x11 net
@ -42,6 +42,7 @@ MODGNOME_TOOLS= goi vala
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-examples \
--with-sasl \
--without-pulseaudio \
--without-libview \
--with-gtk=3.0

View File

@ -1,5 +1,2 @@
MD5 (gtk-vnc-0.5.0.tar.xz) = 9FyWSckVrzNc/5EmjnSrZw==
RMD160 (gtk-vnc-0.5.0.tar.xz) = bgxxQGWbgfLjSbKR7SEflWHpzU4=
SHA1 (gtk-vnc-0.5.0.tar.xz) = JGMzlFKooN33nXfQYpeeaDv7UiY=
SHA256 (gtk-vnc-0.5.0.tar.xz) = HeZdj/qMJaYajoxLfllj1Kgm9Pz3Eg1m7QJ/X3DMj4E=
SIZE (gtk-vnc-0.5.0.tar.xz) = 386068
SHA256 (gtk-vnc-0.5.1.tar.xz) = GtGEeiP46o+/I5beRsUewJAO42mM3k4gV2BRjNHgGkA=
SIZE (gtk-vnc-0.5.1.tar.xz) = 413652

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.11 2012/03/12 17:00:54 ajacoutot Exp $
--- configure.orig Wed Dec 21 18:07:54 2011
+++ configure Mon Mar 12 17:12:28 2012
@@ -10818,7 +10818,6 @@ openbsd*)
$OpenBSD: patch-configure,v 1.12 2012/07/13 07:15:57 ajacoutot Exp $
--- configure.orig Thu Jul 12 10:37:45 2012
+++ configure Fri Jul 13 09:01:57 2012
@@ -10889,7 +10889,6 @@ openbsd*)
*) need_version=no ;;
esac
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
@ -9,7 +9,7 @@ $OpenBSD: patch-configure,v 1.11 2012/03/12 17:00:54 ajacoutot Exp $
shlibpath_var=LD_LIBRARY_PATH
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case $host_os in
@@ -13837,6 +13836,12 @@ case "$host" in
@@ -14629,6 +14628,12 @@ case "$host" in
NO_UNDEFINED_LDFLAGS="-no-undefined"
;;
@ -22,95 +22,3 @@ $OpenBSD: patch-configure,v 1.11 2012/03/12 17:00:54 ajacoutot Exp $
*)
NO_UNDEFINED_FLAGS="-Wl,--no-undefined"
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
@@ -14615,91 +14620,8 @@ _ACEOF
-pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
-$as_echo_n "checking for PULSEAUDIO... " >&6; }
-
-if test -n "$PULSEAUDIO_CFLAGS"; then
- pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
-else
- pkg_failed=yes
-fi
- else
- pkg_failed=untried
-fi
-if test -n "$PULSEAUDIO_LIBS"; then
- pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
-else
- pkg_failed=yes
-fi
- else
- pkg_failed=untried
-fi
-
-
-
-if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi
- if test $_pkg_short_errors_supported = yes; then
- PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
- else
- PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$PULSEAUDIO_PKG_ERRORS" >&5
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: Not building against libpulse" >&5
-$as_echo "$as_me: Not building against libpulse" >&6;}
-elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: Not building against libpulse" >&5
-$as_echo "$as_me: Not building against libpulse" >&6;}
-else
- PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
- PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- WANT_PULSEAUDIO="yes"
-fi
-if test "x$WANT_PULSEAUDIO" = xyes; then
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_PULSEAUDIO 1
-_ACEOF
-
-fi
- if test "x$WANT_PULSEAUDIO" = "xyes"; then
- HAVE_PULSEAUDIO_TRUE=
- HAVE_PULSEAUDIO_FALSE='#'
-else
HAVE_PULSEAUDIO_TRUE='#'
HAVE_PULSEAUDIO_FALSE=
-fi
-

View File

@ -1,114 +0,0 @@
$OpenBSD: patch-tools_gvnccapture_c,v 1.2 2012/03/13 18:54:03 ajacoutot Exp $
From c87188617860dc38e3c7c4de43de7c0d950225a3 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Sun, 15 Jan 2012 04:33:24 +0000
Subject: tools/gvnccapture: unbreak pod syntax
--- tools/gvnccapture.c.orig Wed Dec 21 18:07:38 2011
+++ tools/gvnccapture.c Mon Mar 12 17:45:18 2012
@@ -19,68 +19,68 @@
*/
/*
- =head1 NAME
+=head1 NAME
- gvnccapture - VNC screenshot capture
+gvnccapture - VNC screenshot capture
- =head1 SYNOPSIS
+=head1 SYNOPSIS
- gvnccapture [OPTION]... [HOST][:DISPLAY] FILENAME
+gvnccapture [OPTION]... [HOST][:DISPLAY] FILENAME
- =head1 DESCRIPTION
+=head1 DESCRIPTION
- Capture a screenshot of the VNC desktop at HOST:DISPLAY saving to the
- image file FILENAME. If HOST is omitted it defaults to "localhost",
- if :DISPLAY is omitted, it defaults to ":1". FILENAME must end in a
- known image format extension (eg ".png", ".jpeg"). Supported options
- are
+Capture a screenshot of the VNC desktop at HOST:DISPLAY saving to the
+image file FILENAME. If HOST is omitted it defaults to "localhost",
+if :DISPLAY is omitted, it defaults to ":1". FILENAME must end in a
+known image format extension (eg ".png", ".jpeg"). Supported options
+are
- =over 4
+=over 4
- =item --help, -?
+=item --help, -?
- Display command line help information
+Display command line help information
- =item --quiet, -q
+=item --quiet, -q
- Do not display information on the console when capturing the screenshot,
- with the exception of any password prompt.
+Do not display information on the console when capturing the screenshot,
+with the exception of any password prompt.
- =item --debug, -d
+=item --debug, -d
- Display verbose debugging information on the console
+Display verbose debugging information on the console
- =back
+=back
- =head1 EXIT STATUS
+=head1 EXIT STATUS
- The exit status is 0 upon successful screen capture, otherwise
- it is a non-zero integer
+The exit status is 0 upon successful screen capture, otherwise
+it is a non-zero integer
- =head1 EXAMPLES
+=head1 EXAMPLES
- # gvnccapture localhost:1 desktop.png
- Password:
- Connected to localhost:1
- Saved display to desktop.png
+ # gvnccapture localhost:1 desktop.png
+ Password:
+ Connected to localhost:1
+ Saved display to desktop.png
- =head1 AUTHORS
+=head1 AUTHORS
- Daniel P. Berrange <dan@berrange.com>
+Daniel P. Berrange <dan@berrange.com>
- =head1 COPYRIGHT
+=head1 COPYRIGHT
- Copyright (C) 2010 Daniel P. Berrange <dan@berrange.com>.
+Copyright (C) 2010 Daniel P. Berrange <dan@berrange.com>.
- License LGPLv2+: GNU Lesser GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
+License LGPLv2+: GNU Lesser GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
- This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
+This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
- =head1 SEE ALSO
+=head1 SEE ALSO
- vinagre(1)
+vinagre(1)
- =cut
+=cut
*/
#include <config.h>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2012/03/12 17:00:55 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.7 2012/07/13 07:15:57 ajacoutot Exp $
@pkgpath ${BASE_PKGPATH}
@pkgpath ${BASE_PKGPATH},-main
@pkgpath x11/gtk-vnc,gtk2
@ -55,12 +55,14 @@ share/locale/eu/LC_MESSAGES/gtk-vnc.mo
share/locale/fr/LC_MESSAGES/gtk-vnc.mo
share/locale/gl/LC_MESSAGES/gtk-vnc.mo
share/locale/hu/LC_MESSAGES/gtk-vnc.mo
share/locale/id/LC_MESSAGES/gtk-vnc.mo
share/locale/it/LC_MESSAGES/gtk-vnc.mo
share/locale/ja/LC_MESSAGES/gtk-vnc.mo
share/locale/ko/LC_MESSAGES/gtk-vnc.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/gtk-vnc.mo
share/locale/lv/LC_MESSAGES/gtk-vnc.mo
share/locale/nb/LC_MESSAGES/gtk-vnc.mo
share/locale/nds/
share/locale/nds/LC_MESSAGES/