automatic version update by autodist [release 1.0.5-1mamba;Sat Mar 24 2012]
This commit is contained in:
parent
8298a4a7f5
commit
f0c3c240e8
@ -1,2 +1,4 @@
|
||||
# xcursorgen
|
||||
|
||||
xcursorgen - create an X cursor file from a collection of PNG images
|
||||
|
||||
|
24
xcursorgen-1.0.3-libpng14.patch
Normal file
24
xcursorgen-1.0.3-libpng14.patch
Normal file
@ -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;
|
59
xcursorgen.spec
Normal file
59
xcursorgen.spec
Normal file
@ -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 <ercole69@gmail.com>
|
||||
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 <autodist@mambasoft.it> 1.0.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Dec 06 2010 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Sep 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-2mamba
|
||||
- added patch to build with libpng 1.4
|
||||
|
||||
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Oct 31 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.0.2-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user