Index: head/print/Makefile =================================================================== --- head/print/Makefile (revision 460707) +++ head/print/Makefile (revision 460708) @@ -1,273 +1,274 @@ # $FreeBSD$ # COMMENT = Desktop publishing SUBDIR += R-cran-knitr SUBDIR += a2pdf SUBDIR += a2ps SUBDIR += abcm2ps SUBDIR += adobe-cmaps SUBDIR += afm SUBDIR += alignmargins SUBDIR += ansiprint SUBDIR += apsfilter SUBDIR += asprint SUBDIR += auctex SUBDIR += bibcursed SUBDIR += biblio-py SUBDIR += bibview SUBDIR += c2ps SUBDIR += catdvi SUBDIR += cdlabelgen SUBDIR += cloudprint SUBDIR += cups SUBDIR += cups-bjnp SUBDIR += cups-cloud-print SUBDIR += cups-connector SUBDIR += cups-filters SUBDIR += cups-fxlinuxprint SUBDIR += cups-pdf SUBDIR += cups-pk-helper SUBDIR += cups-smb-backend SUBDIR += deforaos-pdfviewer SUBDIR += derelict-ft SUBDIR += detex SUBDIR += dot2tex SUBDIR += dvi2tty SUBDIR += dvips2ascii SUBDIR += dvisvg SUBDIR += dymo-cups-drivers SUBDIR += easylatex SUBDIR += enscript-a4 SUBDIR += enscript-letter SUBDIR += enscript-letterdj SUBDIR += epson-inkjet-printer-201401w SUBDIR += epson-inkjet-printer-201601w SUBDIR += epson-inkjet-printer-escpr SUBDIR += epsonepl SUBDIR += fig2dev SUBDIR += flpsed SUBDIR += font-amsfonts SUBDIR += font2svg SUBDIR += fontforge SUBDIR += foo2zjs SUBDIR += foomatic-db SUBDIR += foomatic-db-engine SUBDIR += foomatic-db-hpijs SUBDIR += foomatic-filters SUBDIR += foxitreader SUBDIR += fpdf SUBDIR += freetype SUBDIR += freetype2 SUBDIR += frescobaldi SUBDIR += ft2demos SUBDIR += ggv SUBDIR += ghostscript7-base SUBDIR += ghostscript7-commfont SUBDIR += ghostscript7-jpnfont SUBDIR += ghostscript7-korfont SUBDIR += ghostscript7-x11 SUBDIR += ghostscript8-base SUBDIR += ghostscript8-x11 SUBDIR += ghostscript9-agpl-base SUBDIR += ghostscript9-agpl-x11 SUBDIR += ghostscript9-base SUBDIR += ghostscript9-x11 SUBDIR += gimp-gutenprint SUBDIR += gl2ps SUBDIR += gnome-cups-manager SUBDIR += gnomephotoprinter SUBDIR += gribouy SUBDIR += gsfonts SUBDIR += gspdf SUBDIR += gsview SUBDIR += gtklp SUBDIR += gutenprint SUBDIR += gv SUBDIR += harfbuzz SUBDIR += harfbuzz-icu SUBDIR += hp2xx SUBDIR += hpijs SUBDIR += hplip SUBDIR += hplip-plugin SUBDIR += hs-hscolour SUBDIR += html2latex SUBDIR += html2ps SUBDIR += hyperlatex SUBDIR += indexinfo SUBDIR += jabref SUBDIR += kde4-print-manager SUBDIR += kde_poster SUBDIR += kover SUBDIR += kpdftool SUBDIR += latex-beamer SUBDIR += latex-biber SUBDIR += latex-ltablex SUBDIR += latex-resume SUBDIR += latex2rtf SUBDIR += latexdiff SUBDIR += lgrind SUBDIR += libgnomecups SUBDIR += libgnomeprint SUBDIR += libgnomeprint-reference SUBDIR += libgnomeprintmm SUBDIR += libharu SUBDIR += libijs SUBDIR += libmspub01 SUBDIR += libotf SUBDIR += libpagemaker SUBDIR += libpaper SUBDIR += libppd SUBDIR += libspectre SUBDIR += lilypond SUBDIR += lilypond-devel SUBDIR += linux-c6-cups-libs SUBDIR += linux-c7-cups-libs SUBDIR += linux-c7-harfbuzz SUBDIR += lout SUBDIR += lpr-wrapper SUBDIR += lprps SUBDIR += lyx SUBDIR += magicfilter SUBDIR += makeindex SUBDIR += mftrace SUBDIR += min12xxw SUBDIR += mp-a4 SUBDIR += mp-letter SUBDIR += mpage SUBDIR += muttprint SUBDIR += nenscript SUBDIR += okc321 SUBDIR += openprinting SUBDIR += p5-Font-FreeType SUBDIR += p5-Net-CUPS SUBDIR += p5-Net-Printer SUBDIR += p5-PDF-Template SUBDIR += p5-PDFLib SUBDIR += p5-PostScript SUBDIR += p5-PostScript-PPD SUBDIR += p5-PostScript-Simple SUBDIR += p5-Text-PDF SUBDIR += p5-XML-ApacheFOP SUBDIR += p5-XML-Handler-AxPoint SUBDIR += p910nd SUBDIR += panda SUBDIR += papersize-default-a4 SUBDIR += papersize-default-letter SUBDIR += paps SUBDIR += pcal SUBDIR += pdf-renderer + SUBDIR += pdf-tools SUBDIR += pdf4tcl SUBDIR += pdfbox SUBDIR += pdfcube SUBDIR += pdflib SUBDIR += pdflib-perl SUBDIR += pdfstitch SUBDIR += pdftk SUBDIR += pear-File_PDF SUBDIR += pecl-haru SUBDIR += pecl-pdflib SUBDIR += pecl-ps SUBDIR += pfbtopfa SUBDIR += photoprint SUBDIR += pic2fig SUBDIR += pkfonts118 SUBDIR += pkfonts240 SUBDIR += pkfonts300 SUBDIR += pkfonts360 SUBDIR += pkfonts400 SUBDIR += pkfonts600 SUBDIR += pkipplib SUBDIR += pkpgcounter SUBDIR += pmw SUBDIR += pnm2ppa SUBDIR += poster SUBDIR += ps2eps SUBDIR += pscal SUBDIR += psdim SUBDIR += pslib SUBDIR += pstotext SUBDIR += psutils SUBDIR += py-fonttools SUBDIR += py-fpdf SUBDIR += py-pdf SUBDIR += py-pdf2 SUBDIR += py-pollyreports SUBDIR += py-preppy SUBDIR += py-pycups SUBDIR += py-pyscript SUBDIR += py-python-ly SUBDIR += py-qt5-printsupport SUBDIR += py-relatorio SUBDIR += py-reportlab SUBDIR += py-reportlab1 SUBDIR += py-rtf SUBDIR += py-stapler SUBDIR += py-trml2pdf SUBDIR += qpdf SUBDIR += qpdfview SUBDIR += qt5-printsupport SUBDIR += rlpr SUBDIR += rprint SUBDIR += rtf2latex2e SUBDIR += rubygem-afm SUBDIR += rubygem-color SUBDIR += rubygem-color-tools SUBDIR += rubygem-pdf-core SUBDIR += rubygem-pdf-reader SUBDIR += rubygem-pdf-writer SUBDIR += rubygem-prawn SUBDIR += rubygem-prawn-core SUBDIR += rubygem-prawn-flexible-table SUBDIR += rubygem-prawn-format SUBDIR += rubygem-prawn-graph SUBDIR += rubygem-prawn-js SUBDIR += rubygem-prawn-layout SUBDIR += rubygem-prawn-security SUBDIR += rubygem-prawn-svg SUBDIR += rubygem-prawn_shapes SUBDIR += rubygem-rbpdf SUBDIR += rubygem-rbpdf-font SUBDIR += rubygem-ttfunk SUBDIR += scribus SUBDIR += sgf2tex SUBDIR += splix SUBDIR += system-config-printer SUBDIR += t1utils SUBDIR += tex-aleph SUBDIR += tex-basic-engines SUBDIR += tex-dvipdfmx SUBDIR += tex-dvipsk SUBDIR += tex-formats SUBDIR += tex-jadetex SUBDIR += tex-luatex SUBDIR += tex-ptexenc SUBDIR += tex-xdvik SUBDIR += tex-xetex SUBDIR += tex-xmltex SUBDIR += texinfo SUBDIR += texlive-base SUBDIR += texlive-docs SUBDIR += texlive-full SUBDIR += texlive-texmf SUBDIR += texlive-texmf-source SUBDIR += texlive-tlmgr SUBDIR += texvc SUBDIR += tgif2tex SUBDIR += transfig SUBDIR += trueprint SUBDIR += ttf2pt1 SUBDIR += ttfquery SUBDIR += ttftot42 SUBDIR += txtbdf2ps SUBDIR += typetools SUBDIR += utopia SUBDIR += xfce4-print SUBDIR += xmbibtex SUBDIR += xpdfopen SUBDIR += xpp SUBDIR += xtexsh SUBDIR += yatex .include Index: head/print/pdf-tools/Makefile =================================================================== --- head/print/pdf-tools/Makefile (nonexistent) +++ head/print/pdf-tools/Makefile (revision 460708) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= pdf-tools +DISTVERSIONPREFIX= v +DISTVERSION= 0.80-79 +DISTVERSIONSUFFIX= -g9241a79 +CATEGORIES= print +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= jrm@FreeBSD.org +COMMENT= Emacs support library for PDF files + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= cask${EMACS_PKGNAMESUFFIX}>0:devel/cask@${EMACS_FLAVOR} \ + tablist${EMACS_PKGNAMESUFFIX}>=0.70.4:devel/tablist@${EMACS_FLAVOR} +LIB_DEPENDS= libpng16.so:graphics/png \ + libpoppler.so:graphics/poppler \ + libpoppler-glib.so:graphics/poppler-glib +RUN_DEPENDS= ImageMagick>=6.9.9.28,1:graphics/ImageMagick \ + tablist${EMACS_PKGNAMESUFFIX}>=0.70:devel/tablist@${EMACS_FLAVOR} + +USES= autoreconf:build emacs gettext-runtime gmake +EMACS_FLAVORS_EXCLUDE= nox devel_nox +USE_GITHUB= yes +GH_ACCOUNT= politza +USE_GNOME= cairo glib20 + +do-build: + cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make + ${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp -f batch-byte-compile \ + ${WRKSRC}/lisp/*.el + ${EMACS_CMD} -q --batch \ + --eval "(setq generated-autoload-file \ + \"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \ + backup-inhibited t)" \ + -f batch-update-autoloads ${WRKSRC}/lisp + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/server/epdfinfo ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lisp/* ${FILESDIR}/${PORTNAME}-init.el \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} + +.include Property changes on: head/print/pdf-tools/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/pdf-tools/distinfo =================================================================== --- head/print/pdf-tools/distinfo (nonexistent) +++ head/print/pdf-tools/distinfo (revision 460708) @@ -0,0 +1,3 @@ +TIMESTAMP = 1515623300 +SHA256 (politza-pdf-tools-v0.80-79-g9241a79_GH0.tar.gz) = 5be877c0307105cdf211eb534a59199d58223f77a16347187052111e52616f9f +SIZE (politza-pdf-tools-v0.80-79-g9241a79_GH0.tar.gz) = 416569 Property changes on: head/print/pdf-tools/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/pdf-tools/files/pdf-tools-init.el =================================================================== --- head/print/pdf-tools/files/pdf-tools-init.el (nonexistent) +++ head/print/pdf-tools/files/pdf-tools-init.el (revision 460708) @@ -0,0 +1,4 @@ +(load "pdf-tools-loaddefs.el") +(autoload 'pdf-view-mode "pdf-tools") +(add-to-list 'auto-mode-alist '("\\.[pP][dD][fF]\\'" . pdf-view-mode)) +(add-hook 'pdf-view-mode-hook 'pdf-tools-enable-minor-modes) Property changes on: head/print/pdf-tools/files/pdf-tools-init.el ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/print/pdf-tools/pkg-descr =================================================================== --- head/print/pdf-tools/pkg-descr (nonexistent) +++ head/print/pdf-tools/pkg-descr (revision 460708) @@ -0,0 +1,13 @@ +PDF Tools is, among other things, a replacement of Emacs's DocView for PDF +files. The key difference is that pages are not pre-rendered by +e.g. ghostscript and stored in the file-system, but rather created on-demand and +stored in memory. This rendering is performed by a special library named, for +whatever reason, poppler, running inside a server program. This program is +called epdfinfo and its job is to successively read requests from Emacs and +produce the proper results, i.e. the PNG image of a PDF page. + +Actually, displaying PDF files is just one part of PDF Tools. Since poppler can +provide us with all kinds of information about a document and is also able to +modify it, there is a lot more we can do with it. + +WWW: https://github.com/politza/pdf-tools Property changes on: head/print/pdf-tools/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/pdf-tools/pkg-message =================================================================== --- head/print/pdf-tools/pkg-message (nonexistent) +++ head/print/pdf-tools/pkg-message (revision 460708) @@ -0,0 +1,5 @@ +############################################ +Add this line to your Emacs initialization. + +(load "pdf-tools-init.el") +############################################ Property changes on: head/print/pdf-tools/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/print/pdf-tools/pkg-plist =================================================================== --- head/print/pdf-tools/pkg-plist (nonexistent) +++ head/print/pdf-tools/pkg-plist (revision 460708) @@ -0,0 +1,33 @@ +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-annot.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-annot.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-cache.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-cache.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-dev.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-dev.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-history.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-history.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-info.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-info.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-isearch.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-isearch.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-links.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-links.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-misc.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-misc.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-occur.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-occur.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-outline.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-outline.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-sync.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-sync.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-tools-init.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-tools-loaddefs.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-tools.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-tools.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-util.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-util.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-view.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-view.elc +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-virtual.el +%%EMACS_SITE_LISPDIR%%/pdf-tools/pdf-virtual.elc +bin/epdfinfo Property changes on: head/print/pdf-tools/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property