Package Details: gtklp 1.3.4-2

Git Clone URL: (read-only, click to copy)
Package Base: gtklp
Description: A graphical frontend for cups, the linux printing system
Upstream URL:
Keywords: cups gtk
Licenses: GPL
Submitter: ckafi
Maintainer: flying-pombo
Last Packager: ragouel
Votes: 25
Popularity: 0.008753
First Submitted: 2015-08-13 06:47 (UTC)
Last Updated: 2020-09-10 16:40 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

dreieck commented on 2024-05-22 14:36 (UTC)


thanks for the package.

For me it compiles and works.

You need to make the license identifier SPDX compliant:

gtklp E: GPL is not a valid SPDX license identifier. See for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Also, I think you should change cups to libcups dependency (local cups not needed, can connect to network host).

Also, consider adding the following dependencies: glib2, glibc, gdk-pixbuf2, libx11.


qsthy commented on 2024-01-28 18:01 (UTC)

The following patch worked for me (as of late August 2003 using gcc9-bin):

--- libgtklp/libgtklp.c.orig    2023-08-27 15:56:00.163462666 -0400
+++ libgtklp/libgtklp.c 2023-08-27 15:57:01.117440398 -0400
@@ -939,7 +939,7 @@

        if (strlen(gerror2) == 0)
-           snprintf(tmplabel, (size_t) MAXLINE, gerror1);
+           snprintf(tmplabel, (size_t) MAXLINE, "%s", gerror1);
            snprintf(tmplabel, (size_t) MAXLINE, gerror1, gerror2);
        label = gtk_label_new(tmplabel);
@@ -973,7 +973,7 @@
    } else {
        if (strlen(gerror2) == 0)
-           g_warning(gerror1);
+           g_warning("%s", gerror1);
            g_warning(gerror1, gerror2);

Bluebomber182 commented on 2023-01-16 14:14 (UTC)

I compiled gcc9-bin. Then I tried to compile gtklp. But I get this error message.

libgtklp.c:942:4: error: format not a string literal and no format arguments [-Werror=format-security]
  942 |    snprintf(tmplabel, (size_t) MAXLINE, gerror1);
      |    ^~~~~~~~
libgtklp.c:976:4: error: format not a string literal and no format arguments [-Werror=format-security]
  976 |    g_warning(gerror1);
      |    ^~~~~~~~~
libgtklp.c: In function ‘getPrinters’:
libgtklp.c:453:43: warning: ‘%s’ directive output may be truncated writing up to 1030 bytes into a region of size 1018 [-Wformat-truncation=]
  453 |    snprintf(URI, (size_t) MAX_URI, "ipp://%s/printers/%s",
      |                                           ^~
  454 |      ServerAddr, dests[i1].name);
      |      ~~~~~~~~~~                            
In file included from /usr/include/stdio.h:906,
                 from libgtklp.c:24:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 17 or more bytes (assuming 1047) into a destination of size 1024
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |        __glibc_objsize (__s), __fmt,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |        __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:435: libgtklp.o] Error 1
make[2]: Leaving directory '/home/bud/Downloads/gtklp/src/gtklp-1.3.4/libgtklp'
make[1]: *** [Makefile:475: all-recursive] Error 1
make[1]: Leaving directory '/home/bud/Downloads/gtklp/src/gtklp-1.3.4'
make: *** [Makefile:407: all] Error 2
==> ERROR: A failure occurred in build().

WwPvWLcBrUubxgJQ commented on 2021-12-09 21:00 (UTC) (edited on 2021-12-09 21:02 (UTC) by WwPvWLcBrUubxgJQ)

Building gcc9 from source might be an oversight

Stebalien commented on 2020-07-19 21:10 (UTC)

I was able to get rid of those errors, but they appear to be unrelated to the actual issue (as far as I can tell). I never actually use this package anymore so I'm disowning it in case someone else wants to come along and try to fix it. Unfortunately, upstream appears to be pretty dead.

DAMO238 commented on 2020-06-08 16:59 (UTC)

ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.

The above error occurs before ./configure. Then during build(), we don't get any verbose errors, only:

make: *** [Makefile:404: all] Error 2
==> ERROR: A failure occurred in build().

Stebalien commented on 2017-09-28 21:03 (UTC)

@jeseb, it works for me. Delete any cached sources and try again. If it still fails to work, take a look at what makepkg actually downloaded (it may be an error page of some kind).

jseb commented on 2017-09-26 14:15 (UTC)

Hello, There is a checksum issue with the sources: -> Found gtklp-1.3.3.src.tar.gz ==> Validating source files with sha256sums... gtklp-1.3.3.src.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check! Thank you.

Stebalien commented on 2017-04-13 17:18 (UTC)

@hack.augusto autoconf and automake are part of the base-devel group. All packages in base-devel are assumed to be installed. You might want to read

hack.augusto commented on 2017-04-13 17:01 (UTC)

Please add autoconf and automake in makedepends