commit: f808dca8631ea0849fb57d27968c880990318286 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Feb 22 08:17:47 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Mar 3 20:51:02 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f808dca8
net-print/gtklp: drop 1.3.1 Bug: https://bugs.gentoo.org/970390 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> net-print/gtklp/Manifest | 1 - net-print/gtklp/files/gtklp-1.3.1-formatsec.patch | 56 ----------------------- net-print/gtklp/gtklp-1.3.1.ebuild | 51 --------------------- 3 files changed, 108 deletions(-) diff --git a/net-print/gtklp/Manifest b/net-print/gtklp/Manifest index ab61bd51c3d6..af3211d43de8 100644 --- a/net-print/gtklp/Manifest +++ b/net-print/gtklp/Manifest @@ -1,3 +1,2 @@ -DIST gtklp-1.3.1.src.tar.gz 641805 BLAKE2B fe5406dc9e95d6faa1335ce44c5e2cf9c0cf2db711c68962f64d88a403e18ac4da2c640467c62f6af256ca73370a3ef6db305ce75a4b7fcc9918d2c8825ffaaf SHA512 22d8e519d5d767add9d786bb9d4e288fffad929e8cac5b0125f654f520e1a466cf0d32bb2f6fbc0804085748403436adc5850b805531dbc971b91eb05627ae70 DIST gtklp-1.3.4.src.tar.gz 678888 BLAKE2B 6108be518d2ccc9dd88fd98c195d6f02626809128401b56845973963491c09028b6eb5d7a6b8047c3b4c4869af310aea547284c2958c1fa48205b7050961b4be SHA512 1aff481214b01f9d5dbacf5e23ec19a8424c4d0ae4e6489de06cdb708fc5fbc9bcff9ac8cb70c87983572023397534c0f3be3cbf732c352757efcc0d43f1165e DIST gtklp-logo.xpm.gz 2254 BLAKE2B 6ba85919472c0018cb77c89b6d5058e68845d94c2baa941d43d55a9a58b33f9347cdd8e3449afc3f692ae0b4d1bcb73fb0159b372b641537420e7131fcd9d703 SHA512 24fd320bb1fd533d5f539ad5aa22661a2c923c4d6012b7d908a7a8311dcd179f2c7f02a88d52289d659ad89ce63ab40956725051b7dbe14ed23eb3a62e6c9240 diff --git a/net-print/gtklp/files/gtklp-1.3.1-formatsec.patch b/net-print/gtklp/files/gtklp-1.3.1-formatsec.patch deleted file mode 100644 index 5c513bc14cd3..000000000000 --- a/net-print/gtklp/files/gtklp-1.3.1-formatsec.patch +++ /dev/null @@ -1,56 +0,0 @@ -Source: -https://sources.debian.net/src/gtklp/1.3.1-0.1/debian/patches/bugs/644113.diff/ - ---- gtklp.orig/libgtklp/libgtklp.c -+++ gtklp/libgtklp/libgtklp.c -@@ -554,7 +554,7 @@ void passwin_response_ok(GtkEditable *ed - - const char *getPass (const char *prompt) - { -- GtkWidget *vbox, *hbox, *hbox1, *vbox1, *vbox2, *labell, *labelp, *yes, *no; -+ GtkWidget *vbox, *hbox, *vbox1, *vbox2, *labell, *labelp; - gint gi1; - #if GTK_MAJOR_VERSION == 1 - GtkWidget *sep,*passwin; -@@ -780,9 +780,6 @@ void exitOnError(char *gerror1, char *ge - GtkWidget *exitErrorDialog; - GtkWidget *hbox,*label,*pixmapwid; - char tmplabel[MAXLINE+1]; -- GtkStyle *style; -- GdkPixmap *pixmap; -- GdkBitmap *mask; - #if GTK_MAJOR_VERSION == 1 - GtkWidget *button,*vbox,*sep,*bbox; - #endif -@@ -826,9 +823,9 @@ void exitOnError(char *gerror1, char *ge - gtk_widget_show(pixmapwid); - - if(strlen(gerror2) == 0) -- snprintf(tmplabel,(size_t)MAXLINE,gerror1); -+ snprintf(tmplabel,(size_t)MAXLINE,"%s",gerror1); - else -- snprintf(tmplabel,(size_t)MAXLINE,gerror1,gerror2); -+ snprintf(tmplabel,(size_t)MAXLINE,"%s\n%s",gerror1,gerror2); - label=gtk_label_new(tmplabel); - gtk_box_pack_end(GTK_BOX(hbox),label,FALSE, FALSE,FRAME_SPACING_V); - gtk_widget_show(label); -@@ -856,7 +853,7 @@ void exitOnError(char *gerror1, char *ge - #endif - } else { - if(strlen(gerror2) == 0) -- g_warning(gerror1); -+ g_warning("%s",gerror1); - else - g_warning(gerror1,gerror2); - } ---- gtklp.orig/gtklp/gtklp.c -+++ gtklp/gtklp/gtklp.c -@@ -302,7 +302,7 @@ int main(int argc,char *argv[]) - case '?': - if(calledGtkLP) - { -- g_print(str2str(_("Usage: gtklp [-P|-d printer] [-c configdir] [-S server] [-U user] [-p port] [-l] [-D] [-V] [-b] [-i] [-# n] [-C] [-H] [-E] [-J jobname] [-q priority] [-o option=value ...] [file(s)]\n"))); -+ g_print("%s", str2str(_("Usage: gtklp [-P|-d printer] [-c configdir] [-S server] [-U user] [-p port] [-l] [-D] [-V] [-b] [-i] [-# n] [-C] [-H] [-E] [-J jobname] [-q priority] [-o option=value ...] [file(s)]\n"))); - } - return(0); - break; diff --git a/net-print/gtklp/gtklp-1.3.1.ebuild b/net-print/gtklp/gtklp-1.3.1.ebuild deleted file mode 100644 index 62fdc75ff6d6..000000000000 --- a/net-print/gtklp/gtklp-1.3.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop flag-o-matic xdg - -DESCRIPTION="A GUI for cupsd" -HOMEPAGE="https://gtklp.sirtobi.com/" -SRC_URI="https://downloads.sourceforge.net/gtklp/${P}.src.tar.gz - https://downloads.sourceforge.net/gtklp/logo.xpm.gz -> gtklp-logo.xpm.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ~sparc x86" -IUSE="nls ssl" - -RDEPEND=" - net-print/cups - x11-libs/gtk+:2 - nls? ( sys-devel/gettext ) - ssl? ( dev-libs/openssl:0= )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}/${P}-formatsec.patch" ) - -src_prepare() { - default - sed -e '/DEF_BROWSER_CMD/{s:netscape:firefox:}' \ - -e '/DEF_HELP_HOME/{s:631/sum.html#STANDARD_OPTIONS:631/help/:}' \ - -i include/defaults.h || die - eautoreconf -} - -src_configure() { - append-cflags -fcommon - econf \ - $(use_enable nls) \ - $(use_enable ssl) \ - --enable-forte #369003 -} - -src_install() { - default - - dodoc USAGE - doicon "${WORKDIR}"/gtklp-logo.xpm - make_desktop_entry 'gtklp -i' "Print files via CUPS" gtklp-logo 'System;HardwareSettings;Settings;Printing' - make_desktop_entry gtklpq "CUPS queue manager" gtklp-logo 'System;HardwareSettings;Settings;Printing' -}
