Package Details: minipro-git 0.7.3.r10.gcd86e1d-1

Git Clone URL: https://aur.archlinux.org/minipro-git.git (read-only, click to copy)
Package Base: minipro-git
Description: Open source chip programming utility for autoelectric.cn MiniPro TL866xx series (TL866CS, TL866A, and TL866II+)
Upstream URL: https://gitlab.com/DavidGriffith/minipro
Licenses: GPL-3.0-only
Conflicts: minipro
Provides: minipro
Submitter: queueRAM
Maintainer: uffe
Last Packager: uffe
Votes: 12
Popularity: 0.000000
First Submitted: 2015-02-09 23:23 (UTC)
Last Updated: 2025-05-27 12:05 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

uffe commented on 2025-05-27 11:57 (UTC) (edited on 2025-05-27 12:42 (UTC) by uffe)

@geek-masa this is minipro-git bleeding edge AUR - patches like this should really go to the originating project...

PS: as a workaround I've changed the compiler to clang - as it (currently) is less picky compared to gcc

geek-masa commented on 2025-05-27 10:12 (UTC) (edited on 2025-05-27 10:18 (UTC) by geek-masa)

cd86e1d builds successfully on gcc15 with some modifications. I need a patch against C23 obsoletion, an empty list in a function declarator, along with below fix .

--- src/minipro-git-orig/src/xml.h  2025-05-27 18:19:44.113483214 +0900
+++ src/minipro-git/src/xml.h   2025-05-27 18:21:51.505410268 +0900
@@ -35,15 +35,16 @@
    size_t i, g, e;
 } MemMan;

-typedef struct {
+typedef struct parser Parser;
+struct parser {
    void *inputcbdata;
-   int (*worker)();
+   int (*worker)(int type, const char *tag, size_t taglen, Parser *parser);
    void *userdata;
    MemMan mm;
    size_t level;
    const uint8_t *content;
    size_t contentlen;
-} Parser;
+};

 enum {
    XML_OK,
--- src/minipro-git-orig/src/main.c 2025-05-27 18:26:23.262896022 +0900
+++ src/minipro-git/src/main.c  2025-05-27 18:34:53.701144596 +0900
@@ -270,7 +270,7 @@
    return EXIT_SUCCESS;
 }

-void print_supported_programmers_and_exit()
+void print_supported_programmers_and_exit(cmdopts_t *cmdopts)
 {
    fprintf(stderr, "tl866a:  TL866CS/A\n"
            "tl866ii: TL866II+\n"
@@ -280,7 +280,7 @@
    exit(EXIT_SUCCESS);
 }

-void print_connected_programmer_and_exit()
+void print_connected_programmer_and_exit(cmdopts_t *cmdopts)
 {
    minipro_handle_t *handle = minipro_open(NO_VERBOSE);
    if (!handle) {

javallone commented on 2025-05-02 14:07 (UTC)

This is failing to build with the latest version of gcc.

There's an upstream issue about the build failures: https://gitlab.com/DavidGriffith/minipro/-/issues/343 The most recent comment on that issue includes a change that looks like it might resolve the failures.

grzechoo commented on 2024-10-08 20:07 (UTC)

@uffe, yup, that bug was introduced by project owner and solved: https://gitlab.com/DavidGriffith/minipro/-/commit/b7bfb1488688f34fd6093eadae537d5ae99ce16a

uffe commented on 2024-10-07 13:46 (UTC)

@grzechoo: well that was something that the minipro project owner had introduced - and something that he had to fix

grzechoo commented on 2024-10-06 19:54 (UTC)

minipro-git 0.7.2.r66.g51fd060-1 does not build. It stops on an error: "algorithm.xml is missing. Please put it here."

Michael.Sasser commented on 2021-03-08 03:12 (UTC)

minipro uses an udev rule 61-minipro-plugdev.rules which uses the group plugdev which does not exist on Arch. This produces a systemd-udev error:

systemd-udevd[324]: /usr/lib/udev/rules.d/61-minipro-plugdev.rules:14 Unknown group 'plugdev', ignoring

synthead commented on 2020-09-18 17:57 (UTC)

Thanks @uffe! Looks great!

uffe commented on 2020-09-17 17:02 (UTC)

@thierer and @Synthead: thanks for the heads-up and fix suggestions - new PKGBUILD pushed :-)

synthead commented on 2020-09-09 00:17 (UTC)

Please pass PREFIX to make in build(). minipro --list cannot find infoic.xml without this env var because minipro is looking for infoic.xml in /usr/local/share/minipro.

build()
{
  cd "${srcdir}/${pkgname}"
  make PREFIX="/usr"
}