From f0c3c240e8d6cb90d2bdcbaab915f61502e55cea Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 19:34:43 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.5-1mamba;Sat Mar 24 2012] --- README.md | 2 ++ xcursorgen-1.0.3-libpng14.patch | 24 ++++++++++++++ xcursorgen.spec | 59 +++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 xcursorgen-1.0.3-libpng14.patch create mode 100644 xcursorgen.spec diff --git a/README.md b/README.md index a26f773..c42c9a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xcursorgen +xcursorgen - create an X cursor file from a collection of PNG images + diff --git a/xcursorgen-1.0.3-libpng14.patch b/xcursorgen-1.0.3-libpng14.patch new file mode 100644 index 0000000..6d7653d --- /dev/null +++ b/xcursorgen-1.0.3-libpng14.patch @@ -0,0 +1,24 @@ +Already in master, commit 9e7c41e + +--- origsrc/xcursorgen-1.0.3/configure.ac 2009-10-16 19:41:39.000000000 -0500 ++++ src/xcursorgen-1.0.3/configure.ac 2010-09-08 11:24:37.450486900 -0500 +@@ -18,7 +18,7 @@ AC_PROG_INSTALL + XORG_DEFAULT_OPTIONS + + # Checks for pkg-config packages +-PKG_CHECK_MODULES(XCURSORGEN, x11 xcursor libpng12) ++PKG_CHECK_MODULES(XCURSORGEN, x11 xcursor libpng >= 1.2.0) + AC_SUBST(XCURSORGEN_CFLAGS) + AC_SUBST(XCURSORGEN_LIBS) + +--- origsrc/xcursorgen-1.0.3/xcursorgen.c 2009-01-22 09:09:58.000000000 -0600 ++++ src/xcursorgen-1.0.3/xcursorgen.c 2010-09-08 11:25:21.721816500 -0500 +@@ -196,7 +196,7 @@ load_image (struct flist *list, char *pr + return NULL; + } + +- if (setjmp (png->jmpbuf)) ++ if (setjmp (png_jmpbuf(png))) + { + png_destroy_read_struct (&png, &info, NULL); + return NULL; diff --git a/xcursorgen.spec b/xcursorgen.spec new file mode 100644 index 0000000..d4770b1 --- /dev/null +++ b/xcursorgen.spec @@ -0,0 +1,59 @@ +Name: xcursorgen +Version: 1.0.5 +Release: 1mamba +Summary: xcursorgen - create an X cursor file from a collection of PNG images +Group: System/X11 +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://x.org +Source: http://ftp.x.org/pub/individual/app/xcursorgen-%{version}.tar.bz2 +Patch0: %{name}-1.0.3-libpng14.patch +License: MIT +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpng-devel +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +## AUTOBUILDREQ-END + +%description +xcursorgen - create an X cursor file from a collection of PNG images + +%prep +%setup -q + +%build +autoconf +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/xcursorgen +%{_mandir}/man1/xcursorgen.1.gz +%doc AUTHORS COPYING ChangeLog + +%changelog +* Sat Mar 24 2012 Automatic Build System 1.0.5-1mamba +- automatic version update by autodist + +* Mon Dec 06 2010 Automatic Build System 1.0.4-1mamba +- automatic update by autodist + +* Sat Sep 11 2010 Silvan Calarco 1.0.3-2mamba +- added patch to build with libpng 1.4 + +* Tue Jan 26 2010 Automatic Build System 1.0.3-1mamba +- automatic update by autodist + +* Sat Oct 31 2009 Ercole 'ercolinux' Carpanetto 1.0.2-1mamba +- package created by autospec