forked from pool/dcraw
Accepting request 718446 from graphics
OBS-URL: https://build.opensuse.org/request/show/718446 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dcraw?expand=0&rev=37
This commit is contained in:
commit
73c5e322c3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 08:18:01 UTC 2019 - mvetter@suse.com
|
||||||
|
|
||||||
|
- bsc#1142308: Drop dependency on libjasper
|
||||||
|
Thus removing support for decoding RED camera movies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 5 22:12:55 UTC 2016 - asterios.dramis@gmail.com
|
Fri Aug 5 22:12:55 UTC 2016 - asterios.dramis@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dcraw
|
# spec file for package dcraw
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -20,7 +20,7 @@ Name: dcraw
|
|||||||
Version: 9.27.0
|
Version: 9.27.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Raw Digital Photo Decoding
|
Summary: Raw Digital Photo Decoding
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Graphics/Convertors
|
Group: Productivity/Graphics/Convertors
|
||||||
Url: http://www.cybercom.net/~dcoffin/dcraw/
|
Url: http://www.cybercom.net/~dcoffin/dcraw/
|
||||||
#*** NOTE: run "sh update_dcraw" to update to latest version of the following sources ("wget", "rcs" and "lynx" packages are required for the update).
|
#*** NOTE: run "sh update_dcraw" to update to latest version of the following sources ("wget", "rcs" and "lynx" packages are required for the update).
|
||||||
@ -39,7 +39,6 @@ Source101: update_dcraw
|
|||||||
# PATCH-FIX-OPENSUSE fuji_green.c_fix_gcc_warnings.patch asterios.dramis@gmail.com -- Fix gcc implicit declaration warning
|
# PATCH-FIX-OPENSUSE fuji_green.c_fix_gcc_warnings.patch asterios.dramis@gmail.com -- Fix gcc implicit declaration warning
|
||||||
Patch0: fuji_green.c_fix_gcc_warnings.patch
|
Patch0: fuji_green.c_fix_gcc_warnings.patch
|
||||||
BuildRequires: gettext-runtime
|
BuildRequires: gettext-runtime
|
||||||
BuildRequires: libjasper-devel
|
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblcms2-devel
|
BuildRequires: liblcms2-devel
|
||||||
Recommends: %{name}-lang = %{version}
|
Recommends: %{name}-lang = %{version}
|
||||||
@ -62,12 +61,12 @@ for file in *.c ; do
|
|||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
OTHERFLAGS=
|
OTHERFLAGS=
|
||||||
if test $file = dcraw.c ; then
|
if test $file = dcraw.c ; then
|
||||||
LDFLAGS="-lm -ljasper -ljpeg -llcms2 -DLOCALEDIR=\""%{_datadir}/locale"\""
|
LDFLAGS="-lm -ljpeg -llcms2 -DLOCALEDIR=\""%{_datadir}/locale"\""
|
||||||
fi
|
fi
|
||||||
if test $file = fuji_green.c ; then
|
if test $file = fuji_green.c ; then
|
||||||
LDFLAGS="-lm"
|
LDFLAGS="-lm"
|
||||||
fi
|
fi
|
||||||
gcc $CFLAGS $OTHERFLAGS -o ${file%.c} $file $LDFLAGS
|
gcc $CFLAGS $OTHERFLAGS -o ${file%.c} $file $LDFLAGS -DNO_JASPER
|
||||||
done
|
done
|
||||||
# Compile with -D_16BIT to rotate 48-bit PPM images
|
# Compile with -D_16BIT to rotate 48-bit PPM images
|
||||||
gcc $CFLAGS -D_16BIT -o fujiturn16 fujiturn.c
|
gcc $CFLAGS -D_16BIT -o fujiturn16 fujiturn.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user