summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-11 13:25:42 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-11 18:19:55 +0200
commitc68e29fda20f2432ca14e3014c4c564d7d6efc06 (patch)
tree42ecd4e67dd1f23d6f29a08d6849c74c593a2eae /media-gfx/mypaint
parentmail-mta/sendmail: Drop old (diff)
downloadgentoo-c68e29fda20f2432ca14e3014c4c564d7d6efc06.tar.gz
gentoo-c68e29fda20f2432ca14e3014c4c564d7d6efc06.tar.bz2
gentoo-c68e29fda20f2432ca14e3014c4c564d7d6efc06.zip
media-gfx/mypaint: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/mypaint')
-rw-r--r--media-gfx/mypaint/Manifest1
-rw-r--r--media-gfx/mypaint/files/mypaint-1.1.0-build-env-vars.patch53
-rw-r--r--media-gfx/mypaint/files/mypaint-1.1.0-desktop.patch24
-rw-r--r--media-gfx/mypaint/files/mypaint-1.1.0-json-c-0.11.patch15
-rw-r--r--media-gfx/mypaint/mypaint-1.1.0-r2.ebuild85
5 files changed, 0 insertions, 178 deletions
diff --git a/media-gfx/mypaint/Manifest b/media-gfx/mypaint/Manifest
index 576ed9331ff3..190d7a1c4772 100644
--- a/media-gfx/mypaint/Manifest
+++ b/media-gfx/mypaint/Manifest
@@ -1,2 +1 @@
-DIST mypaint-1.1.0.tar.bz2 37416388 BLAKE2B 4ced9087a51b855ad943d104801d06a03a6f78dfd39eba975cbdeddd304c12ffb0ccd48267fcf31f3608acc069b88bc3f07ed2ab750d77eb31bd64df2f6492a9 SHA512 a3eef378ddcaa0a33f9afc49cc587489ecfff6f3e46e2238aab83f89d682f2407e2760e6029eaac3591f0a8955c95280c12839adcb42ec452cefbcdb142ab9b9
DIST mypaint-1.2.1.tar.xz 37897196 BLAKE2B 2d8f6b03f710febae1c2d617a6e542543786be384585ae8a973604da2eba8a0fb770d185aa3d2dfc6f794adf29ffb9c217356a96ab27d677ebb57816f62fae9c SHA512 1783765e495b9535669a83a29d27ba684e6201fdfe0875bdd2c167b1dab8af05993b19025767fe0b2770ed9e578e4709f75d8a4820ac945812cba85609f9eb9b
diff --git a/media-gfx/mypaint/files/mypaint-1.1.0-build-env-vars.patch b/media-gfx/mypaint/files/mypaint-1.1.0-build-env-vars.patch
deleted file mode 100644
index 7d7ac3e36359..000000000000
--- a/media-gfx/mypaint/files/mypaint-1.1.0-build-env-vars.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 516d184b5db8ebdd8b184ef871050c3ab3f03fdf Mon Sep 17 00:00:00 2001
-From: Andrew Chadwick <andrewc-git@piffle.org>
-Date: Sun, 21 Apr 2013 22:51:05 +0100
-Subject: [PATCH] SConstruct: support standard build environ vars
-
-Support the standard build environment vars CC, CXX, CFLAGS, CXXFLAGS,
-CPPFLAGS, and LDFLAGS everywhere.
-
-Partially addresses https://gna.org/bugs/?20754
----
- SConstruct | 19 +++++++++++++++++++
- 1 file changed, 19 insertions(+)
-
-diff --git a/SConstruct b/SConstruct
-index 0b55da1..ef39b9e 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -1,6 +1,7 @@
- import os, sys
- from os.path import join, basename
- from SCons.Script.SConscript import SConsEnvironment
-+import SCons.Util
-
- EnsureSConsVersion(1, 0)
-
-@@ -45,6 +46,24 @@ print('using %r (use scons python_config=xxx to change)' % env['python_config'])
- if sys.platform == "win32":
- # remove this mingw if trying VisualStudio
- env = Environment(tools=tools + ['mingw'], ENV=os.environ, options=opts)
-+
-+# Respect some standard build environment stuff
-+if os.environ.has_key('CC'):
-+ env['CC'] = os.environ['CC']
-+if os.environ.has_key('CFLAGS'):
-+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
-+if os.environ.has_key('CXX'):
-+ env['CXX'] = os.environ['CXX']
-+if os.environ.has_key('CXXFLAGS'):
-+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
-+if os.environ.has_key('CPPFLAGS'):
-+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
-+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
-+if os.environ.has_key('LDFLAGS'):
-+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
-+if "$CCFLAGS" in env['CXXCOM']:
-+ env['CXXCOM'] = env['CXXCOM'].replace("$CCFLAGS","")
-+
- opts.Update(env)
-
- env.Append(CXXFLAGS=' -Wall -Wno-sign-compare -Wno-write-strings')
---
-1.7.10.4
-
diff --git a/media-gfx/mypaint/files/mypaint-1.1.0-desktop.patch b/media-gfx/mypaint/files/mypaint-1.1.0-desktop.patch
deleted file mode 100644
index b992131bf29e..000000000000
--- a/media-gfx/mypaint/files/mypaint-1.1.0-desktop.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From: Andrew Chadwick <andrewc-git@piffle.org>
-Date: Tue, 8 Jan 2013 13:53:01 +0000
-Subject: desktop: remove deprecated Encoding key
-
-The Encoding key is deprecated as of 1.0 of the Desktop Entry Specification
-(8 Jan 2012)
-
-http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html
----
- desktop/mypaint.desktop | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/desktop/mypaint.desktop b/desktop/mypaint.desktop
-index 9850b54..24383db 100644
---- a/desktop/mypaint.desktop
-+++ b/desktop/mypaint.desktop
-@@ -1,6 +1,5 @@
- [Desktop Entry]
- Version=1.0
--Encoding=UTF-8
- Name=MyPaint
- TryExec=mypaint
- Exec=mypaint %f
---
diff --git a/media-gfx/mypaint/files/mypaint-1.1.0-json-c-0.11.patch b/media-gfx/mypaint/files/mypaint-1.1.0-json-c-0.11.patch
deleted file mode 100644
index f2aa9b9a0edf..000000000000
--- a/media-gfx/mypaint/files/mypaint-1.1.0-json-c-0.11.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=467322
-Patch-by: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
-Fixes pkgconfig name for new json-c (since 0.11)
-
---- brushlib/SConscript.ORIG 2012-12-31 18:03:38.000000000 +0100
-+++ brushlib/SConscript 2013-04-26 11:47:27.008232199 +0200
-@@ -73,7 +73,7 @@
-
- env.Append(CPPPATH='./')
-
--pkg_deps = ['json']
-+pkg_deps = ['json-c']
- libs = ['m']
- linkflags = []
-
diff --git a/media-gfx/mypaint/mypaint-1.1.0-r2.ebuild b/media-gfx/mypaint/mypaint-1.1.0-r2.ebuild
deleted file mode 100644
index 8c81ae609842..000000000000
--- a/media-gfx/mypaint/mypaint-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit fdo-mime gnome2-utils multilib scons-utils toolchain-funcs python-single-r1
-
-DESCRIPTION="fast and easy graphics application for digital painters"
-HOMEPAGE="http://mypaint.intilinux.com/"
-SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-LANGS="cs de en_CA en_GB es fr hu id it ja ko nb nn_NO pl pt_BR ro ru sl sv uk zh_CN zh_TW"
-
-RDEPEND="
- dev-python/pygtk:2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- >=dev-python/pycairo-1.4[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- >=dev-libs/json-c-0.11:=
- media-libs/lcms:2
- media-libs/libpng:0=
- ${PYTHON_DEPS}
-"
-DEPEND="${RDEPEND}
- dev-lang/swig
- virtual/pkgconfig"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-pkg_setup() {
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # multilib support
- sed -i -e "s:lib\/${PN}:$(get_libdir)\/${PN}:" \
- SConstruct SConscript || die
- # respect CXXFLAGS,CXX,LDFLAGS
- epatch "${FILESDIR}"/${P}-build-env-vars.patch
- # fix mypaint.desktop
- epatch "${FILESDIR}"/${P}-desktop.patch
- # pkgconfig patch for json-c-0.11. 467322
- epatch "${FILESDIR}"/${P}-json-c-0.11.patch
-}
-
-src_compile() {
- #workaround scons bug with locales. Bug #352700
- export LANG="en_US.UTF-8"
- tc-export CC CXX
- escons
-}
-
-src_install () {
- escons prefix="${D}/usr" install
- newicon pixmaps/${PN}_logo.png ${PN}.png
- for x in ${LANGS}; do
- if ! has ${x} ${LINGUAS}; then
- rm -rf "${ED}"/usr/share/locale/${x} || die
- fi
- done
-
- python_optimize "${D}"usr/share/${PN}
- # not used and broken
- rm -rf "${ED}"/usr/{include/,lib/libmypaint.a,lib/pkgconfig/} || die
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}