pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/squeak-vm Deal with custom bitrates on NetBSD. Al...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b23253a81af
branches:  trunk
changeset: 406384:3b23253a81af
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 20 00:01:37 2019 +0000

description:
Deal with custom bitrates on NetBSD. Always build Alsa support, it is
unconditionally at the moment anyway.

diffstat:

 lang/squeak-vm/Makefile                                               |   3 +-
 lang/squeak-vm/PLIST                                                  |   4 +-
 lang/squeak-vm/PLIST.Linux                                            |   4 +-
 lang/squeak-vm/distinfo                                               |   3 +-
 lang/squeak-vm/patches/patch-unix_plugins_SerialPlugin_sqUnixSerial.c |  16 ++++++++++
 5 files changed, 24 insertions(+), 6 deletions(-)

diffs (88 lines):

diff -r 70fe61fdd02c -r 3b23253a81af lang/squeak-vm/Makefile
--- a/lang/squeak-vm/Makefile   Fri Dec 20 00:00:55 2019 +0000
+++ b/lang/squeak-vm/Makefile   Fri Dec 20 00:01:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2019/09/18 14:17:12 ryoon Exp $
+# $NetBSD: Makefile,v 1.46 2019/12/20 00:01:37 joerg Exp $
 #
 
 SQUEAK_VERSION=        4.10.2.2614
@@ -43,6 +43,7 @@
 pre-configure:
        cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}
 
+.include "../../audio/alsa-lib/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../audio/speex/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
diff -r 70fe61fdd02c -r 3b23253a81af lang/squeak-vm/PLIST
--- a/lang/squeak-vm/PLIST      Fri Dec 20 00:00:55 2019 +0000
+++ b/lang/squeak-vm/PLIST      Fri Dec 20 00:01:37 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2012/10/29 07:33:40 asau Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/12/20 00:01:37 joerg Exp $
 bin/squeak
 bin/squeak.sh
 lib/squeak/${PKGVERSION}/ckformat
@@ -9,6 +9,7 @@
 lib/squeak/${PKGVERSION}/so.FileCopyPlugin
 lib/squeak/${PKGVERSION}/so.HostWindowPlugin
 lib/squeak/${PKGVERSION}/so.Mpeg3Plugin
+lib/squeak/${PKGVERSION}/so.MIDIPlugin
 lib/squeak/${PKGVERSION}/so.ScratchPlugin
 lib/squeak/${PKGVERSION}/so.Squeak3D
 lib/squeak/${PKGVERSION}/so.SqueakFFIPrims
@@ -18,6 +19,7 @@
 lib/squeak/${PKGVERSION}/so.vm-display-X11
 lib/squeak/${PKGVERSION}/so.vm-display-custom
 lib/squeak/${PKGVERSION}/so.vm-display-null
+lib/squeak/${PKGVERSION}/so.vm-sound-ALSA
 ${PLIST.nas}lib/squeak/${PKGVERSION}/so.vm-sound-NAS
 ${PLIST.oss}lib/squeak/${PKGVERSION}/so.vm-sound-OSS
 lib/squeak/${PKGVERSION}/so.vm-sound-custom
diff -r 70fe61fdd02c -r 3b23253a81af lang/squeak-vm/PLIST.Linux
--- a/lang/squeak-vm/PLIST.Linux        Fri Dec 20 00:00:55 2019 +0000
+++ b/lang/squeak-vm/PLIST.Linux        Fri Dec 20 00:01:37 2019 +0000
@@ -1,6 +1,4 @@
-@comment $NetBSD: PLIST.Linux,v 1.2 2014/11/30 02:40:18 markd Exp $
+@comment $NetBSD: PLIST.Linux,v 1.3 2019/12/20 00:01:37 joerg Exp $
 lib/squeak/${PKGVERSION}/so.CameraPlugin
-lib/squeak/${PKGVERSION}/so.MIDIPlugin
 lib/squeak/${PKGVERSION}/so.WeDoPlugin
 lib/squeak/${PKGVERSION}/so.vm-display-fbdev
-lib/squeak/${PKGVERSION}/so.vm-sound-ALSA
diff -r 70fe61fdd02c -r 3b23253a81af lang/squeak-vm/distinfo
--- a/lang/squeak-vm/distinfo   Fri Dec 20 00:00:55 2019 +0000
+++ b/lang/squeak-vm/distinfo   Fri Dec 20 00:01:37 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 22:50:45 agc Exp $
+$NetBSD: distinfo,v 1.9 2019/12/20 00:01:37 joerg Exp $
 
 SHA1 (squeak/Squeak-4.10.2.2614-src.tar.gz) = bd807730537122b220840b4a89f04a6689f435c2
 RMD160 (squeak/Squeak-4.10.2.2614-src.tar.gz) = 8e8a94ef036aa9ca51ade7683c3c9c8844a56660
@@ -13,4 +13,5 @@
 SHA1 (patch-ad) = e426d1de4b496704be08c67d2d2ab61a24735017
 SHA1 (patch-ae) = 73c358e42d153c9e6fe605fa1c77360ad48c6ec3
 SHA1 (patch-af) = 529550d988f5655791942145c79f5448431c04c4
+SHA1 (patch-unix_plugins_SerialPlugin_sqUnixSerial.c) = 674a9cf191958ecff2cfd1d6527fcff803f27861
 SHA1 (patch-unix_plugins_UUIDPlugin_sqUnixUUID.c) = 949ca3dff48806d99ea8d54d485fea1b6449a6e9
diff -r 70fe61fdd02c -r 3b23253a81af lang/squeak-vm/patches/patch-unix_plugins_SerialPlugin_sqUnixSerial.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/squeak-vm/patches/patch-unix_plugins_SerialPlugin_sqUnixSerial.c     Fri Dec 20 00:01:37 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-unix_plugins_SerialPlugin_sqUnixSerial.c,v 1.1 2019/12/20 00:01:37 joerg Exp $
+
+--- unix/plugins/SerialPlugin/sqUnixSerial.c.orig      2019-12-19 23:17:52.826888467 +0000
++++ unix/plugins/SerialPlugin/sqUnixSerial.c
+@@ -16,6 +16,11 @@
+ #include <termios.h>
+ #include <errno.h>
+ 
++#ifdef __NetBSD__
++#define B576000               576000U
++#define B1152000      1152000U
++#endif
++
+ /*** Module variables ***/
+ 
+ #define PORT_NAME_SIZE 64



Home | Main Index | Thread Index | Old Index