Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27428 - [medit] Font selection dialog in terminal pane does not show up

Attached to Project: Community Packages
Opened by Lutz (lula) - Saturday, 03 December 2011, 13:05 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 05 December 2011, 11:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Font selection dialog in terminal pane does not show up

Additional info:
* package version(s)
medit 1.0.5-1
* config and/or log files etc.

Steps to reproduce:

Open the medit terminal and right-click -> Properties -> Font
The font selector should appear to let you choose the console font

Starting medit from a shell shows the following error:

Traceback (most recent call last):
File "/usr/share/medit-1/plugins/terminal.py", line 63, in font_item_activated
dlg = moo.FontSelectionDialog(D_("Pick a Font", "gtk20"))
AttributeError: 'module' object has no attribute 'FontSelectionDialog'

The bug is already fixed upstream but there's no new release since then.
https://bitbucket.org/medit/medit/changeset/fef478e2fe2b

Attached is a patch to fix this issue.

--- PKGBUILD.org 2011-12-03 13:36:22.000000000 +0100
+++ PKGBUILD 2011-12-03 13:44:09.000000000 +0100
@@ -14,12 +14,15 @@
optdepends=('ctags' 'vte: terminal emulator')
makedepends=(pkgconfig perlxml intltool gcc-objc)
install=medit.install
-source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2)
-md5sums=('ca790a6153eab7e2a47ac965940c0c7d')
+source=(http://downloads.sourceforge.net/mooedit/medit-$pkgver.tar.bz2
+ medit.terminal.patch)
+md5sums=('ca790a6153eab7e2a47ac965940c0c7d'
+ 'fc4c193506901379cf2978aba950179b')

build() {
cd $srcdir/medit-$pkgver
export PYTHON=/usr/bin/python2
+ patch -p0 -i $srcdir/medit.terminal.patch || return 1
[ -f Makefile ] || ./configure --prefix=/usr
make
}

This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 05 December 2011, 11:23 GMT
Reason for closing:  Fixed

Loading...