Re: [NEW] games: jagged alliance 2 engine

2016-11-18 Thread Kirill Bychkov
Ping

On Tue, October 25, 2016 17:23, Kirill Bychkov wrote:
> Ping.
>
> On Mon, September 26, 2016 01:14, Kirill Bychkov wrote:
>> On Thu, September 22, 2016 18:35, Nils Reu?e wrote:
 Kirill Bychkov  hat am 22. September 2016 um 09:39
 geschrieben:


 On Wed, September 21, 2016 22:08, nils wrote:
 > Hi porters,
 >
 > here's a port of the improved open source game engine [1] for the old
 > classic jagged alliance 2.  The game runs fine most of the time, but
 > there are still some hidden bugs where the game crashes, so i enabled
 > the debug symbols.
 >
 > Any comments?  I take maintainer for this port.
 >
 > Nils
 >
 >
 > 1: http://ja2-stracciatella.github.io

 Hi,
 Please run portcheck. It would give you some hints about what to improve.
 Enable non silent build with Q= in MAKE_FLAGS

>>>
>>> Hi Kirill,
>>>
>>> thanks for your feedback.  I added the missing parts in the updated
>>> tarball.
>>>
>>> The BOM-removal is needed for this version, but the BOMs are already
>>> removed
>>> in upstream master.
>>>
>>> Nils
>> Good job! Now it looks mostly complete but I think it would be better to use
>> README than a MESSAGE.
>> Didn't test the runtime yet.
>>
>>
>
>
>


ja2-stracciatella.tar.gz
Description: application/gzip


[UPDATE] virt-viewer + libgovirt

2016-11-18 Thread Jiri B
Hi,

I work with oVirt everyday and thus I find handy to have
'change cd' feature inside remote-viewer. See attached
screenshot (it shows 'foreign menu' inside remote-viewer).

It needs new lib, attached as well.

I would be happy if you would consider it for import,
I could take care of libgovirt if needed.

(Tested only on amd64, I have no access to other platforms.)

j.

Index: Makefile
===
RCS file: /cvs/ports/x11/virt-viewer/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile8 Nov 2016 14:38:55 -   1.28
+++ Makefile16 Nov 2016 18:17:07 -
@@ -5,7 +5,7 @@ BROKEN-hppa=build stuck on virt-viewer-
 
 DISTNAME=  virt-viewer-4.0
 CATEGORIES=x11
-REVISION=  1
+REVISION=  2
 
 MAINTAINER=Jasper Lievisse Adriaanse 
 
@@ -19,23 +19,25 @@ WANTLIB += Xfixes Xi Xinerama Xrandr Xre
 WANTLIB += atspi avahi-client avahi-common c cairo cairo-gobject crypto
 WANTLIB += curl dbus-1 epoxy execinfo expat ffi fontconfig freetype
 WANTLIB += gcrypt gdbm gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
-WANTLIB += gmp gnutls gobject-2.0 gpg-error graphite2 gstapp-1.0
+WANTLIB += gmp gnutls gobject-2.0 govirt gpg-error graphite2 gstapp-1.0
 WANTLIB += gstaudio-1.0 gstbase-1.0 gstreamer-1.0 gsttag-1.0
 WANTLIB += gstvideo-1.0 gthread-2.0 gtk-3 gtk-vnc-2.0 gvnc-1.0 harfbuzz
 WANTLIB += hogweed idn jpeg json-c lz4 lzma m nettle nghttp2 ogg opus
 WANTLIB += orc-0.4 p11-kit pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
 WANTLIB += pixman-1 png pthread pthread-stubs pulse pulse-mainloop-glib
-WANTLIB += sasl2 sndfile spice-client-glib-2.0 spice-client-gtk-3.0
-WANTLIB += spice-controller ssh2 ssl tasn1 util virt virt-glib-1.0
-WANTLIB += vorbis vorbisenc xcb xcb-render xcb-shm xml2 z
+WANTLIB += rest-0.7 sasl2 sndfile soup-2.4 soup-gnome-2.4 spice-client-glib-2.0
+WANTLIB += spice-client-gtk-3.0 spice-controller sqlite3 ssh2 ssl tasn1 util
+WANTLIB += virt virt-glib-1.0 vorbis vorbisenc xcb xcb-render xcb-shm xml2 z
 
 MASTER_SITES=  http://virt-manager.org/download/sources/virt-viewer/
 
 USE_GMAKE= Yes
 
-LIB_DEPENDS=   devel/libvirt-glib \
+LIB_DEPENDS=   devel/gettext \
+   devel/libvirt-glib \
x11/gtk-vnc \
-   x11/spice-gtk>=0.30
+   x11/spice-gtk>=0.30 \
+   net/libgovirt
 RUN_DEPENDS=   devel/desktop-file-utils \
x11/gtk+3,-guic \
misc/shared-mime-info



Re: UPDATE: /devel/ninja 1.7.1 -> 1.7.2

2016-11-18 Thread Rafael Sadowski
On Sun Nov 13, 2016 at 09:25:33PM +, Stuart Henderson wrote:
> On 2016/11/13 20:57, Rafael Sadowski wrote:
> > Hi ports@, Hi Matthew,
> > 
> > simple ninja update. Tested @amd64 with some ports in the last days.
> 
> To save time for testing, which ports did you try it with? (It will
> need testing with at least a selection of cmake things, plus one of
> chromium/iridium).

Successful chromium-54.0.2840.100 build with ninja 1.7.2.



audio/aqualung reinit sndio on audio(4) error

2016-11-18 Thread Jeremy Evans
Without this patch, aqualung is unusable after an audio(4) error.

I plan to commit this in a couple days unless I hear objections.

Thanks,
Jeremy

Index: Makefile
===
RCS file: /cvs/ports/audio/aqualung/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- Makefile3 Nov 2016 13:07:06 -   1.42
+++ Makefile19 Nov 2016 04:41:37 -
@@ -4,7 +4,7 @@ COMMENT=advanced music player
 
 VERSION=   1.0
 DISTNAME=  aqualung-${VERSION}
-REVISION=  0
+REVISION=  1
 EPOCH= 0
 CATEGORIES=audio
 
Index: patches/patch-src_core_c
===
RCS file: patches/patch-src_core_c
diff -N patches/patch-src_core_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_core_c19 Nov 2016 04:46:30 -
@@ -0,0 +1,62 @@
+$OpenBSD$
+
+Reinit sndio if there is a audio(4) error.  Without this, aqualung is
+unusable after an audio(4) error until it is closed and reopened.
+
+--- src/core.c.origSun Jul 26 12:13:53 2015
 src/core.c Fri Nov 18 20:42:22 2016
+@@ -119,6 +119,10 @@ GSList * saved_pconns_L = NULL;
+ GSList * saved_pconns_R = NULL;
+ #endif /* HAVE_JACK */
+ 
++#ifdef HAVE_SNDIO
++int sndio_reinit(thread_info_t * info, int verbose);
++#endif /* HAVE_SNDIO */
++
+ const size_t sample_size = sizeof(float);
+ 
+ gint playlist_state, browser_state;
+@@ -802,8 +806,15 @@ sndio_thread(void * arg) {
+ 
+   /* write data to audio device */
+   bytes_written = sio_write(sndio_hdl, sndio_short_buf, 2*n_avail 
* sizeof(short));
+-  if (bytes_written != 2*n_avail * sizeof(short))
++  if (bytes_written != 2*n_avail * sizeof(short)) {
+   fprintf(stderr, "sndio_thread: Error writing to audio 
device\n");
++  if (sndio_reinit(info, 1) == 0) {
++  fprintf(stderr, "sndio_thread: audio device 
reinit successful\n");
++  sio_close(sndio_hdl);
++  sndio_hdl = info->sndio_hdl;
++  goto sndio_wake;
++  }
++  }
+   }
+  sndio_finish:
+   return 0;
+@@ -1234,8 +1245,8 @@ jack_info_shutdown(jack_status_t code, const char * re
+  * -1 : device busy
+  * -N : unable to start with given params
+  */
+-int
+-sndio_init(thread_info_t * info, int verbose, gboolean realtime, int 
priority) {
++int
++sndio_reinit(thread_info_t * info, int verbose) {
+ 
+   struct sio_hdl * sndio_hdl;
+   struct sio_par sndio_par;
+@@ -1300,6 +1311,15 @@ sndio_init(thread_info_t * info, int verbose, gboolean
+   }
+ 
+   info->sndio_hdl = sndio_hdl;
++  return 0;
++}
++
++int
++sndio_init(thread_info_t * info, int verbose, gboolean realtime, int 
priority) {
++  int ret;
++  if ((ret = sndio_reinit(info, verbose)) != 0) {
++  return ret;
++  }
+   AQUALUNG_THREAD_CREATE(info->sndio_thread_id, NULL, sndio_thread, info)
+   set_thread_priority(info->sndio_thread_id, "sndio output", realtime, 
priority);
+