Github messages for voidlinux
 help / color / mirror / Atom feed
From: shubham-cpp <shubham-cpp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: xplr-0.14.2
Date: Wed, 23 Jun 2021 05:38:39 +0200	[thread overview]
Message-ID: <20210623033839.YQTFcnM8O3wDjc5ovxsbXnz26MALpixrdSZYSnLMafk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31606@inbox.vuxu.org>

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

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

https://github.com/shubham-cpp/void-packages support_xplr
https://github.com/void-linux/void-packages/pull/31606

New packages: xplr-0.14.2
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

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

From 4378939c469889a684182061845fe24d23ca5f83 Mon Sep 17 00:00:00 2001
From: Shubham Pawar <shubhampawar3007@gmail.com>
Date: Tue, 22 Jun 2021 12:24:24 +0530
Subject: [PATCH 1/2] Minimalistic X11 color picker written is Rust

---
 srcpkgs/xcolor/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/xcolor/template

diff --git a/srcpkgs/xcolor/template b/srcpkgs/xcolor/template
new file mode 100644
index 000000000000..8ff7421e540f
--- /dev/null
+++ b/srcpkgs/xcolor/template
@@ -0,0 +1,25 @@
+# Template file for 'xcolor'
+pkgname=xcolor
+version=0.5.0
+revision=1
+archs="x86_64"
+wrksrc=${pkgname}
+build_style=cargo
+makedepends="libxcb-devel libX11-devel libXcursor-devel libXrender-devel"
+hostmakedepends="rust python3 git pkg-config"
+short_desc="Lightweight color picker for X11 written in Rust"
+maintainer="Shubham Pawar <shubhampawar3007@gmail.com>"
+license="MIT"
+homepage="https://github.com/Soft/xcolor"
+# distfiles="https://github.com/Soft/xcolor/archive/${version}.tar.gz"
+checksum=35e8eaadeb53d77f90869af4e97bd2253a73f438624c7ce6ee7156d12bb83fce
+
+do_fetch() {
+    git clone https://github.com/Soft/xcolor.git ${wrksrc}
+}
+
+post_install() {
+    vman man/xcolor.1
+    vinstall extra/xcolor.desktop 644 usr/share/applications
+    vlicense LICENSE
+}

From b9b4797a27a52464b9d5a4d2547df67e5a27225d Mon Sep 17 00:00:00 2001
From: Shubham Pawar <shubhampawar3007@gmail.com>
Date: Tue, 22 Jun 2021 12:41:55 +0530
Subject: [PATCH 2/2] New packages: xplr-0.14.2

Removed do_fetch() and now using xbps-src distfiles.
---
 srcpkgs/xplr/README.md |  9 +++++++++
 srcpkgs/xplr/template  | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/xplr/README.md
 create mode 100644 srcpkgs/xplr/template

diff --git a/srcpkgs/xplr/README.md b/srcpkgs/xplr/README.md
new file mode 100644
index 000000000000..b31daee5e4cb
--- /dev/null
+++ b/srcpkgs/xplr/README.md
@@ -0,0 +1,9 @@
+# Usage
+```bash
+# Create a xplr config dir if doesn't exists already
+mkdir -p ~/.config/xplr
+# Copy an example config file
+cp /usr/share/examples/xplr/init.lua ~/.config/xplr
+# Now run the program itself
+xplr
+```
diff --git a/srcpkgs/xplr/template b/srcpkgs/xplr/template
new file mode 100644
index 000000000000..62b31a810ab6
--- /dev/null
+++ b/srcpkgs/xplr/template
@@ -0,0 +1,37 @@
+# Template file for 'xplr'
+pkgname=xplr
+version=0.14.2
+revision=1
+archs="i686* x86_64*"
+hostmakedepends="tar"
+makedepends="libgcc-devel"
+short_desc="Hackable, minimal, fast TUI file explorer written in Rust"
+maintainer="Shubham Pawar <shubhampawar3007@gmail.com>"
+license="MIT"
+homepage="https://github.com/sayanarijit/xplr"
+distfiles="${homepage}/releases/download/v${version}/${pkgname}-linux.tar.gz
+	${homepage}/raw/v${version}/LICENSE
+	${homepage}/raw/v${version}/README.md
+	${homepage}/raw/v${version}/src/init.lua
+	${homepage}/raw/v${version}/assets/desktop/${pkgname}.desktop"
+
+checksum="39686ea1cdd1803ed334b19700c59e2e9b2294a28a585f2420b1f8fdfddf33b4
+ 393e9f5a12c614e476ff7067b3fd330dc63304e92d6c3762fa9120cedc7e6b9c
+ bad22089fb474285b73037a069dcbc54432242f97264544c8b368f2763a9772b
+ 1366bbea16fcc66c99f0ab2b11f65ec1a0d8e97b38294f5b3c6c64b1e6667dd4
+ f71844576ef72820b9baddd34c49a04e1f0655dcc88c693eb509589907bdf86f"
+
+tags="file-manager rust"
+
+do_extract() {
+	tar fxz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-linux.tar.gz
+}
+
+do_install() {
+	vbin xplr
+	cd ${XBPS_SRCDISTDIR}/${pkgname}-${version}
+	vdoc README.md
+	vsconf init.lua
+	vlicense LICENSE
+	vinstall ${pkgname}.desktop 644 /usr/share/applications
+}

  parent reply	other threads:[~2021-06-23  3:38 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22  7:14 [PR PATCH] " shubham-cpp
2021-06-22 11:54 ` [PR REVIEW] " biopsin
2021-06-22 11:56 ` biopsin
2021-06-22 14:38 ` Vaelatern
2021-06-22 14:57 ` [PR REVIEW] " shubham-cpp
2021-06-22 15:01 ` shubham-cpp
2021-06-22 15:10 ` shubham-cpp
2021-06-22 15:16 ` Vaelatern
2021-06-22 15:42 ` shubham-cpp
2021-06-22 15:51 ` Vaelatern
2021-06-23  3:33 ` [PR PATCH] [Updated] " shubham-cpp
2021-06-23  3:38 ` shubham-cpp [this message]
2021-06-23  3:46 ` shubham-cpp
2021-06-23  4:05 ` Vaelatern
2021-06-23  4:24 ` shubham-cpp
2021-06-23  6:06 ` [PR PATCH] [Updated] " shubham-cpp
2021-06-23  6:10 ` shubham-cpp
2021-06-23 16:05 ` Vaelatern
2021-06-23 16:32 ` [PR REVIEW] " biopsin
2021-06-23 16:46 ` shubham-cpp
2021-06-23 17:09 ` Vaelatern
2021-06-23 17:10 ` Vaelatern
2021-06-23 18:01 ` shubham-cpp
2021-06-23 18:03 ` ericonr
2021-06-23 18:20 ` shubham-cpp
2021-06-23 18:21 ` [PR PATCH] [Closed]: " shubham-cpp

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=20210623033839.YQTFcnM8O3wDjc5ovxsbXnz26MALpixrdSZYSnLMafk@z \
    --to=shubham-cpp@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).