4 Commits

Author SHA256 Message Date
15b2779f03 Accepting request 1256126 from Printing
OBS-URL: https://build.opensuse.org/request/show/1256126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipp-usb?expand=0&rev=3
2025-03-26 20:20:30 +00:00
af84426223 Accepting request 1255086 from home:rrahl0
- update to 0.9.30:
  * Ensure printer-uri Adheres to RFC 3510 – Must Start with "ipp:" Scheme
  * added quirks file to make Brother QL-810W work properly
  * correct typo in TestAddPDL error message
  * Fix typo extected to expected
  * Added "usb-send-delay" quirk
  * Fixed possibly panic on certain error conditions
  * Name QuirkNmUsbSendDelay consistent with QuirkNmUsbMaxInterfaces
  * More refactoring around QuirkNmUsbSendDelay
  * usb-send-delay quirk documented
  * Added the usb-send-delay-threshold quirk
  * Fixed typo in usb-send-delay-threshold on the man page
  * Cosmetic (removed stalled, now meaningless comment)
  * Added quirks for HP X677
  * Add rockcraft support for ipp-usb
  * Cosmetic (removed the blank line from the ..gitignore file)

OBS-URL: https://build.opensuse.org/request/show/1255086
OBS-URL: https://build.opensuse.org/package/show/Printing/ipp-usb?expand=0&rev=6
2025-03-26 07:56:33 +00:00
78a1b3b263 Accepting request 1249816 from Printing
OBS-URL: https://build.opensuse.org/request/show/1249816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipp-usb?expand=0&rev=2
2025-03-03 15:37:41 +00:00
2e139c43ba Accepting request 1249339 from home:rrahl0
- update to 0.9.29:
  * USB: zero-length read logged at Debug level
  * Fixed formatting of debug message
  * Performance tuning after 0-length USB packets reception
  * fixed typo in names of two local variables
  * Fixed crash on ipp-usb status
  * Added tcp port info to status output
  * Applied changes for pull request
  * Fixed ipp-usb status formatting for small port numbers (<10000)
  * Fixed crash with blacklisted devices
  * USB serial number and vendor/device ID exposed via TXT record
  * ipp-usb status: if HTTP port is not available, print "-" instead of "0"
  * Newly added usb_SER and usb_HWID TXT records documented on the man page
  * Quirks handling refactored. Quirks tests updated.
  * Low-level USB I/O refactored to be cancelable via context.Context
  * Added comprehensive test of quirks value parsers
  * Fixed go 1.11 build
  * avoided code duplication in decoding libusb_transfer results
  * Refactiring: UsbIO renamed to UsbEIO, for consistency with other error
    codes
  * Refactoring: use context.Context to specify low-level USB I/O timeout
  * Don't start USB low-level I/O operation, if context.Context already
    expired
  * Removed unused function
  * Device initialization timeout handling revisited
  * Fixed premature context.Context cancellation for HTTP requests with
    timeout
  * Added alternative syntax for delays in the quirks
  * ipp-usb-quirks/README updated
  * Device init timeout was mistakenly left enabled after the initialization

OBS-URL: https://build.opensuse.org/request/show/1249339
OBS-URL: https://build.opensuse.org/package/show/Printing/ipp-usb?expand=0&rev=4
2025-03-03 13:08:48 +00:00
6 changed files with 90 additions and 15 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" ?>
<services>
<service name="download_files" mode="manual" />
<service name="tar_scm" mode="manual">
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/OpenPrinting/ipp-usb.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/0.9.27</param>
<param name="revision">refs/tags/0.9.30</param>
<param name="versionformat">@PARENT_TAG@</param>
</service>
<service name="recompress" mode="manual">
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f1834744c5a6213cba3bfff47c78626eb60612f0de7cf556160cf8ee01ba62e
size 93441

3
ipp-usb-0.9.30.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83789853fd87b8ea47089db65cb507772749a471cd22c26bbef49c21e24e5234
size 423435

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Mon Mar 17 22:22:14 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.9.30:
* Ensure printer-uri Adheres to RFC 3510 Must Start with "ipp:" Scheme
* added quirks file to make Brother QL-810W work properly
* correct typo in TestAddPDL error message
* Fix typo extected to expected
* Added "usb-send-delay" quirk
* Fixed possibly panic on certain error conditions
* Name QuirkNmUsbSendDelay consistent with QuirkNmUsbMaxInterfaces
* More refactoring around QuirkNmUsbSendDelay
* usb-send-delay quirk documented
* Added the usb-send-delay-threshold quirk
* Fixed typo in usb-send-delay-threshold on the man page
* Cosmetic (removed stalled, now meaningless comment)
* Added quirks for HP X677
* Add rockcraft support for ipp-usb
* Cosmetic (removed the blank line from the ..gitignore file)
-------------------------------------------------------------------
Fri Feb 28 23:00:52 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.9.29:
* USB: zero-length read logged at Debug level
* Fixed formatting of debug message
* Performance tuning after 0-length USB packets reception
* fixed typo in names of two local variables
* Fixed crash on ipp-usb status
* Added tcp port info to status output
* Applied changes for pull request
* Fixed ipp-usb status formatting for small port numbers (<10000)
* Fixed crash with blacklisted devices
* USB serial number and vendor/device ID exposed via TXT record
* ipp-usb status: if HTTP port is not available, print "-" instead of "0"
* Newly added usb_SER and usb_HWID TXT records documented on the man page
* Quirks handling refactored. Quirks tests updated.
* Low-level USB I/O refactored to be cancelable via context.Context
* Added comprehensive test of quirks value parsers
* Fixed go 1.11 build
* avoided code duplication in decoding libusb_transfer results
* Refactiring: UsbIO renamed to UsbEIO, for consistency with other error
codes
* Refactoring: use context.Context to specify low-level USB I/O timeout
* Don't start USB low-level I/O operation, if context.Context already
expired
* Removed unused function
* Device initialization timeout handling revisited
* Fixed premature context.Context cancellation for HTTP requests with
timeout
* Added alternative syntax for delays in the quirks
* ipp-usb-quirks/README updated
* Device init timeout was mistakenly left enabled after the initialization
* Added 'init-timeout' quirk
* Removed unneeded debug print, occasionally leaked to the repo
* Minor tweak of log message
* Fixed possibility to cancel response body fetching before completion
* Fixed handling of errors returned by libusb_submit_transfer()
* Quirks logistics down to the UsbInterface structure
* Added 'zlp-send'
* Added 'zlp-recv-hack' quirk
* More testing of quirks
* Fixed few typos in the man page
* Added 'init-retry-partial' quirk
* Logging tweaked a bit
* Fix init-retry-partial when zlp-recv-hack triggers during HTTP header
reception
* HP quirks updated
* Removed println line, leaked by mistake
* Fixed wildcard, used in quirks to match HP Color LaserJet Flow
- update to 0.9.28:
* remove debian directory
- switch to obs_scm, so we can save on disk space in the long run
- remove go vendor workaround, as upstream fixed the issue
- remove download_files service, as it was never needed
-------------------------------------------------------------------
Thu Jul 25 21:41:05 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

4
ipp-usb.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: ipp-usb
version: 0.9.30
mtime: 1742155613
commit: 42c0eb90b183f0c744961caaee2b64b0a733fca2

View File

@@ -1,7 +1,7 @@
#
# spec file for package ipp-usb
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define import_path github.com/OpenPrinting/ipp-usb
Name: ipp-usb
Version: 0.9.27
Version: 0.9.30
Release: 0
Summary: HTTP reverse proxy, backed by IPP-over-USB connection to device
License: BSD-2-Clause
@@ -43,14 +43,10 @@ printers, to be used with USB printers as well.
%prep
%autosetup
%goprep %{import_path}
# for some reason go always tries to download goipp, even with it being available
mkdir -p %{_builddir}/%{name}-%{version}/vendor/github.com/OpenPrinting
echo "github.com/OpenPrinting/goipp" > %{_builddir}/%{name}-%{version}/vendor/modules.txt
cp -r %{go_contribsrcdir}/github.com/OpenPrinting/goipp %{_builddir}/%{name}-%{version}/vendor/github.com/OpenPrinting
%build
go build -buildmode=pie -mod=vendor .
%install
install -d %{buildroot}%{_datadir}/%{name}/quirks
install -Dm0755 %{name} %{buildroot}%{_sbindir}/%{name}
@@ -61,7 +57,6 @@ install -Dm0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system/%{name}.ser
install -d %{buildroot}%{_localstatedir}/log/%{name}
install -d %{buildroot}%{_sysconfdir}/%{name}
%pre
%service_add_pre %{name}.service