From ea8ac6c9ec9b7aed6a94dacebb9517fbd4cd5eba Mon Sep 17 00:00:00 2001 From: Alexis Polti Date: Thu, 3 Dec 2020 11:53:20 +0100 Subject: [PATCH] Add desktop entries --- .SRCINFO | 22 ++++++++++++++++- JFlashSPI_CL.desktop | 10 ++++++++ JLink.svg | 49 +++++++++++++++++++++++++++++++++++++ JLinkGDBServer.desktop | 10 ++++++++ JLinkLicenseManager.desktop | 10 ++++++++ JLinkRTTClient.desktop | 10 ++++++++ JLinkRTTLogger.desktop | 10 ++++++++ JLinkRegistration.desktop | 10 ++++++++ JLinkRemoteServer.desktop | 10 ++++++++ JLinkSTM32.desktop | 10 ++++++++ JLinkSWOViewer.desktop | 10 ++++++++ PKGBUILD | 23 ++++++++++++++--- 12 files changed, 179 insertions(+), 5 deletions(-) create mode 100644 JFlashSPI_CL.desktop create mode 100644 JLink.svg create mode 100644 JLinkGDBServer.desktop create mode 100644 JLinkLicenseManager.desktop create mode 100644 JLinkRTTClient.desktop create mode 100644 JLinkRTTLogger.desktop create mode 100644 JLinkRegistration.desktop create mode 100644 JLinkRemoteServer.desktop create mode 100644 JLinkSTM32.desktop create mode 100644 JLinkSWOViewer.desktop 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 @@ + + + + + + + + + + + + + + + + + + + + + + + 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"