From 42bdf4a3ee0ad23b4eaf5e1b6a7e61a1f999d879 Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 5 May 2021 12:56:41 +0200 Subject: dodal podporo za priponke in debian --- debian/README.Debian | 17 +++++++++++++++++ debian/changelog | 38 ++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 16 ++++++++++++++++ debian/copyright | 10 ++++++++++ debian/discord.c.substvars | 3 +++ debian/files | 3 +++ debian/patches/series | 1 + debian/rules | 4 ++++ debian/source/format | 1 + debian/source/local-options | 2 ++ debian/watch | 2 ++ 12 files changed, 98 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/discord.c.substvars create mode 100644 debian/files create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/local-options create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..b23ea1f --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,17 @@ +discord.c for Debian + +an alternative client for the discord messaging platform, written in the C programming language. + +makes use of libncursesw6, libcurl4-openssl-dev, libcjson-dev + +reads email and password from arguments -e and -p to command discord.c or from environment variables DC_E and DC_P + +after launching program, start the network thread with command /n 1 - that logs you in and fetches guilds and channels + +join a channel with /join, list channels with /channels, list guilds with /guilds + +send text with enter key + +you can /join and /unjoin many channels, then switch with [TAB] to which channel you will send messages. + + -- Anton Luka Šijanec Mon, 22 Mar 2021 19:45:04 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dd8fc35 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,38 @@ +discord.c (0.0.3-0) stable; urgency=low + + * added support for attachment viewing as links + + -- Anton Luka Šijanec Wed, 05 May 2021 12:50:00 +0200 + +discord.c (0.0.2-2) stable; urgency=low + + * fixed debian source distribution + + -- Anton Luka Šijanec Sun, 04 Apr 2021 14:00:00 +0200 + +discord.c (0.0.2-1) stable; urgency=low + + * added direct messaging support as a virtual guild 0 + + -- Anton Luka Šijanec Thu, 25 Mar 2021 22:10:00 +0100 + +discord.c (0.0.1-1) stable; urgency=low + + * multichannel support (use /join and /leave, [TAB] key to switch channels you + send to) + * now ui says to turn on networking thread with /n 1 when it's off and no + channels are joined (start of the program) + fixed bugs: + * when name of channel/user in text chat log contains an unicode character, + %08.8s obviously misses. this is now fixed by moving cursor directly (: + + (small bug detected after release: no focused channel when leaving focused + channel, use [TAB] to fix (; ) + + -- Anton Luka Šijanec Mon, 22 Mar 2021 19:45:00 +0100 + +discord.c (0.0.0-1) stable; urgency=low + + * Initial proof of concept release. + + -- Anton Luka Šijanec Thu, 18 Mar 2021 18:23:04 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a660ede --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: discord.c +Section: utils +Priority: optional +Maintainer: Anton Luka Šijanec +Build-Depends: debhelper (>=11~), + libcjson-dev, + libcurl4-openssl-dev, + libncursesw6 +Standards-Version: 4.1.4 +Homepage: https://git.sijanec.eu/sijanec/discord.c + +Package: discord.c +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: a lightweight chat client that connects to the discord.com chatting platform diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bd9b7a2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,10 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: discord.c +Source: +# +# Please double check copyright with the licensecheck(1) command. + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. +Anton Luka Šijanec 2021 diff --git a/debian/discord.c.substvars b/debian/discord.c.substvars new file mode 100644 index 0000000..939d5bd --- /dev/null +++ b/debian/discord.c.substvars @@ -0,0 +1,3 @@ +shlibs:Depends=libc6 (>= 2.14), libcjson1 (>= 1.7.5), libcurl4 (>= 7.16.2), libncursesw6 (>= 6), libtinfo6 (>= 6) +misc:Depends= +misc:Pre-Depends= diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..428f52a --- /dev/null +++ b/debian/files @@ -0,0 +1,3 @@ +discord.c-dbgsym_0.0.2-2_amd64.deb debug optional automatic=yes +discord.c_0.0.2-2_amd64.buildinfo utils optional +discord.c_0.0.2-2_amd64.deb utils optional diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4f2c774 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f +%: + dh $@ + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit v1.2.3