[Bug 841925] New: doesn't build against CUPS 1.6

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 20 14:47:00 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=841925

            Bug ID: 841925
        QA Contact: extras-qa at fedoraproject.org
          Severity: medium
           Version: rawhide
          Priority: unspecified
                CC: fedora at famillecollet.com, mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, psabata at redhat.com
          Assignee: psabata at redhat.com
           Summary: doesn't build against CUPS 1.6
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Linux
          Reporter: jpopelka at redhat.com
              Type: Bug
     Documentation: ---
          Hardware: All
        Mount Type: ---
            Status: NEW
         Component: perl-Net-CUPS
           Product: Fedora

Created attachment 599408
  --> https://bugzilla.redhat.com/attachment.cgi?id=599408&action=edit
patch to build against CUPS 1.6

Hi,

CUPS 1.6 has been planned to be out this summer.
There's however one feature [1] that prevents
perl-Net-CUPS from building against it.

CUPS 1.6 makes various structures private and
introduces several ippGet and ippSet functions
for all of the fields in these structures.

I'm attaching a patch that fixes it for me (tested with CUPS-1.6rc1).
With this patch we use these accessors for IPP API.
We also define our own accessors when CUPS < 1.6.

Upstream seems to be quite dead at first glance,
but I'll be glad if you could try to push the patch there.

You will also need to add
BuildRequire cups-filters-devel
to the spec file once cups-1.6 and cups-filters (bug #832130)
land in rawhide.

[1] http://www.cups.org/str.php?L3928

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the perl-devel mailing list