[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:41:51 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=a9feb74

The following commit has been merged in the master branch:
commit a9feb74f48a73be305faec45a02ffd82ae3c2584
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Sat Aug 14 02:45:46 2010 +0000

    #719: Removed Pentax makernote class and pretty-print functions from the published interface.
---
 src/CMakeLists.txt                     |  2 +-
 src/pentaxmn.cpp                       |  5 +++--
 src/{pentaxmn.hpp => pentaxmn_int.hpp} | 13 +++++++------
 src/tags.cpp                           |  2 +-
 4 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d373bdd..a22a63d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -35,6 +35,7 @@ SET( LIBEXIV2_PRIVATE_HDR cr2image_int.hpp
                           nikonmn_int.hpp
                           orfimage_int.hpp
                           panasonicmn_int.hpp
+                          pentaxmn_int.hpp
                           pngchunk_int.hpp
                           rcsid_int.hpp
                           rw2image_int.hpp
@@ -68,7 +69,6 @@ SET( LIBEXIV2_HDR         basicio.hpp
                           mrwimage.hpp
                           olympusmn.hpp
                           orfimage.hpp
-                          pentaxmn.hpp
                           pgfimage.hpp
                           pngimage.hpp
                           preview.hpp
diff --git a/src/pentaxmn.cpp b/src/pentaxmn.cpp
index 58ae8ef..9b1cf4b 100644
--- a/src/pentaxmn.cpp
+++ b/src/pentaxmn.cpp
@@ -35,7 +35,7 @@ EXIV2_RCSID("@(#) $Id$")
 // *****************************************************************************
 // included header files
 #include "types.hpp"
-#include "pentaxmn.hpp"
+#include "pentaxmn_int.hpp"
 #include "value.hpp"
 #include "i18n.h"                // NLS support.
 
@@ -49,6 +49,7 @@ EXIV2_RCSID("@(#) $Id$")
 // *****************************************************************************
 // class member definitions
 namespace Exiv2 {
+    namespace Internal {
 
     //! ShootingMode, tag 0x0001
     extern const TagDetails pentaxShootingMode[] = {
@@ -1129,4 +1130,4 @@ namespace Exiv2 {
         return tagInfo_;
     }
 
-}                                       // namespace Exiv2
+}}                                       // namespace Internal, Exiv2
diff --git a/src/pentaxmn.hpp b/src/pentaxmn_int.hpp
similarity index 95%
rename from src/pentaxmn.hpp
rename to src/pentaxmn_int.hpp
index 01eab38..75199f6 100644
--- a/src/pentaxmn.hpp
+++ b/src/pentaxmn_int.hpp
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
  */
 /*!
-  @file    pentaxmn.hpp
+  @file    pentaxmn_int.hpp
   @brief   Pentax MakerNote implemented according to the specification
            http://www.gvsoft.homedns.org/exif/makernote-pentax-type3.html and
            based on ExifTool implementation and
@@ -29,8 +29,8 @@
            <a href="mailto:michal at cihar.com">michal at cihar.com</a>
   @date    27-Sep-07
  */
-#ifndef PENTAXMN_HPP_
-#define PENTAXMN_HPP_
+#ifndef PENTAXMN_INT_HPP_
+#define PENTAXMN_INT_HPP_
 
 // *****************************************************************************
 // included header files
@@ -46,12 +46,13 @@
 // *****************************************************************************
 // namespace extensions
 namespace Exiv2 {
+    namespace Internal {
 
 // *****************************************************************************
 // class definitions
 
     //! MakerNote for Pentaxfilm cameras
-    class EXIV2API PentaxMakerNote {
+    class PentaxMakerNote {
     public:
         //! Return read-only list of built-in Pentaxfilm tags
         static const TagInfo* tagList();
@@ -119,6 +120,6 @@ namespace Exiv2 {
 //! Shortcut for the printCombiTag template which requires typing the array name only once.
 #define EXV_PRINT_COMBITAG_MULTI(array, count, ignoredcount, ignoredcountmax) printCombiTag<EXV_COUNTOF(array), array, count, ignoredcount, ignoredcountmax>
 
-}                                       // namespace Exiv2
+}}                                      // namespace Internal, Exiv2
 
-#endif                                  // #ifndef PENTAXMN_HPP_
+#endif                                  // #ifndef PENTAXMN_INT_HPP_
diff --git a/src/tags.cpp b/src/tags.cpp
index b396051..aa4993a 100644
--- a/src/tags.cpp
+++ b/src/tags.cpp
@@ -43,7 +43,7 @@ EXIV2_RCSID("@(#) $Id$")
 #include "nikonmn_int.hpp"
 #include "olympusmn.hpp"
 #include "panasonicmn_int.hpp"
-#include "pentaxmn.hpp"
+#include "pentaxmn_int.hpp"
 #include "sigmamn.hpp"
 #include "sonymn.hpp"
 #include "i18n.h"                // NLS support.

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list