diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-07-11 13:21:50 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-07-11 13:21:50 +0000 |
commit | b80a3f500186fab23213eae63b775c2bb58d3b30 (patch) | |
tree | 7f3ebdf63de997507b9cf5724237a475eea87758 /graphics/py-exiv2 | |
parent | 24ac15bf7453e697cc0a218abd58248bfa278f87 (diff) | |
download | ports-b80a3f500186fab23213eae63b775c2bb58d3b30.tar.gz ports-b80a3f500186fab23213eae63b775c2bb58d3b30.zip |
Notes
Diffstat (limited to 'graphics/py-exiv2')
-rw-r--r-- | graphics/py-exiv2/Makefile | 7 | ||||
-rw-r--r-- | graphics/py-exiv2/distinfo | 4 | ||||
-rw-r--r-- | graphics/py-exiv2/files/patch-src__exiv2wrapper.cpp | 27 |
3 files changed, 5 insertions, 33 deletions
diff --git a/graphics/py-exiv2/Makefile b/graphics/py-exiv2/Makefile index a2b63f4238cf..9433524264f8 100644 --- a/graphics/py-exiv2/Makefile +++ b/graphics/py-exiv2/Makefile @@ -6,10 +6,9 @@ # PORTNAME= exiv2 -PORTVERSION= 0.2.2 -PORTREVISION= 1 +PORTVERSION= 0.3.0 CATEGORIES= graphics python -MASTER_SITES= http://launchpadlibrarian.net/49194059/ \ +MASTER_SITES= http://launchpadlibrarian.net/61465005/ \ http://www.dindin.ru/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} @@ -28,7 +27,7 @@ USE_LDCONFIG= yes SCONS_ENV+= PREFIX=${PREFIX} CPPPATH=${PREFIX}/include LIBPATH=${PREFIX}/lib SCONS_BUILDENV= ${SCONS_ENV} CXXFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -SCONS_ARGS+= prefix=${PREFIX} use_env=1 +SCONS_ARGS+= prefix=${PREFIX} use_env=1 post-patch: ${REINPLACE_CMD} -e 's|python_inc_path\]|python_inc_path,\ diff --git a/graphics/py-exiv2/distinfo b/graphics/py-exiv2/distinfo index d3b0a48047c1..74402093188e 100644 --- a/graphics/py-exiv2/distinfo +++ b/graphics/py-exiv2/distinfo @@ -1,2 +1,2 @@ -SHA256 (pyexiv2-0.2.2.tar.bz2) = 44642d4f632b283551cb05ff4945dfd5bf1724019606fa575214a45d0cbceef7 -SIZE (pyexiv2-0.2.2.tar.bz2) = 180998 +SHA256 (pyexiv2-0.3.0.tar.bz2) = e96549feab366de85070aa2f8cedcc4d0017d53b78faea5067c60425c117f9f8 +SIZE (pyexiv2-0.3.0.tar.bz2) = 202714 diff --git a/graphics/py-exiv2/files/patch-src__exiv2wrapper.cpp b/graphics/py-exiv2/files/patch-src__exiv2wrapper.cpp deleted file mode 100644 index 48b178a9ecfa..000000000000 --- a/graphics/py-exiv2/files/patch-src__exiv2wrapper.cpp +++ /dev/null @@ -1,27 +0,0 @@ ---- ./src/exiv2wrapper.cpp.orig 2010-05-27 10:41:11.000000000 +0200 -+++ ./src/exiv2wrapper.cpp 2011-04-12 07:51:12.423977241 +0200 -@@ -457,6 +457,16 @@ - _data = 0; - } - -+#if EXIV2_TEST_VERSION(0,21,0) -+ Exiv2::ExifKey exifKey(key); -+ _type = Exiv2::TypeInfo::typeName(exifKey.defaultTypeId()); -+ _name =exifKey.tagName(); -+ _label = exifKey.tagLabel(); -+ _description = exifKey.tagDesc(); -+ _sectionName = Exiv2::ExifTags::sectionName(exifKey); -+ // section is no longer provided set it to sectionName currently -+ _sectionDescription = _sectionName; -+#else - const uint16_t tag = _datum->tag(); - const Exiv2::IfdId ifd = _datum->ifdId(); - _type = Exiv2::TypeInfo::typeName(Exiv2::ExifTags::tagType(tag, ifd)); -@@ -465,6 +475,7 @@ - _description = Exiv2::ExifTags::tagDesc(tag, ifd); - _sectionName = Exiv2::ExifTags::sectionName(tag, ifd); - _sectionDescription = Exiv2::ExifTags::sectionDesc(tag, ifd); -+#endif - } - - ExifTag::~ExifTag() |