On Thu, 7 Sep 2017, Stuart Henderson wrote:

> On 2017/09/07 12:45, Jérôme KASPER wrote:
> > Hi ports,
> > 
> > attached an update to wxWidgets 3.0.3.1 .
> > 
> > improvements :
> > - Switch to github 
> > - unified package instead of -main, -media
> > - dependancies upgraded to GTK+3 , SDL2 and gstreamer1
> > 
> > built on AMD64. This is my first port work so there might be mistakes 
> > lasting.
> > Any comments welcome.
> > 
> > Best regards,
> > Jerome KASPER
> 
> You picked a bit of a challenge for first ports work, I think!
> 
> A number of other ports use wxWidgets and would need testing with the
> update:
> 
> $ sqlite3 /usr/local/share/sqlports 
> SQLite version 3.20.0 2017-08-01 13:24:15
> Enter ".help" for usage hints.
> sqlite> select distinct fullpkgpath from depends where dependspath like 
> 'x11/wxWidgets%';
> audio/audacity
> cad/kicad,-main
> databases/pgadmin3
> devel/codeblocks
> devel/p5-Alien-wxWidgets
> devel/poedit
> devel/rapidsvn
> games/golly
> games/megaglest/base
> games/scorched3d
> games/scummvm-tools
> geo/spatialite/gis
> geo/spatialite/gui
> geo/spatialite/librewms
> graphics/delaboratory
> graphics/discwrapper
> graphics/hugin
> lang/erlang/16,-wx
> lang/erlang/17,-wx
> lang/erlang/18,-wx
> lang/erlang/19,-wx
> math/wxMaxima
> misc/rocrail,-gui
> multimedia/dvdstyler
> net/amule,-daemon
> net/amule,-main
> net/amule,-web
> net/dysnomia
> net/filezilla
> telephony/iaxclient,-iaxcomm
> x11/nx/opennx
> x11/p5-Wx
> x11/py-wxPython
> x11/wxSVG
> x11/wxWidgets,-media
> x11/wxWidgets,-main
> x11/xchm
> 
> .. there are quite a few changes compared to 2.x (see
> http://docs.wxwidgets.org/3.0.0/overview_changes_since28.html)
> so my understanding is that it's likely to need work on the ports
> using it.
> 
> (Also note we're gearing up to release now, it's definitely too late
> for a change like this, or even spending much time looking at it,
> until after 6.2 is done).
> 
> wxmaxima /home/austin/mail/ports 22559

wxMaxima, mentioned above, works fine for me although it is marked broken, 
both in current and in 6.2 stable.  

I first reported to ports on 18 June 2017 that wxMaxima, works fine for me 
in 6.0, if I remove the "broken" line in the Makefile.

More recently, upgrading 6.0 -> 6.1 -> 6.2, I found I had to delete that 
package, once again remove the "broken" line, then re-make/install.

So it is still the case for me, using ports from 6.2 stable, on a 
release version of 6.2, wxMaxima works great.

Studying solar power for our farm, taking an Edx.org course at xDelf, the 
following script earns me a correct couple of points in the problem sets
at the end of week two...  

Using 4 wxMaxima  "cells", script, including comments, are entirely 
mine...

/* [ Created with wxMaxima version 12.09.0 ] */

/* [wxMaxima: input   start ] */
"AQ2.5.1";   /* Diffusion current for a p-n junction */
dn: n1-n2;   /* Electron density variation near depletion zone over dx */
Jdiff[e]: (q*De*dn)/dx;

" AQ2.5.2 ";  /* Diffusion current vs drift current at equilibrium */  
Jdrift[e]: n3*q*mu[e]*E;  /* Drift current of electrons due to electric field E 
*/
eq1: Jdrift[e] = Jdiff[e];  /* If both opposing currents are at equilibrium */
solve(eq1,E);               /* Solve for electric field in volts per cm */
"End cell one";
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
/* Calculate an example E-field at equilibrium near n side of p-n junction */
/* Majority charge carriers would be electrons, minority carriers would be 
holes */
/* Electron densities are per cm^3 */
/* Note: example dx is 2 micrometers */

q:  1.6e-19;    /* Charge of an electron in Coulombs */
De: 36;         /* Electron diffusion in cm^2/second */
n1: 2.7e+16;    /* Electron density away from depletion zone */
n2: 1.0e+15;    /* Electron density near depletion zone */
dx: 100.0*2e-6; /* Width of presumed linear density gradient in cm */ 
n3: n2;         /* Highest E-field strength would be nearest low density */
mu[e]: 1350;    /* Electron mobility in cm^2 per volt per second */
"End cell two";
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
/* Using solution for E from first Cell above */
E=-(De*n2-De*n1)/(dx*mu[e]*n3);
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
/* Simplifying somewhat for max E field strength -- same answer */
E = (De/mu[e])*(n1/n2-1)/dx;
/* [wxMaxima: input   end   ] */

/* Maxima can't load/batch files which end with a comment! */
"Created with wxMaxima"$
 

Reply via email to