I cant emerge zim it needs this stuff (i think) GLib Gtk2 Storable File::Spec File::BaseDir File::MimeInfo and maybe gtk-perl Reproducible: Always Steps to Reproduce: 1. emerge zim 2. see nothing happen Actual Results: nothing happened, with the message Calculating dependencies emerge: there are no ebuilds to satisfy "zim". Expected Results: i should be able to successfully emerge zim
Created attachment 73193 [details] app-editors/zim-0.07 It works, I think I have all the deps, testing appreciated.
Your ebuild is fine (as it uses entirely the eclass perl-module). I tried it and it works fine (x86 box). suggested category : app-editors
I tried it also and it compiles and launches fine in amd64 box
evidently the license is the "perl license"not the GPL, however I cant find the perl license...
Created attachment 73874 [details] app-editors/zim-0.08 just a version bump, nothing more. can somebody get back to me on what the perl license is? i cant see it in /usr/portage/licenses
(In reply to comment #3) > I tried it also and it compiles and launches fine in amd64 box Hi! I get the error on amd64: gour@gaura-nitai ~ $ zim Can't locate Gtk2.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.7/x86_64-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/x86_64-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.7/x86_64-linux /usr/lib/perl5/5.8.7 /usr/local/lib/site_perl .) at /usr/bin/zim line 9. BEGIN failed--compilation aborted at /usr/bin/zim line 9. Some deps. are not taken care of :-( Sincerely, Gour
About licensing: "perl license" means "This program is free software; you can redistribute it and/or modify it under the same terms as Perl." This statement is very common for perl modules and perl perl applications. The terms of perl in turn state "Perl may be copied only under the terms of either the Artistic License or the GNU General Public License,". So you can read "perl license" as "GPL". --- As for the Gtk2.pm not found error, this means that dev-perl/gtk2-perl was not properly installed or that the perl include path @INC does not include the directory where this package was installed. dev-perl/gtk2-perl _is_ in the dependency list. -- Pardus@cpan (author of zim)
(In reply to comment #7) > > As for the Gtk2.pm not found error, this means that dev-perl/gtk2-perl was not > properly installed or that the perl include path @INC does not include the > directory where this package was installed. dev-perl/gtk2-perl _is_ in the > dependency list. > > -- Pardus@cpan (author of zim) Yup. Re-emerging (ak updating) gtk2-perl to the latest (~amd64) fixed the problem :-) I wish you lot of luck in further zim-development. Sincerely, Gour
Created attachment 76058 [details] zim-0.09.ebuild version bump
Created attachment 77304 [details] app-editors/zim-0.10 version bump zim now requires >=gtk+-2.4, changed ebuild to reflect this
Created attachment 77761 [details] app-editors/zim-0.11 version bump, no changes
Created attachment 79924 [details] app-editors/zim-0.12 version bump, no changes
Because there is no flag for trayicon, to use this feature in zim, user have to manualy install dev-perl/gtk2-trayicon and reinstall zim. Is there a way to modify ebuild to handle zim plugins? (trayicon, calendar, etc?)
(In reply to comment #13) > Because there is no flag for trayicon, to use this feature in zim, user have > to manualy install dev-perl/gtk2-trayicon and reinstall zim. There is no need to re-install zim after adding a optional dependency, it will be detected on run time if the user enables the feature that uses it. When an optional dependency is missing the user is informed of that by the application. > Is there a way to modify ebuild to handle zim plugins? (trayicon, calendar, > etc?) Currently all plugins are bundled with the package, in the future at least a number of core plugins will be bundled. Plugins are not the issue here, they are just used to bundle optional features. The issue is that these optional features have (optional) dependencies like Gtk2::TrayIcon and Gtk2::Spell. Not sure if this really needs fixing, since the user is informed of the missing depency and can install these packages when he needs/wants them. -- Pardus
I can't seem to get this running here, whenever I try to run zim, I get the following... steev@umbra ~ % zim Can't locate File/DesktopEntry.pm in @INC (@INC contains: /usr/bin/../lib /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/File/MimeInfo/Applications.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/File/MimeInfo/Applications.pm line 8. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/Gtk2/Ex/DesktopEntryMenu.pm line 8. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Gtk2/Ex/DesktopEntryMenu.pm line 8. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/Zim/Components/PageView.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Zim/Components/PageView.pm line 11. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/Zim.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Zim.pm line 17. Compilation failed in require at (eval 3) line 3. BEGIN failed--compilation aborted at (eval 3) line 3. An eix DesktopEntry shows * dev-perl/X11-FreeDesktop-DesktopEntry Available versions: 0.04 Installed: 0.04 Homepage: http://search.cpan.org/search?query=X11-FreeDesktop-DesktopEntry Description: An interface to Freedesktop.org .desktop files. So, where is it expecting the DesktopEntry from? (This is also with zim-0.15)
(In reply to comment #15) > Can't locate File/DesktopEntry.pm in @INC (@INC contains: .. 8< .. > So, where is it expecting the DesktopEntry from? (This is also with zim-0.15) Zim 0.15 added a new dependency, which is the perl modul File::DesktopEntry (this is _not_ X11::FreeDesktop::DesktopEntry ). The url for this module is http://search.cpan.org/~pardus/File-DesktopEntry/ Don't know if there is a Gentoo package for it. The package is closely related to the dev-perl/File-MimeInfo package and is required for lookups of applications to open a certain mimetype. -- Jaap <pardus@cpan.org>
I created new ebuild for zim-0.15 which now depends on File::DesktopEntry http://bugs.gentoo.org/show_bug.cgi?id=131128.
Created attachment 85371 [details] app-editors/zim-0.15 new version, from now depends on File::DesktopEntry http://bugs.gentoo.org/show_bug.cgi?id=131128
I'll go ahead and take this since mcummings put File-Desktopentry into portage
Created attachment 86580 [details] gnome-extra/zim-0.15.ebuild Added USE-Flags: spell, which compile dev-perl/gtk2-spell for spelling support tray, which compiles dev-perl/gtk2-trayicon for gnome-trayicon-support. Without those dependencies, one may choose those plugins from inside zim, but zim disables them at next restart.
(In reply to comment #20) > Created an attachment (id=86580) [edit] > gnome-extra/zim-0.15.ebuild Can you change mime type to: text/plain? > Added USE-Flags: > tray, which compiles dev-perl/gtk2-trayicon for gnome-trayicon-support. Spell flag is set good, but in a list of use flags (http://www.gentoo.org/dyn/use-index.xml) I didn't saw tray flag, so I don't think it shoud be used.
Created attachment 86584 [details] gnome-extra/zim-0.15.ebuild >Spell flag is set good, but in a list of use flags >(http://www.gentoo.org/dyn/use-index.xml) I didn't saw tray flag, so I don't >think it shoud be used. Well, I just didn't know, what USE-Flag to use, since theres no USE-Flag for such a case. Know, I've changed to IUSE="gnome spell", cause this Feature lets Zim fit better into gnome-desktop. sorry for my bad english ;-)
My question here is (and since I don't have a KDE machine running at the moment to test) does the tray icon work in other environments that offer a tray? The gnome use flag may be not quite what I am looking for - there is the possiblity to add "tray" to use.local.desc - though I plan to ask around about it first.
(In reply to comment #23) > My question here is (and since I don't have a KDE machine running at the moment > to test) does the tray icon work in other environments that offer a tray? The > gnome use flag may be not quite what I am looking for - there is the possiblity > to add "tray" to use.local.desc - though I plan to ask around about it first. > Same Problem here, no KDE things installed. Since it uses gtk2-trayicon its the question for GTK-Apps in KDE Tray. Does it generelay work?
(In reply to comment #24) > Same Problem here, no KDE things installed. Since it uses gtk2-trayicon its the > question for GTK-Apps in KDE Tray. Does it generelay work? Yes, the tray icon is something that works the same on most desktops, tested on Gnome, Xfce and KDE. The reason it works is that it is really an embedded window and therefor it does not need to use the same toolkit as the panel it is embedded in. Please note that so far none of zim's features depend on gnome in particular. -- Jaap Karssenberg <pardus@cpan.org>
Just made an ebuild for Newton and filed it with Bug 133337. Newton will be the official Destkop-Wiki for Gnome-Destkop, AFAIR.
(In reply to comment #7) > So you can read "perl license" as "GPL". No, you can't. The "perl license" is the Artistic License, or the Artistic License 2, not the "GPL". There is a difference.
(In reply to comment #27) > (In reply to comment #7) > > So you can read "perl license" as "GPL". > > No, you can't. The "perl license" is the Artistic License, or the Artistic > License 2, not the "GPL". There is a difference. > As explained in the post you refer to I'm understanding "perl license" to mean "under the same terms as perl" which is what the copyright statement of zim (and many other perl programs) says. If I meant the Artistic license I would talk about Artistic license, not about the perl license. Perl is not exclusively under Artistic, it is available under both Artistic and GPL -- try running "perl -v". To be perfectly clear: zim is under GPL, I'm the author and I put it explicitly under GPL. Thanks.
Finally! Sorry that this has taken so long. I (as of a few minutes ago) committed 0.16 to Portage. Please try it out and let me know how things go.