diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-gfx/fontypython | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'media-gfx/fontypython')
7 files changed, 0 insertions, 277 deletions
diff --git a/media-gfx/fontypython/Manifest b/media-gfx/fontypython/Manifest deleted file mode 100644 index 4744d8e1e5a4..000000000000 --- a/media-gfx/fontypython/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 0001-Do-not-crash-on-empty-pogs-list.patch 700 BLAKE2B add60a6ba4ba5366f781fc1b3735556792c5728006e25c4dd5482d5c7e86230cefbbb0ad064d667da559367b0cd6edb38ffbdab541efeb6748d46a7eb92e79f5 SHA512 bc260acfde39630b772591b9c0cdf065f340941d58714e9a73e25fce9b71caf570d62044ac3d3a72efb927ade7e26cc5019e7cedffc811f73ddc8cd4a090562b -AUX 0002-Removed-unused-code-which-causes-crash-with-wx-3.0.patch 4392 BLAKE2B 52762e1ecc5f873bf429ffdc77aa414c151ddef35f08161279967042334d3e3071f1a66ca8e43926554207b93e255261d94678d155c01683e8e7d2bf8ace571b SHA512 a5cae1a71cddc8b3a9771bb4daf889d77e94f8be214f1ebc4b31061c0b366002c520873f99d84b667bb3a7139582c37d6c6e79742de7210c8d5296ec219f7c11 -AUX 0003-Adapt-to-wxpython-3.0-which-enforces-assertions-on-L.patch 961 BLAKE2B 74c6546bc45e1c4ec8d13b328e1acaefade3fee2f108eca97652bc3508224419e4067ff186b1d2c0bfd49f9ec96ed4a65a5d181b22bebcbbc21fe9cce374aa44 SHA512 d9eb9a881bb5ff5f088a8c5dfdf5acb679e01ca36ca703940cf40f4375ef14dbf73fbfd6caa067d9d3b494a62d88fdefac45af0484c26b535c845435e6890b76 -AUX fontypython-pillow.patch 1275 BLAKE2B 0ee668b07c1f7a888753db50373e65879c906d39402a7271be46d840a1a0e9dcb90c19365740b0644971dbe9e4c294074073c1ab5854f83bd6929eb554e6d148 SHA512 6efce50dee7fd69b27803143371bb3bc9c51b1c027a2bcf4bc6543c130e71462ee79b20efa1ac15ad1215c225e053e8cf1203704ba41eefcbac82c93f597432e -DIST fontypython-0.4.4.tar.gz 361335 BLAKE2B 9e9f3f0e3b67509851fbf0c061af5754991d4087d7f4a5b9ec0ca176690c4f0125fab82546cdbddd39e0d1f2b4631396628df7c9d09a0dabadd9f3f2651bce6c SHA512 a89c654c9dcd8fc89d3ad91772f856d2d2570a96b3b60f52eed9db217f45e91a55f3044f0e4d1736c5402cde3a6598a353ae59285c892e80034f7baba15f9825 -EBUILD fontypython-0.4.4-r3.ebuild 1003 BLAKE2B 1758520625513103adce6e48e7d388a6162e1e2e5f76c88949f99b84e211e007ce3c3edf7e09c5bcecbeb9f727057c99f2d8294f8469d67c64b942d0fcaecd59 SHA512 ed549f3ab5ab4cd9f921d92849327195f057a012c65a1fb38b66cba60a4ca42d1215d5700fdb688a1c24b78acfbdeb81afd1fd10780717b3ae116a4dc6eb7f8f -MISC metadata.xml 238 BLAKE2B 17d20fcdaa0f86ce589db9b1e55e6fffbe693f41d7a05bde4a82faa8f6b5e237bc754e02e67d8116a9e5053c5164dc47edb679c086bce8a866dc224728ef4a52 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e diff --git a/media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch b/media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch deleted file mode 100644 index b652053596c6..000000000000 --- a/media-gfx/fontypython/files/0001-Do-not-crash-on-empty-pogs-list.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Pietro Battiston <me@pietrobattiston.it> -Date: Sun, 21 Dec 2014 11:50:28 +0100 -Subject: Do not crash on empty pogs list - ---- - fontypythonmodules/gui_PogChooser.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/fontypythonmodules/gui_PogChooser.py b/fontypythonmodules/gui_PogChooser.py -index 94b7f2e..f233529 100644 ---- a/fontypythonmodules/gui_PogChooser.py -+++ b/fontypythonmodules/gui_PogChooser.py -@@ -80,7 +80,7 @@ class PogChooser(wx.ListCtrl) : - i = self.FindItem(-1, select) - self.indexselected = i # Set this to help initial icon settings. - self.Select(i, True) -- else: -+ elif self.__poglistCopy: - self.Select(0, False) - self.indexselected = -1 - diff --git a/media-gfx/fontypython/files/0002-Removed-unused-code-which-causes-crash-with-wx-3.0.patch b/media-gfx/fontypython/files/0002-Removed-unused-code-which-causes-crash-with-wx-3.0.patch deleted file mode 100644 index e6f8fb634e83..000000000000 --- a/media-gfx/fontypython/files/0002-Removed-unused-code-which-causes-crash-with-wx-3.0.patch +++ /dev/null @@ -1,134 +0,0 @@ -From: Pietro Battiston <me@pietrobattiston.it> -Date: Sun, 21 Dec 2014 09:14:19 +0100 -Subject: Removed unused code which causes crash with wx 3.0 - ---- - fontypython | 2 -- - fontypythonmodules/dialogues.py | 4 ---- - fontypythonmodules/gui_Left.py | 4 ---- - fontypythonmodules/gui_Middle.py | 5 ----- - fontypythonmodules/gui_PogChooser.py | 4 ---- - fontypythonmodules/gui_Right.py | 4 ---- - fontypythonmodules/gui_ScrolledFontView.py | 4 ---- - fontypythonmodules/wxgui.py | 4 ---- - 8 files changed, 31 deletions(-) - -diff --git a/fontypython b/fontypython -index a05290f..e46e34e 100755 ---- a/fontypython -+++ b/fontypython -@@ -72,8 +72,6 @@ else: # err code -11 - - ## Setup wxPython to access translations : enables the stock buttons. - localedir = "fontypythonmodules/locales" -- langid = wx.LANGUAGE_DEFAULT -- mylocale = wx.Locale( langid ) - - iPC = PC.PathControl() - -diff --git a/fontypythonmodules/dialogues.py b/fontypythonmodules/dialogues.py -index 1fbff5f..eba7ab3 100644 ---- a/fontypythonmodules/dialogues.py -+++ b/fontypythonmodules/dialogues.py -@@ -23,10 +23,6 @@ import wx - import wx.html as html - - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- - ## langcode = locale.getlocale()[0] # I must not use getlocale... - ## This is suggested by Martin: - loc = locale.setlocale(locale.LC_CTYPE) # use *one* of the categories (not LC_ALL) -diff --git a/fontypythonmodules/gui_Left.py b/fontypythonmodules/gui_Left.py -index 5451f39..7b1f0c6 100644 ---- a/fontypythonmodules/gui_Left.py -+++ b/fontypythonmodules/gui_Left.py -@@ -17,10 +17,6 @@ - - import wx, os - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- - - from pubsub import * - from wxgui import ps -diff --git a/fontypythonmodules/gui_Middle.py b/fontypythonmodules/gui_Middle.py -index 470e3ea..9af3f9f 100644 ---- a/fontypythonmodules/gui_Middle.py -+++ b/fontypythonmodules/gui_Middle.py -@@ -19,11 +19,6 @@ import wx - import wx.lib.stattext - import wx.lib.buttons as buttons - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- -- - from pubsub import * - from wxgui import ps - -diff --git a/fontypythonmodules/gui_PogChooser.py b/fontypythonmodules/gui_PogChooser.py -index f233529..c679191 100644 ---- a/fontypythonmodules/gui_PogChooser.py -+++ b/fontypythonmodules/gui_PogChooser.py -@@ -17,10 +17,6 @@ - - import wx, locale - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- - from pubsub import * - from wxgui import ps - -diff --git a/fontypythonmodules/gui_Right.py b/fontypythonmodules/gui_Right.py -index adefa1d..ea5062b 100644 ---- a/fontypythonmodules/gui_Right.py -+++ b/fontypythonmodules/gui_Right.py -@@ -17,10 +17,6 @@ - - import wx - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- - from pubsub import * - from wxgui import ps - -diff --git a/fontypythonmodules/gui_ScrolledFontView.py b/fontypythonmodules/gui_ScrolledFontView.py -index d7b3d2f..3e35d62 100644 ---- a/fontypythonmodules/gui_ScrolledFontView.py -+++ b/fontypythonmodules/gui_ScrolledFontView.py -@@ -20,10 +20,6 @@ import wx.lib.scrolledpanel - - from pubsub import * - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- - import fpsys # Global objects - - from gui_Fitmap import * #Also brings in 'ps' variable -diff --git a/fontypythonmodules/wxgui.py b/fontypythonmodules/wxgui.py -index da80d17..6e6716a 100644 ---- a/fontypythonmodules/wxgui.py -+++ b/fontypythonmodules/wxgui.py -@@ -23,10 +23,6 @@ import fpversion - ## Now, bring in all those big modules - import wx - --## Setup wxPython to access translations : enables the stock buttons. --langid = wx.LANGUAGE_DEFAULT # Picks this up from $LANG --mylocale = wx.Locale( langid ) -- - ## Fetch my own pubsub stuff - from pubsub import * - ps = CPubsub() diff --git a/media-gfx/fontypython/files/0003-Adapt-to-wxpython-3.0-which-enforces-assertions-on-L.patch b/media-gfx/fontypython/files/0003-Adapt-to-wxpython-3.0-which-enforces-assertions-on-L.patch deleted file mode 100644 index 4875a15ff050..000000000000 --- a/media-gfx/fontypython/files/0003-Adapt-to-wxpython-3.0-which-enforces-assertions-on-L.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Pietro Battiston <me@pietrobattiston.it> -Date: Sun, 21 Dec 2014 11:50:09 +0100 -Subject: Adapt to wxpython 3.0, which enforces assertions on ListItems ids. - ---- - fontypythonmodules/gui_PogChooser.py | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/fontypythonmodules/gui_PogChooser.py b/fontypythonmodules/gui_PogChooser.py -index c679191..4cdf772 100644 ---- a/fontypythonmodules/gui_PogChooser.py -+++ b/fontypythonmodules/gui_PogChooser.py -@@ -200,6 +200,7 @@ class PogChooser(wx.ListCtrl) : - li.SetImage(i) - li.SetText(p) - id = wx.NewId() -+ li.SetId(id) - PogChooser.__poglistCopy[id] = p # record the pog name - row = self.InsertItem( li ) - self.SetItemData( row, id ) # associate back to __poglistCopy -@@ -214,6 +215,7 @@ class PogChooser(wx.ListCtrl) : - li.SetImage(0) - li.SetText(pogname) - id = wx.NewId() -+ li.SetId(id) - self.__poglistCopy[id] = pogname - row = self.InsertItem(li) - self.SetItemData( row, id ) diff --git a/media-gfx/fontypython/files/fontypython-pillow.patch b/media-gfx/fontypython/files/fontypython-pillow.patch deleted file mode 100644 index 9b7966f55061..000000000000 --- a/media-gfx/fontypython/files/fontypython-pillow.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=471524 - -diff --git a/fontypythonmodules/fontcontrol.py b/fontypythonmodules/fontcontrol.py -index e156758..cff34f5 100644 ---- a/fontypythonmodules/fontcontrol.py -+++ b/fontypythonmodules/fontcontrol.py -@@ -16,7 +16,7 @@ - ## along with Fonty Python. If not, see <http://www.gnu.org/licenses/>. - - import os, sys, locale, glob, errno --import Image, ImageFont, ImageDraw -+from PIL import Image, ImageFont, ImageDraw - import fontybugs, fpsys - from pathcontrol import * - -diff --git a/fontypythonmodules/fpsys.py b/fontypythonmodules/fpsys.py -index f9572ae..fa1a98f 100644 ---- a/fontypythonmodules/fpsys.py -+++ b/fontypythonmodules/fpsys.py -@@ -159,7 +159,7 @@ def checkFonts( dirtocheck, printer ): - global segfonts - - code = """ --import ImageFont -+from PIL import ImageFont - try: - font=ImageFont.truetype("%s", 24, 0) - dud=font.getname() -diff --git a/fontypythonmodules/sanitycheck.py b/fontypythonmodules/sanitycheck.py -index cf4fcc1..7e46e9a 100644 ---- a/fontypythonmodules/sanitycheck.py -+++ b/fontypythonmodules/sanitycheck.py -@@ -24,7 +24,7 @@ import imp - - ## PIL : Is it there? - try: -- import Image, ImageFont, ImageDraw -+ from PIL import Image, ImageFont, ImageDraw - except: - print strings.PILError - raise SystemExit diff --git a/media-gfx/fontypython/fontypython-0.4.4-r3.ebuild b/media-gfx/fontypython/fontypython-0.4.4-r3.ebuild deleted file mode 100644 index ca9ebc36f3c3..000000000000 --- a/media-gfx/fontypython/fontypython-0.4.4-r3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -WX_GTK_VER=3.0 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 multilib wxwidgets - -DESCRIPTION="Font preview application" -HOMEPAGE="https://savannah.nongnu.org/projects/fontypython" -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -# Crashes w/ debug build of wxGTK (#201315) -DEPEND="dev-python/pillow[${PYTHON_USEDEP}] - dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}] - x11-libs/wxGTK:${WX_GTK_VER}[-debug]" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-pillow.patch" - "${FILESDIR}"/0001-Do-not-crash-on-empty-pogs-list.patch - "${FILESDIR}"/0002-Removed-unused-code-which-causes-crash-with-wx-3.0.patch - "${FILESDIR}"/0003-Adapt-to-wxpython-3.0-which-enforces-assertions-on-L.patch ) - -src_prepare() { - distutils-r1_src_prepare - need-wxwidgets unicode -} - -src_install() { - distutils-r1_src_install - doman "${S}"/fontypython.1 -} diff --git a/media-gfx/fontypython/metadata.xml b/media-gfx/fontypython/metadata.xml deleted file mode 100644 index cc081897d48c..000000000000 --- a/media-gfx/fontypython/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>fonts@gentoo.org</email> - <name>Fonts</name> - </maintainer> -</pkgmetadata> |