Github messages for voidlinux
 help / color / mirror / Atom feed
From: Sarkasper <Sarkasper@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: GPXSee-7.36
Date: Wed, 13 Jan 2021 15:34:55 +0100	[thread overview]
Message-ID: <20210113143455.FS9GaqoyLS1iwb1BzGGKaUWVBEZxzHD2AOgpdJniCao@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26675@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

There is an updated pull request by Sarkasper against master on the void-packages repository

https://github.com/Sarkasper/void-packages GPXSee
https://github.com/void-linux/void-packages/pull/26675

New package: GPXSee-7.36
Only tested on x86_64 and x86_64-musl

A patch file from https://github.com/void-linux/void-packages/pull/26675.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-GPXSee-26675.patch --]
[-- Type: text/x-diff, Size: 9898 bytes --]

From 57b917f695513b07f4d5bd9e5c8a6468521016dd Mon Sep 17 00:00:00 2001
From: K M J <Sarkasper@users.noreply.github.com>
Date: Tue, 24 Nov 2020 12:25:10 +0100
Subject: [PATCH] New package: GPXSee-7.36

---
 srcpkgs/GPXSee/template                       | 14 ++++
 srcpkgs/lite/patches/lite-path-fix.patch      | 73 +++++++++++++++++++
 srcpkgs/lite/template                         | 22 ++++++
 srcpkgs/plasma-applet-window-appmenu/template | 22 ++++++
 srcpkgs/plasma-applet-window-buttons/template | 22 ++++++
 srcpkgs/radiotray-ng/template                 | 22 ++++++
 srcpkgs/rmlint/patches/444.patch              | 23 ++++++
 7 files changed, 198 insertions(+)
 create mode 100644 srcpkgs/GPXSee/template
 create mode 100644 srcpkgs/lite/patches/lite-path-fix.patch
 create mode 100644 srcpkgs/lite/template
 create mode 100644 srcpkgs/plasma-applet-window-appmenu/template
 create mode 100644 srcpkgs/plasma-applet-window-buttons/template
 create mode 100644 srcpkgs/radiotray-ng/template
 create mode 100644 srcpkgs/rmlint/patches/444.patch

diff --git a/srcpkgs/GPXSee/template b/srcpkgs/GPXSee/template
new file mode 100644
index 00000000000..46063334552
--- /dev/null
+++ b/srcpkgs/GPXSee/template
@@ -0,0 +1,14 @@
+# Template file for 'GPXSee'
+pkgname=GPXSee
+version=7.36
+revision=1
+build_style=qmake
+hostmakedepends="qt5-qmake qt5-host-tools"
+makedepends="qt5-tools-devel"
+depends="qt5-imageformats"
+short_desc="GPS log file viewer and analyzer"
+maintainer="ghost <gh0st@vivaldi.net>"
+license="GPL-3.0-only"
+homepage="https://www.gpxsee.org/"
+distfiles="https://github.com/tumic0/${pkgname}/archive/${version}.tar.gz"
+checksum=ef64ce9b6202efb6f2457f0d0b04e429d8412e559db1082e61290501b9d79bbf
diff --git a/srcpkgs/lite/patches/lite-path-fix.patch b/srcpkgs/lite/patches/lite-path-fix.patch
new file mode 100644
index 00000000000..5087bc267c5
--- /dev/null
+++ b/srcpkgs/lite/patches/lite-path-fix.patch
@@ -0,0 +1,73 @@
+Upstream Issue: https://github.com/rxi/lite/issues/49
+
+(Patch adapted from Alpine Linux, updated for 1.06)
+
+diff --git a/data/core/commands/core.lua b/data/core/commands/core.lua
+index 5c9d622..568f0ef 100644
+--- a/data/core/commands/core.lua
++++ b/data/core/commands/core.lua
+@@ -85,7 +85,7 @@ command.add(nil, {
+   end,
+ 
+   ["core:open-user-module"] = function()
+-    core.root_view:open_doc(core.open_doc(EXEDIR .. "/data/user/init.lua"))
++    core.root_view:open_doc(core.open_doc("/usr/share/lite/user/init.lua"))
+   end,
+ 
+   ["core:open-project-module"] = function()
+diff --git a/data/core/init.lua b/data/core/init.lua
+index a25cdb5..3bea486 100644
+--- a/data/core/init.lua
++++ b/data/core/init.lua
+@@ -150,7 +150,7 @@ end
+ 
+ function core.load_plugins()
+   local no_errors = true
+-  local files = system.list_dir(EXEDIR .. "/data/plugins")
++  local files = system.list_dir("/usr/share/lite/plugins")
+   for _, filename in ipairs(files) do
+     local modname = "plugins." .. filename:gsub(".lua$", "")
+     local ok = core.try(require, modname)
+@@ -421,7 +421,7 @@ end
+ 
+ function core.on_error(err)
+   -- write error to file
+-  local fp = io.open(EXEDIR .. "/error.txt", "wb")
++  local fp = io.open("/tmp/lite-editor-error.txt", "wb")
+   fp:write("Error: " .. tostring(err) .. "\n")
+   fp:write(debug.traceback(nil, 4))
+   fp:close()
+diff --git a/data/core/style.lua b/data/core/style.lua
+index ab597c2..23b551f 100644
+--- a/data/core/style.lua
++++ b/data/core/style.lua
+@@ -7,10 +7,10 @@ style.scrollbar_size = common.round(4 * SCALE)
+ style.caret_width = common.round(2 * SCALE)
+ style.tab_width = common.round(170 * SCALE)
+ 
+-style.font = renderer.font.load(EXEDIR .. "/data/fonts/font.ttf", 14 * SCALE)
+-style.big_font = renderer.font.load(EXEDIR .. "/data/fonts/font.ttf", 34 * SCALE)
+-style.icon_font = renderer.font.load(EXEDIR .. "/data/fonts/icons.ttf", 14 * SCALE)
+-style.code_font = renderer.font.load(EXEDIR .. "/data/fonts/monospace.ttf", 13.5 * SCALE)
++style.font = renderer.font.load("/usr/share/lite/fonts/font.ttf", 14 * SCALE)
++style.big_font = renderer.font.load("/usr/share/lite/fonts/font.ttf", 34 * SCALE)
++style.icon_font = renderer.font.load("/usr/share/lite/fonts/icons.ttf", 14 * SCALE)
++style.code_font = renderer.font.load("/usr/share/lite/fonts/monospace.ttf", 13.5 * SCALE)
+ 
+ style.background = { common.color "#2e2e32" }
+ style.background2 = { common.color "#252529" }
+diff --git a/src/main.c b/src/main.c
+index c739f5f..0b796fa 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -119,8 +119,8 @@ int main(int argc, char **argv) {
+     "  SCALE = tonumber(os.getenv(\"LITE_SCALE\")) or SCALE\n"
+     "  PATHSEP = package.config:sub(1, 1)\n"
+     "  EXEDIR = EXEFILE:match(\"^(.+)[/\\\\].*$\")\n"
+-    "  package.path = EXEDIR .. '/data/?.lua;' .. package.path\n"
+-    "  package.path = EXEDIR .. '/data/?/init.lua;' .. package.path\n"
++    "  package.path = '/usr/share/lite/?.lua;' .. package.path\n"
++    "  package.path = '/usr/share/lite/?/init.lua;' .. package.path\n"
+     "  core = require('core')\n"
+     "  core.init()\n"
+     "  core.run()\n"
diff --git a/srcpkgs/lite/template b/srcpkgs/lite/template
new file mode 100644
index 00000000000..f0d393c49a7
--- /dev/null
+++ b/srcpkgs/lite/template
@@ -0,0 +1,22 @@
+# Template file for 'lite'
+pkgname=lite
+version=1.11
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends=""
+short_desc="Lightweight text editor written in Lua"
+maintainer="ghost <gh0st@vivaldi.net>"
+license="MIT"
+homepage="https://github.com/rxi/lite"
+distfiles="https://github.com/rxi/${pkgname}/archive/v${version}.tar.gz"
+checksum=2fd9466663182da56a36a557d05925d226dc1c5de6fb24e423a7b0056db2eec4
diff --git a/srcpkgs/plasma-applet-window-appmenu/template b/srcpkgs/plasma-applet-window-appmenu/template
new file mode 100644
index 00000000000..770b56dd1bf
--- /dev/null
+++ b/srcpkgs/plasma-applet-window-appmenu/template
@@ -0,0 +1,22 @@
+# Template file for 'plasma-applet-window-appmenu'
+pkgname=plasma-applet-window-appmenu
+version=0.6.0
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends=""
+short_desc="Plasma 5 applet in order to show the window appmenu"
+maintainer="ghost <gh0st@vivaldi.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/psifidotos/applet-window-appmenu"
+distfiles="https://github.com/psifidotos/applet-window-appmenu/archive/v0.6.0.tar.gz"
+checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb
diff --git a/srcpkgs/plasma-applet-window-buttons/template b/srcpkgs/plasma-applet-window-buttons/template
new file mode 100644
index 00000000000..19dc14da618
--- /dev/null
+++ b/srcpkgs/plasma-applet-window-buttons/template
@@ -0,0 +1,22 @@
+# Template file for 'plasma-applet-window-buttons'
+pkgname=plasma-applet-window-buttons
+version=0.8.1
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends=""
+short_desc="Plasma 5 applet in order to show window buttons in your panels"
+maintainer="ghost <gh0st@vivaldi.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/psifidotos/applet-window-buttons"
+distfiles="https://github.com/psifidotos/applet-window-buttons/archive/0.8.1.tar.gz"
+checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb
diff --git a/srcpkgs/radiotray-ng/template b/srcpkgs/radiotray-ng/template
new file mode 100644
index 00000000000..b4fbc4c5f4e
--- /dev/null
+++ b/srcpkgs/radiotray-ng/template
@@ -0,0 +1,22 @@
+# Template file for 'radiotray-ng'
+pkgname=radiotray-ng
+version=0.2.7
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends=""
+short_desc="Internet radio player for Linux"
+maintainer="ghost <gh0st@vivaldi.net>"
+license="GPL-3.0-only"
+homepage="https://github.com/ebruck/radiotray-ng"
+distfiles="https://github.com/ebruck/${pkgname}/archive/v${version}.tar.gz"
+checksum=0ee5459ea49cc78e4cdf2399061c0caf352d8a963c67a7e99c6cc81bb47288d3
diff --git a/srcpkgs/rmlint/patches/444.patch b/srcpkgs/rmlint/patches/444.patch
new file mode 100644
index 00000000000..889819b3e3f
--- /dev/null
+++ b/srcpkgs/rmlint/patches/444.patch
@@ -0,0 +1,23 @@
+From fc26e889e42602d96226514b65c33c06c47ecd99 Mon Sep 17 00:00:00 2001
+From: Chris Baker <ChrisBaker97@users.noreply.github.com>
+Date: Thu, 12 Nov 2020 13:54:17 -0500
+Subject: [PATCH] cfg.c: fix bug introduced in 2.10.0
+
+This reversion back to the code from version `2.9.0` addresses #438. Obviously there is some functionality here that's being implemented that I'm not familiar enough with the project to understand, but hopefully this gives someone a head start in trying to track down the bug, while still keeping the intended new behavior.
+---
+ lib/cfg.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/cfg.c b/lib/cfg.c
+index 92b02136..e46756e2 100644
+--- lib/cfg.c
++++ lib/cfg.c
+@@ -109,7 +109,7 @@ guint rm_cfg_add_path(RmCfg *cfg, bool is_prefd, const char *path) {
+     int rc = 0;
+ 
+ #if HAVE_FACCESSAT
+-    rc = faccessat(AT_FDCWD, path, R_OK, AT_EACCESS|AT_SYMLINK_NOFOLLOW);
++    rc = faccessat(AT_FDCWD, path, R_OK, AT_EACCESS);
+ #else
+     rc = access(path, R_OK);
+ #endif

  parent reply	other threads:[~2021-01-13 14:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 12:27 [PR PATCH] " Sarkasper
2020-11-25 12:19 ` [PR PATCH] [Updated] " Sarkasper
2020-12-19  7:06 ` kawaiiamber
2020-12-19  7:39 ` kawaiiamber
2021-01-13 14:34 ` Sarkasper [this message]
2021-01-13 14:38 ` [PR PATCH] [Updated] " Sarkasper
2021-01-13 15:27 ` Sarkasper
2021-01-13 15:54 ` [PR PATCH] [Updated] " Sarkasper
2021-01-13 20:02 ` New package: GPXSee-8.1 kawaiiamber
2021-01-21 13:30 ` [PR PATCH] [Updated] " Sarkasper
2021-01-30 13:41 ` [PR PATCH] [Updated] New package: GPXSee-8.2 Sarkasper
2022-04-17 11:44 ` [PR PATCH] [Closed]: New package: GPXSee-8.3 0-st

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210113143455.FS9GaqoyLS1iwb1BzGGKaUWVBEZxzHD2AOgpdJniCao@z \
    --to=sarkasper@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).