Ticket #30540: patch-ipe-7.0.14-to-7.1.1.diff

File patch-ipe-7.0.14-to-7.1.1.diff, 5.1 KB (added by maehne (Torsten Maehne), 13 years ago)

Patch to update port ipe from 7.0.14 to 7.1.1

  • Portfile

    diff -r -u ipe_orig/Portfile ipe/Portfile
    old new  
    1 # $Id: Portfile 81638 2011-08-03 08:02:29Z ryandesign@macports.org $
     1# $Id$
    22
    33PortSystem 1.0
    44PortGroup               qt4 1.0
    55
    66name                    ipe
    7 version                 7.0.14
     7version                 7.1.1
    88revision                1
    99categories              graphics
    10 maintainers             jacobs-university.de:m.thon
     10maintainers             jacobs-university.de:m.thon openmaintainer
    1111description             The Ipe extensible drawing editor
    1212long_description        \
    1313                        Ipe is a drawing editor for creating figures in PDF or \
     
    2121distname                ${name}-${version}-src
    2222worksrcdir              ${name}-${version}/src
    2323
    24 checksums               sha1    a9b744120019248a405caab63e88664258242151 \
    25                         rmd160  4f819bd7740e875170e66c4fa4431aad6cb4c835
     24checksums               md5     0b15be5a0c12274c36e2805c0da94e27 \
     25                        sha1    a4e85a50c0488721d68eb10bf3f8c5b3c99d4689 \
     26                        rmd160  0dc1cd8204084751f979b941acb3769b9ea52fa5
    2627
    2728depends_lib-append      port:freetype \
    2829                        path:lib/pkgconfig/cairo.pc:cairo \
    2930                        port:lua \
    3031                        port:zlib
    3132
    32 patchfiles              patch-common.mak.diff \
    33                         patch-config.mak.diff \
    34                         patch-ipe-lua-prefs.lua.diff
     33patchfiles              patch-include-ipepswriter.h.diff \
     34                        patch-ipe-uilua.cpp.diff
     35
    3536use_configure           no
    3637
    3738build.env               CXXFLAGS="${configure.cxx_archflags}" \
    3839                        LDFLAGS="${configure.ld_archflags}"
    3940
    4041build.args              IPEPREFIX=${prefix} \
     42                        FREETYPE_CFLAGS="[exec pkg-config --cflags freetype2]" \
     43                        CAIRO_CFLAGS="[exec pkg-config --cflags cairo]" \
     44                        CAIRO_LIBS="[exec pkg-config --libs cairo]" \
     45                        LUA_CFLAGS="[exec pkg-config --cflags lua]" \
     46                        LUA_LIBS="[exec pkg-config --libs lua]" \
     47                        QT_CFLAGS="[exec pkg-config --cflags QtGui QtCore]" \
     48                        QT_LIBS="[exec pkg-config --libs QtGui QtCore]" \
    4149                        MOC=${qt_moc_cmd} \
    4250                        CXX=${configure.cxx}
    4351
  • files/Info.plist.in

    diff -r -u ipe_orig/files/Info.plist.in ipe/files/Info.plist.in
    old new  
    22<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    33<plist version="1.0">
    44<dict>
     5        <key>CFBundleDocumentTypes</key>
     6        <array>
     7                <dict>
     8                        <key>CFBundleTypeName</key>
     9                        <string>Ipe figure</string>
     10                        <key>CFBundleTypeIconFile</key>
     11                        <string>ipe.icns</string>
     12                        <key>LSHandlerRank</key>
     13                        <string>Owner</string>
     14                        <key>CFBundleTypeRole</key>
     15                        <string>Editor</string>
     16                        <key>CFBundleTypeExtensions</key>
     17                        <array>
     18                                <string>ipe</string>
     19                                <string>IPE</string>
     20                        </array>
     21                </dict>
     22                <dict>
     23                        <key>CFBundleTypeName</key>
     24                        <string>Postscript document</string>
     25                        <key>CFBundleTypeIconFile</key>
     26                        <string>ipe.icns</string>
     27                        <key>LSHandlerRank</key>
     28                        <string>Alternate</string>
     29                        <key>CFBundleTypeRole</key>
     30                        <string>Editor</string>
     31                        <key>CFBundleTypeExtensions</key>
     32                        <array>
     33                                <string>eps</string>
     34                                <string>EPS</string>
     35                        </array>
     36                </dict>
     37                <dict>
     38                        <key>CFBundleTypeName</key>
     39                        <string>PDF document</string>
     40                        <key>CFBundleTypeIconFile</key>
     41                        <string>ipe.icns</string>
     42                        <key>LSHandlerRank</key>
     43                        <string>Alternate</string>
     44                        <key>CFBundleTypeRole</key>
     45                        <string>Editor</string>
     46                        <key>CFBundleTypeExtensions</key>
     47                        <array>
     48                                <string>pdf</string>
     49                                <string>PDF</string>
     50                        </array>
     51                        <key>CFBundleTypeMIMETypes</key>
     52                        <array>
     53                                <string>application/pdf</string>
     54                        </array>
     55                </dict>
     56        </array>
    557        <key>CFBundleDevelopmentRegion</key>
    658        <string>English</string>
    759        <key>CFBundleExecutable</key>
     
    1971        <key>CFBundleShortVersionString</key>
    2072        <string>@VERSION@</string>
    2173        <key>CFBundleSignature</key>
    22         <string>????</string>
     74        <string>Ipe7</string>
    2375        <key>CFBundleVersion</key>
    2476        <string>@VERSION@</string>
     77        <key>NSHumanReadableCopyright</key>
     78        <string>Copyright (C) 1993-2011  Otfried Cheong</string>
    2579</dict>
    2680</plist>
  • files/ipe.in

    diff -r -u ipe_orig/files/ipe.in ipe/files/ipe.in
    old new  
    11#!/bin/sh
    2 
    3 PATH="@PREFIX@/bin:$PATH" "@PREFIX@/bin/ipe"
     2PATH="@PREFIX@/bin:${PATH}"
     3if [[ -d /usr/texbin ]]; then
     4  PATH="/usr/texbin:${PATH}"
     5fi
     6"@PREFIX@/bin/ipe"