Skip to content

Instantly share code, notes, and snippets.

@jsntn
Last active December 20, 2021 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsntn/10711581760d9b3c54062a41c1be3910 to your computer and use it in GitHub Desktop.
Save jsntn/10711581760d9b3c54062a41c1be3910 to your computer and use it in GitHub Desktop.
➜ site-lisp git:(master) git clone https://github.com/politza/pdf-tools.git
Cloning into 'pdf-tools'...
remote: Enumerating objects: 4161, done.
remote: Total 4161 (delta 0), reused 0 (delta 0), pack-reused 4161
Receiving objects: 100% (4161/4161), 2.08 MiB | 2.82 MiB/s, done.
Resolving deltas: 100% (2961/2961), done.
➜ site-lisp git:(master) ✗ cd pdf-tools
➜ pdf-tools git:(master) ll
total 168
-rw-r--r-- 1 jason staff 34K Dec 19 00:43 COPYING
-rw-r--r-- 1 jason staff 1.2K Dec 19 00:43 COPYING.SYNCTEX
-rw-r--r-- 1 jason staff 274B Dec 19 00:43 Cask
-rw-r--r-- 1 jason staff 2.3K Dec 19 00:43 Makefile
-rw-r--r-- 1 jason staff 5.9K Dec 19 00:43 NEWS
lrwxr-xr-x 1 jason staff 10B Dec 19 00:43 README -> README.org
-rw-r--r-- 1 jason staff 16K Dec 19 00:43 README.org
-rw-r--r-- 1 jason staff 1.0K Dec 19 00:43 TODO
-rw-r--r-- 1 jason staff 504B Dec 19 00:43 appveyor.yml
drwxr-xr-x 3 jason staff 96B Dec 19 00:43 ci
drwxr-xr-x 19 jason staff 608B Dec 19 00:43 lisp
drwxr-xr-x 22 jason staff 704B Dec 19 00:43 server
drwxr-xr-x 14 jason staff 448B Dec 19 00:43 test
➜ pdf-tools git:(master) cd server
➜ server git:(master) ll
total 1144
-rw-r--r-- 1 jason staff 1.3K Dec 19 00:43 Makefile.am
-rwxr-xr-x 1 jason staff 13K Dec 19 00:43 autobuild
-rwxr-xr-x 1 jason staff 55B Dec 19 00:43 autogen.sh
-rw-r--r-- 1 jason staff 3.5K Dec 19 00:43 configure.ac
-rw-r--r-- 1 jason staff 98K Dec 19 00:43 epdfinfo.c
-rw-r--r-- 1 jason staff 7.6K Dec 19 00:43 epdfinfo.h
drwxr-xr-x 3 jason staff 96B Dec 19 00:43 m4
-rw-r--r-- 1 jason staff 3.5K Dec 19 00:43 poppler-hack.cc
-rw-r--r-- 1 jason staff 354B Dec 19 00:43 poppler-versions
-rw-r--r-- 1 jason staff 331K Dec 19 00:43 synctex_parser.c
-rw-r--r-- 1 jason staff 19K Dec 19 00:43 synctex_parser.h
-rw-r--r-- 1 jason staff 20K Dec 19 00:43 synctex_parser_advanced.h
-rw-r--r-- 1 jason staff 106B Dec 19 00:43 synctex_parser_local.h
-rw-r--r-- 1 jason staff 9.4K Dec 19 00:43 synctex_parser_readme.txt
-rw-r--r-- 1 jason staff 19K Dec 19 00:43 synctex_parser_utils.c
-rw-r--r-- 1 jason staff 5.9K Dec 19 00:43 synctex_parser_utils.h
-rw-r--r-- 1 jason staff 5B Dec 19 00:43 synctex_parser_version.txt
-rw-r--r-- 1 jason staff 2.0K Dec 19 00:43 synctex_version.h
drwxr-xr-x 4 jason staff 128B Dec 19 00:43 test
➜ server git:(master) pwd
/Users/jason/.emacs.d/site-lisp/pdf-tools/server
➜ server git:(master) nix-shell -p pkg-config poppler automake libtool libpng
these 139 paths will be fetched (187.76 MiB download, 942.59 MiB unpacked):
/nix/store/008m4r9438kjjhg7hg249wkarqcbd198-libev-4.33
/nix/store/0rpamhzf29jswrjydgr6qf77v7r95d7y-libkrb5-1.18-dev
/nix/store/0rw6c8n8llcg8rvyvra7x0nw6hwi8ck7-libcxx-7.1.0
/nix/store/0sirkq3z7c3is33h6z6nwb6lkdlp9pkv-c-ares-1.17.2
/nix/store/0yqsp38dvx7csa85pa0334061cv8dm41-expat-2.4.1-dev
/nix/store/195yn4d5laih8q8wvcsi6zqz4a02lg5p-gmp-6.2.1
/nix/store/1c95f651qqs1kfgamlb091p7nlwnpmkl-bash-interactive-5.1-p12
/nix/store/1dlvcbs6hl3ys3925lbhqc74dby1qjhn-libtool-2.4.6-lib
/nix/store/1iv4czqa4yic4sbl2lf7z1yygrlwpp5a-diffutils-3.8
/nix/store/1k8br8gxlsqp41i0a6279qrvxscpw9n6-libcxx-7.1.0-dev
/nix/store/1yj5wrvw23dgvv9j5nrdzhwx6fcxgfmh-libffi-3.4.2
/nix/store/2819rp2zj5m37nfm87y2fm1fwdqfl8yk-libdeflate-1.8
/nix/store/2a9c16da363r33j2mbl3wqd27xs8zx77-ncurses-6.2
/nix/store/2d9zk8y6g0k8zzjyqgbdv2wiaq228yyk-gnumake-4.3
/nix/store/2dlfw9s2ypb0s245g3yrq29p6rvlwsky-Libsystem-1238.60.2
/nix/store/2in2vcnf5i7h6hb56d06xapfly56j4bb-libjpeg-turbo-2.1.0-dev
/nix/store/3npg6a8nc5vpcyw98v085cmlz7f78kgs-bash-5.1-p12
/nix/store/3yl2yl13f3ndrx0n44vfp2wbcc91nks9-sqlite-3.36.0
/nix/store/44blw6f9lg9frpwmqp6zlj1a04gjd3ii-xz-5.2.5-dev
/nix/store/46bqhd7yya2b0sf835kjqv34cznaa7b2-readline-8.1p0
/nix/store/4rx7gcpfp53zha17iibqj6rrcvqg6gll-binutils-2.35.2
/nix/store/4zx2596vw98ccqfzvpa6cxr6nf2jr92c-dejavu-fonts-minimal-2.37
/nix/store/51qq412z5d64rn85gg3nmnxwvjs1zs96-cctools-binutils-darwin-wrapper-949.0.1
/nix/store/5kd47bb581xxyyk92l9pcmjjiizadw67-glib-2.70.1-bin
/nix/store/5ks3ycd3n5cvmr7ggaxwc68106qvv5b2-gettext-0.21
/nix/store/5mhc70rngb37dz2jkaby0cqb8ak73nz4-cairo-1.16.0
/nix/store/5p65pd7cnr8a1qkhm802bj28qpnnajaq-curl-7.79.1-bin
/nix/store/5pwyalfadcnrdnipazywfkc9dnza9ag1-patch-2.7.6
/nix/store/62m0yciivph35sx2823xmznwfs1qv1x9-Security-55471.14.18
/nix/store/65gjca90m9c6d1f8nbi4g6ndg48rlp2x-curl-7.79.1-man
/nix/store/67890x6dcq5an7fnhjzy12jgmcskbpwr-openssl-1.1.1l
/nix/store/6bw255bhrkavpm80gwbi3qc4y0c3y8yv-findutils-4.8.0
/nix/store/6jry38kf8gp0hsc4cvghvg9rsa9rjnzl-libssh2-1.10.0
/nix/store/6kgfmzx90c1a6afqnbkz6qprkzss476k-mime-types-9
/nix/store/6sdgcs2vd2zp0frzdfm3qhdf1lg6gc2m-llvm-7.1.0
/nix/store/72cl1kdsw936l987wd8nzg8970cn9q4m-ICU-66108
/nix/store/7ffsi1cdg6smqqpfdfrh1z5003z2383l-nspr-4.32
/nix/store/7ixc9l5a820wrsd2qmxzmz1854vwwdxr-libtasn1-4.17.0
/nix/store/854jyvxrvpdpbfn2zaba1v2qgqkxipyh-cctools-binutils-darwin-949.0.1
/nix/store/865wkl305q9idlcrg5fak1h1w7n5dwrk-pixman-0.38.4
/nix/store/8bz5a935h93v2hfnlpws55vc9nbfc0l8-libjpeg-turbo-2.1.0
/nix/store/8jcizpbxdxg15msi5zpq4yw6rc3m8v1y-openjpeg-2.4.0
/nix/store/8qy1mhkfd7wdh09d5f6xc5c46slzalbd-fontconfig-2.13.94
/nix/store/8xkf79ywva12x1l1kavfwcpfv308s06b-expat-2.4.1
/nix/store/94ls5hacwdaqj6ps3fhbznbf6213qhag-libkrb5-1.18
/nix/store/9a9rrcgknz067qr18k36g2gwgk09spdg-gdbm-1.20
/nix/store/a9hb0365pmywb651s7ymyjw43zqb5cdb-curl-7.79.1
/nix/store/ar2gknkvzqhb39xmc7nhl70dscy3fm71-clang-7.1.0-lib
/nix/store/ari05gg7k4896afs7cg4fj9cfy8qr1bp-nss-3.73-dev
/nix/store/b05rigrq3vnp76wn05fywx5s652m2265-bash-interactive-5.1-p12-info
/nix/store/b39m837bsf6b50aqd0n3s6maar8aqk6a-gnutar-1.34
/nix/store/bhmm2a4zdhyq9jk56hpw9yrvz2f15x4l-zlib-1.2.11
/nix/store/bijz0c6r2kgkiq147dg0mmfpdrhl2yp8-xz-5.2.5
/nix/store/bwbr7pbgkg5980h10y9xd008c8wkybz2-bash-interactive-5.1-p12-man
/nix/store/clj1arwqisv067i6lpj1kfz5yqm2dpxs-fontconfig-2.13.94-lib
/nix/store/clpdyyci5mxwxxzv7ma11mhbzl9wjarv-libtool-2.4.6
/nix/store/da8bbdi3vmd3ai1wxnps11yvqs68010j-libjpeg-turbo-2.1.0-bin
/nix/store/db9wd6079kass8hx7z7lxw51xbcl707z-tzdata-2021c
/nix/store/dddxwkcm8gkjniglrs7ml27cjaf9pzap-brotli-1.0.9-dev
/nix/store/dvgkhqcfg2mz2b2kl4yz20m32y9v26q7-fontconfig-2.13.94-dev
/nix/store/f3jcfgd8qm7szpj8gl9nbrszhfa2r8z8-pkg-config-0.29.2
/nix/store/f3z7577yj3h1vigjzygjjvd8avfmh3a4-perl-5.34.0
/nix/store/f4qs0hfxgimwgi3qp96il5yhy0faxd90-libkrb5-1.18
/nix/store/fa09vr6p4izssa8rdcb4xk3wz32q16l7-cctools-port-949.0.1
/nix/store/fcfmw1b7y68r9wwyi7fjfz294kyx5yik-nghttp2-1.43.0
/nix/store/g70fri1w3mf3gqfal70xmnzk3x7khc48-bash-interactive-5.1-p12-dev
/nix/store/gdk4hpx1ric0b4v9xg03aksn1jbxbf9s-nspr-4.32-dev
/nix/store/gl3k1v2ghjh7sg2v0gdb3qmm2yfyi35p-gnugrep-3.7
/nix/store/gwism9abmrb9sxx74md6d5k3769ya1hb-glib-2.70.1
/nix/store/gwz8452bgf1lm7672sq8bvyivfiz3lnd-readline-6.3p08
/nix/store/h4v24gpmyxi0iys3y1sn301rh2lashwc-bzip2-1.0.6.0.2-dev
/nix/store/h51ahnh31nki7wvz322f872pfya3n04z-gnum4-1.4.19
/nix/store/h6mi3sjxxr1vs5prjpvyrlvxy2z8iyrx-curl-7.79.1
/nix/store/h8x5vzq52cjx24hr4wqf8xbsgrdc3ghf-compiler-rt-libc-7.1.0
/nix/store/hcxvrjl0fdizz5yk94x5s6iikfbjyjdx-openssl-1.1.1l
/nix/store/hh3im0myf6s5rvhmkpppnk2qml59y5k7-libtiff-4.3.0
/nix/store/hh6i7w018ii1db0h9zfdvfqwpczcmhjz-libffi-3.4.2-dev
/nix/store/hq4rbpnx19zjs74q4b9k07jgqhzzlygm-libcxxabi-7.1.0
/nix/store/hrhmj48qyka7fxb1zy3ryfikkvgrwsag-lcms2-2.12-dev
/nix/store/iaahycli6sk1qj97ccmbri5zb4zacxif-freetype-2.11.0
/nix/store/idmqdj62m010xi3y4fq9z4jszb9pxbh6-libpng-apng-1.6.37
/nix/store/ifv055kf1l75vm55x1ys7ns777swr1a3-libtapi-1100.0.11
/nix/store/j0hsxmzgdzw3sg6dq1m5d7dwf3f22jiy-libtiff-4.3.0-bin
/nix/store/j4hwzvqys1h7awvqcfhn0nksa3mz9h6g-compiler-rt-libc-7.1.0-dev
/nix/store/j4nm0ljg4fccf3j793nmzgpcif3hh1wm-libtiff-4.3.0-dev
/nix/store/j5nqbh2dkqr6i12imhfiaz0173dm9v2p-pcre-8.44
/nix/store/jm89cx125rryr4b0lbckq1ncric9lmpq-poppler-glib-21.06.1-dev
/nix/store/k2fn4n5as3svz9vd0pypyc9grh6cvkrx-libiconv-50
/nix/store/k8crx6gs0xgxcnnaksc0ldg3bxzvnlcb-brotli-1.0.9
/nix/store/kb2f11i8ahynwp0hz7yhg201v0n21b7x-gnused-4.8
/nix/store/kn5fdf8sccz9rgb428i0r4mkqp46dvzc-lcms2-2.12
/nix/store/ksyzyps4mmfpwf1258vap11lg69r1pr4-nghttp2-1.43.0-dev
/nix/store/l61iy7626j146shcwjxcbasxas0c1dbp-llvm-7.1.0-lib
/nix/store/l63ncqkrv8sxn4sly48rzk8kjbrk4qbq-libidn-1.38-dev
/nix/store/l6d63k59m5cvwd2iq8ma1f5509czwda3-openssl-1.1.1l-bin
/nix/store/la38dxm1j9xc9icp8rn5px4csqvzhjs4-openssl-1.1.1l-dev
/nix/store/lxfslviarb3h6a2fa9ndwcv37j4dmjls-swift-corefoundation
/nix/store/n5sz535h47y3gyf4qym51284g26ia3ki-bzip2-1.0.6.0.2
/nix/store/nb0j3bnywy8cfzam4yavlp6k26yd4410-zlib-1.2.11-dev
/nix/store/nsaw5hpln7qzrh5bacwzcb8vq0m4h6m7-fontconfig-2.13.94-bin
/nix/store/nsfva9y71q07qfyvlblgfvvp4k4mx93l-poppler-data-0.4.10
/nix/store/nvk26mizxlrlpxacchab74ha77ag0x7r-gawk-5.1.1
/nix/store/nw6wszn70is36w8g1b6nxhn8injz6yky-bzip2-1.0.6.0.2-bin
/nix/store/nyc498wmc43021s3gdy8f6vvddbhg5iw-xz-5.2.5-bin
/nix/store/p9hg11hddmm6vq0nknzd0jvmqip6k6xs-p11-kit-0.24.0
/nix/store/pi9iaanal3wsqcfib07rpzbngbaga6ij-automake-1.16.3
/nix/store/pjxzcxpgf6whynjgxadzbpd65icyblm3-gzip-1.11
/nix/store/qam0fd3ygh3imdrzq3dfc09lws902lcn-libssh2-1.10.0-dev
/nix/store/qlmzjna31i7w853l02jz5kfkc2734jn5-openjpeg-2.4.0-dev
/nix/store/r3y5l2x9swdhw0myrfw4c2l5512y18s1-freetype-2.11.0-dev
/nix/store/rqbzwkyvjz5lvzqhxm6khi4pr44451rn-curl-7.79.1-dev
/nix/store/ry04vvpk4n7jcd6f7a8gciq2gxnxmhkd-nghttp2-1.43.0-lib
/nix/store/s0kzasnmigg031mmcbchs040prmgbmra-poppler-glib-21.06.1
/nix/store/sg63q2hj26nqd81j66vsycnjbdxz8z6s-gettext-0.21
/nix/store/sgsx61f4xg7k21sk83zccxkpvrkmafcy-configd-453.19
/nix/store/shvq72iflm8kz4qmdswhla64qypbhxjg-clang-7.1.0
/nix/store/sia74dxywyll3wxf36r8cx45fsr0qrjx-nghttp2-1.43.0-bin
/nix/store/sj10dy1hhs5znbhdj77yzygipmkh2ldn-libidn-1.38
/nix/store/spbzg88dcr2b0rkb1j4gzxs5y09ggsy9-libidn-1.38-bin
/nix/store/v1c0czhs1gzbh1f2zv7nb2vq6986sj36-expand-response-params
/nix/store/v2z3rk13aja03v3z6rbi32nc7v0p06wf-stdenv-darwin
/nix/store/v84clz956c1fs3q1fg022gx84cnwgdyr-brotli-1.0.9-lib
/nix/store/vn148wjd5f92yjbmlbz0rbi195daqc8a-clang-wrapper-7.1.0
/nix/store/w0wfrq9zyaqxywyba4aby0fnmbw293kr-libxml2-2.9.12
/nix/store/w4s29gmb4hbwdyaj4j5wlpxcd25hs031-lcms2-2.12-bin
/nix/store/w8lqcsrwlwrvmchj46ph9880w9h4m50a-python3-3.9.6
/nix/store/wfb42xd1gvvn5p7gj7vbhgkds4khf32m-nghttp2-1.43.0-lib
/nix/store/wxz5zlj75qn32d7jccj8x6lqhb7nl6fq-adv_cmds-119-locale
/nix/store/wy0mrp1p2nw3k0jp0b4a6mwz685yvqf7-nss-3.73
/nix/store/x3rbz8axlp3yjgkzypj79ddfaaxx842b-libpng-apng-1.6.37-dev
/nix/store/xmrjwcqky9zq3vbq5rwymyxkjfrd2kbj-bash-interactive-5.1-p12-doc
/nix/store/xqjjkjfq72qvdp99l0gavmqdky53vzfl-libcxxabi-7.1.0-dev
/nix/store/y37a1fjpra5rmfcwjlgjhi93drc7lf15-cairo-1.16.0-dev
/nix/store/yj922jnfm4p4mhx645slls316653bhis-glib-2.70.1-dev
/nix/store/ylblikfcniagmbnhckp3fakjkbxqy4zl-coreutils-9.0
/nix/store/ylhpnwq6ragfr6mzz2084yrf85gwjlay-brotli-1.0.9-lib
/nix/store/ynw8k0w28lb7i06m9d188kpvybbvf4hf-pkg-config-wrapper-0.29.2
/nix/store/ypddg45px8jss5vib9yvfwyah64ihszd-libssh2-1.10.0
/nix/store/zh1xkvgbg9xij76l7bnn8nm58zvpw0vj-ed-1.17
copying path '/nix/store/3npg6a8nc5vpcyw98v085cmlz7f78kgs-bash-5.1-p12' from 'https://cache.nixos.org'...
copying path '/nix/store/2dlfw9s2ypb0s245g3yrq29p6rvlwsky-Libsystem-1238.60.2' from 'https://cache.nixos.org'...
copying path '/nix/store/62m0yciivph35sx2823xmznwfs1qv1x9-Security-55471.14.18' from 'https://cache.nixos.org'...
copying path '/nix/store/wxz5zlj75qn32d7jccj8x6lqhb7nl6fq-adv_cmds-119-locale' from 'https://cache.nixos.org'...
copying path '/nix/store/xmrjwcqky9zq3vbq5rwymyxkjfrd2kbj-bash-interactive-5.1-p12-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/b05rigrq3vnp76wn05fywx5s652m2265-bash-interactive-5.1-p12-info' from 'https://cache.nixos.org'...
copying path '/nix/store/bwbr7pbgkg5980h10y9xd008c8wkybz2-bash-interactive-5.1-p12-man' from 'https://cache.nixos.org'...
copying path '/nix/store/v84clz956c1fs3q1fg022gx84cnwgdyr-brotli-1.0.9-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/n5sz535h47y3gyf4qym51284g26ia3ki-bzip2-1.0.6.0.2' from 'https://cache.nixos.org'...
copying path '/nix/store/65gjca90m9c6d1f8nbi4g6ndg48rlp2x-curl-7.79.1-man' from 'https://cache.nixos.org'...
copying path '/nix/store/nw6wszn70is36w8g1b6nxhn8injz6yky-bzip2-1.0.6.0.2-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/4zx2596vw98ccqfzvpa6cxr6nf2jr92c-dejavu-fonts-minimal-2.37' from 'https://cache.nixos.org'...
copying path '/nix/store/h4v24gpmyxi0iys3y1sn301rh2lashwc-bzip2-1.0.6.0.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/zh1xkvgbg9xij76l7bnn8nm58zvpw0vj-ed-1.17' from 'https://cache.nixos.org'...
copying path '/nix/store/v1c0czhs1gzbh1f2zv7nb2vq6986sj36-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/8qy1mhkfd7wdh09d5f6xc5c46slzalbd-fontconfig-2.13.94' from 'https://cache.nixos.org'...
copying path '/nix/store/nvk26mizxlrlpxacchab74ha77ag0x7r-gawk-5.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/2d9zk8y6g0k8zzjyqgbdv2wiaq228yyk-gnumake-4.3' from 'https://cache.nixos.org'...
copying path '/nix/store/kb2f11i8ahynwp0hz7yhg201v0n21b7x-gnused-4.8' from 'https://cache.nixos.org'...
copying path '/nix/store/pjxzcxpgf6whynjgxadzbpd65icyblm3-gzip-1.11' from 'https://cache.nixos.org'...
copying path '/nix/store/hq4rbpnx19zjs74q4b9k07jgqhzzlygm-libcxxabi-7.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/1yj5wrvw23dgvv9j5nrdzhwx6fcxgfmh-libffi-3.4.2' from 'https://cache.nixos.org'...
copying path '/nix/store/0rw6c8n8llcg8rvyvra7x0nw6hwi8ck7-libcxx-7.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/xqjjkjfq72qvdp99l0gavmqdky53vzfl-libcxxabi-7.1.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/72cl1kdsw936l987wd8nzg8970cn9q4m-ICU-66108' from 'https://cache.nixos.org'...
copying path '/nix/store/h8x5vzq52cjx24hr4wqf8xbsgrdc3ghf-compiler-rt-libc-7.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/195yn4d5laih8q8wvcsi6zqz4a02lg5p-gmp-6.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/j4hwzvqys1h7awvqcfhn0nksa3mz9h6g-compiler-rt-libc-7.1.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/ylblikfcniagmbnhckp3fakjkbxqy4zl-coreutils-9.0' from 'https://cache.nixos.org'...
copying path '/nix/store/1k8br8gxlsqp41i0a6279qrvxscpw9n6-libcxx-7.1.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/1iv4czqa4yic4sbl2lf7z1yygrlwpp5a-diffutils-3.8' from 'https://cache.nixos.org'...
copying path '/nix/store/6bw255bhrkavpm80gwbi3qc4y0c3y8yv-findutils-4.8.0' from 'https://cache.nixos.org'...
copying path '/nix/store/hh6i7w018ii1db0h9zfdvfqwpczcmhjz-libffi-3.4.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/k2fn4n5as3svz9vd0pypyc9grh6cvkrx-libiconv-50' from 'https://cache.nixos.org'...
copying path '/nix/store/94ls5hacwdaqj6ps3fhbznbf6213qhag-libkrb5-1.18' from 'https://cache.nixos.org'...
copying path '/nix/store/5ks3ycd3n5cvmr7ggaxwc68106qvv5b2-gettext-0.21' from 'https://cache.nixos.org'...
copying path '/nix/store/6kgfmzx90c1a6afqnbkz6qprkzss476k-mime-types-9' from 'https://cache.nixos.org'...
copying path '/nix/store/b39m837bsf6b50aqd0n3s6maar8aqk6a-gnutar-1.34' from 'https://cache.nixos.org'...
copying path '/nix/store/2a9c16da363r33j2mbl3wqd27xs8zx77-ncurses-6.2' from 'https://cache.nixos.org'...
copying path '/nix/store/fcfmw1b7y68r9wwyi7fjfz294kyx5yik-nghttp2-1.43.0' from 'https://cache.nixos.org'...
copying path '/nix/store/ifv055kf1l75vm55x1ys7ns777swr1a3-libtapi-1100.0.11' from 'https://cache.nixos.org'...
copying path '/nix/store/wfb42xd1gvvn5p7gj7vbhgkds4khf32m-nghttp2-1.43.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/fa09vr6p4izssa8rdcb4xk3wz32q16l7-cctools-port-949.0.1' from 'https://cache.nixos.org'...
copying path '/nix/store/7ffsi1cdg6smqqpfdfrh1z5003z2383l-nspr-4.32' from 'https://cache.nixos.org'...
copying path '/nix/store/hcxvrjl0fdizz5yk94x5s6iikfbjyjdx-openssl-1.1.1l' from 'https://cache.nixos.org'...
copying path '/nix/store/gdk4hpx1ric0b4v9xg03aksn1jbxbf9s-nspr-4.32-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/5pwyalfadcnrdnipazywfkc9dnza9ag1-patch-2.7.6' from 'https://cache.nixos.org'...
copying path '/nix/store/j5nqbh2dkqr6i12imhfiaz0173dm9v2p-pcre-8.44' from 'https://cache.nixos.org'...
copying path '/nix/store/nsfva9y71q07qfyvlblgfvvp4k4mx93l-poppler-data-0.4.10' from 'https://cache.nixos.org'...
copying path '/nix/store/gl3k1v2ghjh7sg2v0gdb3qmm2yfyi35p-gnugrep-3.7' from 'https://cache.nixos.org'...
copying path '/nix/store/db9wd6079kass8hx7z7lxw51xbcl707z-tzdata-2021c' from 'https://cache.nixos.org'...
copying path '/nix/store/bijz0c6r2kgkiq147dg0mmfpdrhl2yp8-xz-5.2.5' from 'https://cache.nixos.org'...
copying path '/nix/store/bhmm2a4zdhyq9jk56hpw9yrvz2f15x4l-zlib-1.2.11' from 'https://cache.nixos.org'...
copying path '/nix/store/nyc498wmc43021s3gdy8f6vvddbhg5iw-xz-5.2.5-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/4rx7gcpfp53zha17iibqj6rrcvqg6gll-binutils-2.35.2' from 'https://cache.nixos.org'...
copying path '/nix/store/6jry38kf8gp0hsc4cvghvg9rsa9rjnzl-libssh2-1.10.0' from 'https://cache.nixos.org'...
copying path '/nix/store/w0wfrq9zyaqxywyba4aby0fnmbw293kr-libxml2-2.9.12' from 'https://cache.nixos.org'...
copying path '/nix/store/h6mi3sjxxr1vs5prjpvyrlvxy2z8iyrx-curl-7.79.1' from 'https://cache.nixos.org'...
copying path '/nix/store/l61iy7626j146shcwjxcbasxas0c1dbp-llvm-7.1.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/lxfslviarb3h6a2fa9ndwcv37j4dmjls-swift-corefoundation' from 'https://cache.nixos.org'...
copying path '/nix/store/shvq72iflm8kz4qmdswhla64qypbhxjg-clang-7.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/k8crx6gs0xgxcnnaksc0ldg3bxzvnlcb-brotli-1.0.9' from 'https://cache.nixos.org'...
copying path '/nix/store/ylhpnwq6ragfr6mzz2084yrf85gwjlay-brotli-1.0.9-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/0sirkq3z7c3is33h6z6nwb6lkdlp9pkv-c-ares-1.17.2' from 'https://cache.nixos.org'...
copying path '/nix/store/dddxwkcm8gkjniglrs7ml27cjaf9pzap-brotli-1.0.9-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/ar2gknkvzqhb39xmc7nhl70dscy3fm71-clang-7.1.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/sgsx61f4xg7k21sk83zccxkpvrkmafcy-configd-453.19' from 'https://cache.nixos.org'...
copying path '/nix/store/8xkf79ywva12x1l1kavfwcpfv308s06b-expat-2.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/9a9rrcgknz067qr18k36g2gwgk09spdg-gdbm-1.20' from 'https://cache.nixos.org'...
copying path '/nix/store/0yqsp38dvx7csa85pa0334061cv8dm41-expat-2.4.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/sg63q2hj26nqd81j66vsycnjbdxz8z6s-gettext-0.21' from 'https://cache.nixos.org'...
copying path '/nix/store/h51ahnh31nki7wvz322f872pfya3n04z-gnum4-1.4.19' from 'https://cache.nixos.org'...
copying path '/nix/store/gwism9abmrb9sxx74md6d5k3769ya1hb-glib-2.70.1' from 'https://cache.nixos.org'...
copying path '/nix/store/kn5fdf8sccz9rgb428i0r4mkqp46dvzc-lcms2-2.12' from 'https://cache.nixos.org'...
copying path '/nix/store/5kd47bb581xxyyk92l9pcmjjiizadw67-glib-2.70.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/2819rp2zj5m37nfm87y2fm1fwdqfl8yk-libdeflate-1.8' from 'https://cache.nixos.org'...
copying path '/nix/store/008m4r9438kjjhg7hg249wkarqcbd198-libev-4.33' from 'https://cache.nixos.org'...
copying path '/nix/store/sj10dy1hhs5znbhdj77yzygipmkh2ldn-libidn-1.38' from 'https://cache.nixos.org'...
copying path '/nix/store/8bz5a935h93v2hfnlpws55vc9nbfc0l8-libjpeg-turbo-2.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/spbzg88dcr2b0rkb1j4gzxs5y09ggsy9-libidn-1.38-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/da8bbdi3vmd3ai1wxnps11yvqs68010j-libjpeg-turbo-2.1.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/l63ncqkrv8sxn4sly48rzk8kjbrk4qbq-libidn-1.38-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/2in2vcnf5i7h6hb56d06xapfly56j4bb-libjpeg-turbo-2.1.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/f4qs0hfxgimwgi3qp96il5yhy0faxd90-libkrb5-1.18' from 'https://cache.nixos.org'...
copying path '/nix/store/idmqdj62m010xi3y4fq9z4jszb9pxbh6-libpng-apng-1.6.37' from 'https://cache.nixos.org'...
copying path '/nix/store/0rpamhzf29jswrjydgr6qf77v7r95d7y-libkrb5-1.18-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/iaahycli6sk1qj97ccmbri5zb4zacxif-freetype-2.11.0' from 'https://cache.nixos.org'...
copying path '/nix/store/7ixc9l5a820wrsd2qmxzmz1854vwwdxr-libtasn1-4.17.0' from 'https://cache.nixos.org'...
copying path '/nix/store/clj1arwqisv067i6lpj1kfz5yqm2dpxs-fontconfig-2.13.94-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/hh3im0myf6s5rvhmkpppnk2qml59y5k7-libtiff-4.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/nsaw5hpln7qzrh5bacwzcb8vq0m4h6m7-fontconfig-2.13.94-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/w4s29gmb4hbwdyaj4j5wlpxcd25hs031-lcms2-2.12-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/j0hsxmzgdzw3sg6dq1m5d7dwf3f22jiy-libtiff-4.3.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/1dlvcbs6hl3ys3925lbhqc74dby1qjhn-libtool-2.4.6-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/6sdgcs2vd2zp0frzdfm3qhdf1lg6gc2m-llvm-7.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/ry04vvpk4n7jcd6f7a8gciq2gxnxmhkd-nghttp2-1.43.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/854jyvxrvpdpbfn2zaba1v2qgqkxipyh-cctools-binutils-darwin-949.0.1' from 'https://cache.nixos.org'...
copying path '/nix/store/8jcizpbxdxg15msi5zpq4yw6rc3m8v1y-openjpeg-2.4.0' from 'https://cache.nixos.org'...
copying path '/nix/store/51qq412z5d64rn85gg3nmnxwvjs1zs96-cctools-binutils-darwin-wrapper-949.0.1' from 'https://cache.nixos.org'...
copying path '/nix/store/67890x6dcq5an7fnhjzy12jgmcskbpwr-openssl-1.1.1l' from 'https://cache.nixos.org'...
copying path '/nix/store/vn148wjd5f92yjbmlbz0rbi195daqc8a-clang-wrapper-7.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/ypddg45px8jss5vib9yvfwyah64ihszd-libssh2-1.10.0' from 'https://cache.nixos.org'...
copying path '/nix/store/clpdyyci5mxwxxzv7ma11mhbzl9wjarv-libtool-2.4.6' from 'https://cache.nixos.org'...
copying path '/nix/store/a9hb0365pmywb651s7ymyjw43zqb5cdb-curl-7.79.1' from 'https://cache.nixos.org'...
copying path '/nix/store/qam0fd3ygh3imdrzq3dfc09lws902lcn-libssh2-1.10.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/5p65pd7cnr8a1qkhm802bj28qpnnajaq-curl-7.79.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/sia74dxywyll3wxf36r8cx45fsr0qrjx-nghttp2-1.43.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/p9hg11hddmm6vq0nknzd0jvmqip6k6xs-p11-kit-0.24.0' from 'https://cache.nixos.org'...
copying path '/nix/store/ksyzyps4mmfpwf1258vap11lg69r1pr4-nghttp2-1.43.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/f3z7577yj3h1vigjzygjjvd8avfmh3a4-perl-5.34.0' from 'https://cache.nixos.org'...
copying path '/nix/store/865wkl305q9idlcrg5fak1h1w7n5dwrk-pixman-0.38.4' from 'https://cache.nixos.org'...
copying path '/nix/store/pi9iaanal3wsqcfib07rpzbngbaga6ij-automake-1.16.3' from 'https://cache.nixos.org'...
copying path '/nix/store/5mhc70rngb37dz2jkaby0cqb8ak73nz4-cairo-1.16.0' from 'https://cache.nixos.org'...
copying path '/nix/store/l6d63k59m5cvwd2iq8ma1f5509czwda3-openssl-1.1.1l-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/f3jcfgd8qm7szpj8gl9nbrszhfa2r8z8-pkg-config-0.29.2' from 'https://cache.nixos.org'...
copying path '/nix/store/la38dxm1j9xc9icp8rn5px4csqvzhjs4-openssl-1.1.1l-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/ynw8k0w28lb7i06m9d188kpvybbvf4hf-pkg-config-wrapper-0.29.2' from 'https://cache.nixos.org'...
copying path '/nix/store/gwz8452bgf1lm7672sq8bvyivfiz3lnd-readline-6.3p08' from 'https://cache.nixos.org'...
copying path '/nix/store/46bqhd7yya2b0sf835kjqv34cznaa7b2-readline-8.1p0' from 'https://cache.nixos.org'...
copying path '/nix/store/3yl2yl13f3ndrx0n44vfp2wbcc91nks9-sqlite-3.36.0' from 'https://cache.nixos.org'...
copying path '/nix/store/1c95f651qqs1kfgamlb091p7nlwnpmkl-bash-interactive-5.1-p12' from 'https://cache.nixos.org'...
copying path '/nix/store/wy0mrp1p2nw3k0jp0b4a6mwz685yvqf7-nss-3.73' from 'https://cache.nixos.org'...
copying path '/nix/store/g70fri1w3mf3gqfal70xmnzk3x7khc48-bash-interactive-5.1-p12-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/ari05gg7k4896afs7cg4fj9cfy8qr1bp-nss-3.73-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/s0kzasnmigg031mmcbchs040prmgbmra-poppler-glib-21.06.1' from 'https://cache.nixos.org'...
copying path '/nix/store/w8lqcsrwlwrvmchj46ph9880w9h4m50a-python3-3.9.6' from 'https://cache.nixos.org'...
copying path '/nix/store/v2z3rk13aja03v3z6rbi32nc7v0p06wf-stdenv-darwin' from 'https://cache.nixos.org'...
copying path '/nix/store/44blw6f9lg9frpwmqp6zlj1a04gjd3ii-xz-5.2.5-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/nb0j3bnywy8cfzam4yavlp6k26yd4410-zlib-1.2.11-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/rqbzwkyvjz5lvzqhxm6khi4pr44451rn-curl-7.79.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/yj922jnfm4p4mhx645slls316653bhis-glib-2.70.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/x3rbz8axlp3yjgkzypj79ddfaaxx842b-libpng-apng-1.6.37-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/j4nm0ljg4fccf3j793nmzgpcif3hh1wm-libtiff-4.3.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/r3y5l2x9swdhw0myrfw4c2l5512y18s1-freetype-2.11.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/hrhmj48qyka7fxb1zy3ryfikkvgrwsag-lcms2-2.12-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/dvgkhqcfg2mz2b2kl4yz20m32y9v26q7-fontconfig-2.13.94-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/qlmzjna31i7w853l02jz5kfkc2734jn5-openjpeg-2.4.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/y37a1fjpra5rmfcwjlgjhi93drc7lf15-cairo-1.16.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/jm89cx125rryr4b0lbckq1ncric9lmpq-poppler-glib-21.06.1-dev' from 'https://cache.nixos.org'...
[nix-shell:~/.emacs.d/site-lisp/pdf-tools/server]$ autoreconf -i -f
configure.ac:15: installing './ar-lib'
configure.ac:11: installing './compile'
configure.ac:78: installing './config.guess'
configure.ac:78: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './depcomp'
[nix-shell:~/.emacs.d/site-lisp/pdf-tools/server]$ echo $HOME
/Users/jason
[nix-shell:~/.emacs.d/site-lisp/pdf-tools/server]$ ./autobuild -i $HOME/.emacs.d/site-lisp/pdf-tools/ --os nixos
these 7 paths will be fetched (51.79 MiB download, 212.97 MiB unpacked):
/nix/store/1kxr6c82y5225hrxb01iq3ybcnjhvfr6-autoconf-2.71
/nix/store/82gh3fgiw0lgdpdmdww47ypxhv5fds22-libmpc-1.2.1
/nix/store/9dxbhs3r7hv3acf374mvkx7aq7gvcp52-gcc-10.3.0-lib
/nix/store/l16c9msrhqxy2m9a6q8dxgl3a3b3pnvk-mpfr-4.1.0
/nix/store/n8c296ds88azm5gs1vdrmcsacpqi3k8s-gcc-wrapper-10.3.0
/nix/store/q25lxsb7bli1wp0yn0rd87gml14r4ilb-expand-response-params
/nix/store/vicydk3qfcjwq0m9lpwn3i9cw0g7g70j-gcc-10.3.0
copying path '/nix/store/1kxr6c82y5225hrxb01iq3ybcnjhvfr6-autoconf-2.71' from 'https://cache.nixos.org'...
copying path '/nix/store/q25lxsb7bli1wp0yn0rd87gml14r4ilb-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/9dxbhs3r7hv3acf374mvkx7aq7gvcp52-gcc-10.3.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/l16c9msrhqxy2m9a6q8dxgl3a3b3pnvk-mpfr-4.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/82gh3fgiw0lgdpdmdww47ypxhv5fds22-libmpc-1.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/vicydk3qfcjwq0m9lpwn3i9cw0g7g70j-gcc-10.3.0' from 'https://cache.nixos.org'...
warning: error: unable to download 'https://cache.nixos.org/nar/1vfc4shz2z11ppsf7dcs22ksk0kbw7ch8ww5n61qq7m7fbqcvah5.nar.xz': HTTP error 200 ('') (curl error: Stream error in the HTTP/2 framing layer); retrying from offset 1050849 in 259 ms
copying path '/nix/store/n8c296ds88azm5gs1vdrmcsacpqi3k8s-gcc-wrapper-10.3.0' from 'https://cache.nixos.org'...
---------------------------
Configuring and compiling
---------------------------
./configure -q --bindir=/Users/jason/.emacs.d/site-lisp/pdf-tools/ && make -s
Is case-sensitive searching enabled ? yes
Is modifying text annotations enabled ? yes
Is modifying markup annotations enabled ? yes
epdfinfo.c:354:19: warning: 'tempnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tempnam(3), it
is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]
filename = tempnam(NULL, "epdfinfo");
^
/nix/store/2dlfw9s2ypb0s245g3yrq29p6rvlwsky-Libsystem-1238.60.2/include/stdio.h:395:1: note: 'tempnam' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tempnam(3), it is highly recommended that ...
^
/nix/store/2dlfw9s2ypb0s245g3yrq29p6rvlwsky-Libsystem-1238.60.2/include/sys/cdefs.h:180:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((deprecated(_msg)))
^
epdfinfo.c:1383:5: warning: 'poppler_page_get_selection_region' is deprecated: Use poppler_page_get_selected_region instead [-Wdeprecated-declarations]
poppler_page_get_selection_region (page, 1.0, POPPLER_SELECTION_GLYPH, region);
^
/nix/store/jm89cx125rryr4b0lbckq1ncric9lmpq-poppler-glib-21.06.1-dev/include/poppler/glib/poppler-page.h:75:134: note: 'poppler_page_get_selection_region' has been explicitly
marked deprecated here
GList *poppler_page_get_selection_region(PopplerPage *page, gdouble scale, PopplerSelectionStyle style, PopplerRectangle *selection) G_GNUC_DEPRECATED_FOR(poppler_page_ge...
^
/nix/store/yj922jnfm4p4mhx645slls316653bhis-glib-2.70.1-dev/include/glib-2.0/glib/gmacros.h:689:18: note: expanded from macro 'G_GNUC_DEPRECATED_FOR'
__attribute__((deprecated("Use " #f " instead"))) \
^
2 warnings generated.
---------------------------
Installing
---------------------------
make -s install
make[1]: Entering directory '/Users/jason/.emacs.d/site-lisp/pdf-tools/server'
/nix/store/ylblikfcniagmbnhckp3fakjkbxqy4zl-coreutils-9.0/bin/mkdir -p '/Users/jason/.emacs.d/site-lisp/pdf-tools'
/nix/store/ylblikfcniagmbnhckp3fakjkbxqy4zl-coreutils-9.0/bin/install -c epdfinfo '/Users/jason/.emacs.d/site-lisp/pdf-tools'
make[1]: Nothing to be done for 'install-data-am'.
make[1]: Leaving directory '/Users/jason/.emacs.d/site-lisp/pdf-tools/server'
===========================
Build succeeded. :O)
===========================
[nix-shell:~/.emacs.d/site-lisp/pdf-tools/server]$ git s
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
epdfinfo
server/config.guess~
server/config.sub~
nothing added to commit but untracked files present (use "git add" to track)
[nix-shell:~/.emacs.d/site-lisp/pdf-tools/server]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment