diff --git a/hardware/printer/cups-browsed/actions.py b/hardware/printer/cups-browsed/actions.py new file mode 100644 index 0000000000..3dd1023cd9 --- /dev/null +++ b/hardware/printer/cups-browsed/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--localstatedir=/var \ + --with-rcdir=no \ + --enable-auto-setup-driverless-only") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.insinto("/usr/share/dbus-1/services", "daemon/cups-browsed.service") + + pisitools.dodoc("AUTHORS", "LICENSE", "ChangeLog", "COPYING", "NEWS", "README*") diff --git a/hardware/printer/cups-browsed/files/0001-Better-handle-damage-of-queues-created-by-cups-browsed.patch b/hardware/printer/cups-browsed/files/0001-Better-handle-damage-of-queues-created-by-cups-browsed.patch new file mode 100644 index 0000000000..173cff9f8d --- /dev/null +++ b/hardware/printer/cups-browsed/files/0001-Better-handle-damage-of-queues-created-by-cups-browsed.patch @@ -0,0 +1,103 @@ +From 57d9351ea45f47b3bd185f263b1e37d276cf17b8 Mon Sep 17 00:00:00 2001 +From: Till Kamppeter +Date: Wed, 6 Dec 2023 01:03:48 +0100 +Subject: [PATCH] Better handle damage of queues created by cups-browsed + +Fixes #429 + +In issue #429 queues created by cups-browsed (with +"implicitclass://..." device URI) and left over after cups-browsed +shuts down (or crashes or gets killed) lose their cups-browsed flag +"cups-browsed=true" for some unknown reason and are not identified as +created by cups-browsed any more, making cups-browsed creating a fresh +queue with another name while the user continues printing on the old +queue which cups-browsed does not take care of any more (assign +destination printers for the jobs). So the user gets the message "No +destination host name supplied by cups-browsed for printer ..." in +the error_log of CUPS. + +Done the following changes: + +- Queues with "implicitclass://..." device URI are always created by + cups-browsed, so consider them as such regardless of the + "cups-browsed=true" attribute. + +- If a queue gets overwritten and cups-browsed gets note of that by a + printer-modified D-Bus notification, we will only drop control from + this queue and create a new queue with a new name if the device URI + gets replace by something different from "implicitclass://...". If + the device URI stays intact and the PPD gets modified, we recover + the PPD by regenerating the queue under its current name. + +This especially prevents from queues with "implicitclass://..." device +URI not being handled by cups-browsed. +--- + daemon/cups-browsed.c | 27 ++++++++++++++++++++++++--- + 1 file changed, 24 insertions(+), 3 deletions(-) + +diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c +index c1e64fab..29fd34a1 100644 +--- a/daemon/cups-browsed.c ++++ b/daemon/cups-browsed.c +@@ -4090,6 +4090,13 @@ get_local_printers (void) + cups_browsed_controlled = val && (!strcasecmp (val, "yes") || + !strcasecmp (val, "on") || + !strcasecmp (val, "true")); ++ if (!cups_browsed_controlled && ++ strncmp(device_uri, "implicitclass://", 16) == 0) ++ { ++ cups_browsed_controlled = 1; ++ debug_printf ("Printer %s with URI %s does not have the \"cups-browsed=true\" attribute set, considering cups-browsed-created anyway, due to the implicitclass backend being used.\n", ++ dest->name, device_uri); ++ } + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", dest->name); + printer = new_local_printer (device_uri, get_printer_uuid(conn, uri), +@@ -7176,7 +7183,11 @@ on_printer_deleted (CupsNotifier *object, + } + + +-static int ++static int // 0: Queue OK, keep ++ // 1: Device URI overwritten, drop ++ // control ++ // 2: URI OK, PPD overwritten, ++ // recreate queue + queue_overwritten (remote_printer_t *p) + { + http_t *conn = NULL; +@@ -7306,7 +7317,7 @@ queue_overwritten (remote_printer_t *p) + p->queue_name, (p->nickname ? p->nickname : "(no PPD)"), + (makemodel ? makemodel : + "(NickName not readable)")); +- overwritten = 1; ++ overwritten = 2; + } + } + } +@@ -7349,7 +7360,7 @@ on_printer_modified (CupsNotifier *object, + // avoid an infinite recursion + goto end; + +- if (queue_overwritten(p)) ++ if (queue_overwritten(p) == 1) + { + // Our generated local queue pointing to a remote printer got + // overwritten by an externally created queue with the same +@@ -7470,6 +7481,16 @@ on_printer_modified (CupsNotifier *object, + if (in_shutdown == 0) + recheck_timer(); + } ++ else if (queue_overwritten(p) == 2) ++ { ++ // Only the PPD got overwritten, the device URI is still ++ // "implicitclass://...", so we have a totally broken queue ++ // and simply re-create it under its original name ++ p->status = STATUS_TO_BE_CREATED; ++ p->timeout = time(NULL) + TIMEOUT_IMMEDIATELY; ++ debug_printf("CUPS queue %s with URI %s got damaged (PPD overwritten). Re-create it.", ++ printer, p->uri); ++ } + else + { + if (terminating) diff --git a/hardware/printer/cups-browsed/pspec.xml b/hardware/printer/cups-browsed/pspec.xml new file mode 100644 index 0000000000..6014138111 --- /dev/null +++ b/hardware/printer/cups-browsed/pspec.xml @@ -0,0 +1,62 @@ + + + + + cups-browsed + https://github.com/OpenPrinting/cups-browsed + + PisiLinux Community + admins@pisilinux.org + + Apache + library + helper daemon to browse for remote CUPS queues and IPP network printers + cups-browsed + Uzak CUPS kuyruklarına ve IPP ağ yazıcılarına göz atmak için yardımcı arka plan programı + https://github.com/OpenPrinting/cups-browsed/releases/download/2.0.0/cups-browsed-2.0.0.tar.xz + + cups-devel + glib2-devel + libppd-devel + python3-devel + avahi-glib-devel + avahi-libs + libcupsfilters-devel + openldap-client + + + 0001-Better-handle-damage-of-queues-created-by-cups-browsed.patch + + + + + cups-browsed + + cups + glib2 + libppd + avahi-glib + avahi-libs + libcupsfilters + openldap-client + + + /usr/sbin + /etc + /usr/lib + /usr/share + /usr/share/man + /usr/share/doc + + + + + + 2024-05-16 + 2.0.0 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/printer/cups-browsed/translations.xml b/hardware/printer/cups-browsed/translations.xml new file mode 100644 index 0000000000..fa4a91232d --- /dev/null +++ b/hardware/printer/cups-browsed/translations.xml @@ -0,0 +1,8 @@ + + + + cups-browsed + helper daemon to browse for remote CUPS queues and IPP network printers + Uzak CUPS kuyruklarına ve IPP ağ yazıcılarına göz atmak için yardımcı arka plan programı + + diff --git a/pisi-index.xml b/pisi-index.xml index 3bf296799f..fccf4b5f7d 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -2711,7 +2711,7 @@ Mozilla Firefox – otwarta przeglądarka internetowa oparta na silniku Gecko, stworzona i rozwijana przez Korporację Mozilla oraz ochotników. Navegue por la web de forma rápida y segura. Navegador web de código abierto que se puede personalizar con características adicionales. firefox - https://ftp.mozilla.org/pub/firefox/releases/125.0.3/source/firefox-125.0.3.source.tar.xz + https://ftp.mozilla.org/pub/firefox/releases/126.0/source/firefox-126.0.source.tar.xz mozconfig-inst mozconfig-opt @@ -2844,7 +2844,7 @@ system.locale lang-az - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-az@firefox.mozilla.org.xpi @@ -2858,7 +2858,7 @@ system.locale lang-bs - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-bs@firefox.mozilla.org.xpi @@ -2872,7 +2872,7 @@ system.locale lang-ca - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-ca@firefox.mozilla.org.xpi @@ -2886,7 +2886,7 @@ system.locale lang-da - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-da@firefox.mozilla.org.xpi @@ -2900,7 +2900,7 @@ system.locale lang-de - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-de@firefox.mozilla.org.xpi @@ -2914,7 +2914,7 @@ system.locale lang-el - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-el@firefox.mozilla.org.xpi @@ -2928,7 +2928,7 @@ system.locale lang-en-US - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi @@ -2942,7 +2942,7 @@ system.locale lang-en-GB - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi @@ -2956,7 +2956,7 @@ system.locale lang-es-AR - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-es-AR@firefox.mozilla.org.xpi @@ -2970,7 +2970,7 @@ system.locale lang-es-CL - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-es-CL@firefox.mozilla.org.xpi @@ -2984,7 +2984,7 @@ system.locale lang-es-ES - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-es-ES@firefox.mozilla.org.xpi @@ -2998,7 +2998,7 @@ system.locale lang-fi - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-fi@firefox.mozilla.org.xpi @@ -3012,7 +3012,7 @@ system.locale lang-fr - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-fr@firefox.mozilla.org.xpi @@ -3026,7 +3026,7 @@ system.locale lang-hr - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-hr@firefox.mozilla.org.xpi @@ -3040,7 +3040,7 @@ system.locale lang-hu - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-hu@firefox.mozilla.org.xpi @@ -3054,7 +3054,7 @@ system.locale lang-it - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-it@firefox.mozilla.org.xpi @@ -3068,7 +3068,7 @@ system.locale lang-lt - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-lt@firefox.mozilla.org.xpi @@ -3082,7 +3082,7 @@ system.locale lang-nl - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-nl@firefox.mozilla.org.xpi @@ -3096,7 +3096,7 @@ system.locale lang-pl - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-pl@firefox.mozilla.org.xpi @@ -3110,7 +3110,7 @@ system.locale lang-pt-BR - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-pt-BR@firefox.mozilla.org.xpi @@ -3124,7 +3124,7 @@ system.locale lang-pt-PT - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-pt-PT@firefox.mozilla.org.xpi @@ -3138,7 +3138,7 @@ system.locale lang-ro - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-ro@firefox.mozilla.org.xpi @@ -3152,7 +3152,7 @@ system.locale lang-ru - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-ru@firefox.mozilla.org.xpi @@ -3166,7 +3166,7 @@ system.locale lang-sr - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-sr@firefox.mozilla.org.xpi @@ -3180,7 +3180,7 @@ system.locale lang-sv-SE - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-sv-SE@firefox.mozilla.org.xpi @@ -3194,7 +3194,7 @@ system.locale lang-tr - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-tr@firefox.mozilla.org.xpi @@ -3208,13 +3208,20 @@ system.locale lang-uk - firefox + firefox /usr/lib/firefox/browser/extensions/langpack-uk@firefox.mozilla.org.xpi + + 2024-05-13 + 126.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2024-04-30 125.0.3 @@ -26429,11 +26436,12 @@ Gnome session. Run X clients under wayland Run X clients under wayland Run X clients under wayland - https://xorg.freedesktop.org/archive/individual/xserver/xwayland-23.2.6.tar.xz + https://xorg.freedesktop.org/archive/individual/xserver/xwayland-24.1.0.tar.xz meson xtrans font-util + libei-devel libmd-devel mesa-devel audit-devel @@ -26460,6 +26468,7 @@ Gnome session. xorg-xwayland mesa + libei libmd libXau libbsd @@ -26491,7 +26500,7 @@ Gnome session. xorg-xwayland-devel Development files for xorg-xwayland - xorg-xwayland + xorg-xwayland /usr/include @@ -26502,6 +26511,13 @@ Gnome session. + + 2024-05-15 + 24.1.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2024-04-09 23.2.6 @@ -60481,15 +60497,16 @@ Gnome session. smplayer Qt ile yazılmış, gelişmiş bir mplayer önyüzüdür. Basit özelliklerinin yanı sıra, TV, DVD, VCD oynatma, mplayer filtrelerini kullanabilme gibi yetenekleri de bulunmaktadır. SMPlayer es un reproductor multimedia gratuito y para Windows y Linux con códecs incorporados, que puede reproducir prácticamente cualquier formato de vídeo y audio. No necesita ningún códec externo. Simplemente instala SMPlayer y podrás reproducir cualquier formato sin la molestia de tener que buscar e instalar paquetes de códecs. smplayer - https://sourceforge.net/projects/smplayer/files/SMPlayer/22.7.0/smplayer-22.7.0.tar.bz2 - https://downloads.sourceforge.net/smplayer/smplayer-themes-20.11.0.tar.bz2 - https://downloads.sourceforge.net/smplayer/smplayer-skins-20.11.0.tar.bz2 + https://sourceforge.net/projects/smplayer/files/SMPlayer/23.5.0/smplayer-24.5.0.tar.bz2 + https://downloads.sourceforge.net/smplayer/smplayer-themes-20.11.0.tar.bz2 + https://downloads.sourceforge.net/smplayer/smplayer-skins-20.11.0.tar.bz2 zlib-devel qt5-linguist qt5-base-devel qt5-script-devel libxkbcommon-devel + qt5-declarative-devel multimedia/videoplayer/smplayer/pspec.xml @@ -60502,6 +60519,7 @@ Gnome session. zlib libgcc mpv-player + qt5-declarative /usr/bin @@ -60515,6 +60533,13 @@ Gnome session. + + 2024-05-14 + 24.5.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-08-06 22.7.0 @@ -120454,14 +120479,14 @@ Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 ol desktop.kde6.framework Add-ons for the Kirigami framework Add-ons for the Kirigami framework - https://download.kde.org/stable/kirigami-addons/kirigami-addons-1.2.0.tar.xz + https://download.kde.org/stable/kirigami-addons/kirigami-addons-1.2.1.tar.xz - ki18n-kf6-devel - kconfig-kf6-devel - kirigami-kf6-devel + ki18n-kf6-devel + kconfig-kf6-devel + kirigami-kf6-devel qt6-base-devel qt6-declarative-devel - extra-cmake-modules-kf6 + extra-cmake-modules-kf6 desktop/kde6/framework/kirigami-addons-kf6/pspec.xml @@ -120479,6 +120504,13 @@ Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 ol + + 2024-05-15 + 1.2.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2024-05-11 1.2.0 @@ -377437,15 +377469,17 @@ components such as the Settings and gnome-shell. Ek özelliklere ve düzeltmelere sahip bir youtube-dl çatalı A youtube-dl fork with additional features and fixes Ek özelliklere ve düzeltmelere sahip bir youtube-dl çatalı - https://github.com/yt-dlp/yt-dlp/archive/refs/tags/2023.12.30.tar.gz + https://github.com/yt-dlp/yt-dlp/archive/refs/tags/2024.04.09.tar.gz git pandoc-bin aria2-devel ffmpeg-devel + python3-build python3-devel python3-mutagen python3-certifi + python3-hatchling python3-setuptools python3-pycryptodomex python3-importlib_metadata @@ -377462,6 +377496,7 @@ components such as the Settings and gnome-shell. cython3 python3-brotli python3-certifi + python3-hatchling python3-mutagen python3-websockets python3-pycryptodomex @@ -377472,11 +377507,19 @@ components such as the Settings and gnome-shell. /usr/share/bash-completion/completions /usr/share/zsh/site-functions /usr/share/doc/yt-dlp - /usr/lib/python3.*/site-packages/yt_dlp - /usr/lib/python3.*/site-packages/yt_dlp-*.egg-info + /usr/lib/python3*/site-packages/yt_dlp + /usr/lib/python3*/site-packages/yt_dlp-*.egg-info + /usr/lib/python3*/site-packages/yt_dlp-*.dist-info + + 2024-05-14 + 2024.04.09 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2023-12-31 2023.12.30 @@ -457798,6 +457841,68 @@ from a wide variety of machine architectures. + + + cups-browsed + https://github.com/OpenPrinting/cups-browsed + + PisiLinux Community + admins@pisilinux.org + + Apache + library + hardware.printer + helper daemon to browse for remote CUPS queues and IPP network printers + helper daemon to browse for remote CUPS queues and IPP network printers + Uzak CUPS kuyruklarına ve IPP ağ yazıcılarına göz atmak için yardımcı arka plan programı + Uzak CUPS kuyruklarına ve IPP ağ yazıcılarına göz atmak için yardımcı arka plan programı + cups-browsed + https://github.com/OpenPrinting/cups-browsed/releases/download/2.0.0/cups-browsed-2.0.0.tar.xz + + cups-devel + glib2-devel + libppd-devel + python3-devel + avahi-glib-devel + avahi-libs + libcupsfilters-devel + openldap-client + + + 0001-Better-handle-damage-of-queues-created-by-cups-browsed.patch + + hardware/printer/cups-browsed/pspec.xml + + + cups-browsed + + cups + glib2 + libppd + avahi-glib + avahi-libs + libcupsfilters + openldap-client + + + /usr/sbin + /etc + /usr/lib + /usr/share + /usr/share/man + /usr/share/doc + + + + + 2024-05-16 + 2.0.0 + First release + PisiLinux Community + admins@pisilinux.org + + + foomatic-db @@ -463974,7 +464079,7 @@ from a wide variety of machine architectures. PSPP supports T-tests, ANOVA, GLM, linear and logistic regression, reliability analysis, clustering, factor analysis, non-parametric tests, and other statistical features. PSPP produces statistical reports in plain text, PDF, PostScript, CSV, HTML, SVG, and OpenDocument formats. PSPP, T testleri, ANOVA, GLM, doğrusal ve lojistik regresyon, güvenilirlik analizi, kümeleme, faktör analizi, parametrik olmayan testler ve diğer istatistiksel özellikleri destekler. PSPP, düz metin, PDF, PostScript, CSV, HTML, SVG ve OpenDocument formatlarında istatistiksel raporlar üretir. pspp - http://mirror.rabisu.com/gnu/pspp/pspp-1.6.2.tar.gz + http://mirror.rabisu.com/gnu/pspp/pspp-2.0.1.tar.gz texinfo gtk3-devel @@ -464045,6 +464150,13 @@ from a wide variety of machine architectures. + + 2024-05-13 + 2.0.1 + Version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + 2023-03-13 1.6.2 diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index d0808679bf..b0b98e0f78 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -091982dc93ae13f9cb1483d21b8e7630ad428622 \ No newline at end of file +513891f6d4423410b078b01f2df01c0d0cddb00d \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 25f0fda72a..33b0ff704a 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index add86424e6..dbe7807df6 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -2c3faf44a2b678895c38cc9b4085e1c36fa0c229 \ No newline at end of file +8f159efe594ec32730cd26768f5fd6143d557298 \ No newline at end of file