Re: Inkscape 0.92.0 now available on MacPorts

2017-01-27 Thread Barry Scott

> On 4 Jan 2017, at 23:32, David Evans  wrote:
> 
> Inkscape 0.92.0 is now available via MacPorts both as an X11 build and as a 
> native Quartz build.
> 
> If you have MacPorts installed you can build the X11 version using
> 
> sudo port install inkscape
> 
> or the Quartz version using
> 
> sudo port install inkscape +quartz

--->  Computing dependencies for inkscape
The following dependencies will be installed:
 autoconf-archive
 cppunit
 ctags
 fop
 gnome-common
 gtk-doc
 gtkmm
 gtkspell2
 intltool
 itstool
 libcdr-0.1
 libexif
 librevenge
 libvisio-0.1
 libwpd-0.10
 libwpg-0.3
 openjade
 p5.24-getopt-long
 p5.24-pathtools
 p5.24-scalar-list-utils
 potrace
 py27-libxml2
 py27-lxml
 source-highlight
Continue? [Y/n]: Y
--->  Fetching archive for gtkmm
Error: Failed to archivefetch gtkmm: gtk2 must be installed with +quartz.
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/main.log
 for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port inkscape failed

I guess a missing dependency on gtk2 somewhere?

Barry



Re: [MacPorts-announce] MacPorts 2.4.0 has been released

2017-01-27 Thread Eneko Gotzon
On Fri, Jan 27, 2017 at 8:23 AM, Joshua Root  wrote:

> the 2.4.0 version has now
> ​
> been released…
>

​Thank you very much.

-- 
Eneko Gotzon Ares
enekogot...@gmail.com


Re: Inkscape 0.92.0 now available on MacPorts

2017-01-27 Thread Brandon Allbery
On Fri, Jan 27, 2017 at 6:33 AM, Barry Scott  wrote:

> Error: Failed to archivefetch gtkmm: gtk2 must be installed with +quartz.
> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_
> sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a bug.
> Error: Processing of port inkscape failed
>
> I guess a missing dependency on gtk2 somewhere?
>

No, it means you already have gtk2 installed but with +x11 (which is the
default). Sadly gtk2 does not support having both x11 and quartz variants
active at the same time, and the two are not even source compatible because
of things like  as part of its X11 API.

Your options boil down to: either have a separate MacPorts installation
somewhere other than /opt.local with a gtk2 +quartz and programs that
require that, or remove all dependents of gtk2, reinstall gtk2 +quartz,
reinstall the dependencies you removed, and hope they're all compatible
with gtk2 +quartz. :/

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net


Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Adam Dershowitz
Nice work on the new version.  Thanks.

I just tried port diagnose and I get the following:


Checking for files installed by ports on disk... 
Warning: '/opt/local/libexec/cups/backend/cups-pdf' installed by port 
'cups-pdf' is currently not readable. Please try again. If this problem 
persists, please contact the mailing list.
Warning: '/opt/local/libexec/dbus-daemon-launch-helper' installed by port 
'dbus' is currently not readable. Please try again. If this problem persists, 
please contact the mailing list.
Warning: couldn't find file '/opt/local/etc/polkit-1/rules.d/50-default.rules' 
for port 'policykit'. Please deactivate and reactivate the port to fix this 
issue.

I did try force deactivating, then reactivating policykit, but got the same 
results.  And, the first two warnings say to contact the list….so here I am.

Any suggestions for fixing these warning?  

Thanks,

--Adam



> On Jan 27, 2017, at 2:23 AM, Joshua Root  wrote:
> 
> The MacPorts Project is happy to announce that the 2.4.0 version has now
> been released. It is available via the usual methods:
> 
> - selfupdate if you already have MacPorts installed
> - package installers for 10.12 [1], 10.11 [2], 10.10 [3], 10.9 [4],
>   10.8 [5], 10.7 [6], 10.6 [7] and 10.5 [8] (universal i386/ppc for
>   10.5, i386/x86_64 for 10.6, and the rest x86_64)
> - source tarballs, both .tar.bz2 [9] and .tar.gz [10]
> - git tag [11]
> 
> The list of what's new in 2.4.0 can be found in the ChangeLog [12].
> 
> A big thanks to the developers for their hard work with all of the
> various features and bug fixes in 2.4.0, and to all those who helped out
> by reporting bugs or testing.
> 
> Detached PGP signatures for the pkg/dmgs and source tarballs have been
> made with my key, which is available on the keyservers and my MacPorts
> wiki page [13].
> 
> - Josh
> 
> [1] 
> 
> [2] 
> 
> [3] 
> 
> [4] 
> 
> [5] 
> 
> [6] 
> 
> [7] 
> 
> [8] 
> 
> [9] 
> 
> [10] 
> 
> [11] 
> [12] 
> [13] 
> 
> PS, my PGP key ID is 0x01FF673FB4AAE6CD,
> fingerprint C403 7936 5723 6DCF 2E58  0C02 01FF 673F B4AA E6CD



Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Adam Dershowitz
Nice work on the new version.  Thanks.

I just tried port diagnose and I get the following:


Checking for files installed by ports on disk... 
Warning: '/opt/local/libexec/cups/backend/cups-pdf' installed by port 
'cups-pdf' is currently not readable. Please try again. If this problem 
persists, please contact the mailing list.
Warning: '/opt/local/libexec/dbus-daemon-launch-helper' installed by port 
'dbus' is currently not readable. Please try again. If this problem persists, 
please contact the mailing list.
Warning: couldn't find file '/opt/local/etc/polkit-1/rules.d/50-default.rules' 
for port 'policykit'. Please deactivate and reactivate the port to fix this 
issue.

I did try force deactivating, then reactivating policykit, but got the same 
results.  And, the first two warnings say to contact the list….so here I am.

Any suggestions for fixing these warning?  

Thanks,

--Adam



> On Jan 27, 2017, at 2:23 AM, Joshua Root  > wrote:
> 
> The MacPorts Project is happy to announce that the 2.4.0 version has now
> been released. It is available via the usual methods:
> 
> - selfupdate if you already have MacPorts installed
> - package installers for 10.12 [1], 10.11 [2], 10.10 [3], 10.9 [4],
>   10.8 [5], 10.7 [6], 10.6 [7] and 10.5 [8] (universal i386/ppc for
>   10.5, i386/x86_64 for 10.6, and the rest x86_64)
> - source tarballs, both .tar.bz2 [9] and .tar.gz [10]
> - git tag [11]
> 
> The list of what's new in 2.4.0 can be found in the ChangeLog [12].
> 
> A big thanks to the developers for their hard work with all of the
> various features and bug fixes in 2.4.0, and to all those who helped out
> by reporting bugs or testing.
> 
> Detached PGP signatures for the pkg/dmgs and source tarballs have been
> made with my key, which is available on the keyservers and my MacPorts
> wiki page [13].
> 
> - Josh
> 
> [1] 
>   
> >
> [2] 
>   
> >
> [3] 
>   
> >
> [4] 
>   
> >
> [5] 
>   
> >
> [6] 
>   
> >
> [7] 
>   
> >
> [8] 
>   
> >
> [9] 
>   
> >
> [10] 
>   
> >
> [11]  >
> [12]  >
> [13] >
> 
> PS, my PGP key ID is 0x01FF673FB4AAE6CD,
> fingerprint C403 7936 5723 6DCF 2E58  0C02 01FF 673F B4AA E6CD



Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Clemens Lang
Hi,

On Fri, Jan 27, 2017 at 01:10:57PM -0500, Adam Dershowitz wrote:
> I just tried port diagnose and I get the following:
> 
> 
> Checking for files installed by ports on disk... 
> Warning: '/opt/local/libexec/cups/backend/cups-pdf' installed by port 
> 'cups-pdf' is currently not readable. Please try again. If this problem 
> persists, please contact the mailing list.
> Warning: '/opt/local/libexec/dbus-daemon-launch-helper' installed by port 
> 'dbus' is currently not readable. Please try again. If this problem persists, 
> please contact the mailing list.

Some files are not readable by your normal user. Try sudo port diagnose
instead.

-- 
Clemens


Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Adam Dershowitz


> On Jan 27, 2017, at 1:45 PM, Clemens Lang  wrote:
> 
> Hi,
> 
> On Fri, Jan 27, 2017 at 01:10:57PM -0500, Adam Dershowitz wrote:
>> I just tried port diagnose and I get the following:
>> 
>> 
>> Checking for files installed by ports on disk... 
>> Warning: '/opt/local/libexec/cups/backend/cups-pdf' installed by port 
>> 'cups-pdf' is currently not readable. Please try again. If this problem 
>> persists, please contact the mailing list.
>> Warning: '/opt/local/libexec/dbus-daemon-launch-helper' installed by port 
>> 'dbus' is currently not readable. Please try again. If this problem 
>> persists, please contact the mailing list.
> 
> Some files are not readable by your normal user. Try sudo port diagnose
> instead.
> 
> -- 
> Clemens


Well, that was easy!  Just a  user understanding problem.
Thanks.  

—Adam



gtk3 from python3

2017-01-27 Thread petr.2006
After todays update, I am not able to use gtk3 from python3.5:

pvmb:~ pet$ python
Python 3.5.3 (default, Jan 27 2017, 20:18:08) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version('Gtk', '3.0')
Traceback (most recent call last):
 File "", line 1, in 
 File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gi/__init__.py",
 line 122, in require_version
   (namespace, version))
ValueError: Namespace Gtk not available for version 3.0
>>> 

I tried to rebuild everthing using :
sudo port upgrade --force py35-gobject3

but this did not help.

Any hint?



Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Adam Dershowitz


> On Jan 27, 2017, at 1:45 PM, Clemens Lang  wrote:
> 
> Hi,
> 
> On Fri, Jan 27, 2017 at 01:10:57PM -0500, Adam Dershowitz wrote:
>> I just tried port diagnose and I get the following:
>> 
>> 
>> Checking for files installed by ports on disk... 
>> Warning: '/opt/local/libexec/cups/backend/cups-pdf' installed by port 
>> 'cups-pdf' is currently not readable. Please try again. If this problem 
>> persists, please contact the mailing list.
>> Warning: '/opt/local/libexec/dbus-daemon-launch-helper' installed by port 
>> 'dbus' is currently not readable. Please try again. If this problem 
>> persists, please contact the mailing list.
> 
> Some files are not readable by your normal user. Try sudo port diagnose
> instead.
> 
> -- 
> Clemens

I have another question about another new feature.
Is there a way to see what port reclaim will do?  It says that it doesn’t 
accept any switches on the Using Macports page.  And, it could delete a lot of 
stuff.  Something similar to “-y” would be a nice way to see what it would do, 
if allowed.  Is there any way to do that?

—Adam

Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Daniel J. Luke
On Jan 27, 2017, at 4:05 PM, Adam Dershowitz  wrote:
> I have another question about another new feature.
> Is there a way to see what port reclaim will do?  It says that it doesn’t 
> accept any switches on the Using Macports page.  And, it could delete a lot 
> of stuff.  Something similar to “-y” would be a nice way to see what it would 
> do, if allowed.  Is there any way to do that?

It will prompt you with the option to list the things it found (and delete them 
or not).

I just ran it on a couple of machines here and it works nicely.

-- 
Daniel J. Luke





Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Adam Dershowitz


> On Jan 27, 2017, at 4:21 PM, Daniel J. Luke  wrote:
> 
> On Jan 27, 2017, at 4:05 PM, Adam Dershowitz  wrote:
>> I have another question about another new feature.
>> Is there a way to see what port reclaim will do?  It says that it doesn’t 
>> accept any switches on the Using Macports page.  And, it could delete a lot 
>> of stuff.  Something similar to “-y” would be a nice way to see what it 
>> would do, if allowed.  Is there any way to do that?
> 
> It will prompt you with the option to list the things it found (and delete 
> them or not).
> 
> I just ran it on a couple of machines here and it works nicely.
> 
> -- 
> Daniel J. Luke
> 
> 
> 

Got it.  I was not comfortable running it, without knowing that.  Now, I see 
that it is not at irreversible, without asking first.  

Thanks,

—Adam



Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Clemens Lang
Hi,

On Fri, Jan 27, 2017 at 04:28:46PM -0500, Adam Dershowitz wrote:
> Got it.  I was not comfortable running it, without knowing that.  Now,
> I see that it is not at irreversible, without asking first.  

That sounds like something we should point out in the documentation. The
source of the port-reclaim(1) manpage is at
  https://github.com/macports/macports-base/blob/master/doc/port-reclaim.1.txt

Would you like to add this information and send a pull request?

-- 
Clemens


Re: MacPorts 2.4.0 has been released

2017-01-27 Thread Joshua Root

On 2017-1-28 05:45 , Clemens Lang wrote:

Hi,

On Fri, Jan 27, 2017 at 01:10:57PM -0500, Adam Dershowitz wrote:

I just tried port diagnose and I get the following:


Checking for files installed by ports on disk...
Warning: '/opt/local/libexec/cups/backend/cups-pdf' installed by port 
'cups-pdf' is currently not readable. Please try again. If this problem 
persists, please contact the mailing list.
Warning: '/opt/local/libexec/dbus-daemon-launch-helper' installed by port 
'dbus' is currently not readable. Please try again. If this problem persists, 
please contact the mailing list.


Some files are not readable by your normal user. Try sudo port diagnose
instead.


It's probably a bug for diagnose to be complaining about them in this 
situation. "Please try again" is not very helpful advice in any case.


- Josh