| <<<Back 1 day (to 2015/07/05) | 20150706 |
jogux | morning paul | 08:38.30 |
paulgardiner | morning | 08:39.02 |
jogux | paulgardiner: I tried to put mupdf into a standalone iOS app and looks all pixelated. I've not really investigated but does anything spring to mind? It seemed to do the same if I put my code to show a pdf into didFinishLaunching in the real mupdf app so I guess it may be some missing call... | 08:39.32 |
| I'm guessing it's not realising it's a retina display maybe, but I have no idea why that would be :) | 08:42.42 |
| fwiw this is my code: https://github.com/jogu/MuPDF-example/commit/a5dfdc6a493bb76f42570923386512e8d5fa3dce | 08:44.04 |
| ahha. spotted it. | 08:49.58 |
paulgardiner | Nothing come to mind so far, but I'm still looking. | 08:49.59 |
| Oh well done | 08:50.02 |
jogux | yeah, that's better. I'd missed the screenScale global var... | 08:57.53 |
| paulgardiner: there's a few oddities in the API for MuDocumentController :-) (like the fact that it takes char * instead of NSString, and that you give mupdf the filename about 3 times to show a document :-) ) Not sure if Fred fixed any of those on his branch. | 08:59.16 |
paulgardiner | Can't say I understand all that's in there. | 09:00.59 |
| My part was to add new features to bring it up to date with the Android app. I did some restructuring at the time | 09:02.35 |
jogux | ahh | 09:03.36 |
| git blame had blamed you, but maybe that was just because of a restructuring :) | 09:03.49 |
paulgardiner | I split it from being a single file, so git will think I wrote it all | 09:04.53 |
jogux | paulgardiner: :) | 10:26.53 |
Kunda | how to uninstall gs 9.15 from osx ? | 12:32.16 |
| manually | 12:33.06 |
Robin_Watts | Kunda: Is it last week again? | 12:33.40 |
chrisl | Kunda: delete the files | 12:33.41 |
Kunda | chrisl, which directories ? | 12:33.54 |
Robin_Watts | Kunda: which gs | 12:34.01 |
Kunda | 9.15 | 12:34.11 |
chrisl | run the command "which gs" | 12:34.20 |
Robin_Watts | No. I mean run the command "which gs" | 12:34.21 |
Kunda | oh | 12:34.24 |
| Robin_Watts, no output | 12:35.57 |
| looks like the applicaiton was removed but what about other directories ? | 12:36.10 |
Robin_Watts | That implies that 'gs' is not installed. | 12:36.13 |
Kunda | like usr/local/share/ghostscript | 12:36.24 |
| still there | 12:36.26 |
Robin_Watts | Kunda: "locate ghostscript" | 12:36.37 |
| Frankly, if we don't know how he installed it, we can't tell you 100% how to remove it. | 12:38.04 |
| We didn't do the packaging for OS X, so it's not us you should be asking. | 12:38.30 |
Kunda | that's ok.. can I jsut remove /usr/local/share/ghostscript ? | 12:38.39 |
chrisl | Do you have any other versions installed? | 12:39.04 |
Robin_Watts | If it was me, I'd rename it to /usr/local/share/ghostscript_deleting | 12:39.26 |
| and see if that breaks anything. If after a while you don't think it's broken anything, delete it. | 12:39.56 |
Kunda | chrisl, no, but i want to install 9.16 | 12:40.05 |
| ok Robin_Watts | 12:40.12 |
Robin_Watts | Where are you going to install 9.16 from? | 12:40.27 |
Kunda | homebrew | 12:41.18 |
| osx package manager | 12:41.24 |
Robin_Watts | ok, so that will know how to uninstall it in future. | 12:42.24 |
Kunda | right | 12:42.29 |
| thanks folks.. appreciate your attention :) | 12:42.40 |
rayjj | paulgardiner: I see you are having fun with Raed ;-) I was really surprised that you answered his "To have digital signature functionality enabled all what is needed is to build mupdf with openssl, right? " with "That's correct" | 14:09.12 |
paulgardiner | Yes. Maybe a bit hasty. | 14:09.54 |
rayjj | paulgardiner: glad it's not me having to talk him through it | 14:12.58 |
Robin_Watts | paulgardiner: He's going to come back to you with: I built it with openssl. Now what flags do I use to make mutool/mupdf use it ? | 14:12.58 |
jogux | morning fred | 15:54.09 |
| fredross-perry_: I finally finished my cocoapod for mupdf - http://stackoverflow.com/a/31234707/292166 | 15:54.32 |
fredross-perry_ | jogux: sweet, I will have a look | 15:55.49 |
jogux | It took about 10 times as many lines as I'd expected to get a MuDocumentController to display a document on the screen: https://github.com/jogu/MuPDF-example/commit/afa53339dd18db2f679374c799f436fc560befe7 :) | 15:56.51 |
| [I think you fixed some of that on our branch right?] | 15:57.14 |
| s/our/your/ | 15:57.34 |
fredross-perry_ | I donât think so. In my branch I pushed some app code into a library, btu the code is essentially the same. | 16:02.12 |
Robin_Watts | jogux: Could you write your ideas up into a bugzilla enhancement bug? | 16:06.54 |
jogux | urgh. guess so. | 16:07.19 |
Robin_Watts | That way it needn't eat too much of your time, and they won't get lost. | 16:07.21 |
jogux | tbh I'd rather just do them ;-) | 16:08.43 |
Robin_Watts | Well, that'd be fine with me, but I'm reluctant to pull you away from SOT more than we have to. | 16:09.42 |
| henrys call. | 16:09.55 |
jogux | actually maybe that's not true. I'd rather do about half of them :-) | 16:11.46 |
fredross-perry_ | whatâs the âthemâ? | 16:11.58 |
jogux | fredross-perry_: just a sec, writing stuff up :) | 16:12.37 |
| fredross-perry_: Robin_Watts : http://bugs.ghostscript.com/show_bug.cgi?id=696077 | 16:15.33 |
| 11 comments on about 20 lines of code. But still no where near my top ratio ;) | 16:16.05 |
fredross-perry_ | I see. Thanks. | 16:17.05 |
jogux | I have no idea if those char * casts I have are safe tbh. if anyone knows feel free to speak up. (I /think/ they should maybe be const char *'s in the API, I believe mupdf strdups them) | 16:17.07 |
henrys | jogux: sort of makes sense to hand that off to fred but if you want to spend a bit of billed time on it that is fine. | 16:19.35 |
fredross-perry_ | Iâm happy to do whatever. Today I am moving ahead on Gradle for Windows. | 16:21.16 |
jogux | henrys: ta. tbf I have way too much to do (and also way too many distractions at home just now). Occasionally it's nice to stop beating my head against C89 though. | 16:21.34 |
| fredross-perry_: if I decide to do anything I'll reassign the bug to myself, presume you will do likewise :) | 16:21.47 |
| fredross-perry_: I've forgotten where I had the discussion, so in case you didn't see it, it emerged that I was utterly wrong about there been an alpha of android studio with NDK/native debugging. There was /meant/ to be one released over a week ago, but it's not appeared... | 16:23.09 |
fredross-perry_ | The problem with C89 is the â89â part. | 16:23.15 |
jogux | C99 is only very slightly better :-) | 16:23.55 |
fredross-perry_ | Yes, I figured that out. For the meantime, the build file simply runs ndk-build. | 16:23.57 |
jogux | nods | 16:24.00 |
Robin_Watts | fredross-perry_: You're gradling with mupdf, right? | 16:25.35 |
jogux | fredross-perry_: the cocoapods website wrongly shows the mupdf license as GPL btw, that's because of a bug in their website (which I submitted a pull request for which has been merged/deployed, but it won't update on the website till the podspec is next updated...) | 16:25.42 |
Robin_Watts | I am gradling with SO at the moment. | 16:26.00 |
| jogu: GPL rather than AGPL ? | 16:26.22 |
jogux | Robin_Watts: yep | 16:27.29 |
fredross-perry_ | yes, gradling with mupdf. | 16:29.38 |
| cocoapod question - should we not also mirror the third party modules? | 16:33.32 |
jogux | fredross-perry_: there was a big discussion about that :-) | 16:36.45 |
| fredross-perry_: The answer is "yes, but we need to change other things first" | 16:36.53 |
| (if you mean mirror the third party modules onto github) | 16:37.18 |
fredross-perry_ | related: does the cocoapod system that uses github do the submodue update automatically? | 16:37.23 |
jogux | I don't understand that question | 16:37.42 |
fredross-perry_ | the github location of mupdf is referenced in the podspec. Does that mean that itâs pulled automatically? | 16:38.35 |
| and if it is, are the submodules initialized automatically? | 16:39.03 |
jogux | chrisl has (hopefully) got the github copy of mupdf auto updating when we push to our golden repo | 16:39.08 |
| the behaviour of submodules hasn't changed, you still need to manually init them, and they get pulled down from our git. | 16:39.40 |
| cocoapods itself has some support for submodules, but I chose to manually deal with them in my mupdf podspec - I don't think the cocoapod way of handling them works for the way we build mupdf. | 16:40.23 |
fredross-perry_ | Right. Can you do a simple post-pull command in a podspec? | 16:41.21 |
jogux | fredross-perry_: I have ' git submodule update --init' in my prepare_command in the podspec | 16:41.35 |
henrys | bbiab | 16:41.47 |
fredross-perry_ | then, outstanding. | 16:41.53 |
jogux | sorting out mirror of the submodule means: | 16:42.22 |
| a) renaming them/moving them out of a subdir, because github doesn't allow subdirs | 16:42.35 |
| b) changes the git submodules settings to use relative paths | 16:42.50 |
| we'll maybe do some of that once tor is back | 16:43.19 |
fredross-perry_ | Or, maybe just mirror each submodule in github as well, and point the mupdf mirror to them | 16:44.16 |
jogux | fredross-perry_: may be best to avoid the mirror process mucking with the submodule urls if we can, as that will mean all the shas on the mirror will be different to golden | 16:45.37 |
fredross-perry_ | Feh. | 16:45.54 |
jogux | :-) | 16:46.02 |
Robin_Watts | henrys: Skype ? | 17:49.22 |
henrys | Robin_Watts: sure | 17:53.13 |
| lunch | 18:48.59 |
| Forward 1 day (to 2015/07/07)>>> | |