From f16c4ecf93c28cc4af4b730c3c513fee91a7d127 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:03:47 +0100 Subject: [PATCH] automatic update by autodist [release 2.3-1mamba;Sat Feb 15 2014] --- README.md | 2 + perl-Gimp-2.2pre1-glib-2.32.patch | 24 ++++++++ perl-Gimp.spec | 92 +++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 perl-Gimp-2.2pre1-glib-2.32.patch create mode 100644 perl-Gimp.spec diff --git a/README.md b/README.md index 330810b..50493eb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Gimp +Perl extension for writing Gimp Extensions/Plug-ins/Load & Save-Handlers. + diff --git a/perl-Gimp-2.2pre1-glib-2.32.patch b/perl-Gimp-2.2pre1-glib-2.32.patch new file mode 100644 index 0000000..8224ff1 --- /dev/null +++ b/perl-Gimp-2.2pre1-glib-2.32.patch @@ -0,0 +1,24 @@ +diff -Nru gimp-perl.orig/extra.c gimp-perl/extra.c +--- gimp-perl.orig/extra.c 2003-07-07 03:34:52.000000000 +0200 ++++ gimp-perl/extra.c 2012-11-17 17:56:58.811341808 +0100 +@@ -11,7 +11,7 @@ + + /* need to factor these out, otherwise we always need gtk :( */ + #include +-#include ++#include + #include + + #include "extra.h" +diff -Nru gimp-perl.orig/Gimp.xs gimp-perl/Gimp.xs +--- gimp-perl.orig/Gimp.xs 2004-04-25 01:46:33.000000000 +0200 ++++ gimp-perl/Gimp.xs 2012-11-17 17:56:45.117464269 +0100 +@@ -1,7 +1,7 @@ + #include "config.h" + + #include +-#include ++#include + + #include + diff --git a/perl-Gimp.spec b/perl-Gimp.spec new file mode 100644 index 0000000..e2dc987 --- /dev/null +++ b/perl-Gimp.spec @@ -0,0 +1,92 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Gimp +Version: 2.3 +Release: 1mamba +Summary: Gimp - Perl extension for writing Gimp Extensions/Plug-ins/Load & Save-Handlers +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Gimp/Gimp-%{version}.tar.gz +Patch0: perl-Gimp-2.2pre1-glib-2.32.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libgimp-devel +BuildRequires: libglib-devel +BuildRequires: libgtk2-devel +BuildRequires: libpango-devel +BuildRequires: perl-devel +BuildRequires: perl-File-Slurp +## AUTOBUILDREQ-END +#BuildRequires: gimp +#BuildRequires: perl-PDL +BuildRequires: perl-Gtk2 +BuildRequires: perl-ExtUtils-Depends +BuildRequires: perl-ExtUtils-PkgConfig +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME: +# Warning: prerequisite PDL 0 not found. + +%description +Perl extension for writing Gimp Extensions/Plug-ins/Load & Save-Handlers. + +%prep +%setup -q -n Gimp-%{version} +#%patch0 -p1 + +%build +#GIMPTOOL=/usr/bin/gimptool-2.0 \ +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make CC="gcc `pkg-config --cflags gtk+-2.0`" +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall_perl + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sat Feb 15 2014 Automatic Build System 2.3-1mamba +- automatic update by autodist + +* Fri Nov 16 2012 Silvan Calarco 2.2pre1-3mamba +- perl 5.16 mass rebuild + +* Sat Nov 08 2008 Silvan Calarco 2.2pre1-2mamba +- automatic rebuild by autodist + +* Tue Nov 20 2007 Aleph0 2.2-1mamba +- update to 2.2pre1 + +* Thu Nov 11 2004 Alessandro Ramazzina 2.0-2qilnx +- package created by autospec + +* Thu Sep 09 2004 Matteo Bernasconi 2.0-1qilnx +- first build \ No newline at end of file