pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/mxascii



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Jun  2 07:45:16 UTC 2025

Added Files:
        pkgsrc/misc/mxascii: DESCR Makefile PLIST distinfo
        pkgsrc/misc/mxascii/patches: patch-Imakefile patch-pkgsrc.tmpl
            patch-setcb.c patch-xhead.h

Log Message:
misc/mxascii: initial import of package

MXascii is a X/Motif program to display ASCII character set (0-127)
in decimal, hexadecimal, or octal.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/mxascii/DESCR pkgsrc/misc/mxascii/Makefile \
    pkgsrc/misc/mxascii/PLIST pkgsrc/misc/mxascii/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/mxascii/patches/patch-Imakefile \
    pkgsrc/misc/mxascii/patches/patch-pkgsrc.tmpl \
    pkgsrc/misc/mxascii/patches/patch-setcb.c \
    pkgsrc/misc/mxascii/patches/patch-xhead.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/mxascii/DESCR
diff -u /dev/null pkgsrc/misc/mxascii/DESCR:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/DESCR   Mon Jun  2 07:45:16 2025
@@ -0,0 +1,2 @@
+MXascii is a X/Motif program to display ASCII character set (0-127)
+in decimal, hexadecimal, or octal.
Index: pkgsrc/misc/mxascii/Makefile
diff -u /dev/null pkgsrc/misc/mxascii/Makefile:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/Makefile        Mon Jun  2 07:45:16 2025
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2025/06/02 07:45:16 vins Exp $
+
+DISTNAME=      ${PKGNAME:S/-//}
+PKGNAME=       mxascii-1.1
+CATEGORIES=    misc
+MASTER_SITES=  https://www.muquit.com/muquit/software/mxascii/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.muquit.com/muquit/software/mxascii//mxascii.html
+COMMENT=       X/Motif utility to display an ASCII table
+LICENSE=       hpnd
+
+USE_IMAKE=     yes
+
+MAKE_FLAGS+=   CC=${CC:Q}              \
+               PREFIX=${PREFIX}        \
+               CCOPTIONS=${CFLAGS:Q}   \
+               LOCAL_LDFLAGS=${LDFLAGS:Q}
+
+BUILD_TARGET=  ${PKGBASE}
+INSTALL_TARGET=        common-install
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/mxascii/PLIST
diff -u /dev/null pkgsrc/misc/mxascii/PLIST:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/PLIST   Mon Jun  2 07:45:16 2025
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2025/06/02 07:45:16 vins Exp $
+bin/mxascii
+lib/X11/app-defaults/MXascii.ad
Index: pkgsrc/misc/mxascii/distinfo
diff -u /dev/null pkgsrc/misc/mxascii/distinfo:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/distinfo        Mon Jun  2 07:45:16 2025
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2025/06/02 07:45:16 vins Exp $
+
+BLAKE2s (mxascii1.1.tar.gz) = 725662c3f841861b1202a32c91db196ce2fcbdc0b29be2180b1a901873f17fb3
+SHA512 (mxascii1.1.tar.gz) = c197532294c82303ce0942ff31cf98c7e761daf91f88b1655b05990f74420c3556d28a2cf8b849406e8f02733e7900e2c359ee55a533ea670e1c6653a7efa1b6
+Size (mxascii1.1.tar.gz) = 17864 bytes
+SHA1 (patch-Imakefile) = 117fc6d35e00ec365c9aa9b13d33916509863877
+SHA1 (patch-pkgsrc.tmpl) = 696ec40ea8529111c3062515981a603eab3c22fe
+SHA1 (patch-setcb.c) = df0bc70bb95caa5d065a5cfcbbe46f79c1fe1f3e
+SHA1 (patch-xhead.h) = b3551cb7ce0b7388e2184d7150fe57457b4e2db3

Index: pkgsrc/misc/mxascii/patches/patch-Imakefile
diff -u /dev/null pkgsrc/misc/mxascii/patches/patch-Imakefile:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/patches/patch-Imakefile Mon Jun  2 07:45:16 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-Imakefile,v 1.1 2025/06/02 07:45:16 vins Exp $
+
+Include local imake rules.
+
+--- Imakefile.orig     1996-06-23 00:11:12.000000000 +0000
++++ Imakefile
+@@ -33,7 +33,7 @@ XCOMM
+ XCOMM -------------DO NOT EDIT THIS FILE-----------------------
+ XCOMM -------------Edit Mxascii.tmpl FILE INSTEAD--------------
+ 
+-#include "Mxascii.tmpl"
++#include "pkgsrc.tmpl"
+ 
+ SRCS =        main.c crui.c callbacks.c nullcb.c menui.c mpulldown.c \
+         setcb.c converter.c
Index: pkgsrc/misc/mxascii/patches/patch-pkgsrc.tmpl
diff -u /dev/null pkgsrc/misc/mxascii/patches/patch-pkgsrc.tmpl:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/patches/patch-pkgsrc.tmpl       Mon Jun  2 07:45:16 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-pkgsrc.tmpl,v 1.1 2025/06/02 07:45:16 vins Exp $
+
+Simplified imake rules for pkgsrc.
+
+--- pkgsrc.tmpl.orig   2025-06-02 07:28:57.025835776 +0000
++++ pkgsrc.tmpl
+@@ -0,0 +1,17 @@
++CC?= cc
++PROG= mxascii
++
++INCLUDES = -I. 
++LDLIBS= -lm
++LOCAL_LIBRARIES= -lXm -lXt -lX11
++
++BINDIR=$(PREFIX)/bin
++XAPPLOADDIR=$(PREFIX)/lib/X11/app-defaults
++
++.PHONY: common-install
++
++common-install: $(PROG)
++      $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(BINDIR)
++      $(BSD_INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(BINDIR)
++      $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(XAPPLOADDIR)
++      $(BSD_INSTALL_DATA) MXascii.ad ${DESTDIR}$(XAPPLOADDIR)
Index: pkgsrc/misc/mxascii/patches/patch-setcb.c
diff -u /dev/null pkgsrc/misc/mxascii/patches/patch-setcb.c:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/patches/patch-setcb.c   Mon Jun  2 07:45:16 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-setcb.c,v 1.1 2025/06/02 07:45:16 vins Exp $
+
+Fix signedness mismatch warning.
+
+--- setcb.c.orig       2025-06-02 07:29:00.090325109 +0000
++++ setcb.c
+@@ -197,7 +197,7 @@ void SetCb (Widget widget,XtPointer clie
+     static int
+         first_time=0;
+ 
+-    type=(int) client_data;
++    type=(long) client_data;
+ 
+     if (first_time == 0)
+     {
Index: pkgsrc/misc/mxascii/patches/patch-xhead.h
diff -u /dev/null pkgsrc/misc/mxascii/patches/patch-xhead.h:1.1
--- /dev/null   Mon Jun  2 07:45:16 2025
+++ pkgsrc/misc/mxascii/patches/patch-xhead.h   Mon Jun  2 07:45:16 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-xhead.h,v 1.1 2025/06/02 07:45:16 vins Exp $
+
+Do not require malloc.h
+
+--- xhead.h.orig       2025-06-02 07:30:16.310224142 +0000
++++ xhead.h
+@@ -26,7 +26,6 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <memory.h>
+ #include <ctype.h>
+ #include <string.h>



Home | Main Index | Thread Index | Old Index