From: dataCobra <dataCobra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ruby-tmuxinator: update to 3.1.2 and let it work with tmux 3.4
Date: Mon, 11 Mar 2024 18:38:49 +0100 [thread overview]
Message-ID: <20240311173849.D8CF52B71A@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48761@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
There is an updated pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages tmuxinator
https://github.com/void-linux/void-packages/pull/48761
ruby-tmuxinator: update to 3.1.2 and let it work with tmux 3.4
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
Also adopting the package.
A patch file from https://github.com/void-linux/void-packages/pull/48761.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tmuxinator-48761.patch --]
[-- Type: text/x-diff, Size: 5813 bytes --]
From 8a7da9695eca6f7b3b5aee7970d9b21cf4f9a71f Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Mon, 11 Mar 2024 18:38:15 +0100
Subject: [PATCH 1/2] ruby-tmuxinator: update to 3.1.2.
---
srcpkgs/ruby-tmuxinator/INSTALL.msg | 8 ++++++
srcpkgs/ruby-tmuxinator/patches/xdg.patch | 34 +++++++++++------------
srcpkgs/ruby-tmuxinator/template | 10 +++----
3 files changed, 30 insertions(+), 22 deletions(-)
create mode 100644 srcpkgs/ruby-tmuxinator/INSTALL.msg
diff --git a/srcpkgs/ruby-tmuxinator/INSTALL.msg b/srcpkgs/ruby-tmuxinator/INSTALL.msg
new file mode 100644
index 00000000000000..ec02ade6435f96
--- /dev/null
+++ b/srcpkgs/ruby-tmuxinator/INSTALL.msg
@@ -0,0 +1,8 @@
+Thank you for installing tmuxinator.
+
+Make sure that you've set these variables in your ENV:
+
+ $EDITOR, $SHELL
+
+You can run `tmuxinator doctor` to make sure everything is set.
+Happy tmuxing with tmuxinator!
diff --git a/srcpkgs/ruby-tmuxinator/patches/xdg.patch b/srcpkgs/ruby-tmuxinator/patches/xdg.patch
index 034a6b2bc1ee7a..07108816a60338 100644
--- a/srcpkgs/ruby-tmuxinator/patches/xdg.patch
+++ b/srcpkgs/ruby-tmuxinator/patches/xdg.patch
@@ -1,5 +1,5 @@
-diff --git a/lib/tmuxinator/config.rb b/lib/tmuxinator/config.rb
-index 25620bf..fcc61a3 100644
+diff --git a/ruby-tmuxinator-3.1.1/lib/tmuxinator/config.rb b/config.rb
+index d14eb9a17a5..d4eccaa36b0 100644
--- a/lib/tmuxinator/config.rb
+++ b/lib/tmuxinator/config.rb
@@ -29,7 +29,7 @@ module Tmuxinator
@@ -9,42 +9,42 @@ index 25620bf..fcc61a3 100644
- XDG["CONFIG"].to_s + "/tmuxinator"
+ XDG::Config.new.home.to_s + "/tmuxinator"
end
-
+
def xdg?
-diff --git a/spec/lib/tmuxinator/config_spec.rb b/spec/lib/tmuxinator/config_spec.rb
-index 71b8da2..d28a60a 100644
+diff --git a/ruby-tmuxinator-3.1.1/spec/lib/tmuxinator/config_spec.rb b/config_spec.rb
+index 09ab25f8831..9e971e0a414 100644
--- a/spec/lib/tmuxinator/config_spec.rb
+++ b/spec/lib/tmuxinator/config_spec.rb
@@ -53,7 +53,8 @@ describe Tmuxinator::Config do
-
+
Dir.mktmpdir do |dir|
- config_parent = "#{dir}/non_existant_parent/s"
+ config_parent = "#{dir}/non_existent_parent/s"
- allow(XDG).to receive(:[]).with("CONFIG").and_return config_parent
+ allow(XDG::Config).to receive_message_chain(:new, :home, :to_s).
-+ and_return config_parent
++ and_return config_parent
expect(described_class.directory).
to eq "#{config_parent}/tmuxinator"
expect(File.directory?("#{config_parent}/tmuxinator")).to be true
@@ -134,7 +135,8 @@ describe Tmuxinator::Config do
-
+
describe "#xdg" do
it "is $XDG_CONFIG_HOME/tmuxinator" do
- expect(described_class.xdg).to eq "#{XDG['CONFIG_HOME']}/tmuxinator"
-+ config_home = XDG::Config.new.home.to_s
-+ expect(described_class.xdg).to eq "#{config_home}/tmuxinator"
++ config_home = XDG::Config.new.home.to_s
++ expect(described_class.xdg).to eq "#{config_home}/tmuxinator"
end
end
-
-diff --git a/tmuxinator.gemspec b/tmuxinator.gemspec
-index 1b02053..3f4c8f8 100644
+
+diff --git a/ruby-tmuxinator-3.1.1/tmuxinator.gemspec b/tmuxinator.gemspec
+index df933d888e2..f8e9fe71d4e 100644
--- a/tmuxinator.gemspec
+++ b/tmuxinator.gemspec
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
-
+
s.add_dependency "erubis", "~> 2.6"
- s.add_dependency "thor", "~> 1.2.1"
+ s.add_dependency "thor", "~> 1.3.0"
- s.add_dependency "xdg", "~> 2.2", ">= 2.2.5"
+ s.add_dependency "xdg", ">= 4.3.0"
-
+
s.add_development_dependency "activesupport", "< 5.0.0" # Please see issue #432
s.add_development_dependency "awesome_print", "~> 1.2"
diff --git a/srcpkgs/ruby-tmuxinator/template b/srcpkgs/ruby-tmuxinator/template
index 092a44eb8620cc..11ac45d829666f 100644
--- a/srcpkgs/ruby-tmuxinator/template
+++ b/srcpkgs/ruby-tmuxinator/template
@@ -1,16 +1,16 @@
# Template file for 'ruby-tmuxinator'
pkgname=ruby-tmuxinator
-version=3.0.5
-revision=2
+version=3.1.2
+revision=1
build_style=gemspec
-depends="ruby-erubis>=2.6 ruby-thor>=1.2.1 ruby-xdg>=4.3.0 tmux"
+depends="ruby-erubis>=2.6 ruby-thor>=1.3.0 ruby-xdg>=4.3.0 tmux"
short_desc="Create and manage complex tmux sessions easily"
-maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
+maintainer="dataCobra <datacobra@thinkbot.de>"
license="MIT"
homepage="https://github.com/tmuxinator/tmuxinator"
changelog="https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/CHANGELOG.md"
distfiles="https://github.com/tmuxinator/tmuxinator/archive/refs/tags/v${version}.tar.gz"
-checksum=f67296a0b600fb5d8e51bf8fc9f8376a887754fd74cd59b6a8d9c962ad8f80a4
+checksum=f173d3481f01ad6321e639fa07473715c5f2210dad4b073bd0d1d87087f80785
post_install() {
vlicense LICENSE
From a69d12b31e6baa1233fc07c73e05b19687a9c308 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Mon, 11 Mar 2024 18:38:35 +0100
Subject: [PATCH 2/2] ruby-thor: update to 1.3.1.
---
srcpkgs/ruby-thor/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/ruby-thor/template b/srcpkgs/ruby-thor/template
index 85f4a52caeec9b..ba00e4b5c1a829 100644
--- a/srcpkgs/ruby-thor/template
+++ b/srcpkgs/ruby-thor/template
@@ -1,13 +1,13 @@
# Template file for 'ruby-thor'
pkgname=ruby-thor
-version=1.2.1
-revision=2
+version=1.3.1
+revision=1
build_style=gem
short_desc="Toolkit for building powerful command-line interfaces"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://whatisthor.com/"
-checksum=b1752153dc9c6b8d3fcaa665e9e1a00a3e73f28da5e238b81c404502e539d446
+checksum=fa7e3471d4f6a27138e3d9c9b0d4daac9c3d7383927667ae83e9ab42ae7401ef
post_install() {
vlicense LICENSE.md
next prev parent reply other threads:[~2024-03-11 17:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 12:14 [PR PATCH] ruby-tmuxinator: update to 3.1.1 dataCobra
2024-02-20 10:22 ` [PR PATCH] [Updated] " dataCobra
2024-02-23 9:02 ` [PR PATCH] [Updated] ruby-tmuxinator: update to 3.1.2 and let it work with tmux 3.4 dataCobra
2024-03-11 17:38 ` dataCobra [this message]
2024-03-24 18:07 ` [PR REVIEW] " classabbyamp
2024-03-24 19:39 ` dataCobra
2024-03-30 7:01 ` [PR PATCH] [Updated] " dataCobra
2024-03-30 7:02 ` [PR REVIEW] " dataCobra
2024-03-30 7:05 ` dataCobra
2024-05-07 17:20 ` [PR PATCH] [Updated] " dataCobra
2024-05-07 17:22 ` ruby-tmuxinator: update to 3.2.0 " dataCobra
2024-05-07 17:31 ` [PR REVIEW] " classabbyamp
2024-05-07 17:48 ` dataCobra
2024-05-07 18:10 ` classabbyamp
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=20240311173849.D8CF52B71A@inbox.vuxu.org \
--to=datacobra@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).