pkgsrc-WIP-changes archive

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

Add srain.



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Tue Jan 28 18:44:42 2020 +0000
Changeset:	f24752d2305a04279ef3be01db75c650743b1418

Modified Files:
	Makefile
Added Files:
	srain/DESCR
	srain/Makefile
	srain/PLIST
	srain/TODO
	srain/distinfo
	srain/patches/patch-data_Makefile

Log Message:
Add 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)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f24752d2305a04279ef3be01db75c650743b1418

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

diffstat:
 Makefile                          |  1 +
 srain/DESCR                       | 22 ++++++++++++++++++++
 srain/Makefile                    | 43 +++++++++++++++++++++++++++++++++++++++
 srain/PLIST                       | 13 ++++++++++++
 srain/TODO                        |  3 +++
 srain/distinfo                    |  7 +++++++
 srain/patches/patch-data_Makefile | 15 ++++++++++++++
 7 files changed, 104 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e5114ff357..5e07f54759 100644
--- a/Makefile
+++ b/Makefile
@@ -4576,6 +4576,7 @@ SUBDIR+=	squirrelmail-avelsieve
 SUBDIR+=	squirrelmail-chg_sasl_passwd
 SUBDIR+=	squirrelmail-compatibility
 SUBDIR+=	squirrelmail-vlogin
+SUBDIR+=	srain
 SUBDIR+=	src
 SUBDIR+=	srecord
 SUBDIR+=	srvx
diff --git a/srain/DESCR b/srain/DESCR
new file mode 100644
index 0000000000..120eda314a
--- /dev/null
+++ b/srain/DESCR
@@ -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 --git a/srain/Makefile b/srain/Makefile
new file mode 100644
index 0000000000..f074bcb53c
--- /dev/null
+++ b/srain/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD$
+
+DISTNAME=	srain-1.0.0rc9999
+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 --git a/srain/PLIST b/srain/PLIST
new file mode 100644
index 0000000000..193a2b5272
--- /dev/null
+++ b/srain/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+bin/srain
+share/applications/im.srain.Srain.desktop
+share/examples/srain/builtin.cfg
+share/icons/hicolor/scalable/apps/im.srain.Srain.png
+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 --git a/srain/TODO b/srain/TODO
new file mode 100644
index 0000000000..372d607861
--- /dev/null
+++ b/srain/TODO
@@ -0,0 +1,3 @@
+Cannot connect to servers.
+
+"Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files"
diff --git a/srain/distinfo b/srain/distinfo
new file mode 100644
index 0000000000..ceba3da019
--- /dev/null
+++ b/srain/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (srain-1.0.0rc9999.tar.gz) = 6f4b097a3fffb33b8dc732cd3b14b6bbbe632a42
+RMD160 (srain-1.0.0rc9999.tar.gz) = be881ba7ee418fb3c0f46d5f1a8072829e7c7e4d
+SHA512 (srain-1.0.0rc9999.tar.gz) = c3c760f3a88e82a4716d7f2afd8436b99f0058ba546b45b38ea1b63cde348be492bac3f3c9301ac5a71c3e23e5db2046ff29e31cf47f2dfd803598f2f46c241e
+Size (srain-1.0.0rc9999.tar.gz) = 1015541 bytes
+SHA1 (patch-data_Makefile) = 9330228df6a9648c332417a2658417a8ed445499
diff --git a/srain/patches/patch-data_Makefile b/srain/patches/patch-data_Makefile
new file mode 100644
index 0000000000..44511fc983
--- /dev/null
+++ b/srain/patches/patch-data_Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+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