Changeset 98293


Ignore:
Timestamp:
Oct 2, 2012, 7:22:34 AM (12 years ago)
Author:
dports@…
Message:

gnuplot: maintainer update to v4.6.1 (#36394)

Location:
trunk/dports/math/gnuplot
Files:
3 deleted
3 edited

Legend:

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

    r97625 r98293  
    66
    77name                        gnuplot
    8 version                     4.6.0
    9 revision                    2
     8version                     4.6.1
    109categories                  math science
    1110# the license has some inconvenient requirements that we're not meeting
     
    3332extract.only                ${distname}.tar.gz
    3433checksums                   ${distname}.tar.gz \
    35                             rmd160  2c06500f45fb81850b45713a2cd0e38f0021b065 \
    36                             sha256  6e60adb5039a3541f407c2ade670004178b376754c424c13f0be24c7960c17be \
     34                            rmd160  2b6fb6c1f1ce60f0bac2cb9b496c45b073ce6bb2 \
     35                            sha256  f4bf99907d0fea7db90b6e50147f1730b5bde2fbb93d9e58478b6b94409eebc6 \
    3736                            ${name}.pdf \
    38                             rmd160  374614145a7b78e263b0cfbb695eb22d07dede9a \
    39                             sha256  57bd4d88e1321968ba06f29dfa322b4cd9e6beb4e0f42e1a4775d9c9a41af170
     37                            rmd160  0ddad32373efab2145fcd0e6e4d4c3e751d535bf \
     38                            sha256  05cec7b49c9b5435ca94f6b4e2f34b07365411a3610bca7eaf73fa9b5475b533
    4039
    4140depends_lib                 port:expat \
     
    5150
    5251patchfiles                  patch-src-variable.c.diff \
     52                            patch-docs-Makefile.in.diff \
    5353                            patch-upstream-compilerwarnings.diff \
    54                             patch-upstream-wxt-scroll.diff \
    55                             patch-upstream-qt.diff \
    56                             patch-configure-qt.diff \
    5754                            patch-configure-aquaterm.diff
    58 
    59 # upstream patches:
    60 #
    61 # - patch-upstream-compilerwarnings.diff
    62 #   2012-03-18 17:30:42 Hans-Bernhard Broeker (cvs commit:broeker)
    63 # - patch-upstream-wxt-scroll.diff
    64 #   2012-02-29 19:29:25 Mojca Miklavec (cvs commit:sfeam)
    65 # - patch-upstream-qt.diff
    66 #   2012-04-01 08:49:45 Jérôme Lodewyck (cvs commit:lodewyck)
    6755
    6856minimum_xcodeversions       {9 3.1}
     
    166154# and were installed straight into ${prefix}/share/texmf/tex/latex/gnuplot
    167155#
    168 # it may be removed after a while; it is only a problem for those who installed
     156# it may be removed in August 2013; it is only a problem for those who installed
    169157# with +tutorial
    170158pre-activate {
  • trunk/dports/math/gnuplot/files/patch-configure-aquaterm.diff

    r96897 r98293  
    1212--- configure.orig
    1313+++ configure
    14 @@ -769,6 +769,7 @@ with_texdir
     14@@ -787,6 +787,7 @@ with_texdir
    1515 with_kpsexpand
    1616 with_x
     
    2020 with_gihdir
    2121 with_linux_vga
    22 @@ -1482,6 +1483,7 @@ Optional Packages:
     22@@ -1509,6 +1510,7 @@ Optional Packages:
    2323   --with-x                use the X Window System
    2424   --with-x-app-defaultdir=DIR       location of X11 application defaults
     
    2828   --with-gihdir=DIR       location of .gih help text file
    2929                           (default PREFIX/share/PACKAGE/VERSION)
    30 @@ -7485,8 +7487,8 @@ fi
     30@@ -8024,8 +8026,8 @@ fi
    3131 rm -f conftest*
    3232 
     
    3939 /* end confdefs.h.  */
    4040 #if defined(__APPLE__) && defined(__MACH__)
    41 @@ -7498,13 +7500,96 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     41@@ -8035,15 +8037,98 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     42 _ACEOF
     43 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4244   $EGREP "yes" >/dev/null 2>&1; then :
    43     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     45-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     46+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4447 $as_echo "yes" >&6; }
    4548-     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aqtInit in -laquaterm" >&5
    4649-$as_echo_n "checking for aqtInit in -laquaterm... " >&6; }
    47 -if test "${ac_cv_lib_aquaterm_aqtInit+set}" = set; then :
     50-if ${ac_cv_lib_aquaterm_aqtInit+:} false; then :
    4851+    is_apple=yes
    4952+else
     
    141144 /* end confdefs.h.  */
    142145 
    143 @@ -7524,33 +7609,32 @@ return aqtInit ();
     146@@ -8063,33 +8148,32 @@ return aqtInit ();
    144147 }
    145148 _ACEOF
     
    158161-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aquaterm_aqtInit" >&5
    159162-$as_echo "$ac_cv_lib_aquaterm_aqtInit" >&6; }
    160 -if test "x$ac_cv_lib_aquaterm_aqtInit" = x""yes; then :
     163-if test "x$ac_cv_lib_aquaterm_aqtInit" = xyes; then :
    161164-   LIBS="-laquaterm $LIBS -framework Foundation"
    162165-       CFLAGS="$CFLAGS -ObjC"
     
    189192 
    190193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BeOS" >&5
    191 @@ -14910,7 +14994,7 @@ else
     194@@ -15496,7 +15580,7 @@ else
    192195 $as_echo "  next terminal: no" >&6; }
    193196 fi
     
    200203--- configure.in.orig
    201204+++ configure.in
    202 @@ -1366,7 +1366,7 @@ else
     205@@ -1370,7 +1370,7 @@ else
    203206   AC_MSG_RESULT([  next terminal: no])
    204207 fi
     
    357360 #import <Foundation/NSAutoreleasePool.h>
    358361 #import <Foundation/NSArray.h>
    359 @@ -356,7 +356,7 @@ AQUA_init()
    360    [adapter openPlotWithIndex:AQUA_plotRef];
    361  
    362    /* Check for support of version-dependent features */
    363 -   AQUA_hasAlphaSupport = [AQTAdapter respondsToSelector:@selector(setColorRed:green:blue:alpha:)];
    364 +   AQUA_hasAlphaSupport = [AQTAdapter instancesRespondToSelector:@selector(setColorRed:green:blue:alpha:)];
    365  
    366    /* set xmax, ymax*/
    367    term->xmax = AQUA_xSize;
  • trunk/dports/math/gnuplot/files/patch-upstream-compilerwarnings.diff

    r92572 r98293  
    11--- src/color.c.orig
    22+++ src/color.c
    3 @@ -515,7 +515,7 @@ cbtick_callback(
     3@@ -517,7 +517,7 @@ cbtick_callback(
    44            if (axis_array[axis].manual_justify)
    55                just = axis_array[axis].label.pos;
     
    1010            if (hrotate)
    1111                (*term->text_angle)(0);
    12 @@ -526,7 +526,7 @@ cbtick_callback(
     12@@ -528,7 +528,7 @@ cbtick_callback(
    1313            if (axis_array[axis].manual_justify)
    1414                just = axis_array[axis].label.pos;         
     
    1919        }
    2020        term_apply_lp_properties(&border_lp);   /* border linetype */
    21 --- src/gplt_x11.c.orig
    22 +++ src/gplt_x11.c
    23 @@ -2897,22 +2897,22 @@ exec_cmd(plot_struct *plot, char *command)
    24  
    25                     case PseudoColor:
    26                         fprintf(stderr, ERROR_NOTICE("PseudoColor"));
    27 -                       fprintf(stderr, display_error_text_after);
    28 +                       fprintf(stderr, "%s", display_error_text_after);
    29                         break;
    30  
    31                     case GrayScale:
    32                         fprintf(stderr, ERROR_NOTICE("GrayScale"));
    33 -                       fprintf(stderr, display_error_text_after);
    34 +                       fprintf(stderr, "%s", display_error_text_after);
    35                         break;
    36  
    37                     case StaticColor:
    38                         fprintf(stderr, ERROR_NOTICE("StaticColor"));
    39 -                       fprintf(stderr, display_error_text_after);
    40 +                       fprintf(stderr, "%s", display_error_text_after);
    41                         break;
    42  
    43                     case StaticGray:
    44                         fprintf(stderr, ERROR_NOTICE("StaticGray"));
    45 -                       fprintf(stderr, display_error_text_after);
    46 +                       fprintf(stderr, "%s", display_error_text_after);
    47                         break;
    48  
    49                     case DirectColor:
    5021--- src/graphics.c.orig
    5122+++ src/graphics.c
    52 @@ -1734,7 +1734,7 @@ do_plot(struct curve_points *plots, int pcount)
     23@@ -1720,7 +1720,7 @@ do_plot(struct curve_points *plots, int pcount)
    5324        ignore_enhanced(axis_array[FIRST_X_AXIS].label.noenhanced);
    5425        apply_pm3dcolor(&(axis_array[FIRST_X_AXIS].label.textcolor), t);
     
    6132--- src/plot2d.c.orig
    6233+++ src/plot2d.c
    63 @@ -2120,7 +2120,7 @@ eval_plots()
     34@@ -2127,7 +2127,7 @@ eval_plots()
    6435 
    6536                    if (this_plot->labels == NULL) {
     
    7041                    }
    7142                    parse_label_options(this_plot->labels);
    72 @@ -2309,7 +2309,7 @@ eval_plots()
     43@@ -2316,7 +2316,7 @@ eval_plots()
    7344            if (this_plot->plot_style == LABELPOINTS) {
    7445                if (this_plot->labels == NULL) {
     
    8152--- src/plot3d.c.orig
    8253+++ src/plot3d.c
    83 @@ -1555,7 +1555,7 @@ eval_3dplots()
     54@@ -1559,7 +1559,7 @@ eval_3dplots()
    8455                    int stored_token = c_token;
    8556                    if (this_plot->labels == NULL) {
     
    9061                    }
    9162                    parse_label_options(this_plot->labels);
     63--- src/wxterminal/wxt_gui.cpp.orig
     64+++ src/wxterminal/wxt_gui.cpp
     65@@ -2692,6 +2692,7 @@ void wxtPanel::wxt_cairo_exec_command(gp_command command)
     66                text_justification_mode = command.mode;
     67                return;
     68        case command_put_text :
     69+       case command_enhanced_put_text :
     70                if (wxt_in_key_sample) {
     71                        int slen = strlen(command.string) * term->h_char * 0.75;
     72                        if (text_justification_mode == RIGHT) slen = -slen;
     73--- term/lua.trm.orig
     74+++ term/lua.trm
     75@@ -872,7 +872,7 @@ LUA_init()
     76 {
     77   fseek(gpoutfile, 0, SEEK_SET);
     78   /* ignore compiler warnings here, because `gpoutfile' is already open */
     79-  if (ftruncate(fileno(gpoutfile), 0));
     80+  (void)ftruncate(fileno(gpoutfile), 0);
     81 
     82   /* reset image counter */
     83   image_cnt = 0;
     84--- term/x11.trm.orig
     85+++ term/x11.trm
     86@@ -617,7 +617,11 @@ X11_options()
     87     /* Leave the current window unchanged when closing an old window */
     88     if (X11_ipc) {
     89        if (set_close) {
     90-           fprintf(X11_ipc, (set_number ? "C%d\n" : "C\n"), new_term_number);
     91+           if (set_number) {
     92+               fprintf(X11_ipc, "C%d\n", new_term_number);
     93+           } else {
     94+               fputs("C\n", X11_ipc);
     95+           }
     96            fflush(X11_ipc);
     97        } else if (set_number) {
     98 #ifdef EXTERNAL_X11_WINDOW
Note: See TracChangeset for help on using the changeset viewer.