1 |
commit: f51fda0dd556447833d47d0e8f6fd743ec23c610 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 11:37:30 2021 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 11:56:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f51fda0d |
7 |
|
8 |
media-gfx/fotoxx: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
media-gfx/fotoxx/Manifest | 1 - |
14 |
media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch | 12 ------ |
15 |
media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch | 31 ------------- |
16 |
media-gfx/fotoxx/fotoxx-15.05.ebuild | 55 ------------------------ |
17 |
4 files changed, 99 deletions(-) |
18 |
|
19 |
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest |
20 |
index a100150b595..ff429acc628 100644 |
21 |
--- a/media-gfx/fotoxx/Manifest |
22 |
+++ b/media-gfx/fotoxx/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST fotoxx-15.05.tar.gz 3573278 BLAKE2B 0a7f564b2a31cf7db131d8a09a8624f087b7a5beb377949843d99d5933d5b16fb270177fe233f943af7f26753fffc6a52a5a5feea18c065f0dd99a74256a33f0 SHA512 07155e5f32c0ada33dd95de333a4a124c9fc56b3807bb2edc2b078f0eab37968f374f84701bb8ce9b200f00ed4587c83f772899ba39527378d3527050960ac0e |
25 |
DIST fotoxx-21.40.tar.gz 8583921 BLAKE2B 63e49768c6d5941fe4259f83aef4ce8d0e19498c1090e4eb5017337f184edb0c60939323cc6481efcf72d0544347e046c94e37619e1f466b6dde0ab0919c3792 SHA512 05db14fafd8187bcb1de1576ca445fe525e895089fe670a80f890b2c525f5424fabd751ea422a5cc266cc7e8175ecaf7800b97a5ad686ea3e4e482de78190f3b |
26 |
|
27 |
diff --git a/media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch b/media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch |
28 |
deleted file mode 100644 |
29 |
index 8cab49ff51e..00000000000 |
30 |
--- a/media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch |
31 |
+++ /dev/null |
32 |
@@ -1,12 +0,0 @@ |
33 |
---- fotoxx-14.10.2.orig/Makefile 2014-10-09 15:17:09.000000000 +0700 |
34 |
-+++ fotoxx-14.10.2/Makefile 2014-10-13 20:44:55.061728475 +0700 |
35 |
-@@ -16,3 +16,3 @@ |
36 |
- LOCALESDIR = $(SHAREDIR)/locales |
37 |
--DOCDIR = $(PREFIX)/share/doc/fotoxx |
38 |
-+DOCDIR = $(PREFIX)/share/doc/$(PF) |
39 |
- MANDIR = $(PREFIX)/share/man/man1 |
40 |
-@@ -90,4 +90,2 @@ |
41 |
- rm -f fotoxx.1.gz |
42 |
-- # menu (desktop) file |
43 |
-- cp -f desktop $(DESTDIR)$(MENUFILE) |
44 |
- |
45 |
|
46 |
diff --git a/media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch b/media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch |
47 |
deleted file mode 100644 |
48 |
index 5d84e687d39..00000000000 |
49 |
--- a/media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch |
50 |
+++ /dev/null |
51 |
@@ -1,31 +0,0 @@ |
52 |
-Fix 'smart_erase_blur' declaration and definition mismatch. |
53 |
- |
54 |
-https://bugs.gentoo.org/768207 |
55 |
---- a/f.repair.cc |
56 |
-+++ b/f.repair.cc |
57 |
-@@ -2265,7 +2265,7 @@ void smart_erase_func(int mode) |
58 |
- |
59 |
- // add blur to the erased area to help mask the side-effects |
60 |
- |
61 |
--int smart_erase_blur(float radius) |
62 |
-+void smart_erase_blur(float radius) |
63 |
- { |
64 |
- int ii, px, py, dx, dy, adx, ady; |
65 |
- float blur_weight[12][12]; // up to blur radius = 10 |
66 |
-@@ -2274,7 +2274,7 @@ int smart_erase_blur(float radius) |
67 |
- float red, green, blue; |
68 |
- float *pix9, *pix3, *pixN; |
69 |
- |
70 |
-- if (sa_stat != 3) return 0; |
71 |
-+ if (sa_stat != 3) return; |
72 |
- |
73 |
- rad = radius - 0.2; |
74 |
- rad2 = rad * rad; |
75 |
-@@ -2342,7 +2342,6 @@ int smart_erase_blur(float radius) |
76 |
- CEF->Fmods++; |
77 |
- CEF->Fsaved = 0; |
78 |
- Fpaint2(); // update window |
79 |
-- return 0; |
80 |
- } |
81 |
- |
82 |
- |
83 |
|
84 |
diff --git a/media-gfx/fotoxx/fotoxx-15.05.ebuild b/media-gfx/fotoxx/fotoxx-15.05.ebuild |
85 |
deleted file mode 100644 |
86 |
index b15710b3982..00000000000 |
87 |
--- a/media-gfx/fotoxx/fotoxx-15.05.ebuild |
88 |
+++ /dev/null |
89 |
@@ -1,55 +0,0 @@ |
90 |
-# Copyright 1999-2021 Gentoo Authors |
91 |
-# Distributed under the terms of the GNU General Public License v2 |
92 |
- |
93 |
-EAPI=6 |
94 |
- |
95 |
-inherit desktop toolchain-funcs xdg-utils |
96 |
- |
97 |
-DESCRIPTION="Program for improving image files made with a digital camera" |
98 |
-HOMEPAGE="https://www.kornelix.net/fotoxx/fotoxx.html" |
99 |
-SRC_URI="http://www.kornelix.com/uploads/1/3/0/3/13035936/${P}.tar.gz" |
100 |
- |
101 |
-LICENSE="GPL-3" |
102 |
-SLOT="0" |
103 |
-KEYWORDS="amd64 ~arm64 x86" |
104 |
-IUSE="" |
105 |
- |
106 |
-DEPEND=" |
107 |
- media-libs/libpng |
108 |
- media-libs/tiff |
109 |
- media-libs/lcms:2 |
110 |
- x11-libs/gtk+:3" |
111 |
-RDEPEND="${DEPEND} |
112 |
- media-gfx/ufraw[gtk] |
113 |
- media-gfx/dcraw |
114 |
- media-libs/exiftool |
115 |
- x11-misc/xdg-utils" |
116 |
- |
117 |
-PATCHES=( |
118 |
- "${FILESDIR}"/${P}-docdir.patch |
119 |
- "${FILESDIR}"/${P}-gcc-11.patch |
120 |
-) |
121 |
- |
122 |
-src_compile() { |
123 |
- tc-export CXX |
124 |
- emake |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- # For the Help menu items to work, *.html must be in /usr/share/doc/${PF}, |
129 |
- # and README, changelog, translations, edit-menus, KB-shortcuts must not be compressed |
130 |
- emake DESTDIR="${D}" install |
131 |
- newmenu desktop ${PN}.desktop |
132 |
- rm -f "${D}"/usr/share/doc/${PF}/*.man || die |
133 |
- docompress -x /usr/share/doc |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- xdg_desktop_database_update |
138 |
- xdg_mimeinfo_database_update |
139 |
-} |
140 |
- |
141 |
-pkg_postrm() { |
142 |
- xdg_desktop_database_update |
143 |
- xdg_mimeinfo_database_update |
144 |
-} |