* Re: [PR PATCH] [Updated] New package: STM32CubeMX-5.6.1.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22843@inbox.vuxu.org>
@ 2020-08-18 16:54 ` ericonr
2020-08-31 17:18 ` [PR REVIEW] " Piraty
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-08-18 16:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages stm32
https://github.com/void-linux/void-packages/pull/22843
New package: STM32CubeMX-5.6.1.
I have to check the licensing regarding redistribution, if anyone could help me that would be awesome. https://www.st.com/content/ccc/resource/legal/legal_agreement/license_agreement/group0/39/50/32/6c/e0/a8/45/2d/DM00218346/files/DM00218346.pdf/jcr:content/translations/en.DM00218346.pdf
It should be cross platform, but I haven't managed to take a look at musl yet, and I don't think my RPi can take it. If anyone could give it a spin that would be great too!
A patch file from https://github.com/void-linux/void-packages/pull/22843.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stm32-22843.patch --]
[-- Type: text/x-diff, Size: 3016 bytes --]
From 87744d4b3805d7b8e3ce8be69bee474332fac77b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Fri, 12 Jun 2020 16:42:36 -0300
Subject: [PATCH] New package: STM32CubeMX-5.6.1.
---
srcpkgs/STM32CubeMX/files/STM32CubeMX | 2 ++
srcpkgs/STM32CubeMX/files/STM32CubeMX.desktop | 10 ++++++
srcpkgs/STM32CubeMX/template | 36 +++++++++++++++++++
srcpkgs/STM32CubeMX/update | 1 +
4 files changed, 49 insertions(+)
create mode 100644 srcpkgs/STM32CubeMX/files/STM32CubeMX
create mode 100644 srcpkgs/STM32CubeMX/files/STM32CubeMX.desktop
create mode 100644 srcpkgs/STM32CubeMX/template
create mode 100644 srcpkgs/STM32CubeMX/update
diff --git a/srcpkgs/STM32CubeMX/files/STM32CubeMX b/srcpkgs/STM32CubeMX/files/STM32CubeMX
new file mode 100644
index 00000000000..d51f239883c
--- /dev/null
+++ b/srcpkgs/STM32CubeMX/files/STM32CubeMX
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec java -jar /opt/STM32CubeMX/STM32CubeMX.exe "$@"
diff --git a/srcpkgs/STM32CubeMX/files/STM32CubeMX.desktop b/srcpkgs/STM32CubeMX/files/STM32CubeMX.desktop
new file mode 100644
index 00000000000..6b147d79dc5
--- /dev/null
+++ b/srcpkgs/STM32CubeMX/files/STM32CubeMX.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=STM32CubeMX
+GenericName=Configuration tool for STM32 microcontrollers
+Comment=Graphical software configuration tool for STM32 microcontrollers that allows generating C initialization code
+Icon=stm32cubemx.png
+Exec=STM32CubeMX
+Terminal=false
+Categories=Development;IDE;
+StartupNotify=false
diff --git a/srcpkgs/STM32CubeMX/template b/srcpkgs/STM32CubeMX/template
new file mode 100644
index 00000000000..8a4ee0e92d7
--- /dev/null
+++ b/srcpkgs/STM32CubeMX/template
@@ -0,0 +1,36 @@
+# Template file for 'STM32CubeMX'
+pkgname=STM32CubeMX
+version=5.6.1
+revision=1
+create_wrksrc=yes
+hostmakedepends="ImageMagick poppler"
+depends="openjdk8"
+short_desc="STM32Cube initialization code generator"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="custom:Proprietary"
+homepage="https://www.st.com/en/development-tools/stm32cubemx.html"
+distfiles="https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${version//./}.zip"
+checksum=e554e11a44b0400e6a235a7a579e83a616c2493566386f33e2a8ffc2cd62f164
+repository=nonfree
+nostrip=yes
+nopie=yes
+
+do_build() {
+ convert "help/STM32CubeMX.ico[17]" stm32cubemx.png
+
+ rm -rf intInstall/
+
+ pdftotext -l 2 -eol unix -nopgbrk help/software_license_agreement.pdf LICENSE
+}
+
+do_install() {
+ vmkdir "opt/${pkgname}"
+ vcopy . "opt/${pkgname}"
+
+ vbin "${FILESDIR}/STM32CubeMX"
+
+ vinstall "${FILESDIR}/STM32CubeMX.desktop" 0644 usr/share/applications
+ vinstall stm32cubemx.png 0644 usr/share/pixmaps
+
+ vlicense LICENSE
+}
diff --git a/srcpkgs/STM32CubeMX/update b/srcpkgs/STM32CubeMX/update
new file mode 100644
index 00000000000..3aab9e06dd1
--- /dev/null
+++ b/srcpkgs/STM32CubeMX/update
@@ -0,0 +1 @@
+pattern='STM32CubeMX release \K[\d]+\.[\d]+\.[\d]+'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR REVIEW] New package: STM32CubeMX-5.6.1.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22843@inbox.vuxu.org>
2020-08-18 16:54 ` [PR PATCH] [Updated] New package: STM32CubeMX-5.6.1 ericonr
@ 2020-08-31 17:18 ` Piraty
2020-08-31 17:22 ` ericonr
2020-12-11 18:22 ` [PR PATCH] [Closed]: " ericonr
3 siblings, 0 replies; 4+ messages in thread
From: Piraty @ 2020-08-31 17:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/22843#discussion_r480272609
Comment:
why not just vlicense the pdf ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR REVIEW] New package: STM32CubeMX-5.6.1.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22843@inbox.vuxu.org>
2020-08-18 16:54 ` [PR PATCH] [Updated] New package: STM32CubeMX-5.6.1 ericonr
2020-08-31 17:18 ` [PR REVIEW] " Piraty
@ 2020-08-31 17:22 ` ericonr
2020-12-11 18:22 ` [PR PATCH] [Closed]: " ericonr
3 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-08-31 17:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/22843#discussion_r480274526
Comment:
iirc, @abenson recommended it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Closed]: New package: STM32CubeMX-5.6.1.
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22843@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-08-31 17:22 ` ericonr
@ 2020-12-11 18:22 ` ericonr
3 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2020-12-11 18:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
There's a closed pull request on the void-packages repository
New package: STM32CubeMX-5.6.1.
https://github.com/void-linux/void-packages/pull/22843
Description:
I have to check the licensing regarding redistribution, if anyone could help me that would be awesome. https://www.st.com/content/ccc/resource/legal/legal_agreement/license_agreement/group0/39/50/32/6c/e0/a8/45/2d/DM00218346/files/DM00218346.pdf/jcr:content/translations/en.DM00218346.pdf
It should be cross platform, but I haven't managed to take a look at musl yet, and I don't think my RPi can take it. If anyone could give it a spin that would be great too!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-11 18:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22843@inbox.vuxu.org>
2020-08-18 16:54 ` [PR PATCH] [Updated] New package: STM32CubeMX-5.6.1 ericonr
2020-08-31 17:18 ` [PR REVIEW] " Piraty
2020-08-31 17:22 ` ericonr
2020-12-11 18:22 ` [PR PATCH] [Closed]: " ericonr
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).