summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Polti2020-12-03 11:53:20 +0100
committerAlexis Polti2020-12-03 11:53:20 +0100
commitea8ac6c9ec9b7aed6a94dacebb9517fbd4cd5eba (patch)
tree54ca94fe1e24e6b9c7911939b37224e31808f220
parent387567736d91bdeabd435998bdcdd551bac0d850 (diff)
downloadaur-ea8ac6c9ec9b7aed6a94dacebb9517fbd4cd5eba.tar.gz
Add desktop entries
-rw-r--r--.SRCINFO22
-rw-r--r--JFlashSPI_CL.desktop10
-rw-r--r--JLink.svg49
-rw-r--r--JLinkGDBServer.desktop10
-rw-r--r--JLinkLicenseManager.desktop10
-rw-r--r--JLinkRTTClient.desktop10
-rw-r--r--JLinkRTTLogger.desktop10
-rw-r--r--JLinkRegistration.desktop10
-rw-r--r--JLinkRemoteServer.desktop10
-rw-r--r--JLinkSTM32.desktop10
-rw-r--r--JLinkSWOViewer.desktop10
-rw-r--r--PKGBUILD23
12 files changed, 179 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ee5714fdddf1..74a0452ff872 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = jlink-software-and-documentation
pkgdesc = Segger JLink software & documentation pack for Linux
pkgver = 6.88b
- pkgrel = 0
+ pkgrel = 1
epoch = 32
url = https://www.segger.com/jlink-software.html
install = jlink-software-and-documentation.install
@@ -17,7 +17,27 @@ pkgbase = jlink-software-and-documentation
replaces = j-link-software-and-documentation
options = !strip
source = 99-jlink.rules.patch
+ source = JLink.svg
+ source = JFlashSPI_CL.desktop
+ source = JLinkGDBServer.desktop
+ source = JLinkLicenseManager.desktop
+ source = JLinkRegistration.desktop
+ source = JLinkRemoteServer.desktop
+ source = JLinkRTTClient.desktop
+ source = JLinkRTTLogger.desktop
+ source = JLinkSTM32.desktop
+ source = JLinkSWOViewer.desktop
md5sums = a57d93b791581c1f36e4c672303bb85d
+ md5sums = 83a136d31b296dd8f0e23bc21f9d8e19
+ md5sums = 395410c9819a18a659de9c80925508f1
+ md5sums = 69516914a635e3b8c703816fb34add8b
+ md5sums = e763d0de7bced23342523447af761c23
+ md5sums = 3d9e3093c2da9fde601b9c308296161b
+ md5sums = 3cf777043c9779763fb8281cceed5d81
+ md5sums = fea9e4cf79db13c19e90af0e6ce4048a
+ md5sums = f933dfa3297baba000a0514a0c705264
+ md5sums = 9119afd453425a256aa023bae8442570
+ md5sums = 24e403277bb890d915b2c454833ff3d6
source_i686 = JLink_Linux_688b_i686.tgz::https://www.segger.com/downloads/jlink/JLink_Linux_V688b_i386.tgz
md5sums_i686 = b661572da1b9f3bede8ba5e1621d63e8
source_x86_64 = JLink_Linux_688b_x86_64.tgz::https://www.segger.com/downloads/jlink/JLink_Linux_V688b_x86_64.tgz
diff --git a/JFlashSPI_CL.desktop b/JFlashSPI_CL.desktop
new file mode 100644
index 000000000000..94f1882ebe63
--- /dev/null
+++ b/JFlashSPI_CL.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JFlashSPI_CL
+Comment=Segger SPI flasher for Linux
+Exec=/usr/bin/JFlashSPI_CL
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLink.svg b/JLink.svg
new file mode 100644
index 000000000000..a89ba819f532
--- /dev/null
+++ b/JLink.svg
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="250px" height="300px" viewBox="83.333 100 250 300" enable-background="new 83.333 100 250 300" xml:space="preserve">
+<path id="Background_24_" fill="#FFFFFF" d="M323.333,104c3.31,0,6.001,2.692,6.001,6.001v279.998c0,3.309-2.691,6.001-6.001,6.001
+ h-230c-3.308,0-6-2.692-6-6.001V110.001c0-3.309,2.692-6.001,6-6.001H323.333"/>
+<path fill="#1D1D1B" stroke="#1D1D1B" stroke-width="5" stroke-miterlimit="10" d="M331.134,148h-245.2"/>
+<g>
+ <path fill="#1D1D1B" d="M323.333,104c3.312,0,6.001,2.692,6.001,6.001V390c0,3.309-2.689,6-6.001,6h-230c-3.309,0-6-2.691-6-6V110
+ c0-3.309,2.691-6,6-6H323.333 M323.333,100h-230c-5.5,0-10,4.5-10,10v279.999c0,5.501,4.5,10.001,10,10.001h230
+ c5.5,0,10-4.5,10-10.001V110C333.333,104.5,328.833,100,323.333,100L323.333,100z"/>
+</g>
+<g>
+ <path fill="#1D1D1B" d="M285.434,281.633h-42.5v28.5c0,8.2-0.5,14.2-1.5,18.102c-1,3.8-2.601,7.199-4.8,10.199
+ c-3.399,4.302-8.1,7.699-14,9.899c-5.899,2.3-12.899,3.401-20.899,3.401c-7.301,0-13.801-1.001-19.4-3
+ c-5.6-2.001-10.3-5.001-14.1-8.9c-3-3.201-5.102-6.7-6.4-10.6c-1.3-3.901-1.9-10.302-1.9-19.302v-10.101h25.801v15.699
+ c0,4.5,1.301,8.001,4,10.301c2.701,2.4,6.601,3.601,11.6,3.601c5.5,0,9.4-1.399,11.5-4.301c2.201-2.898,3.3-8.3,3.3-16.2v-27.3
+ h-85.399c-4.301,0-7.699,3.501-7.699,7.7v69c0,4.3,3.5,7.701,7.699,7.701h154.699c4.301,0,7.701-3.501,7.701-7.701v-69
+ C293.234,285.034,289.734,281.633,285.434,281.633z"/>
+ <path fill="#005CA9" d="M290.634,209.334c1.899,0,3.399-1.5,3.399-3.4c0-1.899-1.5-3.399-3.399-3.399h-35v-4.101h35
+ c1.899,0,3.399-1.5,3.399-3.399c0-1.9-1.5-3.4-3.399-3.4h-35v-3.8c0-4.3-3.501-7.7-7.7-7.7h-78.301c-4.3,0-7.699,3.5-7.699,7.7v3.8
+ h-35.899c-1.9,0-3.4,1.5-3.4,3.4c0,1.899,1.5,3.399,3.4,3.399h35.8v4.101h-35.8c-1.9,0-3.4,1.5-3.4,3.399c0,1.9,1.5,3.4,3.4,3.4
+ h35.8v4.1h-35.8c-1.9,0-3.4,1.5-3.4,3.4c0,1.898,1.5,3.398,3.4,3.398h35.8v4.102h-35.8c-1.9,0-3.4,1.5-3.4,3.398
+ c0,1.9,1.5,3.4,3.4,3.4h35.8v4.1h-35.8c-1.9,0-3.4,1.5-3.4,3.4s1.5,3.399,3.4,3.399h35.8v4.101h-35.8c-1.9,0-3.4,1.5-3.4,3.399
+ c0,1.901,1.5,3.401,3.4,3.401h35.8v4.698c0,4.302,3.5,7.7,7.7,7.7h46.8v-46.9h26.7v46.9h5.001c4.299,0,7.699-3.499,7.699-7.7
+ v-4.698h35c1.898,0,3.398-1.5,3.398-3.4c0-1.899-1.5-3.399-3.398-3.399h-35v-4.101h35c1.898,0,3.398-1.5,3.398-3.399
+ c0-1.901-1.5-3.401-3.398-3.401h-35v-4.099h35c1.898,0,3.398-1.5,3.398-3.401c0-1.898-1.5-3.398-3.398-3.398h-35v-4h35
+ c1.898,0,3.398-1.5,3.398-3.4c0-1.899-1.5-3.399-3.398-3.399h-35v-4.2H290.634L290.634,209.334z"/>
+</g>
+<g>
+ <rect x="87.333" y="116.85" fill="none" width="241.5" height="30.5"/>
+ <path fill="#1D1D1B" d="M173.971,127.673h3.434v2.086c0,0.602,0.18,1.061,0.539,1.377c0.359,0.316,0.875,0.475,1.548,0.475
+ c0.733,0,1.245-0.191,1.534-0.574c0.289-0.383,0.435-1.102,0.435-2.156v-12.035h3.552v12.199c0,1.094-0.064,1.896-0.193,2.408
+ c-0.129,0.512-0.342,0.963-0.639,1.354c-0.453,0.579-1.074,1.02-1.863,1.324c-0.789,0.305-1.715,0.457-2.776,0.457
+ c-0.978,0-1.84-0.133-2.59-0.398s-1.375-0.66-1.875-1.184c-0.397-0.422-0.681-0.892-0.851-1.412
+ c-0.166-0.52-0.252-1.377-0.252-2.572L173.971,127.673L173.971,127.673z"/>
+ <path fill="#1D1D1B" d="M187.389,129.325v-3.211h6.586v3.211H187.389z"/>
+ <path fill="#1D1D1B" d="M196.471,134.106v-17.262h3.551v14.074h8.427v3.187L196.471,134.106L196.471,134.106z"/>
+ <path fill="#1D1D1B" d="M210.169,119.95v-3.105h3.412v3.105H210.169z M210.169,134.106v-12.738h3.412v12.737L210.169,134.106
+ L210.169,134.106z"/>
+ <path fill="#1D1D1B" d="M216.626,134.106v-12.738h3.34v1.512c0.478-0.617,1.039-1.08,1.688-1.389
+ c0.646-0.308,1.369-0.462,2.166-0.462c1.408,0,2.461,0.366,3.16,1.096s1.049,1.83,1.049,3.299v8.684h-3.411v-7.701
+ c0-0.914-0.155-1.566-0.463-1.957c-0.31-0.391-0.812-0.586-1.507-0.586c-0.806,0-1.44,0.24-1.912,0.721
+ c-0.467,0.48-0.702,1.135-0.702,1.962v7.559H216.626L216.626,134.106z"/>
+ <path fill="#1D1D1B" d="M231.029,134.106v-17.262h3.316v9.059l4.055-4.536h4.102l-4.441,4.723l4.713,8.015h-4.088l-3.047-5.426
+ l-1.289,1.395v4.031L231.029,134.106L231.029,134.106z"/>
+</g>
+</svg>
diff --git a/JLinkGDBServer.desktop b/JLinkGDBServer.desktop
new file mode 100644
index 000000000000..a42c3221a864
--- /dev/null
+++ b/JLinkGDBServer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkGDBServer
+Comment=Segger GDB server for Linux
+Exec=/usr/bin/JLinkGDBServer
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkLicenseManager.desktop b/JLinkLicenseManager.desktop
new file mode 100644
index 000000000000..973d40da59a7
--- /dev/null
+++ b/JLinkLicenseManager.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkLicenseManager
+Comment=Segger Jlink license manager for Linux
+Exec=/usr/bin/JLinkLicenseManager
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkRTTClient.desktop b/JLinkRTTClient.desktop
new file mode 100644
index 000000000000..62d7f221d045
--- /dev/null
+++ b/JLinkRTTClient.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkRTTClient
+Comment=Segger RTT Client for Linux
+Exec=/usr/bin/JLinkRTTClient
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkRTTLogger.desktop b/JLinkRTTLogger.desktop
new file mode 100644
index 000000000000..76db248bcbcd
--- /dev/null
+++ b/JLinkRTTLogger.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkRTTLogger
+Comment=Segger RTT Logger for Linux
+Exec=/usr/bin/JLinkRTTLogger
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkRegistration.desktop b/JLinkRegistration.desktop
new file mode 100644
index 000000000000..22d29aa27f86
--- /dev/null
+++ b/JLinkRegistration.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkRegistration
+Comment=Segger Jlink probe registration for Linux
+Exec=/usr/bin/JLinkRegistration
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkRemoteServer.desktop b/JLinkRemoteServer.desktop
new file mode 100644
index 000000000000..6f10047f781c
--- /dev/null
+++ b/JLinkRemoteServer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkRemoteServer
+Comment=Segger remote server for Linux
+Exec=/usr/bin/JLinkRemoteServer
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkSTM32.desktop b/JLinkSTM32.desktop
new file mode 100644
index 000000000000..b80447510a8c
--- /dev/null
+++ b/JLinkSTM32.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkSTM32
+Comment=Segger JLinkSTM32 for Linux
+Exec=/usr/bin/JLinkSTM32
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/JLinkSWOViewer.desktop b/JLinkSWOViewer.desktop
new file mode 100644
index 000000000000..c31be1735712
--- /dev/null
+++ b/JLinkSWOViewer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Segger JLinkSWOViewer
+Comment=Segger JLinkSWOViewer for Linux
+Exec=/usr/bin/JLinkSWOViewer
+Icon=JLink.svg
+Terminal=false
+StartupNotify=false
+Categories=Development
diff --git a/PKGBUILD b/PKGBUILD
index 266eb2b210ba..d1a40f74dc5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=jlink-software-and-documentation
pkgver=6.88b
-pkgrel=0
+pkgrel=1
epoch=32
pkgdesc="Segger JLink software & documentation pack for Linux"
arch=('i686' 'x86_64' 'armv7h')
@@ -13,11 +13,12 @@ depends=('glibc' 'libudev0-shim' 'patch')
source_x86_64=("JLink_Linux_${pkgver/./}_x86_64.tgz::https://www.segger.com/downloads/jlink/JLink_Linux_V${pkgver/./}_x86_64.tgz")
source_i686=("JLink_Linux_${pkgver/./}_i686.tgz::https://www.segger.com/downloads/jlink/JLink_Linux_V${pkgver/./}_i386.tgz")
source_armv7h=("JLink_Linux_${pkgver/./}_arm.tgz::https://www.segger.com/downloads/jlink/JLink_Linux_V${pkgver/./}_arm.tgz")
-source=("99-jlink.rules.patch")
+source=("99-jlink.rules.patch" "JLink.svg" "JFlashSPI_CL.desktop" "JLinkGDBServer.desktop" "JLinkLicenseManager.desktop" "JLinkRegistration.desktop" "JLinkRemoteServer.desktop" "JLinkRTTClient.desktop" "JLinkRTTLogger.desktop" "JLinkSTM32.desktop" "JLinkSWOViewer.desktop")
md5sums_i686=('b661572da1b9f3bede8ba5e1621d63e8')
md5sums_x86_64=('ca4935902d8bd2b7ee9cb2d6136becd6')
md5sums_armv7h=('d00eae7b543d23e4cdcd6758a2c0fb0b')
-md5sums=('a57d93b791581c1f36e4c672303bb85d')
+md5sums=("a57d93b791581c1f36e4c672303bb85d" "83a136d31b296dd8f0e23bc21f9d8e19" "395410c9819a18a659de9c80925508f1" "69516914a635e3b8c703816fb34add8b" "e763d0de7bced23342523447af761c23" "3d9e3093c2da9fde601b9c308296161b" "3cf777043c9779763fb8281cceed5d81" "fea9e4cf79db13c19e90af0e6ce4048a" "f933dfa3297baba000a0514a0c705264" "9119afd453425a256aa023bae8442570" "24e403277bb890d915b2c454833ff3d6")
+
install=$pkgname.install
url="https://www.segger.com/jlink-software.html"
conflicts=("j-link-software-and-documentation")
@@ -44,7 +45,21 @@ package(){
"${pkgdir}/usr/bin/" \
"${pkgdir}/etc/" \
"${pkgdir}/usr/lib/udev/rules.d/" \
- "${pkgdir}/usr/share/doc/${pkgname}/"
+ "${pkgdir}/usr/share/doc/${pkgname}/" \
+ "${pkgdir}/usr/share/pixmaps" \
+ "${pkgdir}/usr/share/applications"
+
+ # Install desktop entry
+ install -Dm644 "JFlashSPI_CL.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkSTM32.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkGDBServer.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkLicenseManager.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkRegistration.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkRemoteServer.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkRTTClient.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkRTTLogger.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLinkSWOViewer.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "JLink.svg" "${pkgdir}/usr/share/pixmaps/JLink.svg"
cd "${srcdir}/JLink"