Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR REVIEW] Upgrading Intellij Idea Ultimate to 2024.1.2
Date: Thu, 06 Jun 2024 14:44:31 +0200	[thread overview]
Message-ID: <20240606124431.0A0322494E@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50713@inbox.vuxu.org>

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/50713#discussion_r1629465388

Comment:
jars are archives, so we can do shenanigans:
```
bsdtar xOf lib/app-client.jar entry.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=$NAME$
Icon=$ICON$
Exec=$SCRIPT$ %f
Comment=$COMMENT$
Categories=Development;IDE;
Terminal=false
StartupWMClass=$WM_CLASS$
StartupNotify=true
```
Use this as a base. run the application to grab what it replaces the `$templates$` with.

e.g.:
```bash
post_extract() {
	bsdtar xf lib/app-client.jar entry.desktop
}

post_patch() {
	vsed -i -e 's/$NAME$/whatever/; s/$ICON$/whatever/; ...' entry.desktop
}

do_install() {
	vinstall entry.desktop 644 usr/share/applications idea-ultimate.desktop
}
```

  parent reply	other threads:[~2024-06-06 12:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06  3:53 [PR PATCH] " piekay
2024-06-06  4:33 ` [PR REVIEW] " classabbyamp
2024-06-06 10:33 ` piekay
2024-06-06 10:38 ` [PR PATCH] [Updated] " piekay
2024-06-06 12:18 ` [PR REVIEW] " classabbyamp
2024-06-06 12:40 ` classabbyamp
2024-06-06 12:44 ` classabbyamp [this message]
2024-06-06 13:00 ` [PR PATCH] [Updated] " classabbyamp
2024-06-06 13:00 ` classabbyamp
2024-06-06 13:04 ` [PR REVIEW] " classabbyamp
2024-06-06 13:04 ` classabbyamp
2024-06-06 13:04 ` classabbyamp
2024-06-06 13:05 ` classabbyamp
2024-06-06 13:23 ` piekay
2024-06-06 15:03 ` [PR PATCH] [Updated] " piekay
2024-06-06 15:04 ` piekay
2024-06-06 15:06 ` piekay
2024-06-06 15:49 ` [PR PATCH] [Updated] intellij-idea-ultimate-edition: update " piekay
2024-06-06 15:50 ` piekay
2024-06-06 19:00 ` [PR PATCH] [Updated] " piekay
2024-06-06 19:03 ` piekay
2024-06-06 19:07 ` piekay
2024-06-06 19:09 ` piekay
2024-06-07  9:05 ` [PR PATCH] [Updated] " classabbyamp
2024-06-07  9:08 ` [PR PATCH] [Merged]: " 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=20240606124431.0A0322494E@inbox.vuxu.org \
    --to=classabbyamp@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).