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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:35:57 UTC 2017


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

The following commit has been merged in the master branch:
commit 7450d04061016470686d46968c9ee682ff87e2c3
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Tue Jan 27 04:27:53 2004 +0000

    still testing...
---
 src/exiftest.cpp | 171 +++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 123 insertions(+), 48 deletions(-)

diff --git a/src/exiftest.cpp b/src/exiftest.cpp
index c069133..4359021 100644
--- a/src/exiftest.cpp
+++ b/src/exiftest.cpp
@@ -1,60 +1,135 @@
-#include "tags.hpp"
+// ***************************************************************** -*- C++ -*-
+/*
+ * Copyright (C) 2004 Andreas Huggel <ahuggel at gmx.net>
+ * 
+ * This program is part of the Exiv2 distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+/*
+  Abstract : Sample code to add, modify and delete Exif metadata
+
+  Author(s): Andreas Huggel (ahu) <ahuggel at gmx.net>
+  Version  : $Name:  $ $Revision: 1.8 $
+  History  : 26-Jan-04, ahu: created
+ */
+// *****************************************************************************
+// included header files
 #include "exif.hpp"
 #include <iostream>
 #include <iomanip>
 
+// *****************************************************************************
+// local declarations
+
 using namespace Exif;
 
 void exifPrint(const ExifData& exifData);
 
-int main(int argc, char* const argv[])
-{
-    if (argc != 2) {
-        std::cout << "Usage: exiftest path
";
-        return 1;
-    }
-
-    int rc;
-
-    try {
-        // Add usecase
-        ExifData ed;
-
-        Value* v1 = Value::create(signedRational);
-        v1->read("1/2 1/3");
-        RationalValue* rv = dynamic_cast<RationalValue*>(v1);
-        if (rv == 0) return -1;
-        rv->value_.push_back(std::make_pair(2,3));
-        rv->value_.push_back(std::make_pair(-5,4));
-        std::string key = "Thumbnail.ImageStructure.Compression";
-
-        std::cout << "add(\"" << key << "\", " << *rv << ")
";
-        ed.add(key, rv);
-        delete rv;
-
-        key = "Image.DateTime.DateTimeOriginal";
-        Value* v2 = Value::create(asciiString);
-        v2->read("1999:12:31 23:59:59

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list