Changeset 139181 for trunk/dports/math


Ignore:
Timestamp:
Aug 5, 2015, 11:47:39 PM (5 years ago)
Author:
mk@…
Message:

wxmaxima: update to 15.04.0 (closes #48468)

Location:
trunk/dports/math/wxMaxima
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/wxMaxima/Portfile

    r139064 r139181  
    66
    77name            wxMaxima
    8 version         13.04.2
    9 revision        1
     8version         15.04.0
     9revision        0
    1010maintainers     mk openmaintainer
    1111license         gpl
     
    1919master_sites    sourceforge:project/[string tolower ${name}]/${name}/${version}
    2020livecheck.regex (?:[string tolower ${name}]|${name})-(\[a-z0-9.\]+)${extract.suffix}
    21 checksums       rmd160  9712bcd5ea8b84e247591d11634bde71b00f7a3e \
    22                 sha256  29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb
     21checksums       rmd160  04295f10ccd074d7069d00b1a0fe41884817687c \
     22                sha256  0005029798703470333309fda29c731e79c85de1c7fc09b16cb87045a03aa4ba
     23
     24# Upstream changed the distname's spelling some time after 13.x.
     25distname        wxmaxima-${version}
    2326
    2427wxWidgets.use   wxWidgets-3.0
    2528
    2629patchfiles      patch-src_main.cpp.diff \
    27                 patch-src_Config.cpp.diff \
     30                patch-src_Dirstructure.h.diff \
    2831                patch-src_wxMaxima.cpp.diff
    2932
     
    4245
    4346depends_skip_archcheck  maxima
    44 configure.args  --enable-dnd --enable-printing --enable-unicode-glyphs --with-wxdir=${wxWidgets.wxdir}
     47configure.args  --enable-printing --with-wxdir=${wxWidgets.wxdir}
    4548build.target-append wxMaxima.app
    4649
  • trunk/dports/math/wxMaxima/files/patch-src_main.cpp.diff

    r119663 r139181  
    1 --- src/main.cpp.orig   2014-04-25 01:15:35.000000000 +0200
    2 +++ src/main.cpp        2014-04-25 01:16:30.000000000 +0200
    3 @@ -46,6 +46,16 @@
     1--- src/main.cpp.old    2015-07-31 02:08:46.000000000 +0200
     2+++ src/main.cpp        2015-07-31 02:09:17.000000000 +0200
     3@@ -48,6 +48,16 @@
    44 
    55 bool MyApp::OnInit()
     
    1717   int lang = wxLANGUAGE_UNKNOWN;
    1818 
    19  #if defined __WXMSW__
     19   wxCmdLineParser cmdLineParser(argc, argv);
  • trunk/dports/math/wxMaxima/files/patch-src_wxMaxima.cpp.diff

    r119663 r139181  
    1 --- src/wxMaxima.cpp.orig       2014-04-25 01:20:45.000000000 +0200
    2 +++ src/wxMaxima.cpp    2014-04-25 01:20:55.000000000 +0200
    3 @@ -1484,7 +1484,7 @@
     1--- src/wxMaxima.cpp.old        2015-07-31 02:22:52.000000000 +0200
     2+++ src/wxMaxima.cpp    2015-07-31 02:24:21.000000000 +0200
     3@@ -1500,16 +1500,7 @@ wxString wxMaxima::GetCommand(bool param
     4   //Fix wrong" maxima=1" paraneter in ~/.wxMaxima if upgrading from 0.7.0a
    45   if (!have_config || (have_config && command.IsSameAs (wxT("1"))))
    56   {
    6  #if defined (__WXMAC__)
    7 -    command = wxT("/Applications/Maxima.app");
    8 +    command = wxT("maxima");
    9  #else
     7-#if defined (__WXMAC__)
     8-    if (wxFileExists("/Applications/Maxima.app"))
     9-      command = wxT("/Applications/Maxima.app");
     10-    else if (wxFileExists("/usr/local/bin/maxima"))
     11-      command = wxT("/usr/local/bin/maxima");
     12-    else
     13-      command = wxT("maxima");
     14-#else
    1015     command = wxT("maxima");
    11  #endif
     16-#endif
     17     config->Write(wxT("maxima"), command);
     18   }
     19 
Note: See TracChangeset for help on using the changeset viewer.