From 47c64447caeae42fcdc736898bd50b79edde9b80 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 26 Dec 2008 19:29:03 +0000 Subject: inkscape inkscape: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@324 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- media/gfx/inkscape/Manifest | 3 +-- media/gfx/inkscape/inkscape-0.4.6.diff | 42 ---------------------------------- media/gfx/inkscape/inkscape-0.46.diff | 42 ++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 44 deletions(-) delete mode 100644 media/gfx/inkscape/inkscape-0.4.6.diff create mode 100644 media/gfx/inkscape/inkscape-0.46.diff (limited to 'media/gfx') diff --git a/media/gfx/inkscape/Manifest b/media/gfx/inkscape/Manifest index f2a9f12..3786971 100644 --- a/media/gfx/inkscape/Manifest +++ b/media/gfx/inkscape/Manifest @@ -1,6 +1,5 @@ DIST inkscape-0.46.tar.gz 18615326 MD5 3bae9034047379012127e52f9b138d32 SHA1 b7c53c6d2bc0de4ff24d4a6bee86359ff11bef27 SHA256 91861e0d72228116d31e07192f77fe9e0968d4ed06499829b2d66e641496993a SHA512 279fc80dc0e8b46530353619457f26ea2cfd00ec4a9a45456c66a6a454784394484a059e191a565777b39110e6f8842a546c8bb518b91b25c91726b60fbd505c RMD160 449e07fa4caa71f20025774353d19cad674631ac -MISC inkscape-0.4.6.diff 1571 MD5 fffe7ed73bdadcf0f90282d5afc4df30 SHA1 16ee2bb1e56d260c3e0b30f8bcaee8a2b0963412 SHA256 ed4109b09c05da48c040923056eaf406b44ca0cf515e7b3396495182280fe24c SHA512 c0ff0125659f74d5047ea4e6c8bbc37a52f6c5dd75bced13ad93c2a82b1ca0969c64a65732f540699fa38a648ed39eefeb9660b493ff991604541657fab3499a RMD160 7f1ac72f9a9790f0b8df3b3c00da48896a884fba MKBUILD inkscape.mkbuild 4721 MD5 0ff562f12f4147e0c7b90ffc400d0ebe SHA1 c1a919c04ea0c6641aa1374ba1fbfde565e12ede SHA256 d625e267d038441ccb6d235fb03af66137c856c379aad82c2a0d6ee9af4741e6 SHA512 836314ef8c783867a0115869ab719a9d600ae18fda660af778d4ac01b1c81a8533c6d94ae5a58b4a3886ac5eea7fa574f7b367e2da3bf66de0cff8d3507c13b3 RMD160 206b3d2c1814a2196c584dffaac84bccf49deac5 -PATCH inkscape-0.4.6.diff 1571 MD5 fffe7ed73bdadcf0f90282d5afc4df30 SHA1 16ee2bb1e56d260c3e0b30f8bcaee8a2b0963412 SHA256 ed4109b09c05da48c040923056eaf406b44ca0cf515e7b3396495182280fe24c SHA512 c0ff0125659f74d5047ea4e6c8bbc37a52f6c5dd75bced13ad93c2a82b1ca0969c64a65732f540699fa38a648ed39eefeb9660b493ff991604541657fab3499a RMD160 7f1ac72f9a9790f0b8df3b3c00da48896a884fba +PATCH inkscape-0.46.diff 1571 MD5 fffe7ed73bdadcf0f90282d5afc4df30 SHA1 16ee2bb1e56d260c3e0b30f8bcaee8a2b0963412 SHA256 ed4109b09c05da48c040923056eaf406b44ca0cf515e7b3396495182280fe24c SHA512 c0ff0125659f74d5047ea4e6c8bbc37a52f6c5dd75bced13ad93c2a82b1ca0969c64a65732f540699fa38a648ed39eefeb9660b493ff991604541657fab3499a RMD160 7f1ac72f9a9790f0b8df3b3c00da48896a884fba SLACK-REQUIRED slack-required 195 MD5 f51bb1179ebcc7ce1565e15ef356bd3d SHA1 87e66c153cf0848645bdb0a3123bf2eb2dc5e2e5 SHA256 7f30ea4811cdb5d750b60a93a183ccd3e0f321520c4912f02d5d29590b7c6e1b SHA512 dca8465d1867aafa71b24fc0fbb1140db77b91a1160149ab6902549c0d3d4628d754ca6c94e1bf2240de2c1ee6583bbb3862825a694c537dfd64db1f0cdeda2a RMD160 f4a07ad0e8d39d7c616ef6541b03c200b1cd1f96 SLACKBUILD inkscape.SlackBuild 9589 MD5 6ff965fb41e0dca11c179fa5474b1d94 SHA1 d9d41d7ee07c97418e41309fad373bfd94a91e2c SHA256 d18bbfd18835b6f8a4a670db1822e94ee33c6afc9c5d93415083ffc3323cb28b SHA512 066407fea4fce6a28887850e20af4f6203ddfd013580107d63efbc03e3eaf164c01ed1d935e60445a2cbaa09b11f38a3464ce7f90bc25c7f557108b76f25e259 RMD160 2bcf7719a01dae3d74a8a9000ae5edf467ae94a2 diff --git a/media/gfx/inkscape/inkscape-0.4.6.diff b/media/gfx/inkscape/inkscape-0.4.6.diff deleted file mode 100644 index 70f9a16..0000000 --- a/media/gfx/inkscape/inkscape-0.4.6.diff +++ /dev/null @@ -1,42 +0,0 @@ -diff -NrU5 inkscape-0.46.orig/src/extension/internal/pdfinput/pdf-parser.cpp inkscape-0.46/src/extension/internal/pdfinput/pdf-parser.cpp ---- inkscape-0.46.orig/src/extension/internal/pdfinput/pdf-parser.cpp 2008-06-05 00:26:20.000000000 +0200 -+++ inkscape-0.46/src/extension/internal/pdfinput/pdf-parser.cpp 2008-06-05 00:51:47.000000000 +0200 -@@ -2194,11 +2194,11 @@ - void PdfParser::doShowText(GooString *s) { - GfxFont *font; - int wMode; - double riseX, riseY; - CharCode code; -- Unicode u[8]; -+ Unicode *u = NULL; - double x, y, dx, dy, dx2, dy2, curX, curY, tdx, tdy, lineX, lineY; - double originX, originY, tOriginX, tOriginY; - double oldCTM[6], newCTM[6]; - double *mat; - Object charProc; -@@ -2242,11 +2242,11 @@ - oldParser = parser; - p = s->getCString(); - len = s->getLength(); - while (len > 0) { - n = font->getNextChar(p, len, &code, -- u, (int)(sizeof(u) / sizeof(Unicode)), &uLen, -+ &u, &uLen, - &dx, &dy, &originX, &originY); - dx = dx * state->getFontSize() + state->getCharSpace(); - if (n == 1 && *p == ' ') { - dx += state->getWordSpace(); - } -@@ -2291,11 +2291,11 @@ - state->textTransformDelta(0, state->getRise(), &riseX, &riseY); - p = s->getCString(); - len = s->getLength(); - while (len > 0) { - n = font->getNextChar(p, len, &code, -- u, (int)(sizeof(u) / sizeof(Unicode)), &uLen, -+ &u, &uLen, - &dx, &dy, &originX, &originY); - - if (wMode) { - dx *= state->getFontSize(); - dy = dy * state->getFontSize() + state->getCharSpace(); diff --git a/media/gfx/inkscape/inkscape-0.46.diff b/media/gfx/inkscape/inkscape-0.46.diff new file mode 100644 index 0000000..70f9a16 --- /dev/null +++ b/media/gfx/inkscape/inkscape-0.46.diff @@ -0,0 +1,42 @@ +diff -NrU5 inkscape-0.46.orig/src/extension/internal/pdfinput/pdf-parser.cpp inkscape-0.46/src/extension/internal/pdfinput/pdf-parser.cpp +--- inkscape-0.46.orig/src/extension/internal/pdfinput/pdf-parser.cpp 2008-06-05 00:26:20.000000000 +0200 ++++ inkscape-0.46/src/extension/internal/pdfinput/pdf-parser.cpp 2008-06-05 00:51:47.000000000 +0200 +@@ -2194,11 +2194,11 @@ + void PdfParser::doShowText(GooString *s) { + GfxFont *font; + int wMode; + double riseX, riseY; + CharCode code; +- Unicode u[8]; ++ Unicode *u = NULL; + double x, y, dx, dy, dx2, dy2, curX, curY, tdx, tdy, lineX, lineY; + double originX, originY, tOriginX, tOriginY; + double oldCTM[6], newCTM[6]; + double *mat; + Object charProc; +@@ -2242,11 +2242,11 @@ + oldParser = parser; + p = s->getCString(); + len = s->getLength(); + while (len > 0) { + n = font->getNextChar(p, len, &code, +- u, (int)(sizeof(u) / sizeof(Unicode)), &uLen, ++ &u, &uLen, + &dx, &dy, &originX, &originY); + dx = dx * state->getFontSize() + state->getCharSpace(); + if (n == 1 && *p == ' ') { + dx += state->getWordSpace(); + } +@@ -2291,11 +2291,11 @@ + state->textTransformDelta(0, state->getRise(), &riseX, &riseY); + p = s->getCString(); + len = s->getLength(); + while (len > 0) { + n = font->getNextChar(p, len, &code, +- u, (int)(sizeof(u) / sizeof(Unicode)), &uLen, ++ &u, &uLen, + &dx, &dy, &originX, &originY); + + if (wMode) { + dx *= state->getFontSize(); + dy = dy * state->getFontSize() + state->getCharSpace(); -- cgit v1.2.3