diff options
-rw-r--r-- | media-gfx/fotoxx/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch | 12 | ||||
-rw-r--r-- | media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch | 31 | ||||
-rw-r--r-- | media-gfx/fotoxx/fotoxx-15.05.ebuild | 55 |
4 files changed, 0 insertions, 99 deletions
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest index a100150b5959..ff429acc6283 100644 --- a/media-gfx/fotoxx/Manifest +++ b/media-gfx/fotoxx/Manifest @@ -1,2 +1 @@ -DIST fotoxx-15.05.tar.gz 3573278 BLAKE2B 0a7f564b2a31cf7db131d8a09a8624f087b7a5beb377949843d99d5933d5b16fb270177fe233f943af7f26753fffc6a52a5a5feea18c065f0dd99a74256a33f0 SHA512 07155e5f32c0ada33dd95de333a4a124c9fc56b3807bb2edc2b078f0eab37968f374f84701bb8ce9b200f00ed4587c83f772899ba39527378d3527050960ac0e DIST fotoxx-21.40.tar.gz 8583921 BLAKE2B 63e49768c6d5941fe4259f83aef4ce8d0e19498c1090e4eb5017337f184edb0c60939323cc6481efcf72d0544347e046c94e37619e1f466b6dde0ab0919c3792 SHA512 05db14fafd8187bcb1de1576ca445fe525e895089fe670a80f890b2c525f5424fabd751ea422a5cc266cc7e8175ecaf7800b97a5ad686ea3e4e482de78190f3b diff --git a/media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch b/media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch deleted file mode 100644 index 8cab49ff51ea..000000000000 --- a/media-gfx/fotoxx/files/fotoxx-15.05-docdir.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- fotoxx-14.10.2.orig/Makefile 2014-10-09 15:17:09.000000000 +0700 -+++ fotoxx-14.10.2/Makefile 2014-10-13 20:44:55.061728475 +0700 -@@ -16,3 +16,3 @@ - LOCALESDIR = $(SHAREDIR)/locales --DOCDIR = $(PREFIX)/share/doc/fotoxx -+DOCDIR = $(PREFIX)/share/doc/$(PF) - MANDIR = $(PREFIX)/share/man/man1 -@@ -90,4 +90,2 @@ - rm -f fotoxx.1.gz -- # menu (desktop) file -- cp -f desktop $(DESTDIR)$(MENUFILE) - diff --git a/media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch b/media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch deleted file mode 100644 index 5d84e687d397..000000000000 --- a/media-gfx/fotoxx/files/fotoxx-15.05-gcc-11.patch +++ /dev/null @@ -1,31 +0,0 @@ -Fix 'smart_erase_blur' declaration and definition mismatch. - -https://bugs.gentoo.org/768207 ---- a/f.repair.cc -+++ b/f.repair.cc -@@ -2265,7 +2265,7 @@ void smart_erase_func(int mode) - - // add blur to the erased area to help mask the side-effects - --int smart_erase_blur(float radius) -+void smart_erase_blur(float radius) - { - int ii, px, py, dx, dy, adx, ady; - float blur_weight[12][12]; // up to blur radius = 10 -@@ -2274,7 +2274,7 @@ int smart_erase_blur(float radius) - float red, green, blue; - float *pix9, *pix3, *pixN; - -- if (sa_stat != 3) return 0; -+ if (sa_stat != 3) return; - - rad = radius - 0.2; - rad2 = rad * rad; -@@ -2342,7 +2342,6 @@ int smart_erase_blur(float radius) - CEF->Fmods++; - CEF->Fsaved = 0; - Fpaint2(); // update window -- return 0; - } - - diff --git a/media-gfx/fotoxx/fotoxx-15.05.ebuild b/media-gfx/fotoxx/fotoxx-15.05.ebuild deleted file mode 100644 index b15710b39828..000000000000 --- a/media-gfx/fotoxx/fotoxx-15.05.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop toolchain-funcs xdg-utils - -DESCRIPTION="Program for improving image files made with a digital camera" -HOMEPAGE="https://www.kornelix.net/fotoxx/fotoxx.html" -SRC_URI="http://www.kornelix.com/uploads/1/3/0/3/13035936/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="" - -DEPEND=" - media-libs/libpng - media-libs/tiff - media-libs/lcms:2 - x11-libs/gtk+:3" -RDEPEND="${DEPEND} - media-gfx/ufraw[gtk] - media-gfx/dcraw - media-libs/exiftool - x11-misc/xdg-utils" - -PATCHES=( - "${FILESDIR}"/${P}-docdir.patch - "${FILESDIR}"/${P}-gcc-11.patch -) - -src_compile() { - tc-export CXX - emake -} - -src_install() { - # For the Help menu items to work, *.html must be in /usr/share/doc/${PF}, - # and README, changelog, translations, edit-menus, KB-shortcuts must not be compressed - emake DESTDIR="${D}" install - newmenu desktop ${PN}.desktop - rm -f "${D}"/usr/share/doc/${PF}/*.man || die - docompress -x /usr/share/doc -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} |