| <<<Back 1 day (to 2016/11/27) | 20161128 |
Robin_Watts | tor8: Are you on the same BA flight as us? | 10:16.02 |
tor8 | Robin_Watts: I think so. BA253 LHR-NAS on tuesday? | 10:16.21 |
Robin_Watts | tor8: Check in time then. | 10:16.37 |
tor8 | I just did :) | 10:16.47 |
| gonna give sebras a ring and remind him too. his flight landed at 6.30 this morning so I expect he's crashed in his bed at home. | 10:17.19 |
Robin_Watts | tor8: Yeah, same as us. How many of the company are on the same flight? :) | 10:17.27 |
tor8 | you, me, chrisl and sebras that I know of. I think ken's flying another day. | 10:18.15 |
Robin_Watts | You/Sebras/Chris/Me/Paul/Joseph/Pete | 10:18.25 |
| +5 guests. | 10:18.48 |
tor8 | so half the plane, really :) | 10:18.57 |
Robin_Watts | tor8: So... release... | 10:24.37 |
tor8 | Robin_Watts: yeah... | 10:24.49 |
Robin_Watts | sebras was pointing out that you hadn't updated the version numbers in the android and... somewhere else... stuff | 10:24.59 |
tor8 | maybe best if you do both the build and compression so we don't slip up like last time? | 10:25.13 |
Robin_Watts | tor8: Sure. | 10:25.28 |
tor8 | Robin_Watts: oh, right. the mobile viewers have version numbers hard coded in xml files. | 10:25.32 |
| will fix. | 10:25.34 |
| Robin_Watts: so, updated version bump on tor/1.10-release | 10:27.38 |
Robin_Watts | tor8: There is a "2015" date in README that needs updating too. | 10:28.38 |
tor8 | Robin_Watts: okay. fixed that too. | 10:30.02 |
Robin_Watts | lgtm. | 10:31.46 |
tor8 | http://mupdf.com/downloads/archive/mupdf-1.10a-source.tar.gz | 10:34.37 |
Robin_Watts | Rezipping now. | 10:56.13 |
tor8 | Robin_Watts: ugh. bug 697377. | 11:13.18 |
| I guess the iOS release will need another patch. | 11:13.31 |
| or we can fix this and redo the tarball and tag | 11:13.46 |
| the windows release should thankfully be unaffected | 11:13.55 |
| ugh. you can't even build without the Xcode developer account certification provisioning madness | 11:23.46 |
Robin_Watts | tor8: That's ios. I have no opinion on that. | 11:42.49 |
| If you can trivially fix it, then we can retag and rebuild etc. | 11:44.11 |
tor8 | I have a fix I think will work | 11:51.32 |
| but I'm not spending the rest of the day faffing about with apple's certification crap to test it | 11:52.46 |
Robin_Watts | tor8: Commit it - can't make it any worse. The bug reporter can test. | 11:54.26 |
| Or we can get joseph/paul to test. | 11:54.45 |
tor8 | that would be helpful | 12:12.17 |
Robin_Watts | tor8: When you've done that, I have some commits on robin/master | 12:13.23 |
tor8 | Robin_Watts: I've pushed a release-1.10a branch to golden | 12:13.52 |
| I guess joseph and paul are too busy packing to test the ios build now | 12:14.33 |
| so I've made uploaded a source tarball to downloads for now | 12:14.54 |
Robin_Watts | Paul is packed, and I bet Yukko has packed for joseph. | 12:15.04 |
tor8 | the one you've built for windows is in /home/robin/mupdf-1.10a-windows.zip ? | 12:15.55 |
Robin_Watts | Yes,# | 12:16.02 |
| tor8: Can you not build for the ios x86 simulator without needing a provisioning key ? | 12:16.57 |
| Joseph has volunteered to do a build if we can point him at the source. | 12:17.14 |
tor8 | nope. can't even start compiling without Xcode complaining that I need a provisioning profile and linked developer account. | 12:18.00 |
| Robin_Watts: http://mupdf.com/downloads/archive/mupdf-1.10a-source.tar.gz or origin/release-1.10a branch for joseph | 12:18.34 |
crispx | Hi | 13:06.55 |
ghostbot | Welcome to #ghostscript, the channel for Ghostscript and MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line. | 13:06.55 |
crispx | Hi, I have a pdf digital signed with a green checkmark, when converter to other format with gs appear a yellow question mark. It's possible convert with a signed pdf without signature validation, maintaining the green check mark ? | 13:07.13 |
Robin_Watts | crispx: No. | 13:07.57 |
| What format are you hoping to convert to ? | 13:08.30 |
crispx | tiff | 13:09.31 |
| or ps | 13:10.05 |
Robin_Watts | crispx: I suspect that the embedded appearance stream in the PDF is that of the yellow question mark. | 13:11.10 |
| When you load it into acrobat, it probably checks the signature and replaces it with the green checkmark. | 13:11.35 |
| gs doesn't understand digital signatures, so just goes with whatever the given appearance stream is. | 13:12.06 |
| (This is just educated guessing on my part). | 13:12.15 |
jogux | tor8: the iOS build doesn't seem entirely happy :( | 13:16.59 |
| MuHitView.m:57:62: error: too few arguments to function call, expected 5, have 3 | 13:17.25 |
| linkPage[hitCount] = fz_resolve_link(ctx, doc, link->uri); | 13:17.26 |
crispx | I understand that gs don't have signature support, but what insert the yellow question mark ? | 13:17.41 |
jogux | tor8: plus it thinks the make generate hasn't been run, but it has afaics. | 13:18.06 |
tor8 | jogux: try changing it to fz_resolve_link(ctx, doc, link->uri, NULL, NULL) | 13:18.10 |
| jogux: we've changed the generated file names around a bit | 13:18.22 |
jogux | ta. I'll try and fix the test for make generate too. | 13:18.26 |
tor8 | oh, hang on! | 13:18.43 |
| take out my change to the make generate test | 13:18.57 |
| that needs to go in a later commit, since we haven't done the renaming until after the release | 13:19.12 |
jogux | I was just thinking that the fix looks exactly like reverting your change :-) | 13:19.44 |
tor8 | jogux: yeah :) | 13:19.52 |
Robin_Watts | crispx: My guess would be that the yellow question mark is already in the PDF. | 13:21.28 |
| Can you make the PDF available for us to look? | 13:21.35 |
crispx | no :( It's like in that image | 13:28.36 |
| https://2.bp.blogspot.com/-6a5-aKgC4DA/UmfsPJClQRI/AAAAAAAAAD0/PH1Z02aRjwk/s1600/How+to+Validate+e-Aadhaar+Letter+Signature.png | 13:28.45 |
| in my case the after is before convert to tiff :) | 13:29.12 |
jogux | tor8: 3 commits on http://git.ghostscript.com/?p=user/joseph/mupdf.git;a=shortlog;h=refs/heads/release-1.10a for review | 13:30.43 |
crispx | in gs code there logic to deal with signature and overlay 'Signature Not Verified' ? | 13:31.36 |
tor8 | jogux: thanks! I'll take those, squish the generate step fix with the broken commit and tag a 1.10a | 13:32.37 |
jogux | tor8: btw, you would hopefully find that (if you've upgraded to Xcode 8.1), all the iOS certificate stuff should pretty much just work. Apple make a whole bunch of stuff more sensible. | 13:32.52 |
| tor8: great, thanks! | 13:32.57 |
Robin_Watts | crispx: Seeing a screenshot doesn't help. | 13:33.12 |
| I need to see a PDF. | 13:33.19 |
| You could try running the PDF through MuPDF to see what you get. I strongly suspect you'll get the "?" on that one too. | 13:33.45 |
| That would confirm that it's in the file as a "?" | 13:33.58 |
jogux | tor8: (at least for development builds, anyway - we'll still need to mess around with the private signing for the appstore) | 13:34.21 |
crispx | yes I already open in MuPDF view and the '?' appear | 13:34.22 |
tor8 | jogux: I got a complaint I needed to link with an apple developer account | 13:35.25 |
jogux | tor8: ah, you'll need to login yeah. | 13:35.37 |
tor8 | Robin_Watts: http://mupdf.com/news any comments on the news update? | 13:43.24 |
Robin_Watts | tor8: Looks good to me. | 13:44.10 |
tor8 | Robin_Watts: thanks. so that's the release sorted for now. we should do proper android and ios releases too, but IMO we can do that in Bahamas :) | 13:44.45 |
| time is running a bit short | 13:44.52 |
Robin_Watts | tor8: Yeah. | 13:44.55 |
| tor8: Should the archives be up then? | 15:30.29 |
tor8 | Robin_Watts: they're up | 15:31.16 |
t4nk938 | Hello | 15:44.34 |
ghostbot | Welcome to #ghostscript, the channel for Ghostscript and MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line. | 15:44.34 |
t4nk938 | I am using Ghostscript to convert PDF to TIFF in my C# application. I seem to be running into a problem where I call on Ghostscript to convert a large number of PDFs to TIFF at some point it seems to fail. Part of my code is to delete the TIFF file after I'm done using it. What I realised after some debugging, is that it seems that Ghostscript keeps a lock on the TIFF file for up to 40+ seconds, which prevents me from deleting | 15:47.43 |
Robin_Watts | t4nk938: On windows? | 15:48.06 |
t4nk938 | I'm not sure how to force the unlock of the file or to code a better way of bulk conversions. It's on Windows yes | 15:48.16 |
Robin_Watts | Are you starting a new gs for each conversion? | 15:48.44 |
| If so, then gs *cannot* be holding on to the file past the end of execution. | 15:49.09 |
| It's *far* more likely to be that something on your windows box is hooking the close file to do something like virus scanning or media scanning. | 15:49.40 |
t4nk938 | Yes, if there is more than one PDF in the folder, I will loop through each file | 15:49.52 |
| That makes sense, I will try turning off Windows Defender and testing quickly | 15:50.54 |
MacWinner | is the mudraw tool deprecated? just noticed that i haven't had a new version since 1.7a | 22:55.30 |
| i use it to render a PDF into PNG slides.. is there an alternative tool to do that now? | 22:55.48 |
Robin_Watts | MacWinner: Use mutool draw | 22:58.26 |
| Same tool, just bundled into a binary with lots of other things. | 22:58.45 |
| If you rename it to mudraw it should work too. | 22:58.53 |
MacWinner | oh | 22:59.15 |
| thanks! so mutool parameters are exactly the same? or almost exactly the same except you need "mutool draw" | 22:59.36 |
Robin_Watts | almost exactly the same. | 23:00.29 |
| They were identical, but we sanitised them a bit. | 23:00.45 |
radistao | Hi, Ghosts. | 23:06.44 |
| could some ghostscript/postscript guru help me in the question: | 23:07.30 |
| is it possible to call gs with postscript not as file, but as a string argument? | 23:08.04 |
| more details here: | 23:08.14 |
| http://stackoverflow.com/questions/40855044/run-ghostscript-gs-with-post-script-as-a-command-line-argument-but-not-a-file | 23:08.14 |
| following this doc: http://www.ghostscript.com/doc/9.18/Use.htm#Input_control | 23:09.11 |
| -c should help me | 23:09.15 |
| but i can't understand how to split the .ps file (13 lines) to those tokens | 23:09.38 |
MacWinner | thanks! | 23:20.40 |
| when building on centos6, i get the following error near the end of make install: "/opt/rh/devtoolset-2/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld: build/release/libglfw.a(posix_time.o): undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'" | 23:59.41 |
| i was able to build 1.9a without any problems | 23:59.53 |
| Forward 1 day (to 2016/11/29)>>> | |