Ticket #38350: openmaintainer.diff

File openmaintainer.diff, 6.3 KB (added by dliessi (Davide Liessi), 11 years ago)

fix dependencies of ports with openmaintainer

  • gis/gdal/Portfile

    diff --git gis/gdal/Portfile gis/gdal/Portfile
    index bcc3504..291dbd6 100644
    variant odbc description {Enable ODBC support} { 
    283283}
    284284
    285285variant poppler description {Enable poppler support} {
    286     depends_lib-append      port:poppler
    287     configure.args-delete   --without-popper
     286    depends_lib-append      path:lib/libpoppler.dylib:poppler
     287    configure.args-delete   --without-poppler
    288288    configure.args-append   --with-poppler=${prefix}
    289289}
    290290
  • gnome/evince/Portfile

    diff --git gnome/evince/Portfile gnome/evince/Portfile
    index d833f74..53ed610 100644
    depends_lib port:desktop-file-utils \ 
    4040                port:libsecret \
    4141                port:gsettings-desktop-schemas \
    4242                port:gobject-introspection \
    43                 port:poppler \
     43                path:lib/libpoppler.dylib:poppler \
    4444                port:libspectre \
    4545                port:tiff \
    4646                port:texlive-bin \
  • graphics/ipe-tools/Portfile

    diff --git graphics/ipe-tools/Portfile graphics/ipe-tools/Portfile
    index 10e1168..16c7837 100644
    patchfiles patch-pdftoipe-${pdftoipe-vers}-src-xmloutputdev.cpp.dif 
    4848                        patch-svgtoipe-python_path.diff
    4949
    5050depends_build           port:pkgconfig
    51 depends_lib             port:poppler
     51depends_lib             path:lib/libpoppler.dylib:poppler
    5252
    5353use_configure           no
    5454use_parallel_build      no
  • graphics/pdf2djvu/Portfile

    diff --git graphics/pdf2djvu/Portfile graphics/pdf2djvu/Portfile
    index 7b618b3..d134e30 100644
    depends_build port:pkgconfig \ 
    2828                    port:gsed
    2929
    3030depends_lib         port:djvulibre \
    31                     port:poppler \
     31                    path:lib/libpoppler.dylib:poppler \
    3232                    port:libiconv \
    3333                    port:GraphicsMagick \
    3434                    port:libxslt
  • graphics/pdfpc/Portfile

    diff --git graphics/pdfpc/Portfile graphics/pdfpc/Portfile
    index 35b3f94..f4cc55b 100644
    post-fetch { 
    3434depends_build-append    port:vala \
    3535                        port:pkgconfig
    3636depends_lib-append      port:gtk2 \
    37                         port:poppler \
     37                        path:lib/libpoppler.dylib:poppler \
    3838                        port:librsvg \
    3939                        port:libgee06
    4040
  • kde/okular/Portfile

    diff --git kde/okular/Portfile kde/okular/Portfile
    index 1f9fd64..c2649c4 100644
    license_noconflict openssl 
    2929
    3030depends_lib-append  port:kdelibs4 \
    3131                    port:oxygen-icons \
    32                     port:poppler port:libspectre \
     32                    path:lib/libpoppler-qt4.dylib:poppler-qt4 \
     33                    port:libspectre \
    3334                    port:djvulibre port:chmlib \
    3435                    port:ebook-tools port:tiff \
    3536                    port:qca port:qimageblitz \
    3637                    port:freetype port:zlib \
    3738                    port:jpeg
    3839
    39 pre-configure {
    40     if {![file exists ${prefix}/lib/libpoppler-qt4.dylib]} {
    41         return -code error "Poppler must be installed with +qt4\
    42                             and +quartz variants"
    43     }
    44 }
    45 
    4640livecheck.url       http://kde.mirrors.hoobly.com/stable/
    4741livecheck.regex     (\\d+(\\.\\d+)+)
  • print/epdfview/Portfile

    diff --git print/epdfview/Portfile print/epdfview/Portfile
    index a840add..0cb2158 100644
    checksums md5 e50285b01612169b2594fea375f53ae4 
    2020depends_build \
    2121    port:pkgconfig
    2222depends_lib     \
    23     port:poppler \
     23    path:lib/libpoppler.dylib:poppler \
    2424    port:gtk2
    2525
    2626patchfiles      patch-epdfview.h \
  • python/py-python-poppler-qt4/Portfile

    diff --git python/py-python-poppler-qt4/Portfile python/py-python-poppler-qt4/Portfile
    index ed09e7f..5652afb 100644
     
    33
    44PortSystem              1.0
    55PortGroup               python 1.0
    6 PortGroup               active_variants 1.1
    76
    87set original_name       python-poppler-qt4
    98name                    py-${original_name}
    if {${name} ne ${subport}} { 
    2726    depends_build-append    port:pkgconfig
    2827
    2928    # Can use either py*-pyqt4 or py*-pyqt4-devel.
    30     depends_lib-append      port:poppler \
     29    depends_lib-append      path:lib/libpoppler-qt4.dylib:poppler-qt4 \
    3130                            port:qt4-mac \
    3231                            path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 \
    3332                            port:py${python.version}-sip
    3433
    35     require_active_variants poppler {qt4 quartz}
    36 
    3734    post-destroot {
    3835        set doc_dir ${destroot}${prefix}/share/doc/${subport}
    3936        xinstall -d ${doc_dir}
  • textproc/pdf2htmlex/Portfile

    diff --git textproc/pdf2htmlex/Portfile textproc/pdf2htmlex/Portfile
    index 677c5d3..4572143 100644
    checksums rmd160 38507a1abe35ca0e2f1c978ac33770d66c8ba0d7 \ 
    2323
    2424depends_lib-append  port:fontforge \
    2525                    port:pkgconfig \
    26                     port:poppler \
     26                    path:lib/libpoppler.dylib:poppler \
    2727                    port:poppler-data
  • textproc/recoll/Portfile

    diff --git textproc/recoll/Portfile textproc/recoll/Portfile
    index 559bd60..f94033c 100644
    depends_lib port:xapian-core \ 
    3030depends_run         port:antiword \
    3131                    port:catdoc \
    3232                    port:libxslt \
    33                     port:poppler \
     33                    path:lib/libpoppler.dylib:poppler \
    3434                    port:unrtf \
    3535                    port:unzip
    3636
  • x11/auto-multiple-choice/Portfile

    diff --git x11/auto-multiple-choice/Portfile x11/auto-multiple-choice/Portfile
    index 6dd4aae..d45b90e 100644
    depends_run port:p5.12-gtk2 \ 
    4747                        port:p5.12-email-mime \
    4848                        port:p5.12-email-sender \
    4949                        port:sqlite3 \
    50                         port:poppler \
     50                        path:lib/libpoppler.dylib:poppler \
    5151                        port:netpbm \
    5252                        port:librsvg \
    5353                        port:gdk-pixbuf2