diff options
author | Marinus Schraal <foser@gentoo.org> | 2005-04-18 10:21:17 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2005-04-18 10:21:17 +0000 |
commit | f06dab45892e743781b277b29d3affa608549ea3 (patch) | |
tree | 3eadcb237e13758b66d313691f1eca5c78b1d56b /media-plugins/gst-plugins-pango | |
parent | Removed .a files, Fixed SRC_URI. (diff) | |
download | gentoo-2-f06dab45892e743781b277b29d3affa608549ea3.tar.gz gentoo-2-f06dab45892e743781b277b29d3affa608549ea3.tar.bz2 gentoo-2-f06dab45892e743781b277b29d3affa608549ea3.zip |
add subtitle patch
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-plugins/gst-plugins-pango')
5 files changed, 74 insertions, 12 deletions
diff --git a/media-plugins/gst-plugins-pango/ChangeLog b/media-plugins/gst-plugins-pango/ChangeLog index 568a66dba364..4a7be5a039e0 100644 --- a/media-plugins/gst-plugins-pango/ChangeLog +++ b/media-plugins/gst-plugins-pango/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-plugins/gst-plugins-pango # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-pango/ChangeLog,v 1.3 2005/03/31 20:08:26 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-pango/ChangeLog,v 1.4 2005/04/18 10:21:17 foser Exp $ + +*gst-plugins-pango-0.8.8-r1 (18 Apr 2005) + + 18 Apr 2005; foser <foser@gentoo.org> gst-plugins-pango-0.8.8-r1.ebuild : + Add patch to fix subtitle cropping 31 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> gst-plugins-pango-0.8.8.ebuild: diff --git a/media-plugins/gst-plugins-pango/Manifest b/media-plugins/gst-plugins-pango/Manifest index 5f3350bad0e0..1fc008b5f57f 100644 --- a/media-plugins/gst-plugins-pango/Manifest +++ b/media-plugins/gst-plugins-pango/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 eb1369c96091501c39546b49a7a01a23 ChangeLog 642 MD5 6f59ae92dbb0b81b182584e892ba7501 gst-plugins-pango-0.8.8.ebuild 336 +MD5 8b6d6d2fa74e2194fa31fd00723c189c gst-plugins-pango-0.8.8-r1.ebuild 475 +MD5 628ab298271095aa00e8aceca5049b7a ChangeLog 799 MD5 6050196ef420c3e4025029ebee5a813f metadata.xml 162 MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-pango-0.8.8 71 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) - -iD8DBQFCTFjUKRy60XGEcJIRAlhRAJ9TJ4t7i4bYr854/+yFTmOiXjxEwQCghJpB -6X9p2YcQ1y2sulybP1GYzrM= -=XWgG ------END PGP SIGNATURE----- +MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-pango-0.8.8-r1 71 +MD5 ed95a2d8b0c203bc1b8b72118101a97b files/gst-plugins-pango-0.8.8-sub_position.patch 1648 diff --git a/media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 b/media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 new file mode 100644 index 000000000000..e862979669af --- /dev/null +++ b/media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 @@ -0,0 +1 @@ +MD5 4f6e7e730fa674ecd6ec713f937b8acb gst-plugins-0.8.8.tar.bz2 2214274 diff --git a/media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch b/media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch new file mode 100644 index 000000000000..9c92ebf63247 --- /dev/null +++ b/media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch @@ -0,0 +1,43 @@ +=================================================================== +RCS file: /cvs/gstreamer/gst-plugins/ext/pango/gsttextoverlay.c,v +retrieving revision 1.16.2.1 +retrieving revision 1.16.2.2 +diff -u -r1.16.2.1 -r1.16.2.2 +--- gsttextoverlay.c 2005/03/31 15:53:41 1.16.2.1 ++++ gsttextoverlay.c 2005/04/18 09:59:43 1.16.2.2 +@@ -217,7 +217,7 @@ + + pango_layout_get_pixel_extents (overlay->layout, &ink_rect, &logical_rect); + resize_bitmap (overlay, ink_rect.width, ink_rect.height + ink_rect.y); +- pango_ft2_render_layout (&overlay->bitmap, overlay->layout, 0, 0); ++ pango_ft2_render_layout (&overlay->bitmap, overlay->layout, 1, 0); + overlay->baseline_y = ink_rect.y; + } + +@@ -317,7 +317,7 @@ + int rowinc, bit_rowinc, uv_rowinc; + guchar *p, *bitp, *u_p; + int video_width = overlay->width, video_height = overlay->height; +- int bitmap_x0 = x0 < 1 ? -(x0 - 1) : 1; /* 1 pixel border */ ++ int bitmap_x0 = 0; //x0 < 1 ? -(x0 - 1) : 1; /* 1 pixel border */ + int bitmap_y0 = y0 < 1 ? -(y0 - 1) : 1; /* 1 pixel border */ + int bitmap_width = bitmap->width - bitmap_x0; + int bitmap_height = bitmap->rows - bitmap_y0; +@@ -339,7 +339,7 @@ + x1 = x0 + bitmap_x0; + p = pixbuf + video_width * y1 + x1; + bitp = bitmap->buffer + bitmap->pitch * bitmap_y0 + bitmap_x0; +- for (y = bitmap_y0; y < bitmap_height; y++) { ++ for (y = bitmap_y0; y < bitmap_y0 + bitmap_height; y++) { + int n; + + for (n = bitmap_width; n > 0; --n) { +@@ -368,7 +368,7 @@ + skip_y = 0; + skip_x = 0; + +- for (; y < bitmap_height; y++) { ++ for (; y < bitmap_y0 + bitmap_height; y++) { + int n; + + x1 = x0 + bitmap_x0; diff --git a/media-plugins/gst-plugins-pango/gst-plugins-pango-0.8.8-r1.ebuild b/media-plugins/gst-plugins-pango/gst-plugins-pango-0.8.8-r1.ebuild new file mode 100644 index 000000000000..a90a3c12f323 --- /dev/null +++ b/media-plugins/gst-plugins-pango/gst-plugins-pango-0.8.8-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-pango/gst-plugins-pango-0.8.8-r1.ebuild,v 1.1 2005/04/18 10:21:17 foser Exp $ + +inherit gst-plugins + +KEYWORDS="~x86 ~ppc ~amd64 ~sparc" + +IUSE="" +DEPEND="x11-libs/pango" + +src_unpack() { + + gst-plugins_src_unpack + + cd ${S}/ext/pango + # fix subtitle crop at bottom + epatch ${FILESDIR}/${P}-sub_position.patch + +} |