summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorFredrik Rinnestam <fredrik@crux.nu>2017-10-31 18:53:15 +0100
committerFredrik Rinnestam <fredrik@crux.nu>2017-10-31 18:53:15 +0100
commitfe2cbd105a955f9522b511f0b02dc3bd36c14af6 (patch)
tree451d82ccb3bc8dcbf8f8bea368a49400df5ab93d /pango
parent9fab6eef842c8cdfad3b9faf35d33fe2a5f344d6 (diff)
downloadopt-fe2cbd105a955f9522b511f0b02dc3bd36c14af6.tar.gz
opt-fe2cbd105a955f9522b511f0b02dc3bd36c14af6.tar.xz
pango: added patch for filename wrap. FS#1497
Diffstat (limited to 'pango')
-rw-r--r--pango/.md5sum1
-rw-r--r--pango/.signature5
-rw-r--r--pango/Pkgfile7
-rw-r--r--pango/pango-view.patch22
4 files changed, 31 insertions, 4 deletions
diff --git a/pango/.md5sum b/pango/.md5sum
index 4753799f9..a7a680bc4 100644
--- a/pango/.md5sum
+++ b/pango/.md5sum
@@ -1,2 +1,3 @@
6676d2110ed9f89b9b3cfbbd10d5b302 pango-1.40.13.tar.xz
+13979740b7997418ec2e35a7eab313a5 pango-view.patch
f01f90e6b2e1155fef038d492c6c412a pango.modules
diff --git a/pango/.signature b/pango/.signature
index 6ab7ed870..5e496ed31 100644
--- a/pango/.signature
+++ b/pango/.signature
@@ -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
diff --git a/pango/Pkgfile b/pango/Pkgfile
index f99d9b580..1a38ad508 100644
--- a/pango/Pkgfile
+++ b/pango/Pkgfile
@@ -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
}
diff --git a/pango/pango-view.patch b/pango/pango-view.patch
new file mode 100644
index 000000000..49cb757db
--- /dev/null
+++ b/pango/pango-view.patch
@@ -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;
+

Generated by cgit