Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3] papd - More cleanup and moderization of print_cups.c #672

Merged
merged 6 commits into from
Jan 13, 2024
Merged

[2.3] papd - More cleanup and moderization of print_cups.c #672

merged 6 commits into from
Jan 13, 2024

Conversation

NJRoadfan
Copy link
Contributor

Another attempt to clean things up for CUPS 3.0. Removed yet more deprecated API calls. Updated IPP commands to current values. Also removed unneeded calls to get language information since CUPS does that for you automatically via ippNewRequest().

Replace obsolete IPP command names and status names with current versions.
The function cupsSetPassword() is deprecated. Update all calls to cupsSetPassword2() and update the callback function to support the extra parameters passed.
The ippNewRequest() function now automatically adds "attributes-charset" and "attributes-natural-language" to a request.
Set this to 'true' instead of '1'.
@rdmark
Copy link
Member

rdmark commented Jan 13, 2024

@NJRoadfan is this a changeset that you want to have merged now, or is it for after cups 3.0 has been released?

I’m planning to tag 2.3.1 in the coming week or two.

@NJRoadfan
Copy link
Contributor Author

This is something that should be merged now (after testing of course). Its just code moderization.

@NJRoadfan
Copy link
Contributor Author

Stand by, got a few more changes to push over.

@NJRoadfan
Copy link
Contributor Author

Should be good to go now.

@rdmark rdmark merged commit 1ad8b22 into Netatalk:branch-netatalk-2-3 Jan 13, 2024
7 checks passed
@NJRoadfan NJRoadfan deleted the update-cups-api branch January 23, 2024 02:12
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Feb 5, 2024
New features

The following compile time option has been added:

    --with-docbook - Used to generate man and html pages from XML
    sources, the latter which are now included in the tarball.

Breaking changes

The following obsoleted features have been removed:

    Kerberos IV UAM - Version IV backwards compatibility headers were
    removed from Kerberos V 1.11 in 2012

    AppleDouble adouble:osx - The AD format that Mac OS X 10.3 used,
    but was removed in subsequent versions

    AppleDouble adouble:sfm - Microsoft's Services For Macintosh
    compatibility mode that required a long-gone hacked version of
    Samba

atalkd

The RTMP broadcast quirks mode that was introduced in v2.3.0 has been
replaced with an automatic activation when atalkd is configured with a
single interface and the -router flag.

Therefore, the now-unneeded -q command line option has been removed.
What's Changed

    [2.3] Fix Zeroconf support on *BSD platforms by @rdmark in
    Netatalk/netatalk#647
    [2.3] Add NetBSD, Solaris, Fedora build workflows by @rdmark in
    Netatalk/netatalk#642
    [2.3] Use correct BSD make syntax in initscripts Makefile by
    @rdmark in Netatalk/netatalk#644
    [2.3] Remove long-outdated README and VERSION files, superseded by
    man pages by @rdmark in
    Netatalk/netatalk#641
    [2.3] Two small memory handling patches ported from
    netatalk-classic by @rdmark in
    Netatalk/netatalk#645
    [2.3] macusers: Fallback output when full name not available by
    @rdmark in Netatalk/netatalk#652
    [2.3] papd: Update cups_print_job() to use CUPS destination API by
    @NJRoadfan in Netatalk/netatalk#651
    [2.3] papd: Update cups_autoadd_printers() to use current API
    call. by @NJRoadfan in
    Netatalk/netatalk#655
    [2.3] workflow: Compile on Debian with cracklib, ldap, quota by
    @rdmark in Netatalk/netatalk#653
    [2.3] Use GitHub actions v4 for workflow jobs by @rdmark in
    Netatalk/netatalk#662
    [2.3] manual: Link to custom download and wiki mirrors in navbar
    by @rdmark in Netatalk/netatalk#671
    [2.3] papd - More cleanup and moderization of print_cups.c by
    @NJRoadfan in Netatalk/netatalk#672
    [2.3] papd - Use cups_get_language() function by @NJRoadfan in
    Netatalk/netatalk#674
    [2.3] papd: Use cupsGetOptions() to get printer URI by @NJRoadfan
    in Netatalk/netatalk#678
    [2.3] atalkd: Fix for RTMP broadcast bug. by @NJRoadfan in
    Netatalk/netatalk#680
    [2.3] Workflow: Bump SonarScanner to v2 by @rdmark in
    Netatalk/netatalk#685
    [2.3] libatalk: Appease Fedora gcc incompatible pointer error by
    @rdmark in Netatalk/netatalk#683
    [2.3] afpd: Remove support for AppleDouble osx and sfm by @rdmark
    in Netatalk/netatalk#673
    [2.3] Remove obsoleted Kerberos v4 UAM by @rdmark in
    Netatalk/netatalk#686
    [2.3] Generate man pages through build system by @rdmark in
    Netatalk/netatalk#690
    [2.3] Cleanup of obsolete gitignore filters by @rdmark in
    Netatalk/netatalk#693
    [2.3] manual: Update URLs to internal resources by @rdmark in
    Netatalk/netatalk#695
    [2.3] papd: Refactor and cleanup cups_get_printer_ppd() by
    @NJRoadfan in Netatalk/netatalk#700
    [2.3] papd: update cups_get_printer_status() by @NJRoadfan in
    Netatalk/netatalk#696
    [2.3] manual: Remove obsoleted html-upload target, and update css
    URL by @rdmark in Netatalk/netatalk#701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants