Github messages for voidlinux
 help / color / mirror / Atom feed
From: AlexDltg <AlexDltg@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] intellij-idea-community-edition: add .desktop.
Date: Tue, 12 Jan 2021 13:39:52 +0100	[thread overview]
Message-ID: <20210112123952.qlFMFcueuVrk8d4OJmVlBKKWtCfCgnuKSq0ZZrbrUJk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27686@inbox.vuxu.org>

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

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

https://github.com/AlexDltg/void-packages master
https://github.com/void-linux/void-packages/pull/27686

intellij-idea-community-edition: add .desktop.


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

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

From 7a28cda6221930585b318f2fee2cd143ccad9ad4 Mon Sep 17 00:00:00 2001
From: AlexDltg <adelatorregarcia.cf@iesesteveterradas.cat>
Date: Tue, 5 Jan 2021 13:11:49 +0100
Subject: [PATCH] intellij-idea-community-edition: add .desktop.

---
 .../intellij-idea-community-edition/files/idea.desktop   | 8 ++++++++
 srcpkgs/intellij-idea-community-edition/template         | 9 +++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/intellij-idea-community-edition/files/idea.desktop

diff --git a/srcpkgs/intellij-idea-community-edition/files/idea.desktop b/srcpkgs/intellij-idea-community-edition/files/idea.desktop
new file mode 100644
index 00000000000..5d32e21b019
--- /dev/null
+++ b/srcpkgs/intellij-idea-community-edition/files/idea.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=IntelliJ IDEA Community Edition
+Comment=Java integrated development environment by JetBrains
+Exec=/usr/bin/idea %f
+Icon=idea
+Terminal=false
+Type=Application
+Categories=Development;
\ No newline at end of file
diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template
index 8b41709db36..418d4518235 100644
--- a/srcpkgs/intellij-idea-community-edition/template
+++ b/srcpkgs/intellij-idea-community-edition/template
@@ -1,9 +1,9 @@
 # Template file for 'intellij-idea-community-edition'
 pkgname=intellij-idea-community-edition
 version=2020.3.1
-revision=1
+revision=2
 archs="i686 x86_64"
-depends="virtual?java-environment giflib libXtst"
+depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
 short_desc="Java integrated development environment by JetBrains"
 maintainer="John <me@johnnynator.dev>"
 license="Apache-2.0"
@@ -23,6 +23,8 @@ do_install() {
 	vmkdir usr/bin
 	vmkdir usr/share/doc/intellij-idea
 	vmkdir usr/lib/intellij-idea
+	vmkdir usr/share/pixmaps
+	vmkdir usr/share/icons/hicolor/scalable/apps
 
 	mv bin lib plugins redist product-info.json build.txt  ${DESTDIR}/usr/lib/intellij-idea
 	mv LICENSE.txt NOTICE.txt license ${DESTDIR}/usr/share/doc/intellij-idea
@@ -58,4 +60,7 @@ do_install() {
 	esac
 
 	ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
+	ln -sf /usr/lib/intellij-idea/bin/idea.png ${DESTDIR}/usr/share/pixmaps
+	ln -sf /usr/lib/intellij-idea/bin/idea.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
+	vinstall ${FILESDIR}/idea.desktop 644 usr/share/applications
 }

  parent reply	other threads:[~2021-01-12 12:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05 12:12 [PR PATCH] " AlexDltg
2021-01-05 12:27 ` [PR PATCH] [Updated] " AlexDltg
2021-01-05 12:51 ` AlexDltg
2021-01-05 14:54 ` ericonr
2021-01-05 15:11 ` AlexDltg
2021-01-05 15:11 ` AlexDltg
2021-01-05 15:11 ` AlexDltg
2021-01-05 15:13 ` AlexDltg
2021-01-05 15:13 ` AlexDltg
2021-01-05 15:19 ` ericonr
2021-01-05 21:16 ` AlexDltg
2021-01-12 12:39 ` AlexDltg [this message]
2021-02-15  4:16 ` ericonr
2021-02-15  9:25 ` [PR PATCH] [Merged]: " Johnnynator

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=20210112123952.qlFMFcueuVrk8d4OJmVlBKKWtCfCgnuKSq0ZZrbrUJk@z \
    --to=alexdltg@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).