First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 154012
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Plyatov Igor <plyatov@mail.ru>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pygame-1.6.2-r1.tar.gz pygame-1.6.2-r1.ebuild and pygame-1.6.2-font.c.patch application/gzip Plyatov Igor 2006-11-04 04:17 0000 1.07 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 154012 depends on: Show dependency tree
Bug 154012 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-04 03:51 0000
Hi!

Please find attached pygame-1.6.2-r1.tar.gz containing 'pygame-1.6.2-r1.ebuild'
and a 'pygame-1.6.2-font.c.patch' which corrects the bug with unicode support.

The normal support of unicode in media-tv/freevo depends on unicode support in
dev-python/pygame.

--
Plyatov Igor

------- Comment #1 From Jakub Moc (RETIRED) 2006-11-04 04:10:55 0000 -------
Well, I don't see any attachment (plus no tarballs please, just a plaintext
patch, thanks).

------- Comment #2 From Plyatov Igor 2006-11-04 04:17:30 0000 -------
Created an attachment (id=101213) [edit]
pygame-1.6.2-r1.ebuild and pygame-1.6.2-font.c.patch

------- Comment #3 From Plyatov Igor 2006-11-04 04:25:08 0000 -------
diff -Naur pygame-1.6.2/src/font.c pygame-1.6.2-patched/src/font.c
--- pygame-1.6.2/src/font.c     2004-07-15 13:14:44.000000000 +0400
+++ pygame-1.6.2-patched/src/font.c     2006-11-04 13:29:19.000000000 +0300
@@ -476,12 +476,12 @@
                if(aa)
                {
                        if(!bg_rgba_obj)
-                               surf = TTF_RenderText_Blended(font, string,
foreg);
+                               surf = TTF_RenderUTF8_Blended(font, string,
foreg);
                        else
-                               surf = TTF_RenderText_Shaded(font, string,
foreg, backg);
+                               surf = TTF_RenderUTF8_Shaded(font, string,
foreg, backg);
                }
                else
-                       surf = TTF_RenderText_Solid(font, string, foreg);
+                       surf = TTF_RenderUTF8_Solid(font, string, foreg);
        }
        else
                return RAISE(PyExc_TypeError, "text must be a string or
unicode");

------- Comment #4 From Jakub Moc (RETIRED) 2006-11-04 05:37:12 0000 -------
*** Bug 154025 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-04 05:37:23 0000 -------
Reopen.

------- Comment #6 From Plyatov Igor 2006-12-03 06:20:38 0000 -------
What is wrong from my side?
Why patch and pygame-1.6.2.ebuild is not included in portage tree?
I work with this patches 3 month and all ok.

------- Comment #7 From Charlie Shepherd (RETIRED) 2006-12-09 02:45:16 0000 -------
I'm not on the python team, but I imagine they'd prefer it if you sent this
upstream. Also, please attach things in plain-text only - then we can read them
from a browser.

------- Comment #8 From Pacho Ramos 2007-02-11 20:47:16 0000 -------
Is dev-python/pygame-1.7.1 affected by this bug?

Good luck!

------- Comment #9 From Timo Boettcher 2007-05-30 06:36:18 0000 -------
Bug and workaround verified for both pygame-1.6.2 and -1.7.1

------- Comment #10 From Tiziano Müller 2008-03-03 13:56:59 0000 -------
Upstream solved this in version 1.8 (from which 1.8.0_rc4 is now in the tree).
Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug