Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/10/2019, à 15:31

Jupiter007

[Résolu] ufraw et ubuntu 19.10

Bonjour,
la mise à niveau vers eoan a supprimé le paquet ufraw que j’utilisai pour générer les vignettes des fichiers raw.
En-fait ufraw n’est carrément plus dans les dépôts. mad
J’ai bien tenté de le compiler depuis les sources, mais les dépendances ne sont également plus dans les dépôts…
Quelqu’un sait-il comment l’installer autrement (ou comment générer des vignettes raw d’une autre manière) ?

Merci d’avance pour votre aide.
Jupiter007

Dernière modification par Jupiter007 (Le 08/11/2019, à 16:21)


Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor

Hors ligne

#2 Le 30/10/2019, à 19:17

lordphoenix

Re : [Résolu] ufraw et ubuntu 19.10

Je suis en train de creuser une solution avec dcraw ça devrait pouvoir le faire mais il faut que je trouve le moyen de configurer correctement le fichier raw.thumbnailer pour que ce soit fait correctement.

Hors ligne

#3 Le 30/10/2019, à 19:42

Jupiter007

Re : [Résolu] ufraw et ubuntu 19.10

Bonsoir lordphoenix,
si tu trouves je suis preneur !
Sinon j’ai réussi à installer Ufraw … avec un vieux ppa pour 17.04 big_smile : https://launchpad.net/~crass/+archive/ubuntu/ufraw.
Je sais que ce n’est pas bien, mais le logiciel fonctionne. Seulement Ufraw-batch me retourne une Erreur de segmentation (mais génère bien l’image quand je le teste via le terminal) ce qui je pense empêche Nautilus de générer les vignettes des Raws. J’ai donc tout viré avec ppa-purge.

Jupiter007


Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor

Hors ligne

#4 Le 08/11/2019, à 16:21

Jupiter007

Re : [Résolu] ufraw et ubuntu 19.10

Bonjour lordphoenix,
j'ai trouvé un deb avec ufraw-batch ici : https://launchpad.net/ubuntu/eoan/amd64 … tch/0.22-4.
Du coup tout fonctionne comme avant !

Jupiter007


Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor

Hors ligne

#5 Le 22/01/2020, à 02:46

lordphoenix

Re : [Résolu] ufraw et ubuntu 19.10

Ouais enfin ça reste pas très propre comme méthode, installer un deb à la main c'est bof. et en plus à la prochaine version on se retrouvera avec le même problème.

Hors ligne

#6 Le 22/01/2020, à 11:45

Jupiter007

Re : [Résolu] ufraw et ubuntu 19.10

Malheureusement oui, mais c'est toujours mieux qu'un vieux ppa, car ce paquet date de 19.04.
Et puis j'aime avoir mon fichier des sources propre tongue

Une piste d'alternative : nufraw
Mais je n'arrive pas à compiler :

$ sudo make install
Making install in po
make[1] : on entre dans le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42/po »
if test -r ".././mkinstalldirs"; then \
  .././mkinstalldirs /usr/local/share; \
else \
  /bin/sh ../mkinstalldirs /usr/local/share; \
fi
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/nufraw.mo
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/nufraw.mo
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/nufraw.mo
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/nufraw.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/nufraw.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/nufraw.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/nufraw.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/nufraw.mo
installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/nufraw.mo
installing nb.gmo as /usr/local/share/locale/nb/LC_MESSAGES/nufraw.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/nufraw.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/nufraw.mo
installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/nufraw.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/nufraw.mo
installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/nufraw.mo
installing sr@latin.gmo as /usr/local/share/locale/sr@latin/LC_MESSAGES/nufraw.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/nufraw.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/nufraw.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/nufraw.mo
if test "nufraw" = "glib"; then \
  if test -r ".././mkinstalldirs"; then \
    .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
  else \
    /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ./Makefile.in.in \
		  /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[1] : on quitte le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42/po »
Making install in icons
make[1] : on entre dans le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42/icons »
make[2] : on entre dans le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42/icons »
make[2]: rien à faire pour « install-exec-am ».
 /bin/mkdir -p '/usr/local/share/pixmaps'
 /usr/bin/install -c -m 644 nufraw.png '/usr/local/share/pixmaps'
make[2] : on quitte le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42/icons »
make[1] : on quitte le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42/icons »
make[1] : on entre dans le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42 »
  CXX      dcraw_api.o
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/x86_64-linux-gnu/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[1]: *** [Makefile:929: dcraw_api.o] Error 1
make[1] : on quitte le répertoire « /home/jupiter007/Téléchargements/nufraw-0.42 »
make: *** [Makefile:1069: install-recursive] Error 1

Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor

Hors ligne

#7 Le 26/10/2020, à 20:08

Jupiter007

Re : [Résolu] ufraw et ubuntu 19.10

Bonjour,
j'ai enfin réussi à compiler nufraw, voici la procédure :

- Télécharger nufraw ici : https://sourceforge.net/projects/nufraw/
- Comme dépendance j'ai eu à installer libjpeg-dev et gtkimageview-dev (ce dernier n'étant plus dans les dépôts depuis les versions > bionic j'ai donc installé ce PPA)
- Ensuite on compile avec

./configure --enable-contrast && make

- Puis on installe avec

sudo checkinstall

ce qui permet de tout désinstaller grâce à dpkg plus tard si un paquet officiel est publié.

Pour pouvoir générer les miniatures dans nautilus créer un fichier nommé "raw.thumbnailer" dans /usr/share/thumbnailers avec comme contenu :

[Thumbnailer Entry]
TryExec=nufraw-batch
Exec=nufraw-batch --silent --size=%s --out-type=png --noexif --output=%o --overwrite --embedded-image %i
MimeType=image/x-adobe-dng;image/x-dcraw;image/x-canon-cr2;image/x-canon-crw;image/x-fuji-raf;image/x-kodak-dcr;image/x-kodak-k25;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-nikon-nrw;image/x-olympus-orf;image/x-panasonic-raw;image/x-panasonic-rw2;image/x-pentax-pef;image/x-sigma-x3f;image/x-sony-srf;image/x-sony-sr2;image/x-sony-arw;image/x-samsung-srw

Un petit

killall nautilus

avec accessoirement la suppression du cache des vignettes en supprimant le dossier "~/.cache/thumbnails" et c'est bon cool

Pour info je suis sous Groovy (20.10).


Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor

Hors ligne