forked from pool/dcraw
Accepting request 717738 from home:jubalh:branches:graphics
- bsc#1142308: Drop dependency on libjasper Thus removing support for decoding RED camera movies OBS-URL: https://build.opensuse.org/request/show/717738 OBS-URL: https://build.opensuse.org/package/show/graphics/dcraw?expand=0&rev=48
This commit is contained in:
parent
a2a1876d0a
commit
08653f8989
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,7 +20,7 @@ Name: dcraw
|
||||
Version: 9.27.0
|
||||
Release: 0
|
||||
Summary: Raw Digital Photo Decoding
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Graphics/Convertors
|
||||
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).
|
||||
@ -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
|
||||
Patch0: fuji_green.c_fix_gcc_warnings.patch
|
||||
BuildRequires: gettext-runtime
|
||||
BuildRequires: libjasper-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: liblcms2-devel
|
||||
Recommends: %{name}-lang = %{version}
|
||||
@ -62,12 +61,12 @@ for file in *.c ; do
|
||||
LDFLAGS=
|
||||
OTHERFLAGS=
|
||||
if test $file = dcraw.c ; then
|
||||
LDFLAGS="-lm -ljasper -ljpeg -llcms2 -DLOCALEDIR=\""%{_datadir}/locale"\""
|
||||
LDFLAGS="-lm -ljpeg -llcms2 -DLOCALEDIR=\""%{_datadir}/locale"\""
|
||||
fi
|
||||
if test $file = fuji_green.c ; then
|
||||
LDFLAGS="-lm"
|
||||
fi
|
||||
gcc $CFLAGS $OTHERFLAGS -o ${file%.c} $file $LDFLAGS
|
||||
gcc $CFLAGS $OTHERFLAGS -o ${file%.c} $file $LDFLAGS -DNO_JASPER
|
||||
done
|
||||
# Compile with -D_16BIT to rotate 48-bit PPM images
|
||||
gcc $CFLAGS -D_16BIT -o fujiturn16 fujiturn.c
|
||||
|
Loading…
Reference in New Issue
Block a user