Package Details: nufraw 0.42-1

Git Clone URL: https://aur.archlinux.org/nufraw.git (read-only, click to copy)
Package Base: nufraw
Description: A new version of the popular raw digital images manipulator ufraw.
Upstream URL: https://sourceforge.net/projects/nufraw
Licenses: GPL
Provides: gimp-nufraw
Submitter: dracorp
Maintainer: dracorp
Last Packager: dracorp
Votes: 7
Popularity: 0.000000
First Submitted: 2016-09-26 10:33
Last Updated: 2018-05-24 20:07

Latest Comments

1 2 Next › Last »

donarturo commented on 2020-04-04 14:57

I compiled from PKGBUILD modified by 365tuwe

I have SEGFAULT after select or trying to open RAW.

Below this is gdb output:

(gdb) run
Starting program: /usr/bin/nufraw 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff4a58700 (LWP 309969)]
[New Thread 0x7fffeffff700 (LWP 309970)]
[New Thread 0x7fffef7fe700 (LWP 309971)]
[New Thread 0x7fffeeffd700 (LWP 309972)]
[New Thread 0x7fffee7fc700 (LWP 309973)]
[New Thread 0x7fffede20700 (LWP 309974)]
[New Thread 0x7fffed61f700 (LWP 309975)]
[New Thread 0x7fffece1e700 (LWP 309976)]
[New Thread 0x7fffcffff700 (LWP 309977)]
[New Thread 0x7fffcf7fe700 (LWP 309978)]
[New Thread 0x7fffceffd700 (LWP 309979)]
[New Thread 0x7fffce553700 (LWP 309980)]
[Thread 0x7fffef7fe700 (LWP 309971) exited]
[Thread 0x7fffcf7fe700 (LWP 309978) exited]
[Thread 0x7fffece1e700 (LWP 309976) exited]
[Thread 0x7fffed61f700 (LWP 309975) exited]
[Thread 0x7fffede20700 (LWP 309974) exited]
[Thread 0x7fffceffd700 (LWP 309979) exited]
[Thread 0x7fffeeffd700 (LWP 309972) exited]
[Thread 0x7fffee7fc700 (LWP 309973) exited]
--Type <RET> for more, q to quit, c to continue without paging--

Thread 1 "nufraw" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ac150e in lfLens::operator=(lfLens const&) ()
   from /usr/lib/liblensfun.so.2
(gdb) 

365tuwe commented on 2020-04-01 17:01

Update to Version 0.43-3.

Save as nufraw.patch and apply like so:

cd $MY_PATH_TO/nufraw
patch --forward --strip=1 --input=$MY_PATH_TO/nufraw.patch

For example if you have tried to install nufraw via yay, MY_PATH_TO would be ~/.cache/yay.

diff --unified --recursive --text nufraw/PKGBUILD nufraw.new/PKGBUILD
--- nufraw/PKGBUILD 2020-04-01 18:47:12.010961079 +0200
+++ nufraw.new/PKGBUILD 2020-04-01 18:37:39.601444964 +0200
@@ -1,8 +1,8 @@
 # Maintainer: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>

 pkgname=nufraw
-pkgver=0.42
-pkgrel=1
+pkgver=0.43
+pkgrel=3
 pkgdesc='A new version of the popular raw digital images manipulator ufraw.'
 arch=('i686' 'x86_64')
 url='https://sourceforge.net/projects/nufraw'
@@ -12,24 +12,24 @@
 makedepends=('gimp')
 optdepends=('gimp: to use the gimp import plugin for raw images')
 source=(
-https://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz
+https://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver-$pkgrel.tar.gz
 nufraw.desktop
 )
 noextract=($pkgname-$pkgver.tar.gz)
-sha512sums=('43c864e41e30e80b7d6bab68810646a6a5cee070cf0941321b35213bdfc68fd8ec41694de1add294163c1f6753f6afc12e11be25b1124d4cd7acd5b7c0de13a9'
+sha512sums=('60a6d764ca0248f8c388f4b16ff67cded954f642515bb706d1d45bdab189d159593c93f29ec83bbe6cbe4597d6f229a1839f32a450d5ee1d73a135a825933ec8'
             'd906c384fe19ebda8e0e8a9207b193f2ca20fa5ef13ba70f6ecf4019babea6f20dbf3249bb766dd21db450db04bd6a41a8bbccb168ddb3a419cc6c27cd627688')
 prepare(){
   cd "$srcdir"
-  tar zxf $pkgname-$pkgver.tar.gz \
+  tar zxf $pkgname-$pkgver-$pkgrel.tar.gz \
     --exclude doc-pak --exclude=.git
-  cd "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver-$pkgrel"
   chmod +x mkinstalldirs generate_schemas.sh
   mv nufraw.desktop.desktop nufraw.desktop
 #   msg2 "Fixing dcraw.cc: error: call of overloaded ‘abs(unsigned int&)’ is ambiguous"
 #   sed '9361s/abs/ABS/g' -i dcraw.cc
 }
 build(){
-  cd "$srcdir"/$pkgname-$pkgver
+  cd "$srcdir"/$pkgname-$pkgver-$pkgrel

   msg2 "Running autogen"
   ./autogen.sh
@@ -49,7 +49,7 @@
   make
 }
 package(){
-  cd "$srcdir"/$pkgname-$pkgver
+  cd "$srcdir"/$pkgname-$pkgver-$pkgrel
   msg2 "Running make install"
   make DESTDIR="$pkgdir/" install
   rm -f "$pkgdir/usr/bin/dcraw"                 # provided by dcraw
@@ -57,4 +57,3 @@
   install -Dm644 "$srcdir/nufraw.desktop" "$pkgdir/usr/share/applications/nufraw.desktop"
   install -Dm644 nufraw-mime.xml "$pkgdir/usr/share/mime/packages/nufraw-mime.xml"
 }
-

amo commented on 2020-02-29 13:02

Also getting a build failure... Unfortunately, I was also unable to build from the official build instructions after downloading from the official page =(

m8D2 commented on 2019-12-25 01:32

I have this error:

dcraw_api.cc: In function ‘void dcraw_finalize_raw(dcraw_data*, dcraw_data*, int*)’:
dcraw_api.cc:906:13: error: ‘pixels’ not specified in enclosing ‘parallel’
  906 |             for (int i = 0; i < pixels; i++) {
      |             ^~~
dcraw_api.cc:903:21: error: enclosing ‘parallel’
  903 |             #pragma omp parallel for schedule(static) default(none) \
      |                     ^~~
dcraw_api.cc:909:77: error: ‘black’ not specified in enclosing ‘parallel’
  909 |                     gint32 p = (gint64)(get_pixel(h, dark, i, cc, pixels) - black) *
      |                                                                             ^~~~~
dcraw_api.cc:903:21: error: enclosing ‘parallel’
  903 |             #pragma omp parallel for schedule(static) default(none) \
      |                     ^~~
dcraw_api.cc:919:13: error: ‘pixels’ not specified in enclosing ‘parallel’
  919 |             for (int i = 0; i < pixels; i++) {
      |             ^~~
dcraw_api.cc:916:21: error: enclosing ‘parallel’
  916 |             #pragma omp parallel for schedule(static) default(none) \
      |                     ^~~
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from uf_glib.h:20,
                 from dcraw_api.cc:27:
dcraw_api.cc:923:82: error: ‘black’ not specified in enclosing ‘parallel’
  923 |                                                   ((gint64)h->raw.image[i][cc] - black) *
      |                                                                                  ^~~~~
/usr/include/glib-2.0/glib/gmacros.h:805:23: note: in definition of macro ‘MIN’
  805 | #define MIN(a, b)  (((a) < (b)) ? (a) : (b))
      |                       ^
dcraw_api.cc:922:47: note: in expansion of macro ‘MAX’
  922 |                     h->raw.image[i][cc] = MIN(MAX(
      |                                               ^~~
dcraw_api.cc:916:21: error: enclosing ‘parallel’
  916 |             #pragma omp parallel for schedule(static) default(none) \
      |                     ^~~
make[2]: *** [Makefile:928: dcraw_api.o] Error 1
make[2]: Leaving directory '/home/xxx/.cache/yay/nufraw/src/nufraw-0.42'
make[1]: *** [Makefile:1068: all-recursive] Error 1
make[1]: Leaving directory '/home/xxx/.cache/yay/nufraw/src/nufraw-0.42'
make: *** [Makefile:617: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

dracorp commented on 2017-07-03 21:11

@martynjy
"Fixed" and upgraded: s/abs/ABS/
ps. You error message is to short.

martynjy commented on 2017-07-02 22:03

make[2]: *** [Makefile:902: dcraw.o] Error 1
make[2]: Leaving directory '/home/arch/build/nufraw/src/nufraw-0.39'
make[1]: *** [Makefile:1042: all-recursive] Error 1
make[1]: Leaving directory '/home/arch/build/nufraw/src/nufraw-0.39'
make: *** [Makefile:597: all] Error 2

James-T commented on 2017-04-26 17:04

Thanks @dracorp -- updated version works fine.

dracorp commented on 2017-04-26 16:47

@James-T
Thank you for verification.

James-T commented on 2017-04-26 06:27

There's a checksum problem with the latest version.
==> Validating source files with sha512sums...
nufraw-0.39.tar.gz ... Passed
nufraw.desktop ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build nufraw.

everyx commented on 2016-11-05 16:08

@dracorp looks prefect now, good job! (。・ω・)ノ