Please upgrade the clamtk 5.07 new homepage https://code.google.com/p/clamtk/
Over to maintainer.
Created attachment 162540 [details] patch builds, but does not start, error: Icon 'gtk-new' not present in theme at /usr/local/lib/perl5/site_perl/ClamTk/GUI.pm line 283. Any ideas ?
locate gtk-new /usr/local/share/icons/Tango/16x16/actions/gtk-new.png pkg which /usr/local/share/icons/Tango/16x16/actions/gtk-new.png /usr/local/share/icons/Tango/16x16/actions/gtk-new.png was installed by package icons-tango-0.8.90_2 So I guess RUN_DEPENDS= ${LOCALBASE}/share/icons/Tango:x11-themes/icons-tango I
Tested starts without problems only with deprecated warnings on 10.4 RUN_DEPENDS command was wrong, the right is RUN_DEPENDS= icons-tango>0:x11-themes/icons-tango
Created attachment 193991 [details] svn-diff-clamtk Packed all in a svn-diff added two RUN_DEPENCES. Should also solve problems described here: https://forums.freebsd.org/threads/clamtk-broken.66023/ Only tested with the port (not with poudriere yet).
Created attachment 193992 [details] svn-diff-clantk_v2 Correcting two lines cause of portlint
Created attachment 193993 [details] svn-diff-clamtk_v3 Removed ${PORTSDIR}. This was wrong.
I have clamtk version 5.25 working and I am working on the makefile now to update this. I should have a patch ready in a few days for testing.
Created attachment 194012 [details] patch-v4 This patch builds, but: Icon 'gtk-new' not present in theme at /usr/local/lib/perl5/site_perl/ClamTk/GUI.pm line 285.
Kurt, again RUN_DEPENDS= icons-tango>0:x11-themes/icons-tango
sorry is in the patch, I overlooked it.
In the programs perl library we need to {REINPLACE} this to add fixed up file path: /usr/local/share/icons/gnome GUI.pm Line 36,37,38 $theme->append_search_path( '/usr/share/icons/gnome/24x24/actions' ); $theme->append_search_path( '/usr/share/icons/gnome/24x24/places' ); $theme->append_search_path( '/usr/share/icons/gnome/24x24/mimetypes' );
Where to place? /work/clamtk-e4c91f9/lib/GUI.pm 9 sub start_gui { 30 $window = Gtk2::Window->new; 31 $window->signal_connect( 32 destroy => sub { 33 $window->destroy; 34 Gtk2->main_quit; 35 TRUE; 36 } 37 );
And there is no other GUI.pm.
Maybe, it is only a problem of kde4 and xfce. I don't have the error that Kurt wrote (I havefvwm-crysal). So it is a more complicated problem.
There is a similar problem: https://github.com/dave-theunsub/clamtk/issues/80 => I had the same Problem on CentOS 7 today and was able to fix it by simply installing a package called 'gnome-icon-theme-legacy' which appears to be a split out of 'gnome-icon-theme'.
OK I see we are on the same page now and the PR has been changed to reflect the newest version 5.25. That was what I was referring to earlier. The newest version. Everyone is correct though, I am finding that I installed something from Gnome with the icons. I was wrong on my previous post. On a fresh install of only xorg and xfce there is no /usr/local/share/icons/gnome directory. So there is an additional package needed. For 5.25 I am using this: RUN_DEPENDS= perl5>=5.26:lang/perl5.26 \ p5-Glib2>=1.326:/devel/p5-Glib2 \ p5-LWP-Protocol-https>=6.07_1:/perl/p5-LWP-Protocol-https \ p5-Text-CSV>=1.95:/textproc/p5-Text-CSV \ p5-JSON>=2.97.001:/converters/p5-JSON \ p5-Locale-gettext>=1.07:/devel/p5-Locale-gettext \ p5-Gtk2>=1.24992:x11-toolkits/p5-Gtk2\
I think it one or both packages: RUN_DEPENDS+= gnome-themes-standard>=3.0.0:x11-themes/gnome-themes-standard \ gnome-icon-theme>=0:misc/gnome-icon-theme maybe only the second.
Committed, thanks. Only the second dependency was needed.
A commit references this bug: Author: pi Date: Wed Jun 6 05:30:58 UTC 2018 New revision: 471827 URL: https://svnweb.freebsd.org/changeset/ports/471827 Log: security/clamtk: update 4.45 -> 5.25 - new MASTER_SITE - fix dependencies - update WWW PR: 193908 Submitted by: pi, w.schwarzenfeld@utanet.at, dvwerks@cox.net Reported by: nikos60@hushmail.com Approved by: tj (maintainer timeout) Changes: head/security/clamtk/Makefile head/security/clamtk/distinfo head/security/clamtk/pkg-descr head/security/clamtk/pkg-plist