Package Details: min12xxw 0.0.9-2

Git Clone URL: https://aur.archlinux.org/min12xxw.git (read-only, click to copy)
Package Base: min12xxw
Description: Minolta PagePro 1[234]xxW printers driver
Upstream URL: http://www.hinterbergen.de/mala/min12xxw/
Keywords: konica min12xxw minolta pagepro printer
Licenses: GPL
Submitter: h_asdf
Maintainer: None
Last Packager: xdever
Votes: 4
Popularity: 0.000000
First Submitted: 2015-09-13 00:31 (UTC)
Last Updated: 2020-06-10 07:28 (UTC)

Latest Comments

markboston commented on 2023-04-20 21:22 (UTC)

the string being a array is still a thing.

houmain commented on 2022-12-31 09:48 (UTC) (edited on 2022-12-31 09:51 (UTC) by houmain)

Hi xdever, could you please add this "printf_msg.patch"

diff --git a/min12xxw.c b/min12xxw.c
index 7735e2f..2bde385 100644
--- a/min12xxw.c
+++ b/min12xxw.c
@@ -725,7 +725,7 @@ static void printav(char *msg, struct map *m, int defid)
 {
    int i, n;

-   n = printf(msg);
+   n = puts(msg);
    /* print all available somethings from our map */
    for (i = 0; m[i].str != NULL; i++) {
        /* in case we had to start a new line below, we need to

and update the PKGBUILD accordingly:

# Maintainer: h_asdf <aur@hasdf.de>
pkgname=min12xxw
pkgver=0.0.9
pkgrel=3
pkgdesc="Minolta PagePro 1[234]xxW printers driver"
arch=('i686' 'x86_64')
license=('GPL')
depends=('foomatic-db')
url='http://www.hinterbergen.de/mala/min12xxw/'
source=('http://www.hinterbergen.de/mala/min12xxw/min12xxw-0.0.9.tar.gz'
        'printf_msg.patch')
md5sums=('3582da7bd8d2d612b1fbcbfdb8b3239a'
         '9dbe5faf7a71f59bc36bf7a5499c7cab')

build() {
  cd "$pkgname-$pkgver"
  patch -p1 -i ${srcdir}/printf_msg.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}

Thanks!

Korfio commented on 2021-06-20 22:47 (UTC)

Build manually. Maintainer really should fix that printf(msg)...

famewolf commented on 2021-06-05 02:02 (UTC)

Refuses to compile for me. Gives following error: min12xxw.c: In function ‘printav’: min12xxw.c:728:2: error: format not a string literal and no format arguments [-Werror=format-security] 728 | n = printf(msg);

Any workaround?

mmsamuelmohr commented on 2021-01-13 22:40 (UTC)

In case anybody in 2021 is still interested in these old printers, which run perfectly with linux, might appreciate this comment: You need ghostscript to print, otherwise you get Filter failed.

babs commented on 2017-08-06 09:43 (UTC)

Just tried installing - error says the url should not be an array. I changed it manually to a String, now it works. Maybe this should be changed.