pango: added patch for filename wrap. FS#1497
This commit is contained in:
parent
9fab6eef84
commit
fe2cbd105a
@ -1,2 +1,3 @@
|
||||
6676d2110ed9f89b9b3cfbbd10d5b302 pango-1.40.13.tar.xz
|
||||
13979740b7997418ec2e35a7eab313a5 pango-view.patch
|
||||
f01f90e6b2e1155fef038d492c6c412a pango.modules
|
||||
|
@ -1,6 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/eUfz79900LRIikJnXAqvpREBXxFAVslGC1WzLmkp17iKXPIGwqmcEGFpZ94PJ8SqsE2xEek2tEbThTRssx+9Q8=
|
||||
SHA256 (Pkgfile) = 7c148398ca961150f05fa968b3ebf0a35f8c967443d04fe8057089954d4d8776
|
||||
RWSE3ohX2g5d/fqfyaG68dmL8BmtOQ6t+thsoBnG0NH7Liy4CspGHGqvCeYZ+a6cUSB5jIlTK6E7C2pksSr+ZrJsTLNWN4aM0Qo=
|
||||
SHA256 (Pkgfile) = 4f31ed2019e8c55308ce767080581b862d43eb810e740f33446d349c4f20aeb9
|
||||
SHA256 (.footprint) = dc4e3820a6f7b5ffe3aa95813fe1f68da2e4138814d126ffabd8a2add751927b
|
||||
SHA256 (pango-1.40.13.tar.xz) = f84e98db1078772ff4935b40a1629ff82ef0dfdd08d2cbcc0130c8c437857196
|
||||
SHA256 (pango.modules) = 9cd325e4728900161c3066c1d8f329f8f9e35589acc3e34e378aedd86acbe2a4
|
||||
SHA256 (pango-view.patch) = df25178533a885146bf4aa387b827bb9d3285a3e252c9cda3d2b3ac724edafe3
|
||||
|
@ -5,15 +5,18 @@
|
||||
|
||||
name=pango
|
||||
version=1.40.13
|
||||
release=1
|
||||
release=2
|
||||
source=(http://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz \
|
||||
pango.modules)
|
||||
pango.modules pango-view.patch)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p1 -i $SRC/pango-view.patch
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -D -m 644 $SRC/pango.modules $PKG/usr/etc/pango/pango.modules
|
||||
rm -r $PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
22
pango/pango-view.patch
Normal file
22
pango/pango-view.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff --git a/pango/break.c b/pango/break.c
|
||||
index c46f338..b8ea6b3 100644
|
||||
--- a/pango/break.c
|
||||
+++ b/pango/break.c
|
||||
@@ -1163,7 +1163,8 @@ pango_default_break (const gchar *text,
|
||||
* except where a line break is prohibited, which means we
|
||||
* effectively break everywhere except inside runs of spaces.
|
||||
*/
|
||||
- attrs[i].is_char_break = TRUE;
|
||||
+ if (attrs[i].is_cursor_position)
|
||||
+ attrs[i].is_char_break = TRUE;
|
||||
|
||||
/* Make any necessary replacements first */
|
||||
if (row_break_type == G_UNICODE_BREAK_UNKNOWN)
|
||||
@@ -1458,7 +1459,6 @@ pango_default_break (const gchar *text,
|
||||
{
|
||||
case BREAK_PROHIBITED:
|
||||
/* can't break here */
|
||||
- attrs[i].is_char_break = FALSE;
|
||||
attrs[i].is_line_break = FALSE;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user