summaryrefslogtreecommitdiff
path: root/media-gfx/kfax
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/kfax
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/kfax')
-rw-r--r--media-gfx/kfax/Manifest7
-rw-r--r--media-gfx/kfax/files/kfax-3.3.6-kde45.patch12
-rw-r--r--media-gfx/kfax/files/kfax-3.3.6-underlinking.patch12
-rw-r--r--media-gfx/kfax/kfax-3.3.6-r1.ebuild38
-rw-r--r--media-gfx/kfax/metadata.xml8
5 files changed, 77 insertions, 0 deletions
diff --git a/media-gfx/kfax/Manifest b/media-gfx/kfax/Manifest
new file mode 100644
index 000000000000..e5ee01dd9f0e
--- /dev/null
+++ b/media-gfx/kfax/Manifest
@@ -0,0 +1,7 @@
+AUX kfax-3.3.6-kde45.patch 590 SHA256 9bb93095b05d87bb44cdf51792ed6ed6bf32c948e1d620263220086019ce2e32 SHA512 ed729a09c8bde5807f216782fd2ae0127ea9615ed65e225236bb81ffa33ec83c71dba5af30caac44a4a9401767bae30773db3724bdfa1aeba7ea4909b4331c22 WHIRLPOOL 97968e954808216da7e915e20c6d241e88a2a23ad9ff7b8c084b2241cb1716fdf7d647f362494a4d23e8e319b110b98cb7dd60ab74105e27736e45162a0314e1
+AUX kfax-3.3.6-underlinking.patch 525 SHA256 e2d1a22ae9c3b017671d15b0a7f976a1f98ec6ba6876cef0b94e9dfd8067a497 SHA512 0aed5084102b3ff03b384b67219f748c5de20ff23db257fad51180e7eaf1d0596587ff6523f94915aa10907aa84a781acdea4aeb0f0d3d576bf51aa719e900d0 WHIRLPOOL e65962cb180bdd79d4630493225ad731113b46d4d5e815b2e57e79575ec7c726d92adfc15fb5fdf0e6532faa714a50448aa6fa8847db6e2a4228f545171445fa
+DIST kfax-3.3.6-kde4.4.0.tar.bz2 311468 SHA256 6897b25f72a49c9bc0f99bf03fced5023c6d76e8746b23fd7ddf73b8a16c6d1d SHA512 a4e0cf2696878a74f190e3cf040c76c3f7c07c296b8aa4f5d80d52275e9af239e01d90b9d7965b3bbe081f81ece661d1339183ca1f6e2cb326da7ed46ee4a0f1 WHIRLPOOL 5f97ccfa73cd3871aa6a954292155ba06d6dbd66bbd579f13d880a5816522a6f9e9a4e81c785cc1dc6c1db436a04396767584e66240ea396b5051a75bb648728
+EBUILD kfax-3.3.6-r1.ebuild 897 SHA256 4aa62f8f1c2015996a6dff03dd1caea86f8716c0608d1fd6d494ec552f9f2b3d SHA512 94f4343a56e602db345a234a900e0d26127307320515e69e65dbc56f49dad2c3c54a6e9ebfbadf1c4ae6552916231b9f47734e6bc988cc84b2100d891f925157 WHIRLPOOL c94332eb1fdad876831501ede8fe7437591895e8bb002804848ab26a37c27e90f95c2bd08fea9deb990333c1b087a1cdd418fba8be2911eda9a936f9b13a9d5d
+MISC ChangeLog 2666 SHA256 d6b52125b1d55e0873a2bade21630566ccda8e07b7d82028ecd38f8b93e52344 SHA512 48d7ed70d9a915acf372e6848dc92d711e8b8acfafffb25f03bccda3f89836526dae6dc895b138056dc47abddcba6c6a6575812b1048b82e3b9a336946114b45 WHIRLPOOL 8c8255d6165599edfedc067fb488c3f62ce3a2446de354d77b116ee7e70a33a2c86f159c3fd604f2c986aaa35c45bdd2c1bb5085b30915890642da7d0fba5b7c
+MISC ChangeLog-2015 1065 SHA256 c4fac3da946e49154b33318349ac945786109a9a5f6f5b2c3c88a7c0f1bdadc9 SHA512 2b176a2a39279fd48bd93fe98ca297a258fc814760764792f72dcba5cbf1fc5ca3b881dda537704b921c28217349b3fc3ab63adcb17e27ef5e6bdb3cd620c457 WHIRLPOOL 95f87aa36d880f53ee389dc7634071ee9872cb4047ff2949aa419c24cdd2cda8e6172a865f161e4a89cb1823d14fc2546122fff76fb2cdd560408193ae048d3e
+MISC metadata.xml 245 SHA256 ae3610b0005f668b7174e8c49c0170e7642e895c8e13e7e2fedcfefee6940e1a SHA512 90bcfe500baf163912aaffc9958c9724c4a97cfca294cae6c2eea938f4ca7668c84b132b6dce55767efa47a28b9e87bb75e79634b59079ab8ef3eff3ea95968e WHIRLPOOL 7abb1ad699d5aa3a0a0ebb0e8704df297ad9a662698cb59d1b48700aeb787e6208540e1e84f583a46bdd9975e27a75f04f7463585790b4e7865d0edfdb1e13ae
diff --git a/media-gfx/kfax/files/kfax-3.3.6-kde45.patch b/media-gfx/kfax/files/kfax-3.3.6-kde45.patch
new file mode 100644
index 000000000000..60bedf093eeb
--- /dev/null
+++ b/media-gfx/kfax/files/kfax-3.3.6-kde45.patch
@@ -0,0 +1,12 @@
+diff -ru kfax-3.3.6-kde4.4.0.orig/kfax.cpp kfax-3.3.6-kde4.4.0/kfax.cpp
+--- kfax-3.3.6-kde4.4.0.orig/kfax.cpp 2010-02-11 21:52:12.000000000 +0100
++++ kfax-3.3.6-kde4.4.0/kfax.cpp 2010-11-14 00:13:21.386377691 +0100
+@@ -829,7 +829,7 @@
+ statusbar->showMessage( i18n( "Saving..." ) );
+
+ KUrl source(thispage->pathname);
+- KIO::FileCopyJob *job = KIO::file_copy(source, dest,KIO::Overwrite | KIO::HideProgressInfo);
++ KIO::FileCopyJob *job = KIO::file_copy(source, dest, -1, KIO::Overwrite | KIO::HideProgressInfo);
+ bool ok = job->exec();
+ statusbar->clearMessage();
+
diff --git a/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch b/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch
new file mode 100644
index 000000000000..701308951b63
--- /dev/null
+++ b/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch
@@ -0,0 +1,12 @@
+diff -ruN kfax-3.3.6-kde4.4.0.orig/CMakeLists.txt kfax-3.3.6-kde4.4.0/CMakeLists.txt
+--- kfax-3.3.6-kde4.4.0.orig/CMakeLists.txt 2010-02-11 21:59:47.000000000 +0100
++++ kfax-3.3.6-kde4.4.0/CMakeLists.txt 2011-08-11 21:33:15.262295828 +0200
+@@ -12,7 +12,7 @@
+
+ kde4_add_executable(kfax ${kfax_SRCS})
+
+-target_link_libraries(kfax ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} )
++target_link_libraries(kfax ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES})
+
+ install(TARGETS kfax ${INSTALL_TARGETS_DEFAULT_ARGS} )
+
diff --git a/media-gfx/kfax/kfax-3.3.6-r1.ebuild b/media-gfx/kfax/kfax-3.3.6-r1.ebuild
new file mode 100644
index 000000000000..7e08e6f702d4
--- /dev/null
+++ b/media-gfx/kfax/kfax-3.3.6-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+KDE_LINGUAS="af ar be bg br ca ca@valencia cs cy da de el en_GB eo es et eu fa
+fi fr ga gl he hi hne hr hu is it ja km ko lt lv mai mk ms nb nds ne nl nn oc
+pa pl pt pt_BR ro ru se sk sl sv ta tg th tr uk vi wa xh zh_CN zh_HK zh_TW"
+KDE_DOC_DIRS="doc-translations/%lingua_${PN}"
+KDE_HANDBOOK="optional"
+QT3SUPPORT_REQUIRED="true"
+inherit kde4-base
+
+KDE_VERSION=4.4.0
+MY_P=${P}-kde${KDE_VERSION}
+
+DESCRIPTION="A fax file viewer"
+HOMEPAGE="https://www.kde.org/"
+SRC_URI="mirror://kde/stable/${KDE_VERSION}/src/extragear/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}/${P}-kde45.patch"
+ "${FILESDIR}/${P}-underlinking.patch"
+)
diff --git a/media-gfx/kfax/metadata.xml b/media-gfx/kfax/metadata.xml
new file mode 100644
index 000000000000..0cf59224b009
--- /dev/null
+++ b/media-gfx/kfax/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+</maintainer>
+</pkgmetadata>