pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat chat: Import srain.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15a9d0d68d1e
branches:  trunk
changeset: 414532:15a9d0d68d1e
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 30 09:11:53 2020 +0000

description:
chat: Import srain.

Srain is a modern IRC client written in GTK.

Features
========

- Fully open source
- RFC {1459,2812} compatible
- Partial IRCv3 support
- Multi-platform support
- Act like modern IM client
  - Graphical user interface
  - Convenient connection panel
  - Interactive channel search
  - Forward message in one click
  - URL preview
  - Desktop notificaion
  - Special optimization for bridge/relay bot
- Act like geek IRC client
  - Anything can be done via commands
  - Fine-grained configuration with hot update support
  - Regex based message render and filter mechanisms
  - IPC based plugin system (TODO)

diffstat:

 chat/Makefile                          |   3 +-
 chat/srain/DESCR                       |  22 +++++++++++++++++
 chat/srain/Makefile                    |  43 ++++++++++++++++++++++++++++++++++
 chat/srain/PLIST                       |  14 +++++++++++
 chat/srain/distinfo                    |   7 +++++
 chat/srain/patches/patch-data_Makefile |  15 +++++++++++
 6 files changed, 103 insertions(+), 1 deletions(-)

diffs (138 lines):

diff -r 97674f443abb -r 15a9d0d68d1e chat/Makefile
--- a/chat/Makefile     Mon Mar 30 08:53:42 2020 +0000
+++ b/chat/Makefile     Mon Mar 30 09:11:53 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.244 2020/03/13 11:57:37 nia Exp $
+# $NetBSD: Makefile,v 1.245 2020/03/30 09:11:53 nia Exp $
 #
 
 COMMENT=       Communication programs
@@ -115,6 +115,7 @@
 SUBDIR+=       sirc
 SUBDIR+=       skypeweb-purple
 SUBDIR+=       spectrum
+SUBDIR+=       srain
 SUBDIR+=       swift
 SUBDIR+=       telegram-purple
 SUBDIR+=       telepathy-farstream
diff -r 97674f443abb -r 15a9d0d68d1e chat/srain/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/srain/DESCR  Mon Mar 30 09:11:53 2020 +0000
@@ -0,0 +1,22 @@
+Srain is a modern IRC client written in GTK.
+
+Features
+========
+
+- Fully open source
+- RFC {1459,2812} compatible
+- Partial IRCv3 support
+- Multi-platform support
+- Act like modern IM client
+  - Graphical user interface
+  - Convenient connection panel
+  - Interactive channel search
+  - Forward message in one click
+  - URL preview
+  - Desktop notificaion
+  - Special optimization for bridge/relay bot
+- Act like geek IRC client
+  - Anything can be done via commands
+  - Fine-grained configuration with hot update support
+  - Regex based message render and filter mechanisms
+  - IPC based plugin system (TODO)
diff -r 97674f443abb -r 15a9d0d68d1e chat/srain/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/srain/Makefile       Mon Mar 30 09:11:53 2020 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2020/03/30 09:11:53 nia Exp $
+
+DISTNAME=      srain-1.0.1
+CATEGORIES=    chat
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=SrainApp/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://srain.im/
+COMMENT=       Modern IRC client written in GTK
+LICENSE=       gnu-gpl-v3
+
+HAS_CONFIGURE= yes
+
+USE_TOOLS+=    pkg-config gmake
+USE_TOOLS+=    msgfmt msgmerge xgettext
+
+CONFIGURE_ARGS+=       --prefix=${PREFIX}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --disable-debug
+
+BUILD_TARGET=  default
+
+MAKE_FLAGS+=   MAKE=${GMAKE:Q}
+MAKE_FLAGS+=   INSTALL=${INSTALL:Q}
+
+AUTO_MKDIRS=   yes
+
+OWN_DIRS+=     ${PKG_SYSCONFDIR}/srain
+
+CONF_FILES+=   share/examples/srain/builtin.cfg \
+               ${PKG_SYSCONFDIR}/srain/builtin.cfg
+
+# XXX xgettext: unknown option -- package-name=Srain
+_TOOLS_USE_PKGSRC.xgettext=    yes
+
+.include "../../devel/libconfig/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../net/libsoup/buildlink3.mk"
+.include "../../security/libsecret/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 97674f443abb -r 15a9d0d68d1e chat/srain/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/srain/PLIST  Mon Mar 30 09:11:53 2020 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/30 09:11:53 nia Exp $
+bin/srain
+share/applications/im.srain.Srain.desktop
+share/examples/srain/builtin.cfg
+share/icons/hicolor/scalable/apps/im.srain.Srain.png
+share/locale/nl/LC_MESSAGES/srain.mo
+share/locale/ru/LC_MESSAGES/srain.mo
+share/locale/zh_CN/LC_MESSAGES/srain.mo
+share/metainfo/im.srain.Srain.appdata.xml
+share/srain/themes/bubble.css
+share/srain/themes/default-bubble-dark.css
+share/srain/themes/default-bubble.css
+share/srain/themes/default-min.css
+share/srain/themes/reset.css
diff -r 97674f443abb -r 15a9d0d68d1e chat/srain/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/srain/distinfo       Mon Mar 30 09:11:53 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/03/30 09:11:53 nia Exp $
+
+SHA1 (srain-1.0.1.tar.gz) = 8b1b4628e0a404defe74f1656f9877e047f652a4
+RMD160 (srain-1.0.1.tar.gz) = 21c2eccaeffc4edc5191ea1c3e9702bb486e434b
+SHA512 (srain-1.0.1.tar.gz) = e6a878f804b8188affb088dd113aab7fc28c03ff1c46c28f9dabe6559d0a4d182f91a10a9d56e021bbee294bb4048ffc5e8209d3661fba0e6cdf37d4bf30280e
+Size (srain-1.0.1.tar.gz) = 938233 bytes
+SHA1 (patch-data_Makefile) = 9330228df6a9648c332417a2658417a8ed445499
diff -r 97674f443abb -r 15a9d0d68d1e chat/srain/patches/patch-data_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/srain/patches/patch-data_Makefile    Mon Mar 30 09:11:53 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-data_Makefile,v 1.1 2020/03/30 09:11:53 nia Exp $
+
+Install config files to examples.
+
+--- data/Makefile.orig 2019-10-07 15:01:52.000000000 +0000
++++ data/Makefile
+@@ -21,7 +21,7 @@ $(RES): srain.gresource.xml $(GLADES) $(
+ 
+ .PHONY: config
+ config: builtin.cfg
+-      $(INSTALL) -Dm644 "$<" "$(DESTDIR)$(PACKAGE_CONFIG_DIR)/$(PACKAGE)/$<"
++      $(INSTALL) -Dm644 "$<" "$(DESTDIR)$(PREFIX)/share/examples/srain/$<"
+ 
+ .PHONY: icons
+ icons: icons/scalable/srain.png



Home | Main Index | Thread Index | Old Index