[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/, media-gfx/phototonic/files/

2023-05-28 Thread Andreas Sturmlechner
commit: 2b50bb6afe18817aca1fcf49b3c5321c9f3cca24
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 28 17:12:09 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun May 28 18:28:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b50bb6a

media-gfx/phototonic: update EAPI 7 -> 8, fix build with >=exiv2-0.28

Closes: https://bugs.gentoo.org/906492
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/phototonic-2.1-exiv2-0.28.patch  | 135 +
 media-gfx/phototonic/phototonic-2.1.ebuild |  19 +--
 2 files changed, 141 insertions(+), 13 deletions(-)

diff --git a/media-gfx/phototonic/files/phototonic-2.1-exiv2-0.28.patch 
b/media-gfx/phototonic/files/phototonic-2.1-exiv2-0.28.patch
new file mode 100644
index ..1c75b628dab3
--- /dev/null
+++ b/media-gfx/phototonic/files/phototonic-2.1-exiv2-0.28.patch
@@ -0,0 +1,135 @@
+From 923a3fc14de0b779a45696c5f0aef34c74d84f13 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Sun, 28 May 2023 18:54:10 +0200
+Subject: [PATCH] Fix build with exiv2-0.28
+
+Signed-off-by: Andreas Sturmlechner 
+---
+ ImageViewer.cpp   | 9 +
+ MetadataCache.cpp | 8 
+ Phototonic.cpp| 4 
+ Tags.cpp  | 8 
+ ThumbsViewer.cpp  | 4 
+ 5 files changed, 33 insertions(+)
+
+diff --git a/ImageViewer.cpp b/ImageViewer.cpp
+index 357d223..df3ac43 100644
+--- a/ImageViewer.cpp
 b/ImageViewer.cpp
+@@ -945,7 +945,11 @@ void ImageViewer::keyMoveEvent(int direction) {
+ }
+ 
+ void ImageViewer::saveImage() {
++#if EXIV2_TEST_VERSION(0,28,0)
++Exiv2::Image::UniquePtr image;
++#else
+ Exiv2::Image::AutoPtr image;
++#endif
+ bool exifError = false;
+ 
+ if (newImage) {
+@@ -985,8 +989,13 @@ void ImageViewer::saveImage() {
+ }
+ 
+ void ImageViewer::saveImageAs() {
++#if EXIV2_TEST_VERSION(0,28,0)
++Exiv2::Image::UniquePtr exifImage;
++Exiv2::Image::UniquePtr newExifImage;
++#else
+ Exiv2::Image::AutoPtr exifImage;
+ Exiv2::Image::AutoPtr newExifImage;
++#endif
+ bool exifError = false;
+ 
+ setCursorHiding(false);
+diff --git a/MetadataCache.cpp b/MetadataCache.cpp
+index 524ae74..5ddd4c8 100644
+--- a/MetadataCache.cpp
 b/MetadataCache.cpp
+@@ -64,7 +64,11 @@ void MetadataCache::clear() {
+ }
+ 
+ bool MetadataCache::loadImageMetadata(const QString &imageFullPath) {
++#if EXIV2_TEST_VERSION(0,28,0)
++Exiv2::Image::UniquePtr exifImage;
++#else
+ Exiv2::Image::AutoPtr exifImage;
++#endif
+ QSet tags;
+ long orientation = 0;
+ 
+@@ -78,7 +82,11 @@ bool MetadataCache::loadImageMetadata(const QString 
&imageFullPath) {
+ try {
+ Exiv2::ExifData &exifData = exifImage->exifData();
+ if (!exifData.empty()) {
++#if EXIV2_TEST_VERSION(0,28,0)
++orientation = 
exifData["Exif.Image.Orientation"].value().toUint32();
++#else
+ orientation = exifData["Exif.Image.Orientation"].value().toLong();
++#endif
+ }
+ } catch (Exiv2::Error &error) {
+ qWarning() << "Failed to read Exif metadata";
+diff --git a/Phototonic.cpp b/Phototonic.cpp
+index 6cc95b3..bd5497d 100644
+--- a/Phototonic.cpp
 b/Phototonic.cpp
+@@ -3151,7 +3151,11 @@ void Phototonic::removeMetadata() {
+ 
+ if (ret == MessageBox::Yes) {
+ for (int file = 0; file < fileList.size(); ++file) {
++#if EXIV2_TEST_VERSION(0,28,0)
++Exiv2::Image::UniquePtr image;
++#else
+ Exiv2::Image::AutoPtr image;
++#endif
+ try {
+ image = 
Exiv2::ImageFactory::open(fileList[file].toStdString());
+ image->clearMetadata();
+diff --git a/Tags.cpp b/Tags.cpp
+index 84eea16..a62da9d 100644
+--- a/Tags.cpp
 b/Tags.cpp
+@@ -136,7 +136,11 @@ void ImageTags::addTag(QString tagName, bool tagChecked) {
+ 
+ bool ImageTags::writeTagsToImage(QString &imageFileName, QSet 
&newTags) {
+ QSet imageTags;
++#if EXIV2_TEST_VERSION(0,28,0)
++Exiv2::Image::UniquePtr exifImage;
++#else
+ Exiv2::Image::AutoPtr exifImage;
++#endif
+ 
+ try {
+ exifImage = Exiv2::ImageFactory::open(imageFileName.toStdString());
+@@ -160,7 +164,11 @@ bool ImageTags::writeTagsToImage(QString &imageFileName, 
QSet &newTags)
+ QSetIterator newTagsIt(newTags);
+ while (newTagsIt.hasNext()) {
+ QString tag = newTagsIt.next();
++#if EXIV2_TEST_VERSION(0,28,0)
++Exiv2::Value::UniquePtr value = 
Exiv2::Value::create(Exiv2::string);
++#else
+ Exiv2::Value::AutoPtr value = Exiv2::Value::create(Exiv2::string);
++#endif
+ value->read(tag.toStdString());
+ Exiv2::IptcKey key("Iptc.Application2.Keywords");
+ newIptcData.add(key, value.get());
+diff --git a/ThumbsViewer.cpp b/ThumbsViewer.cpp
+index 77a6189..4a11475 100644
+--- a/ThumbsViewer.cpp
 b/ThumbsViewer.cpp
+@@ -210,7 +210,11 @@ void ThumbsViewer::updateImageInfoViewer(QString 
imageFu

[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2019-06-25 Thread Andreas Sturmlechner
commit: 966293e289c87d2db856c3d2e8298739f7627c06
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jun 20 21:32:14 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 25 14:52:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966293e2

media-gfx/phototonic: EAPI-7 bump, gnome-2-utils -> xdg-utils

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/phototonic/phototonic-2.1.ebuild | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/media-gfx/phototonic/phototonic-2.1.ebuild 
b/media-gfx/phototonic/phototonic-2.1.ebuild
index 46087619b84..bb861a81715 100644
--- a/media-gfx/phototonic/phototonic-2.1.ebuild
+++ b/media-gfx/phototonic/phototonic-2.1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit gnome2-utils qmake-utils xdg-utils
+inherit qmake-utils xdg-utils
 
 DESCRIPTION="Image viewer and organizer"
 HOMEPAGE="https://github.com/oferkv/phototonic";
+
 if [[ ${PV} = ** ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
@@ -20,9 +21,9 @@ SLOT="0"
 IUSE="svg tiff"
 
 RDEPEND="
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
media-gfx/exiv2:=
svg? ( dev-qt/qtsvg:5 )
tiff? ( dev-qt/qtimageformats:5 )
@@ -38,11 +39,11 @@ src_install() {
 }
 
 pkg_postinst() {
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
xdg_desktop_database_update
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
xdg_desktop_database_update
 }



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2018-11-08 Thread Michael Palimaka
commit: ba6501bba96ef8efbcfd1345825875c7a8c6f50c
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Nov  8 13:37:43 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Nov  8 13:38:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba6501bb

media-gfx/phototonic: remove 2.0

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 media-gfx/phototonic/Manifest  |  1 -
 media-gfx/phototonic/phototonic-2.0.ebuild | 48 --
 2 files changed, 49 deletions(-)

diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest
index 042bdb1c765..4df9ce80083 100644
--- a/media-gfx/phototonic/Manifest
+++ b/media-gfx/phototonic/Manifest
@@ -1,2 +1 @@
-DIST phototonic-2.0.tar.gz 283185 BLAKE2B 
0c86fa991fd2c05721d19c603becd27f93139377416ff4c9b2749488c5d5753263d3223d3bd71d3a4670289243b471ccdcb7f937d2f080cbd7dd6442cf7257f4
 SHA512 
e72952c76332b592043a39a4920ab941f20b3494d66e9855becf09438e36c0edbdbf1a384a08a9b825c5e48ac4c87b5e4cb7d1eaff7076140ad2537868aa4357
 DIST phototonic-2.1.tar.gz 488640 BLAKE2B 
bfbc14d06760c6f9d9244d5ed38d033a769f1eaf8116f55ea6aa5373578aa105fd28ef8e352d394939306af2ab3b617314aebc443a13f7abe9bb8be2fd0cb0cd
 SHA512 
4789311cefa2d5a07ca5e2fd3c0530267f9ea2ffcbf6295c687db3d2aa55e0b7d91228047b2ca24590868b22ce93d0228785fcf49a105ee65c9826b0d9a8fa42

diff --git a/media-gfx/phototonic/phototonic-2.0.ebuild 
b/media-gfx/phototonic/phototonic-2.0.ebuild
deleted file mode 100644
index 46087619b84..000
--- a/media-gfx/phototonic/phototonic-2.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome2-utils qmake-utils xdg-utils
-
-DESCRIPTION="Image viewer and organizer"
-HOMEPAGE="https://github.com/oferkv/phototonic";
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
-else
-   SRC_URI="https://github.com/oferkv/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="svg tiff"
-
-RDEPEND="
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtcore:5
-   media-gfx/exiv2:=
-   svg? ( dev-qt/qtsvg:5 )
-   tiff? ( dev-qt/qtimageformats:5 )
-"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake install INSTALL_ROOT="${D}"
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2018-06-29 Thread Michael Palimaka
commit: 2920ec9b0299696ae96723dee72ab404e2e53d4a
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Jun 30 02:56:54 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Jun 30 02:57:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2920ec9b

media-gfx/phototonic: version bump 2.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-gfx/phototonic/Manifest  |  1 +
 media-gfx/phototonic/phototonic-2.1.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest
index 54755d05790..e1169d8ffb9 100644
--- a/media-gfx/phototonic/Manifest
+++ b/media-gfx/phototonic/Manifest
@@ -1,2 +1,3 @@
 DIST phototonic-1.6.17.tar.xz 167264 BLAKE2B 
39df863da3084454fbde2f4a02f4b4251be2487d0bb7628fb20a8a6b4ade653ea93324262815ac1f2d778310941f27d73b34ed6dc71aeade9a7236350674b011
 SHA512 
66c537c723b114de8a92692933a3671346919dde1ce028a9c067909403d91c0a161d5887e0c07e9309d524179308364fc93403c608b3226d74e28bc744e08cde
 DIST phototonic-2.0.tar.gz 283185 BLAKE2B 
0c86fa991fd2c05721d19c603becd27f93139377416ff4c9b2749488c5d5753263d3223d3bd71d3a4670289243b471ccdcb7f937d2f080cbd7dd6442cf7257f4
 SHA512 
e72952c76332b592043a39a4920ab941f20b3494d66e9855becf09438e36c0edbdbf1a384a08a9b825c5e48ac4c87b5e4cb7d1eaff7076140ad2537868aa4357
+DIST phototonic-2.1.tar.gz 488640 BLAKE2B 
bfbc14d06760c6f9d9244d5ed38d033a769f1eaf8116f55ea6aa5373578aa105fd28ef8e352d394939306af2ab3b617314aebc443a13f7abe9bb8be2fd0cb0cd
 SHA512 
4789311cefa2d5a07ca5e2fd3c0530267f9ea2ffcbf6295c687db3d2aa55e0b7d91228047b2ca24590868b22ce93d0228785fcf49a105ee65c9826b0d9a8fa42

diff --git a/media-gfx/phototonic/phototonic-2.1.ebuild 
b/media-gfx/phototonic/phototonic-2.1.ebuild
new file mode 100644
index 000..46087619b84
--- /dev/null
+++ b/media-gfx/phototonic/phototonic-2.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils qmake-utils xdg-utils
+
+DESCRIPTION="Image viewer and organizer"
+HOMEPAGE="https://github.com/oferkv/phototonic";
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
+else
+   SRC_URI="https://github.com/oferkv/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="svg tiff"
+
+RDEPEND="
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtcore:5
+   media-gfx/exiv2:=
+   svg? ( dev-qt/qtsvg:5 )
+   tiff? ( dev-qt/qtimageformats:5 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake install INSTALL_ROOT="${D}"
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2018-06-29 Thread Michael Palimaka
commit: b6727399655aef3ef6839984635b9bb3201ed395
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Jun 30 02:57:28 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Jun 30 02:57:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6727399

media-gfx/phototonic: remove 1.6.17

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-gfx/phototonic/Manifest |  1 -
 media-gfx/phototonic/phototonic-1.6.17.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest
index e1169d8ffb9..042bdb1c765 100644
--- a/media-gfx/phototonic/Manifest
+++ b/media-gfx/phototonic/Manifest
@@ -1,3 +1,2 @@
-DIST phototonic-1.6.17.tar.xz 167264 BLAKE2B 
39df863da3084454fbde2f4a02f4b4251be2487d0bb7628fb20a8a6b4ade653ea93324262815ac1f2d778310941f27d73b34ed6dc71aeade9a7236350674b011
 SHA512 
66c537c723b114de8a92692933a3671346919dde1ce028a9c067909403d91c0a161d5887e0c07e9309d524179308364fc93403c608b3226d74e28bc744e08cde
 DIST phototonic-2.0.tar.gz 283185 BLAKE2B 
0c86fa991fd2c05721d19c603becd27f93139377416ff4c9b2749488c5d5753263d3223d3bd71d3a4670289243b471ccdcb7f937d2f080cbd7dd6442cf7257f4
 SHA512 
e72952c76332b592043a39a4920ab941f20b3494d66e9855becf09438e36c0edbdbf1a384a08a9b825c5e48ac4c87b5e4cb7d1eaff7076140ad2537868aa4357
 DIST phototonic-2.1.tar.gz 488640 BLAKE2B 
bfbc14d06760c6f9d9244d5ed38d033a769f1eaf8116f55ea6aa5373578aa105fd28ef8e352d394939306af2ab3b617314aebc443a13f7abe9bb8be2fd0cb0cd
 SHA512 
4789311cefa2d5a07ca5e2fd3c0530267f9ea2ffcbf6295c687db3d2aa55e0b7d91228047b2ca24590868b22ce93d0228785fcf49a105ee65c9826b0d9a8fa42

diff --git a/media-gfx/phototonic/phototonic-1.6.17.ebuild 
b/media-gfx/phototonic/phototonic-1.6.17.ebuild
deleted file mode 100644
index 296d9bdff6b..000
--- a/media-gfx/phototonic/phototonic-1.6.17.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit qmake-utils
-
-DESCRIPTION="Image viewer and organizer"
-HOMEPAGE="https://github.com/oferkv/phototonic";
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
-else
-   SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz";
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="svg tiff"
-
-RDEPEND="dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtcore:5
-   media-gfx/exiv2:=
-   svg? ( dev-qt/qtsvg:5 )
-   tiff? ( dev-qt/qtimageformats:5 )"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake install INSTALL_ROOT="${D}"
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2018-03-06 Thread Michael Palimaka
commit: 2447ff09ba599abc0a850b24d30a3af857a3b295
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  6 10:07:37 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  6 10:07:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2447ff09

media-gfx/phototonic: version bump 2.0

Closes: https://bugs.gentoo.org/649186
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/phototonic/Manifest  |  1 +
 media-gfx/phototonic/phototonic-2.0.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest
index a83780e7a65..54755d05790 100644
--- a/media-gfx/phototonic/Manifest
+++ b/media-gfx/phototonic/Manifest
@@ -1 +1,2 @@
 DIST phototonic-1.6.17.tar.xz 167264 BLAKE2B 
39df863da3084454fbde2f4a02f4b4251be2487d0bb7628fb20a8a6b4ade653ea93324262815ac1f2d778310941f27d73b34ed6dc71aeade9a7236350674b011
 SHA512 
66c537c723b114de8a92692933a3671346919dde1ce028a9c067909403d91c0a161d5887e0c07e9309d524179308364fc93403c608b3226d74e28bc744e08cde
+DIST phototonic-2.0.tar.gz 283185 BLAKE2B 
0c86fa991fd2c05721d19c603becd27f93139377416ff4c9b2749488c5d5753263d3223d3bd71d3a4670289243b471ccdcb7f937d2f080cbd7dd6442cf7257f4
 SHA512 
e72952c76332b592043a39a4920ab941f20b3494d66e9855becf09438e36c0edbdbf1a384a08a9b825c5e48ac4c87b5e4cb7d1eaff7076140ad2537868aa4357

diff --git a/media-gfx/phototonic/phototonic-2.0.ebuild 
b/media-gfx/phototonic/phototonic-2.0.ebuild
new file mode 100644
index 000..46087619b84
--- /dev/null
+++ b/media-gfx/phototonic/phototonic-2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils qmake-utils xdg-utils
+
+DESCRIPTION="Image viewer and organizer"
+HOMEPAGE="https://github.com/oferkv/phototonic";
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
+else
+   SRC_URI="https://github.com/oferkv/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="svg tiff"
+
+RDEPEND="
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtcore:5
+   media-gfx/exiv2:=
+   svg? ( dev-qt/qtsvg:5 )
+   tiff? ( dev-qt/qtimageformats:5 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake install INSTALL_ROOT="${D}"
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2017-06-20 Thread Pacho Ramos
commit: 626230da7276a129ae47f9c2128c333b7df75073
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun 20 12:09:43 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun 20 12:37:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=626230da

media-gfx/phototonic: Cleanup metadata due to retirement

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-gfx/phototonic/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/media-gfx/phototonic/metadata.xml 
b/media-gfx/phototonic/metadata.xml
index 0ed9bf59409..56d75214d8b 100644
--- a/media-gfx/phototonic/metadata.xml
+++ b/media-gfx/phototonic/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-yng...@gentoo.org
-Ben de Groot
-  
   
 q...@gentoo.org
 Gentoo Qt Project



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2017-06-18 Thread Michael Palimaka
commit: 6158e857b2b114af885f1ae7cf2889aaa380bdb0
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 18 08:57:52 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 18 08:58:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6158e857

media-gfx/phototonic: update HOMEPAGE

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-gfx/phototonic/phototonic-1.6.17.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/phototonic/phototonic-1.6.17.ebuild 
b/media-gfx/phototonic/phototonic-1.6.17.ebuild
index 563c0002374..296d9bdff6b 100644
--- a/media-gfx/phototonic/phototonic-1.6.17.ebuild
+++ b/media-gfx/phototonic/phototonic-1.6.17.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit qmake-utils
 
 DESCRIPTION="Image viewer and organizer"
-HOMEPAGE="http://oferkv.github.io/phototonic/";
+HOMEPAGE="https://github.com/oferkv/phototonic";
 if [[ ${PV} = ** ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2016-05-30 Thread Davide Pesavento
commit: 186d1b24cb6a269dfda6cfd6aa85904fb17d7a49
Author: Davide Pesavento  gentoo  org>
AuthorDate: Mon May 30 17:13:05 2016 +
Commit: Davide Pesavento  gentoo  org>
CommitDate: Mon May 30 17:40:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186d1b24

media-gfx/phototonic: remove old

Package-Manager: portage-2.3.0_rc1

 media-gfx/phototonic/Manifest |  2 --
 media-gfx/phototonic/phototonic-1.5.54.ebuild | 36 ---
 media-gfx/phototonic/phototonic-1.6.6.ebuild  | 36 ---
 3 files changed, 74 deletions(-)

diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest
index 5a3ede0..38ebfa5 100644
--- a/media-gfx/phototonic/Manifest
+++ b/media-gfx/phototonic/Manifest
@@ -1,3 +1 @@
-DIST phototonic-1.5.54.tar.xz 160716 SHA256 
a84ec02cd03635fd5f2b19deea46eec0c74e6f9fabb24943fcf37bbece1c214e SHA512 
a4ce914503a8452bb6d2a2c97cef6c5b4b69e0d8c5a349bd5a68680731b3a9e70a9afa7ff63cb2836aa8d970f074b058627687fa7cdcfb898da13c696c2d6df7
 WHIRLPOOL 
a17369097cdf5ec9efac2cefaee582aafbdbfee0a22ee8395c2824aa16913c10c929e8359fcd70d508400e85d4f30b25fcba7b176fc135a29b43d0e009080883
 DIST phototonic-1.6.17.tar.xz 167264 SHA256 
f9d03344cb635948810c90695b592792106860bb35922b885325b2a3751c6411 SHA512 
66c537c723b114de8a92692933a3671346919dde1ce028a9c067909403d91c0a161d5887e0c07e9309d524179308364fc93403c608b3226d74e28bc744e08cde
 WHIRLPOOL 
052449af44277a3ea40562306854a745f8f02e5b137fc8e7f2aef824c06f08c967b38863204ece2f821d0fa90615163ca4fe8d9faa3729481542b0a0edd661b3
-DIST phototonic-1.6.6.tar.xz 166448 SHA256 
52b11420f2da6637f7b570029f6f6a8052277631e74bb80ad97be47a50c485a3 SHA512 
ce1766b120ae27dacd34219943eec092385713e187415a65e59f1d0b94942266b02686377000be07a3a0ad2a0d4d4f19753d150ee6bf3c1ca85fa224eac6ebfd
 WHIRLPOOL 
822c3248d0d1b4e5f3e3a7eec15e11aea598ebb43550601e5483cd6516c42cfd7ae04c79273766c117fc525b837b29a8546a8f272b4d5761e2957e9e6275cc80

diff --git a/media-gfx/phototonic/phototonic-1.5.54.ebuild 
b/media-gfx/phototonic/phototonic-1.5.54.ebuild
deleted file mode 100644
index 368fb89..000
--- a/media-gfx/phototonic/phototonic-1.5.54.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit qmake-utils
-
-DESCRIPTION="Image viewer and organizer"
-HOMEPAGE="http://oferkv.github.io/phototonic/";
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
-else
-   SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz";
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="svg tiff"
-
-RDEPEND="dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtcore:5
-   media-gfx/exiv2:=
-   svg? ( dev-qt/qtsvg:5 )
-   tiff? ( dev-qt/qtimageformats:5 )"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake install INSTALL_ROOT="${D}"
-}

diff --git a/media-gfx/phototonic/phototonic-1.6.6.ebuild 
b/media-gfx/phototonic/phototonic-1.6.6.ebuild
deleted file mode 100644
index 368fb89..000
--- a/media-gfx/phototonic/phototonic-1.6.6.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit qmake-utils
-
-DESCRIPTION="Image viewer and organizer"
-HOMEPAGE="http://oferkv.github.io/phototonic/";
-if [[ ${PV} = ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
-else
-   SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz";
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="svg tiff"
-
-RDEPEND="dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtcore:5
-   media-gfx/exiv2:=
-   svg? ( dev-qt/qtsvg:5 )
-   tiff? ( dev-qt/qtimageformats:5 )"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake install INSTALL_ROOT="${D}"
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/phototonic/

2015-08-17 Thread Ben de Groot
commit: 02c204c2c96573b9a8a75bea3b50dc9f6f126a91
Author: Ben de Groot  gentoo  org>
AuthorDate: Mon Aug 17 16:14:35 2015 +
Commit: Ben de Groot  gentoo  org>
CommitDate: Mon Aug 17 16:20:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c204c2

media-gfx/phototonic: version bump to 1.6.17

Package-Manager: portage-2.2.20.1

 media-gfx/phototonic/Manifest |  1 +
 media-gfx/phototonic/phototonic-1.6.17.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest
index 1092dab..5a3ede0 100644
--- a/media-gfx/phototonic/Manifest
+++ b/media-gfx/phototonic/Manifest
@@ -1,2 +1,3 @@
 DIST phototonic-1.5.54.tar.xz 160716 SHA256 
a84ec02cd03635fd5f2b19deea46eec0c74e6f9fabb24943fcf37bbece1c214e SHA512 
a4ce914503a8452bb6d2a2c97cef6c5b4b69e0d8c5a349bd5a68680731b3a9e70a9afa7ff63cb2836aa8d970f074b058627687fa7cdcfb898da13c696c2d6df7
 WHIRLPOOL 
a17369097cdf5ec9efac2cefaee582aafbdbfee0a22ee8395c2824aa16913c10c929e8359fcd70d508400e85d4f30b25fcba7b176fc135a29b43d0e009080883
+DIST phototonic-1.6.17.tar.xz 167264 SHA256 
f9d03344cb635948810c90695b592792106860bb35922b885325b2a3751c6411 SHA512 
66c537c723b114de8a92692933a3671346919dde1ce028a9c067909403d91c0a161d5887e0c07e9309d524179308364fc93403c608b3226d74e28bc744e08cde
 WHIRLPOOL 
052449af44277a3ea40562306854a745f8f02e5b137fc8e7f2aef824c06f08c967b38863204ece2f821d0fa90615163ca4fe8d9faa3729481542b0a0edd661b3
 DIST phototonic-1.6.6.tar.xz 166448 SHA256 
52b11420f2da6637f7b570029f6f6a8052277631e74bb80ad97be47a50c485a3 SHA512 
ce1766b120ae27dacd34219943eec092385713e187415a65e59f1d0b94942266b02686377000be07a3a0ad2a0d4d4f19753d150ee6bf3c1ca85fa224eac6ebfd
 WHIRLPOOL 
822c3248d0d1b4e5f3e3a7eec15e11aea598ebb43550601e5483cd6516c42cfd7ae04c79273766c117fc525b837b29a8546a8f272b4d5761e2957e9e6275cc80

diff --git a/media-gfx/phototonic/phototonic-1.6.17.ebuild 
b/media-gfx/phototonic/phototonic-1.6.17.ebuild
new file mode 100644
index 000..cc3f4da
--- /dev/null
+++ b/media-gfx/phototonic/phototonic-1.6.17.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit qmake-utils
+
+DESCRIPTION="Image viewer and organizer"
+HOMEPAGE="http://oferkv.github.io/phototonic/";
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/oferkv/phototonic.git";
+else
+   SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz";
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="svg tiff"
+
+RDEPEND="dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtcore:5
+   media-gfx/exiv2:=
+   svg? ( dev-qt/qtsvg:5 )
+   tiff? ( dev-qt/qtimageformats:5 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake install INSTALL_ROOT="${D}"
+}