Re: IPython 4.0 and Jupyter in MacPorts

2016-01-03 Thread Fielding, Eric J (329A)
Sean,

Thanks!  The jupyter-notebook-3.4 command works for me and starts the
kernel and notebook browser client.

>
>> I only use IPython occasionally, so I just now found out that the new
>>version of IPython 4.0 has major changes, and MacPorts has installed the
>>new version in one of my port upgrades. We used to run ³ipython
>>notebook² to get the notebook version of IPython, but this has been
>>removed and we are supposed to use a new program called Jupyter. I
>>installed what I guessed is required to use Jupyter with port install
>>py34-jupyter and py34-ipykernel.
>>
>> Is there something else I need to install to be able to run the new
>>command ³jupyter notebook²? The ³jupyter² program is not in my path. I
>>found /opt/local/bin/jupyter-3.4, but ³jupyter-3.4 notebook² says it
>>does not know ³notebook².
>
>Looks like we need a `port select` group for the jupyter binaries. As
>for you issue, it appears to be this bug:
>
>https://github.com/jupyter/notebook/issues/448
>
>which looks like the next release will fix.
>
>For now, you can run jupyter-notebook-3.4 (assuming py34-notebook is
>installed).
>
>> The Jupyter documentation
>>(http://jupyter.readthedocs.org/en/latest/install.html) says to use pip
>>to install Jupyter, but I understand that this will likely mess up the
>>MacPorts installation.
>
>Correct, please don't do that.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: IPython 4.0 and Jupyter in MacPorts

2016-01-03 Thread Sean Farley

Fielding, Eric J (329A)  writes:

> I only use IPython occasionally, so I just now found out that the new version 
> of IPython 4.0 has major changes, and MacPorts has installed the new version 
> in one of my port upgrades. We used to run “ipython notebook” to get the 
> notebook version of IPython, but this has been removed and we are supposed to 
> use a new program called Jupyter. I installed what I guessed is required to 
> use Jupyter with port install py34-jupyter and py34-ipykernel.
>
> Is there something else I need to install to be able to run the new command 
> “jupyter notebook”? The “jupyter” program is not in my path. I found 
> /opt/local/bin/jupyter-3.4, but “jupyter-3.4 notebook” says it does not know 
> “notebook”.

Looks like we need a `port select` group for the jupyter binaries. As
for you issue, it appears to be this bug:

https://github.com/jupyter/notebook/issues/448

which looks like the next release will fix.

For now, you can run jupyter-notebook-3.4 (assuming py34-notebook is
installed).

> The Jupyter documentation 
> (http://jupyter.readthedocs.org/en/latest/install.html) says to use pip to 
> install Jupyter, but I understand that this will likely mess up the MacPorts 
> installation.

Correct, please don't do that.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


IPython 4.0 and Jupyter in MacPorts

2016-01-03 Thread Fielding, Eric J (329A)
I only use IPython occasionally, so I just now found out that the new version 
of IPython 4.0 has major changes, and MacPorts has installed the new version in 
one of my port upgrades. We used to run “ipython notebook” to get the notebook 
version of IPython, but this has been removed and we are supposed to use a new 
program called Jupyter. I installed what I guessed is required to use Jupyter 
with port install py34-jupyter and py34-ipykernel.

Is there something else I need to install to be able to run the new command 
“jupyter notebook”? The “jupyter” program is not in my path. I found 
/opt/local/bin/jupyter-3.4, but “jupyter-3.4 notebook” says it does not know 
“notebook”.

The Jupyter documentation 
(http://jupyter.readthedocs.org/en/latest/install.html) says to use pip to 
install Jupyter, but I understand that this will likely mess up the MacPorts 
installation.

Thanks,
++Eric

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Installing Pidgin 2.10.11_4+x11 on PPC Powerbook G4 running 10.5.8

2016-01-03 Thread Ryan Schmidt

On Jan 3, 2016, at 1:26 AM, John T. Chung wrote:
> 
> port install xorg-server returned an error, see below:
> 
> --->  Attempting to fetch xorg-server-1.17.4.tar.bz2 from 
> http://jog.id.distfiles.macports.org/macports/mpdistfiles/xorg-server
> --->  Attempting to fetch xorg-server-1.17.4.tar.bz2 from 
> http://cjj.kr.distfiles.macports.org/xorg-server
> --->  Verifying checksums for xorg-server 
>
> --->  Extracting xorg-server
> --->  Applying patches to xorg-server
> --->  Configuring xorg-server
> Error: Failed to configure xorg-server, consult 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server/xorg-server/work/xorg-server-1.17.4/config.log
> Error: org.macports.configure for port xorg-server returned: configure 
> failure: command execution failed
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port xorg-server failed
> sh-3.2# vi 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server/xorg-server/work/xorg-server-1.17.4/config.log
> sh-3.2# vi 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server/xorg-server/work/xorg-server-1.17.4/config.log
> 
> sh-3.2# tail 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server/xg-server/work/xorg-server-1.17.4/config.log
> #define VENDOR_RELEASE (((1) * 1000) + ((17) * 10) + ((4) * 1000) + 0)
> #define VENDOR_MAN_VERSION "Version 1.17.4"
> #define NO_LIBCWRAPPER 1
> #define XTEST 1
> #define XSYNC 1
> #define XCMISC 1
> #define BIGREQS 1
> #define HAVE_SHA1_IN_COMMONCRYPTO 1
> 
> configure: exit 1

This thread was about a pidgin error. That's an xorg-server error. You should 
file a bug report in the issue tracker, assuming one has not already been filed 
for this issue.


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: XFCE, Gnome

2016-01-03 Thread Anders F Björklund
3 jan 2016 kl. 01.35 skrev David Evans:
> On 1/2/16 6:25 AM, Pierre Henri CHAUDOUARD wrote:

>> OS X 10.11.2, Xcode 7.2.
>> 
>> Has anyone managed to install xfce ? For me, the installation fails at the 
>> package xfconf ...

The old ports for Xfce 4.6 and the (unreleased) Xfce 4.8 hadn't been touched in 
years.
After PureDarwin, there just wasn't any motivation. Easier to just run FreeBSD 
instead ?

Anyway, now the ports *have* been updated to the latest version Xfce 4.12 so 
"should" work.
This includes the desktop, with Thunar and Terminal. See screenshot from 
XQuartz on Mavericks:

http://trac.macports.org/wiki/Xfce

>> I have installed gnome. However I am unable to launch a gnome-session. What 
>> are the 'right' configuration files ?
> 
> There have been a lot of changes with gnome-session and the gnome desktop 
> evironment in general and the old method of
> launching a gnome session on OS X doesn't work anymore.  This is largely to 
> do with gnome-shell requiring X11
> compositing features that are not likely to be implemented in the Apple X11 
> server any time soom.

It seems like the dbus session scripts aren't too good about using launchd, as 
in #41506 (et al).
Ported the same workaround to xfce4-session, instead of complaining about 
$DBUS_SESSION_BUS_ADDRESS

Then again launching a gnome session on Linux (without composing) hardly works 
anymore, either...
Also posted a fix for VTE (from FreeBSD), since it was trying to use getpt 
instead of posix_openpt.

http://trac.macports.org/browser/trunk/dports/xfce/vte-gtk2-xfce/files/patch-getpt.diff?rev=144133

I have disabled some "features" too. Way too much bloat, with the gtk3 and 
py27-numpy dependencies!

> There's been some renewed work upstream on a gnome-flashback (previously 
> known as gnome-fallback) session that works
> around this but it's definitely a work in progress. If you'll file a ticket 
> against gnome-session, I'll up the priority
> on this issue and provide some status on the current situation and progress 
> as it occurs.

Seems like it would be easier with something like MATE, since it's not the same 
GNOME anymore.
Like in FreeBSD (x11/gnome2) ? The MacPorts wiki page could use some updating 
too, it seems:

http://trac.macports.org/wiki/GNOME

--anders
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users