Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: minipro-0.6
@ 2023-04-14 18:17 BryceVandegrift
  2023-04-14 19:42 ` Chocimier
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: BryceVandegrift @ 2023-04-14 18:17 UTC (permalink / raw)
  To: ml

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

There is a new pull request by BryceVandegrift against master on the void-packages repository

https://github.com/BryceVandegrift/void-packages minipro
https://github.com/void-linux/void-packages/pull/43443

New package: minipro-0.6
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported, mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686 (crossbuild)


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

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

From f196952dbfd0a244d876eb46299cb3628261bdf4 Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Fri, 14 Apr 2023 14:11:43 -0400
Subject: [PATCH] New package: minipro-0.6

---
 srcpkgs/minipro/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/minipro/template

diff --git a/srcpkgs/minipro/template b/srcpkgs/minipro/template
new file mode 100644
index 000000000000..9dd4fef528e7
--- /dev/null
+++ b/srcpkgs/minipro/template
@@ -0,0 +1,28 @@
+# Template file for 'minipro'
+pkgname=minipro
+version=0.6
+revision=1
+archs="x86_64* i686*"
+build_style=gnu-makefile
+make_use_env=compliant
+hostmakedepends="pkg-config libusb-devel"
+makedepends="libusb-devel which"
+depends="libusb"
+short_desc="Program for controlling the MiniPRO TL866xx series of chip programmers"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/DavidGriffith/minipro"
+distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
+checksum=16b4220b5fc07dddc4d1d49cc181a2c6a735c833cc27f24ab73eac2572c9304a
+
+if [ "${CROSS_BUILD}" ]; then
+	hostmakedepends+=" which"
+fi
+
+post_install() {
+	vmkdir usr/lib/udev/rules.d
+	mv udev/* $DESTDIR/usr/lib/udev/rules.d
+
+	vmkdir usr/share/bash-completion/completions
+	mv bash_completion.d/minipro $DESTDIR/usr/share/bash-completion/completions
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New package: minipro-0.6
  2023-04-14 18:17 [PR PATCH] New package: minipro-0.6 BryceVandegrift
@ 2023-04-14 19:42 ` Chocimier
  2023-04-14 20:57 ` [PR PATCH] [Updated] " BryceVandegrift
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Chocimier @ 2023-04-14 19:42 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/43443#issuecomment-1509135246

Comment:
Cross compilation fix
``` diff
--- a/srcpkgs/minipro/template
+++ b/srcpkgs/minipro/template
@@ -2,11 +2,10 @@
 pkgname=minipro
 version=0.6
 revision=1
-archs="x86_64* i686*"
 build_style=gnu-makefile
 make_use_env=compliant
-hostmakedepends="pkg-config libusb-devel"
-makedepends="libusb-devel which"
+hostmakedepends="pkg-config which"
+makedepends="libusb-devel"
 depends="libusb"
 short_desc="Program for controlling the MiniPRO TL866xx series of chip programmers"
 maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
@@ -15,9 +14,9 @@ homepage="https://gitlab.com/DavidGriffith/minipro"
 distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
 checksum=16b4220b5fc07dddc4d1d49cc181a2c6a735c833cc27f24ab73eac2572c9304a
 
-if [ "${CROSS_BUILD}" ]; then
-       hostmakedepends+=" which"
-fi
+post_patch() {
+       vsed -i Makefile -e 's/CC=gcc/CC?=gcc/'
+}
 
 post_install() {
        vmkdir usr/lib/udev/rules.d
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: minipro-0.6
  2023-04-14 18:17 [PR PATCH] New package: minipro-0.6 BryceVandegrift
  2023-04-14 19:42 ` Chocimier
@ 2023-04-14 20:57 ` BryceVandegrift
  2023-04-14 21:00 ` BryceVandegrift
  2023-06-25 17:33 ` [PR PATCH] [Closed]: " Duncaen
  3 siblings, 0 replies; 5+ messages in thread
From: BryceVandegrift @ 2023-04-14 20:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/BryceVandegrift/void-packages minipro
https://github.com/void-linux/void-packages/pull/43443

New package: minipro-0.6
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported, mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686 (crossbuild)


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

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

From 82486fa6c7c396df80246a76d0e8dc7c722adbac Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Fri, 14 Apr 2023 14:11:43 -0400
Subject: [PATCH] New package: minipro-0.6

---
 srcpkgs/minipro/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/minipro/template

diff --git a/srcpkgs/minipro/template b/srcpkgs/minipro/template
new file mode 100644
index 000000000000..348a8199dc64
--- /dev/null
+++ b/srcpkgs/minipro/template
@@ -0,0 +1,27 @@
+# Template file for 'minipro'
+pkgname=minipro
+version=0.6
+revision=1
+build_style=gnu-makefile
+make_use_env=compliant
+hostmakedepends="pkg-config which"
+makedepends="libusb-devel"
+depends="libusb"
+short_desc="Program for controlling the MiniPRO TL866xx series of chip programmers"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/DavidGriffith/minipro"
+distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
+checksum=16b4220b5fc07dddc4d1d49cc181a2c6a735c833cc27f24ab73eac2572c9304a
+
+post_patch() {
+	vsed -i Makefile -e 's/CC=gcc/CC?=gcc/'
+}
+
+post_install() {
+	vmkdir usr/lib/udev/rules.d
+	mv udev/* $DESTDIR/usr/lib/udev/rules.d
+
+	vmkdir usr/share/bash-completion/completions
+	mv bash_completion.d/minipro $DESTDIR/usr/share/bash-completion/completions
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New package: minipro-0.6
  2023-04-14 18:17 [PR PATCH] New package: minipro-0.6 BryceVandegrift
  2023-04-14 19:42 ` Chocimier
  2023-04-14 20:57 ` [PR PATCH] [Updated] " BryceVandegrift
@ 2023-04-14 21:00 ` BryceVandegrift
  2023-06-25 17:33 ` [PR PATCH] [Closed]: " Duncaen
  3 siblings, 0 replies; 5+ messages in thread
From: BryceVandegrift @ 2023-04-14 21:00 UTC (permalink / raw)
  To: ml

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

New comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43443#issuecomment-1509257310

Comment:
@Chocimier Thank you for the fix, it has been added.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Closed]: New package: minipro-0.6
  2023-04-14 18:17 [PR PATCH] New package: minipro-0.6 BryceVandegrift
                   ` (2 preceding siblings ...)
  2023-04-14 21:00 ` BryceVandegrift
@ 2023-06-25 17:33 ` Duncaen
  3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2023-06-25 17:33 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: minipro-0.6
https://github.com/void-linux/void-packages/pull/43443

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported, mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686 (crossbuild)
  - armv6l (crossbuild)
  - armv6l-musl (crossbuild)
  - armv7l (crossbuild)
  - armv7l-musl (crossbuild)
  - aarch64 (crossbuild)
  - aarch64-musl (crossbuild)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-25 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 18:17 [PR PATCH] New package: minipro-0.6 BryceVandegrift
2023-04-14 19:42 ` Chocimier
2023-04-14 20:57 ` [PR PATCH] [Updated] " BryceVandegrift
2023-04-14 21:00 ` BryceVandegrift
2023-06-25 17:33 ` [PR PATCH] [Closed]: " Duncaen

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).