pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cool-retro-term: Import cool-retro-term-1.1.1 as wip/cool-retro-term-git
Module Name: pkgsrc-wip
Committed By: Paul Ripke <stix%stix.id.au@localhost>
Pushed By: stix
Date: Wed Jul 22 11:38:21 2020 +1000
Changeset: 59c31f54ef53fb06b426e35ff3e95ee4459e38fa
Modified Files:
Makefile
Added Files:
cool-retro-term-git/DESCR
cool-retro-term-git/Makefile
cool-retro-term-git/PLIST
cool-retro-term-git/distinfo
cool-retro-term-git/patches/patch-qmltermwidget_lib_kpty_cpp
Log Message:
cool-retro-term: Import cool-retro-term-1.1.1 as wip/cool-retro-term-git
cool-retro-term is a terminal emulator which mimics the look and feel
of the old cathode tube screens. It has been designed to be eye-candy,
customizable, and reasonably lightweight.
This should replace the broken package wip/cool-old-term-git.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59c31f54ef53fb06b426e35ff3e95ee4459e38fa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
cool-retro-term-git/DESCR | 3 ++
cool-retro-term-git/Makefile | 55 ++++++++++++++++++++++
cool-retro-term-git/PLIST | 48 +++++++++++++++++++
cool-retro-term-git/distinfo | 11 +++++
.../patches/patch-qmltermwidget_lib_kpty_cpp | 25 ++++++++++
6 files changed, 143 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index d8e0e40ce9..d74e556b3b 100644
--- a/Makefile
+++ b/Makefile
@@ -516,6 +516,7 @@ SUBDIR+= conkeror
SUBDIR+= consul
SUBDIR+= contacts
SUBDIR+= converttomp3
+SUBDIR+= cool-retro-term-git
SUBDIR+= cool-old-term-git
SUBDIR+= cops
SUBDIR+= copytape
diff --git a/cool-retro-term-git/DESCR b/cool-retro-term-git/DESCR
new file mode 100644
index 0000000000..161b0e9ba4
--- /dev/null
+++ b/cool-retro-term-git/DESCR
@@ -0,0 +1,3 @@
+cool-retro-term is a terminal emulator which mimics the look and feel
+of the old cathode tube screens. It has been designed to be eye-candy,
+customizable, and reasonably lightweight.
diff --git a/cool-retro-term-git/Makefile b/cool-retro-term-git/Makefile
new file mode 100644
index 0000000000..5a8fd93c1b
--- /dev/null
+++ b/cool-retro-term-git/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD$
+
+PKGNAME= cool-retro-term-1.1.1
+CATEGORIES= x11
+
+MAINTAINER= stix%stix.id.au@localhost
+HOMEPAGE= https://github.com/Swordfish90/cool-retro-term
+COMMENT= Terminal emulator which mimics old cathode display artifacts
+LICENSE= gnu-gpl-v3
+
+# For non-pkgsrc/wip:
+#MASTER_SITES= ${MASTER_SITE_GITHUB:=Swordfish90/}
+#TERM_TAG= 1.1.1
+#QMLTERMWIDGET_TAG= 0.2.0
+#DISTFILES+= ${TERM_TAG}.tar.gz
+#DISTFILES+= ${QMLTERMWIDGET_TAG}.tar.gz
+#DIST_SUBDIR= cool-retro-term
+#SITES.${TERM_TAG}.tar.gz= \
+# ${MASTER_SITE_GITHUB:=Swordfish90/cool-retro-term/archive/}
+#SITES.${QMLTERMWIDGET_TAG}.tar.gz= \
+# ${MASTER_SITE_GITHUB:=Swordfish90/qmltermwidget/archive/}
+#WRKSRC= ${WRKDIR}/cool-retro-term-${TERM_TAG}
+
+# For pkgsrc/wip:
+PKGREVISION=
+GIT_REPOSITORIES= cool-retro-term
+GIT_REPO.cool-retro-term= git://github.com/Swordfish90/cool-retro-term.git
+GIT_TAG.cool-retro-term= 1.1.1
+WRKSRC= ${WRKDIR}/cool-retro-term
+
+SUBST_CLASSES+= usrpath
+SUBST_STAGE.usrpath= pre-configure
+SUBST_FILES.usrpath+= app/app.pro
+SUBST_FILES.usrpath+= cool-retro-term.pro
+SUBST_SED.usrpath= -e "s|/usr/|/usr/pkg/|g"
+
+DEPENDS+= qt5-qtgraphicaleffects-[0-9]*:../../x11/qt5-qtgraphicaleffects
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= pax
+MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} sysconfdir=${PREFIX}/share
+
+# For non-pkgsrc/wip:
+#post-extract:
+# # Move git submodule into the correct location.
+# ${MV} ${WRKDIR}/qmltermwidget-${QMLTERMWIDGET_TAG}/* ${WRKSRC}/qmltermwidget/
+
+do-configure:
+ cd ${WRKSRC} && ${QTDIR}/bin/qmake
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
+.include "../../x11/qt5-qtquickcontrols/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cool-retro-term-git/PLIST b/cool-retro-term-git/PLIST
new file mode 100644
index 0000000000..70095788e9
--- /dev/null
+++ b/cool-retro-term-git/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD$
+bin/cool-retro-term
+qt5/qml/QMLTermWidget/QMLTermScrollbar.qml
+qt5/qml/QMLTermWidget/color-schemes/BlackOnLightYellow.schema
+qt5/qml/QMLTermWidget/color-schemes/BlackOnRandomLight.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/BlackOnWhite.schema
+qt5/qml/QMLTermWidget/color-schemes/BreezeModified.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/DarkPastels.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/GreenOnBlack.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/Linux.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/Solarized.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/SolarizedLight.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/Tango.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/Ubuntu.colorscheme
+qt5/qml/QMLTermWidget/color-schemes/WhiteOnBlack.schema
+qt5/qml/QMLTermWidget/color-schemes/cool-retro-term.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/BlackOnLightColor.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/DarkPicture.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/Example.Schema
+qt5/qml/QMLTermWidget/color-schemes/historic/GreenOnBlack.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/GreenTint.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/GreenTint_MC.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/LightPicture.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/Linux.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/README.Schema
+qt5/qml/QMLTermWidget/color-schemes/historic/README.default.Schema
+qt5/qml/QMLTermWidget/color-schemes/historic/Transparent.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/Transparent_MC.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/Transparent_darkbg.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/Transparent_lightbg.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/XTerm.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/syscolor.schema
+qt5/qml/QMLTermWidget/color-schemes/historic/vim.schema
+qt5/qml/QMLTermWidget/kb-layouts/README
+qt5/qml/QMLTermWidget/kb-layouts/default.keytab
+qt5/qml/QMLTermWidget/kb-layouts/historic/vt100.keytab
+qt5/qml/QMLTermWidget/kb-layouts/historic/x11r5.keytab
+qt5/qml/QMLTermWidget/kb-layouts/linux.keytab
+qt5/qml/QMLTermWidget/kb-layouts/macbook.keytab
+qt5/qml/QMLTermWidget/kb-layouts/solaris.keytab
+qt5/qml/QMLTermWidget/kb-layouts/vt420pc.keytab
+qt5/qml/QMLTermWidget/libqmltermwidget.so
+qt5/qml/QMLTermWidget/qmldir
+share/applications/cool-retro-term.desktop
+share/icons/hicolor/128x128/apps/cool-retro-term.png
+share/icons/hicolor/256x256/apps/cool-retro-term.png
+share/icons/hicolor/32x32/apps/cool-retro-term.png
+share/icons/hicolor/64x64/apps/cool-retro-term.png
diff --git a/cool-retro-term-git/distinfo b/cool-retro-term-git/distinfo
new file mode 100644
index 0000000000..9e8dc5d2a8
--- /dev/null
+++ b/cool-retro-term-git/distinfo
@@ -0,0 +1,11 @@
+$NetBSD$
+
+SHA1 (cool-retro-term/0.2.0.tar.gz) = 6bcea1306f1b11ef2132996e444568c7152a07e3
+RMD160 (cool-retro-term/0.2.0.tar.gz) = 984e6de13dc2dba4336762daad433be53ec4e71a
+SHA512 (cool-retro-term/0.2.0.tar.gz) = 544d57296de6999b86bf2b921d1d93ac5d7eddd02eea436df4ecea0966c82389e716310fd7e4d13dd918bc1b3fd2d02f953c713dc5b4abcfc56d3f3f617adf43
+Size (cool-retro-term/0.2.0.tar.gz) = 219516 bytes
+SHA1 (cool-retro-term/1.1.1.tar.gz) = 581809e75c70b42c6bac3e65f89428e79b5ff3b1
+RMD160 (cool-retro-term/1.1.1.tar.gz) = 61d6b1bd96a1c498638e414acef22a238940ff17
+SHA512 (cool-retro-term/1.1.1.tar.gz) = 59da4b5d18ad64b917caebbc63ea9e3d562ed2a2dc9eae00f36cf434df44d17adca084b448f860f24a74ee6b59cd083d6a81e2217df1fb5e9f2731eaf1752148
+Size (cool-retro-term/1.1.1.tar.gz) = 1975853 bytes
+SHA1 (patch-qmltermwidget_lib_kpty_cpp) = 10e9e9df943c372a4082865558c2125dce5761ad
diff --git a/cool-retro-term-git/patches/patch-qmltermwidget_lib_kpty_cpp b/cool-retro-term-git/patches/patch-qmltermwidget_lib_kpty_cpp
new file mode 100644
index 0000000000..8d02993f99
--- /dev/null
+++ b/cool-retro-term-git/patches/patch-qmltermwidget_lib_kpty_cpp
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- qmltermwidget/lib/kpty.cpp.orig 2018-11-25 08:06:16.000000000 +1100
++++ qmltermwidget/lib/kpty.cpp 2020-07-21 12:19:27.296908414 +1000
+@@ -27,11 +27,19 @@
+ #include <QtDebug>
+
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #define HAVE_LOGIN
+ #define HAVE_LIBUTIL_H
+ #endif
+
++#if defined(__NetBSD__)
++#define HAVE_LOGIN
++#define HAVE_UTIL_H
++#define HAVE_PTSNAME
++#define HAVE_UNLOCKPT
++#define HAVE_GRANTPT
++#endif
++
+ #if defined(__OpenBSD__)
+ #define HAVE_LOGIN
+ #define HAVE_UTIL_H
Home |
Main Index |
Thread Index |
Old Index