[gegl] ops: rename raw-load to dcraw-load, and lraw-load to rawload
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ops: rename raw-load to dcraw-load, and lraw-load to rawload
- Date: Mon, 8 Jun 2015 17:48:20 +0000 (UTC)
commit 8a77a5548b9ada8e2ff707e9b30b049e3ed114a0
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Jun 8 18:52:06 2015 +0200
ops: rename raw-load to dcraw-load, and lraw-load to rawload
operations/common/Makefile.am | 2 +-
operations/common/{raw-load.c => dcraw-load.c} | 10 +++++-----
operations/external/Makefile.am | 8 ++++----
operations/external/{lraw.c => raw-load.c} | 17 +++++++++--------
4 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/operations/common/Makefile.am b/operations/common/Makefile.am
index ad496fd..0d379e5 100644
--- a/operations/common/Makefile.am
+++ b/operations/common/Makefile.am
@@ -107,7 +107,7 @@ op_LTLIBRARIES = \
plasma.la \
polar-coordinates.la \
posterize.la \
- raw-load.la \
+ dcraw-load.la \
radial-gradient.la \
rectangle.la \
red-eye-removal.la \
diff --git a/operations/common/raw-load.c b/operations/common/dcraw-load.c
similarity index 95%
rename from operations/common/raw-load.c
rename to operations/common/dcraw-load.c
index 05838f7..ea57e55 100644
--- a/operations/common/raw-load.c
+++ b/operations/common/dcraw-load.c
@@ -29,7 +29,7 @@ property_file_path (path, _("File"), "/tmp/test.raw")
#else
#define GEGL_OP_SOURCE
-#define GEGL_OP_C_SOURCE raw-load.c
+#define GEGL_OP_C_SOURCE dcraw-load.c
#include "gegl-op.h"
#ifdef HAVE_UNISTD_H
@@ -177,15 +177,15 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->get_cached_region = get_cached_region;;
gegl_operation_class_set_keys (operation_class,
- "name" , "gegl:raw-load",
+ "name" , "gegl:dcraw-load",
"categories" , "hidden",
"description",
_("Raw image loader, wrapping dcraw with pipes."),
NULL);
- gegl_extension_handler_register (".raw", "gegl:raw-load");
- gegl_extension_handler_register (".raf", "gegl:raw-load");
- gegl_extension_handler_register (".nef", "gegl:raw-load");
+ gegl_extension_handler_register (".raw", "gegl:dcraw-load");
+ gegl_extension_handler_register (".raf", "gegl:dcraw-load");
+ gegl_extension_handler_register (".nef", "gegl:dcraw-load");
}
#endif
diff --git a/operations/external/Makefile.am b/operations/external/Makefile.am
index d857ef1..2a72c2a 100644
--- a/operations/external/Makefile.am
+++ b/operations/external/Makefile.am
@@ -90,10 +90,10 @@ endif
#endif
if HAVE_LIBRAW
-ops += lraw.la
-lraw_la_SOURCES = lraw.c
-law_la_LIBADD = $(op_libs) $(LIBRAW_LIBS)
-lraw_la_CFLAGS = $(AM_CFLAGS) $(LIBRAW_CFLAGS)
+ops += raw-load.la
+raw_load_la_SOURCES = raw-load.c
+raw_load_la_LIBADD = $(op_libs) $(LIBRAW_LIBS)
+raw_load_la_CFLAGS = $(AM_CFLAGS) $(LIBRAW_CFLAGS)
endif
if HAVE_V4L
diff --git a/operations/external/lraw.c b/operations/external/raw-load.c
similarity index 92%
rename from operations/external/lraw.c
rename to operations/external/raw-load.c
index d48cee5..a492bc8 100644
--- a/operations/external/lraw.c
+++ b/operations/external/raw-load.c
@@ -42,7 +42,7 @@ typedef struct
GeglOperationSourceClass parent_class;
} GeglOpClass;
-#define GEGL_OP_C_SOURCE lraw.c
+#define GEGL_OP_C_SOURCE raw-load.c
#include "gegl-op.h"
GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_SOURCE)
@@ -247,7 +247,7 @@ gegl_op_class_init (GeglOpClass *klass)
operation_class->prepare = prepare;
gegl_operation_class_set_keys (operation_class,
- "name", "gegl:libraw-load",
+ "name", "gegl:raw-load",
"title", _("LibRAW File Loader"),
"categories", "hidden",
"description", "Camera RAW image loader",
@@ -257,12 +257,13 @@ gegl_op_class_init (GeglOpClass *klass)
return;
/* query libopenraw instead. need a new API */
- gegl_extension_handler_register (".cr2", "gegl:openraw-load");
- gegl_extension_handler_register (".crw", "gegl:openraw-load");
- gegl_extension_handler_register (".erf", "gegl:openraw-load");
- gegl_extension_handler_register (".mrw", "gegl:openraw-load");
- gegl_extension_handler_register (".nef", "gegl:openraw-load");
- gegl_extension_handler_register (".dng", "gegl:openraw-load");
+ gegl_extension_handler_register (".pef", "gegl:raw-load");
+ gegl_extension_handler_register (".nef", "gegl:raw-load");
+ gegl_extension_handler_register (".raf", "gegl:raw-load");
+ gegl_extension_handler_register (".orf", "gegl:raw-load");
+ gegl_extension_handler_register (".mrw", "gegl:raw-load");
+ gegl_extension_handler_register (".crw", "gegl:raw-load");
+ gegl_extension_handler_register (".cr2", "gegl:raw-load");
done = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]