SHA256
8
0
forked from pool/perl-Cairo

Compare commits

...

21 Commits

Author SHA256 Message Date
8f3a831435 Add Gitea build results 2025-08-12 18:12:03 +02:00
d46ec480c2 Accepting request 1219460 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=42
2024-10-30 16:39:18 +00:00
b7e7e0f789 - Fix type of length in cairo_surface_set_mime_data
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Cairo?expand=0&rev=40
2024-10-04 13:15:44 +00:00
70e1bda73c Accepting request 865451 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/865451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=41
2021-01-21 20:57:42 +00:00
db194e5a95 Accepting request 852330 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/852330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=40
2020-12-01 13:23:48 +00:00
7c27de1845 Accepting request 738166 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/738166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=39
2019-10-14 10:43:00 +00:00
876c0050b5 Accepting request 400569 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/400569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=38
2016-06-12 16:54:43 +00:00
f6290346c2 Accepting request 335902 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/335902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=37
2015-10-14 14:44:08 +00:00
7050e737f4 Accepting request 327876 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/327876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=36
2015-09-03 16:02:23 +00:00
Tomáš Chvátal
b524accafc Accepting request 202208 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/202208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=34
2013-10-06 12:30:43 +00:00
Stephan Kulow
ba52e2bc80 Accepting request 177354 from devel:languages:perl
- updated to 1.103
  * Hush a few compiler warnings
  * Updated copyright date
  
  Overview of changes in Cairo 1.102
  ==================================
  
  * Fix building with perl <= 5.14
  * Prevent crashes on exit with Cairo::Path on perl 5.6.
  
  Overview of changes in Cairo 1.101
  ==================================
  
  * Properly specify our dependencies.
  * Fix some erroneous POD links.
  * Distribute a missing test file.
  
  Overview of changes in Cairo 1.100
  ==================================
  
  Since 1.08x (the previous stable series)
  ----------------------------------------
  * Make "use Cairo x.yyy" work.  This required renaming the old
    Cairo::VERSION, a wrapper for CAIRO_VERSION, to Cairo::LIB_VERSION --
    but we kept the old way of calling it working.  Cairo::version,
    Cairo::version_string and Cairo::VERSION_ENCODE got the same treatment
    for consistency.
  * Auto-upgrade strings to utf8.  Note that this means that calling
    utf8::encode() on strings before passing them into Cairo will now
    yield doubly-encoded and thus broken strings.  Also, having (forwarded request 177252 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=32
2013-06-07 08:05:39 +00:00
Stephan Kulow
0cefc93e6f Accepting request 123891 from devel:languages:perl
->

OBS-URL: https://build.opensuse.org/request/show/123891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=29
2012-06-10 18:18:34 +00:00
Stephan Kulow
72b9c51c4c Accepting request 103902 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=28
2012-02-14 12:07:53 +00:00
Stephan Kulow
f8c190aa93 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=27
2011-12-06 17:38:02 +00:00
Sascha Peilicke
a61732f5b5 Accepting request 88427 from devel:languages:perl
- update to 1.081
  * Wrap new 1.8 and 1.10 API.
  * Make Cairo::Pattern->set_extend, get_extend, set_filter and get_filter
    available to all pattern types, not just surface patterns.
  * Make it possible to modify and create paths.

OBS-URL: https://build.opensuse.org/request/show/88427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=25
2011-10-18 12:26:20 +00:00
9dde9bff4c Autobuild autoformatter for 69359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=24
2011-05-03 11:18:44 +00:00
f100464bd1 Accepting request 69359 from devel:languages:perl
- update to 1.062
  * Cairo::FtFontFace: Keep the FT_Face alive long enough to avoid
    segfaults
  * Add two new example programs
  * Fix test failures (patch no longer necessary -> dropped)

OBS-URL: https://build.opensuse.org/request/show/69359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=23
2011-05-03 11:18:35 +00:00
Lars Vogdt
2733db0dcf Autobuild autoformatter for 54474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=21
2010-12-05 20:38:33 +00:00
Lars Vogdt
65cc136c8f Accepting request 54474 from devel:languages:perl
Accepted submit request 54474 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=20
2010-12-05 20:38:25 +00:00
84ba7ca58b Autobuild autoformatter for 53906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=19
2010-11-26 16:32:42 +00:00
32d22b83f3 Accepting request 53906 from devel:languages:perl
Accepted submit request 53906 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/53906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Cairo?expand=0&rev=18
2010-11-26 16:32:35 +00:00
4 changed files with 37 additions and 1 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Cairo/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Cairo)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 4 15:14:47 CEST 2024 - mls@suse.de
- Fix type of length in cairo_surface_set_mime_data
* new patch: set_mime_data_length.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 21 03:06:12 UTC 2021 - Tina Müller <timueller+perl@suse.de> Thu Jan 21 03:06:12 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Cairo # spec file for package perl-Cairo
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ License: LGPL-2.1-or-later
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Source100: README.md
Patch0: set_mime_data_length.diff
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Depends) >= 0.2 BuildRequires: perl(ExtUtils::Depends) >= 0.2

16
set_mime_data_length.diff Normal file
View File

@@ -0,0 +1,16 @@
--- CairoSurface.xs.orig 2024-10-04 13:12:20.636290906 +0000
+++ CairoSurface.xs 2024-10-04 13:12:53.600240731 +0000
@@ -389,11 +389,11 @@ cairo_status_t
cairo_surface_set_mime_data (cairo_surface_t *surface, const char *mime_type, SV *data);
PREINIT:
const unsigned char *mime_data;
- unsigned long length;
+ STRLEN length;
CODE:
SvREFCNT_inc (data);
mime_data = (const unsigned char *) SvPV(data, length);
- RETVAL = cairo_surface_set_mime_data (surface, mime_type, mime_data, length, data_destroy, data);
+ RETVAL = cairo_surface_set_mime_data (surface, mime_type, mime_data, (unsigned long)length, data_destroy, data);
OUTPUT:
RETVAL