Hello community,
here is the log from the commit of package perl-Alien-SDL for openSUSE:Factory checked in at 2015-04-25 09:52:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Alien-SDL (Old)
and /work/SRC/openSUSE:Factory/.perl-Alien-SDL.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Alien-SDL"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Alien-SDL/perl-Alien-SDL.changes 2014-06-23 10:44:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Alien-SDL.new/perl-Alien-SDL.changes 2015-04-25 09:54:24.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Apr 15 18:19:33 UTC 2015 - coolo@suse.com
+
+- adapt to new packaging
+
+-------------------------------------------------------------------
+Tue Apr 14 10:08:06 UTC 2015 - coolo@suse.com
+
+- updated to 1.446
+ see /usr/share/doc/packages/perl-Alien-SDL/Changes
+
+ 1.446 Sat Feb 21 2015
+ - fix build on OS X Mavericks (missing symbol CGDirectPaletteRef) [FROGGS]
+ - build fix on Windows Strawberry Perl 5.20.+ [kmx]
+
+-------------------------------------------------------------------
Old:
----
Alien-SDL-1.444.tar.gz
New:
----
Alien-SDL-1.446.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Alien-SDL.spec ++++++
--- /var/tmp/diff_new_pack.FPjJ1b/_old 2015-04-25 09:54:25.000000000 +0200
+++ /var/tmp/diff_new_pack.FPjJ1b/_new 2015-04-25 09:54:25.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Alien-SDL
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,44 +17,44 @@
Name: perl-Alien-SDL
-Version: 1.444
+Version: 1.446
Release: 0
%define cpan_name Alien-SDL
-Summary: Building, finding and using SDL binaries
-License: GPL-2.0+ or Artistic-1.0
+Summary: Building, Finding and Using Sdl Binaries
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Alien-SDL/
-Source: http://www.cpan.org/authors/id/F/FR/FROGGS/Alien-SDL-%{version}.tar.gz
-BuildArch: noarch
+Source0: http://www.cpan.org/authors/id/F/FR/FROGGS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: Mesa-devel
-BuildRequires: libSDL_Pango-devel
-BuildRequires: libSDL_image-devel
-BuildRequires: libSDL_mixer-devel
-BuildRequires: libSDL_net-devel
-BuildRequires: libSDL_ttf-devel
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build)
-#
BuildRequires: perl(Archive::Extract)
+BuildRequires: perl(Archive::Tar)
BuildRequires: perl(Archive::Zip)
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Digest::SHA)
+BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(File::Fetch) >= 0.24
-BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path) >= 2.08
BuildRequires: perl(File::ShareDir) >= 1.00
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Which)
+BuildRequires: perl(Module::Build) >= 0.36
BuildRequires: perl(Text::Patch) >= 1.4
Requires: perl(Capture::Tiny)
+Requires: perl(ExtUtils::CBuilder)
Requires: perl(File::ShareDir) >= 1.00
-Requires: perl(File::Spec)
-Requires: perl(File::Temp)
Requires: perl(File::Which)
%{perl_requires}
+# MANUAL BEGIN
+BuildRequires: Mesa-devel
+BuildRequires: gcc-c++
+BuildRequires: libSDL_Pango-devel
+BuildRequires: libSDL_image-devel
+BuildRequires: libSDL_mixer-devel
+BuildRequires: libSDL_net-devel
+BuildRequires: libSDL_ttf-devel
+# MANUAL END
%description
Please see the Alien manpage for the manifesto of the Alien namespace.
@@ -86,7 +86,7 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor --travis
+%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" --travis
./Build build flags=%{?_smp_mflags}
%check
@@ -95,13 +95,12 @@
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
-sed "s:^%{_bindir}:%%attr(755,root,root) %{_bindir}:" %{name}.files -i
-
-%clean
-%{__rm} -rf %{buildroot}
+# MANUAL BEGIN
+sed "s:^%{_bindir}:%%attr(755,root,root) %{_bindir}:" %{name}.files -i
+# MANUAL END
%files -f %{name}.files
-%defattr(644,root,root,755)
-%doc Changes LICENSE README TODO
+%defattr(-,root,root,755)
+%doc Changes LICENSE patches README README.md TODO
%changelog
++++++ Alien-SDL-1.444.tar.gz -> Alien-SDL-1.446.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/Changes new/Alien-SDL-1.446/Changes
--- old/Alien-SDL-1.444/Changes 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/Changes 2015-02-21 20:53:18.000000000 +0100
@@ -5,6 +5,10 @@
TODO
- check for available libs when using --with-sdl-config option
+1.446 Sat Feb 21 2015
+ - fix build on OS X Mavericks (missing symbol CGDirectPaletteRef) [FROGGS]
+ - build fix on Windows Strawberry Perl 5.20.+ [kmx]
+
1.444 Wed May 14 2014
- check that perl was linked against pthread and do a pthread-less build if not (OpenBSD) [FROGGS]
- add patch that replaces $^ in Makefile.in, which can be a problem for BSD's make [FROGGS]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/MANIFEST new/Alien-SDL-1.446/MANIFEST
--- old/Alien-SDL-1.444/MANIFEST 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/MANIFEST 2015-02-21 20:53:18.000000000 +0100
@@ -25,6 +25,7 @@
patches/SDL-1.2.14-SDL_x11gl_c.patch
patches/SDL-1.2.14-video_mmx.patch
patches/SDL-1.2.15-Makefile.in-OBJECTS.patch
+patches/SDL-1.2.15-mavericks-cgdirectpallete.patch
patches/SDL-1.2.15-openbsd-rldflags.patch
patches/SDL-1.2.15-PIC-in-CFLAGS.patch
patches/SDL_config_win32.h
@@ -46,6 +47,7 @@
patches/test1.patch
patches/zlib-1.2.5-bsd-ldconfig.patch
README
+README.md
t/001_load.t
t/002_config.t
t/003_check_header.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/META.json new/Alien-SDL-1.446/META.json
--- old/Alien-SDL-1.444/META.json 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/META.json 2015-02-21 20:53:18.000000000 +0100
@@ -4,7 +4,7 @@
"Kartik Thakore "
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4001, CPAN::Meta::Converter version 2.112621",
+ "generated_by" : "Module::Build version 0.4204",
"license" : [
"perl_5"
],
@@ -16,45 +16,45 @@
"prereqs" : {
"build" : {
"requires" : {
- "Archive::Extract" : 0,
- "Archive::Tar" : 0,
- "Archive::Zip" : 0,
- "Digest::SHA" : 0,
- "ExtUtils::CBuilder" : 0,
+ "Archive::Extract" : "0",
+ "Archive::Tar" : "0",
+ "Archive::Zip" : "0",
+ "Digest::SHA" : "0",
+ "ExtUtils::CBuilder" : "0",
"File::Fetch" : "0.24",
- "File::Find" : 0,
+ "File::Find" : "0",
"File::Path" : "2.08",
- "File::ShareDir" : 0,
- "File::Spec" : 0,
- "File::Temp" : 0,
- "File::Which" : 0,
+ "File::ShareDir" : "0",
+ "File::Spec" : "0",
+ "File::Temp" : "0",
+ "File::Which" : "0",
"Module::Build" : "0.36",
"Text::Patch" : "1.4"
}
},
"configure" : {
"requires" : {
- "Archive::Extract" : 0,
- "Capture::Tiny" : 0,
- "Digest::SHA" : 0,
+ "Archive::Extract" : "0",
+ "Capture::Tiny" : "0",
+ "Digest::SHA" : "0",
"File::Fetch" : "0.24",
- "File::Find" : 0,
+ "File::Find" : "0",
"File::Path" : "2.08",
- "File::ShareDir" : 0,
- "File::Spec" : 0,
- "File::Which" : 0,
+ "File::ShareDir" : "0",
+ "File::Spec" : "0",
+ "File::Which" : "0",
"Module::Build" : "0.36",
"Text::Patch" : "1.4"
}
},
"runtime" : {
"requires" : {
- "Capture::Tiny" : 0,
- "ExtUtils::CBuilder" : 0,
+ "Capture::Tiny" : "0",
+ "ExtUtils::CBuilder" : "0",
"File::ShareDir" : "1.00",
- "File::Spec" : 0,
- "File::Temp" : 0,
- "File::Which" : 0,
+ "File::Spec" : "0",
+ "File::Temp" : "0",
+ "File::Which" : "0",
"perl" : "5.008000"
}
}
@@ -62,7 +62,7 @@
"provides" : {
"Alien::SDL" : {
"file" : "lib/Alien/SDL.pm",
- "version" : "1.444"
+ "version" : "1.446"
}
},
"release_status" : "stable",
@@ -77,5 +77,5 @@
"url" : "http://github.com/PerlGameDev/Alien-SDL"
}
},
- "version" : "1.444"
+ "version" : "1.446"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/META.yml new/Alien-SDL-1.446/META.yml
--- old/Alien-SDL-1.444/META.yml 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/META.yml 2015-02-21 20:53:18.000000000 +0100
@@ -3,53 +3,53 @@
author:
- 'Kartik Thakore '
build_requires:
- Archive::Extract: 0
- Archive::Tar: 0
- Archive::Zip: 0
- Digest::SHA: 0
- ExtUtils::CBuilder: 0
- File::Fetch: 0.24
- File::Find: 0
- File::Path: 2.08
- File::ShareDir: 0
- File::Spec: 0
- File::Temp: 0
- File::Which: 0
- Module::Build: 0.36
- Text::Patch: 1.4
+ Archive::Extract: '0'
+ Archive::Tar: '0'
+ Archive::Zip: '0'
+ Digest::SHA: '0'
+ ExtUtils::CBuilder: '0'
+ File::Fetch: '0.24'
+ File::Find: '0'
+ File::Path: '2.08'
+ File::ShareDir: '0'
+ File::Spec: '0'
+ File::Temp: '0'
+ File::Which: '0'
+ Module::Build: '0.36'
+ Text::Patch: '1.4'
configure_requires:
- Archive::Extract: 0
- Capture::Tiny: 0
- Digest::SHA: 0
- File::Fetch: 0.24
- File::Find: 0
- File::Path: 2.08
- File::ShareDir: 0
- File::Spec: 0
- File::Which: 0
- Module::Build: 0.36
- Text::Patch: 1.4
+ Archive::Extract: '0'
+ Capture::Tiny: '0'
+ Digest::SHA: '0'
+ File::Fetch: '0.24'
+ File::Find: '0'
+ File::Path: '2.08'
+ File::ShareDir: '0'
+ File::Spec: '0'
+ File::Which: '0'
+ Module::Build: '0.36'
+ Text::Patch: '1.4'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4001, CPAN::Meta::Converter version 2.112621'
+generated_by: 'Module::Build version 0.4204, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Alien-SDL
provides:
Alien::SDL:
file: lib/Alien/SDL.pm
- version: 1.444
+ version: '1.446'
requires:
- Capture::Tiny: 0
- ExtUtils::CBuilder: 0
- File::ShareDir: 1.00
- File::Spec: 0
- File::Temp: 0
- File::Which: 0
- perl: 5.008000
+ Capture::Tiny: '0'
+ ExtUtils::CBuilder: '0'
+ File::ShareDir: '1.00'
+ File::Spec: '0'
+ File::Temp: '0'
+ File::Which: '0'
+ perl: '5.008000'
resources:
bugtracker: http://github.com/PerlGameDev/SDL/issues?labels=Alien-SDL
license: http://dev.perl.org/licenses/
repository: http://github.com/PerlGameDev/Alien-SDL
-version: 1.444
+version: '1.446'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/README new/Alien-SDL-1.446/README
--- old/Alien-SDL-1.444/README 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/README 2015-02-21 20:53:18.000000000 +0100
@@ -2,7 +2,7 @@
Alien::SDL - building, finding and using SDL binaries
VERSION
- Version 1.444
+ Version 1.446
SYNOPSIS
Alien::SDL tries (in given order) during its installation:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/README.md new/Alien-SDL-1.446/README.md
--- old/Alien-SDL-1.444/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/Alien-SDL-1.446/README.md 2015-02-21 20:53:18.000000000 +0100
@@ -0,0 +1,151 @@
+# Alien::SDL [![Build Status](https://travis-ci.org/PerlGameDev/Alien-SDL.svg?branch=master)](https://travis-ci.org/PerlGameDev/Alien-SDL)
+
+NAME
+ Alien::SDL - building, finding and using SDL binaries
+
+VERSION
+ Version 1.444
+
+SYNOPSIS
+ Alien::SDL tries (in given order) during its installation:
+
+ * When given `--with-sdl-config' option use specified sdl-config script
+ to locate SDL libs.
+ perl Build.PL --with-sdl-config=/opt/sdl/bin/sdl-config
+
+ or using default script name 'sdl-config' by running:
+
+ perl Build.PL --with-sdl-config
+
+ IMPORTANT NOTE: Using --with-sdl-config avoids considering any other
+ build methods; no prompt with other available build options.
+
+ * Locate an already installed SDL via 'sdl-config' script.
+ * Check for SDL libs in directory specified by SDL_INST_DIR variable. In
+ this case the module performs SDL library detection via
+ '$SDL_INST_DIR/bin/sdl-config' script.
+ SDL_INST_DIR=/opt/sdl perl ./Build.PL
+
+ * Download prebuilt SDL binaries (if available for your platform).
+ * Build SDL binaries from source codes (if possible on your system).
+
+ Later you can use Alien::SDL in your module that needs to link agains
+ SDL and/or related libraries like this:
+
+ # Sample Makefile.pl
+ use ExtUtils::MakeMaker;
+ use Alien::SDL;
+
+ WriteMakefile(
+ NAME => 'Any::SDL::Module',
+ VERSION_FROM => 'lib/Any/SDL/Module.pm',
+ LIBS => Alien::SDL->config('libs', [-lAdd_Lib]),
+ INC => Alien::SDL->config('cflags'),
+ # + additional params
+ );
+
+DESCRIPTION
+ Please see Alien for the manifesto of the Alien namespace.
+
+ In short `Alien::SDL' can be used to detect and get configuration
+ settings from an installed SDL and related libraries. Based on your
+ platform it offers the possibility to download and install prebuilt
+ binaries or to build SDL & co. from source codes.
+
+ The important facts:
+
+ * The module does not modify in any way the already existing SDL
+ installation on your system.
+ * If you reinstall SDL libs on your system you do not need to reinstall
+ Alien::SDL (providing that you use the same directory for the new
+ installation).
+ * The prebuild binaries and/or binaries built from sources are always
+ installed into perl module's 'share' directory.
+ * If you use prebuild binaries and/or binaries built from sources it
+ happens that some of the dynamic libraries (*.so, *.dll) will not
+ automaticly loadable as they will be stored somewhere under perl
+ module's 'share' directory. To handle this scenario Alien::SDL offers
+ some special functionality (see below).
+
+METHODS
+ config()
+ This function is the main public interface to this module. Basic
+ functionality works in a very similar maner to 'sdl-config' script:
+
+ Alien::SDL->config('prefix'); # gives the same string as 'sdl-config --prefix'
+ Alien::SDL->config('version'); # gives the same string as 'sdl-config --version'
+ Alien::SDL->config('libs'); # gives the same string as 'sdl-config --libs'
+ Alien::SDL->config('cflags'); # gives the same string as 'sdl-config --cflags'
+
+ On top of that this function supports special parameters:
+
+ Alien::SDL->config('ld_shared_libs');
+
+ Returns a list of full paths to shared libraries (*.so, *.dll) that will
+ be required for running the resulting binaries you have linked with SDL
+ libs.
+
+ Alien::SDL->config('ld_paths');
+
+ Returns a list of full paths to directories with shared libraries (*.so,
+ *.dll) that will be required for running the resulting binaries you have
+ linked with SDL libs.
+
+ Alien::SDL->config('ld_shlib_map');
+
+ Returns a reference to hash of value pairs '<libnick>' =>
+ ', where '<libnick>' is shortname for SDL related
+ library like: SDL, SDL_gfx, SDL_net, SDL_sound ... + some non-SDL
+ shortnames e.g. smpeg, jpeg, png.
+
+ NOTE: config('ld_<something>') return an empty list/hash if you have
+ decided to use SDL libraries already installed on your system. This
+ concerns 'sdl-config' detection and detection via
+ '$SDL_INST_DIR/bin/sdl-config'.
+
+ check_header()
+ This function checks the availability of given header(s) when using
+ compiler options provided by "Alien::SDL->config('cflags')".
+
+ Alien::SDL->check_header('SDL.h');
+ Alien::SDL->check_header('SDL.h', 'SDL_net.h');
+
+ Returns 1 if all given headers are available, 0 otherwise.
+
+ get_header_version()
+ Tries to find a header file specified as a param in SDL prefix direcotry
+ and based on "#define" macros inside this header file tries to get a
+ version triplet.
+
+ Alien::SDL->get_header_version('SDL_mixer.h');
+ Alien::SDL->get_header_version('SDL_version.h');
+ Alien::SDL->get_header_version('SDL_gfxPrimitives.h');
+ Alien::SDL->get_header_version('SDL_image.h');
+ Alien::SDL->get_header_version('SDL_mixer.h');
+ Alien::SDL->get_header_version('SDL_net.h');
+ Alien::SDL->get_header_version('SDL_ttf.h');
+ Alien::SDL->get_header_version('smpeg.h');
+
+ Returns string like '1.2.3' or undef if not able to find and parse
+ version info.
+
+BUGS
+ Please post issues and bugs at
+ http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-SDL
+
+AUTHOR
+ Kartik Thakore
+ CPAN ID: KTHAKORE
+ Thakore.Kartik@gmail.com
+ http://yapgh.blogspot.com
+
+ACKNOWLEDGEMENTS
+ kmx - complete redesign between versions 0.7.x and 0.8.x
+
+COPYRIGHT
+ This program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+ The full text of the license can be found in the LICENSE file included
+ with this module.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/inc/My/Utility.pm new/Alien-SDL-1.446/inc/My/Utility.pm
--- old/Alien-SDL-1.444/inc/My/Utility.pm 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/inc/My/Utility.pm 2015-02-21 20:53:18.000000000 +0100
@@ -194,6 +194,7 @@
'libsdl-1.2.15-const-xdata32.4.patch',
'SDL-1.2.15-PIC-in-CFLAGS.patch',
'SDL-1.2.15-Makefile.in-OBJECTS.patch',
+ 'SDL-1.2.15-mavericks-cgdirectpallete.patch',
],
prereqs => {
libs => [
@@ -286,8 +287,8 @@
version => '2.0.25',
dirname => 'SDL_gfx-2.0.25',
url => [
- 'http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.25.tar.gz',
'http://froggs.de/libsdl/SDL_gfx-2.0.25.tar.gz',
+ 'http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.25.tar.gz',
],
sha1sum => '20a89d0b71b7b790b830c70f17ed2c44100bc0f4',
patches => [ ],
@@ -573,7 +574,7 @@
return 'la';
}
else {
- return $Config{dlext};
+ return $Config{so};
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/lib/Alien/SDL.pm new/Alien-SDL-1.446/lib/Alien/SDL.pm
--- old/Alien-SDL-1.444/lib/Alien/SDL.pm 2014-05-14 08:48:03.000000000 +0200
+++ new/Alien-SDL-1.446/lib/Alien/SDL.pm 2015-02-21 20:53:18.000000000 +0100
@@ -16,11 +16,11 @@
=head1 VERSION
-Version 1.444
+Version 1.446
=cut
-our $VERSION = '1.444';
+our $VERSION = '1.446';
$VERSION = eval $VERSION;
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Alien-SDL-1.444/patches/SDL-1.2.15-mavericks-cgdirectpallete.patch new/Alien-SDL-1.446/patches/SDL-1.2.15-mavericks-cgdirectpallete.patch
--- old/Alien-SDL-1.444/patches/SDL-1.2.15-mavericks-cgdirectpallete.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/Alien-SDL-1.446/patches/SDL-1.2.15-mavericks-cgdirectpallete.patch 2015-02-21 20:53:18.000000000 +0100
@@ -0,0 +1,10 @@
+--- SDL-1.2.15/src/video/quartz/SDL_QuartzVideo.h 2012-01-19 07:30:06.000000000 +0100
++++ SDL-1.2.15/src/video/quartz/SDL_QuartzVideo.h 2014-09-25 13:56:44.941891402 +0200
+@@ -91,7 +91,6 @@
+ CGDirectDisplayID display; /* 0 == main display (only support single display) */
+ const void *mode; /* current mode of the display */
+ const void *save_mode; /* original mode of the display */
+- CGDirectPaletteRef palette; /* palette of an 8-bit display */
+ NSOpenGLContext *gl_context; /* OpenGL rendering context */
+ NSGraphicsContext *nsgfx_context; /* Cocoa graphics context */
+ Uint32 width, height, bpp; /* frequently used data about the display */
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: Mesa-devel
BuildRequires: libSDL_Pango-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_net-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: gcc-c++
custom_build: |-
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" --travis
./Build build flags=%{?_smp_mflags}
post_install: |-
sed "s:^%{_bindir}:%%attr(755,root,root) %{_bindir}:" %{name}.files -i
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#license: SUSE-NonFree
#skip_noarch: 1