Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] sublime-text3: remove elf files from /usr/share
Date: Tue, 05 Jan 2021 20:28:05 +0100	[thread overview]
Message-ID: <20210105192805.40ESvQm73sS2IpoPxkTf7lcOa-n0CoyALJiZoq7kMgk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27394@inbox.vuxu.org>

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

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

https://github.com/abenson/void-packages subl3_fix_elfshare
https://github.com/void-linux/void-packages/pull/27394

sublime-text3: remove elf files from /usr/share
Closes #27344

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

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

From bb9f4cea0c73644affeef04ea152ac5b93f13c90 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Thu, 24 Dec 2020 00:09:10 -0600
Subject: [PATCH] sublime-text3: update to 3211.

---
 srcpkgs/sublime-text3/template | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/sublime-text3/template b/srcpkgs/sublime-text3/template
index e87de887ad0..c693768e6e4 100644
--- a/srcpkgs/sublime-text3/template
+++ b/srcpkgs/sublime-text3/template
@@ -1,11 +1,11 @@
 # Template file for 'sublime-text3'
 pkgname=sublime-text3
 version=3211
-revision=1
+revision=2
 depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
 short_desc="Sophisticated text editor for code, markup and prose"
 maintainer="Andrea Brancaleoni <miwaxe@pompel.me>"
-license="Propietary"
+license="custom:Proprietary"
 homepage="http://www.sublimetext.com/3dev"
 
 if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
@@ -23,12 +23,14 @@ nopie=yes
 
 do_install() {
 	vmkdir "usr/bin"
-	vmkdir "usr/share/sublime_text"
-	cp --preserve=mode -r ./* "${DESTDIR}/usr/share/sublime_text"
+	vmkdir "usr/lib/sublime_text"
+	cp --preserve=mode -r ./* "${DESTDIR}/usr/lib/sublime_text"
 	vinstall "sublime_text.desktop" 644 "usr/share/applications/"
 	for size in 128 16 256 32 48; do
-		vinstall "Icon/${size}x${size}/sublime-text.png" 644 "usr/share/icons/hicolor/${size}x${size}/apps/"
+		vinstall "Icon/${size}x${size}/sublime-text.png" 644 \
+		 "usr/share/icons/hicolor/${size}x${size}/apps/"
 	done
-	ln -s /usr/share/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl3
-	sed -i 's:Exec=/opt/sublime_text/:Exec=/usr/share/sublime_text/:' ${DESTDIR}/usr/share/applications/sublime_text.desktop
+	ln -s /usr/lib/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl3
+	vsed -e 's:Exec=/opt/sublime_text/:Exec=/usr/lib/sublime_text/:' \
+	 -i ${DESTDIR}/usr/share/applications/sublime_text.desktop
 }

  parent reply	other threads:[~2021-01-05 19:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24  6:18 [PR PATCH] " abenson
2020-12-24  6:26 ` [PR REVIEW] " ericonr
2021-01-05 19:28 ` abenson [this message]
2021-01-05 19:34 ` [PR PATCH] [Merged]: " abenson

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=20210105192805.40ESvQm73sS2IpoPxkTf7lcOa-n0CoyALJiZoq7kMgk@z \
    --to=abenson@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).