Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112957 - zim needs to be added to the portage tree - please
Summary: zim needs to be added to the portage tree - please
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Steev Klimaszewski (RETIRED)
URL: http://zoidberg.student.utwente.nl/zi...
Whiteboard:
Keywords:
Depends on: 131128
Blocks:
  Show dependency tree
 
Reported: 2005-11-18 15:10 UTC by deletemesoon
Modified: 2006-09-10 07:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-editors/zim-0.07 (zim-0.07.ebuild,567 bytes, text/plain)
2005-11-19 11:47 UTC, Gustav van der Merwe
Details
app-editors/zim-0.08 (zim-0.08.ebuild,567 bytes, text/plain)
2005-11-30 23:06 UTC, Gustav van der Merwe
Details
zim-0.09.ebuild (zim-0.09.ebuild,560 bytes, text/plain)
2006-01-03 01:36 UTC, Gustav van der Merwe
Details
app-editors/zim-0.10 (zim-0.10.ebuild,562 bytes, text/plain)
2006-01-16 16:18 UTC, Gustav van der Merwe
Details
app-editors/zim-0.11 (zim-0.11.ebuild,562 bytes, text/plain)
2006-01-21 13:47 UTC, Gustav van der Merwe
Details
app-editors/zim-0.12 (zim-0.12.ebuild,562 bytes, text/plain)
2006-02-16 04:25 UTC, Filip Dudek
Details
app-editors/zim-0.15 (zim-0.15.ebuild,590 bytes, text/plain)
2006-04-24 12:26 UTC, Filip Dudek
Details
gnome-extra/zim-0.15.ebuild (zim-0.15.ebuild,663 bytes, text/plain)
2006-05-10 17:03 UTC, Oliver "Beowulf" Friedrich
Details
gnome-extra/zim-0.15.ebuild (zim-0.15.ebuild,665 bytes, text/plain)
2006-05-10 23:25 UTC, Oliver "Beowulf" Friedrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deletemesoon 2005-11-18 15:10:58 UTC
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
Comment 1 Gustav van der Merwe 2005-11-19 11:47:06 UTC
Created attachment 73193 [details]
app-editors/zim-0.07

It works, I think I have all the deps, testing appreciated.
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2005-11-19 12:03:14 UTC
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
Comment 3 playmiac 2005-11-21 10:44:13 UTC
I tried it also and it compiles and launches fine in amd64 box
Comment 4 Gustav van der Merwe 2005-11-26 22:03:17 UTC
evidently the license is the "perl license"not the GPL, however I cant find the
perl license...
Comment 5 Gustav van der Merwe 2005-11-30 23:06:00 UTC
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
Comment 6 Gour 2005-11-30 23:51:01 UTC
(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

Comment 7 Jaap Karssenberg 2005-12-01 02:31:47 UTC
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)
Comment 8 Gour 2005-12-01 03:42:50 UTC
(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



Comment 9 Gustav van der Merwe 2006-01-03 01:36:11 UTC
Created attachment 76058 [details]
zim-0.09.ebuild

version bump
Comment 10 Gustav van der Merwe 2006-01-16 16:18:38 UTC
Created attachment 77304 [details]
app-editors/zim-0.10

version bump
zim now requires >=gtk+-2.4, changed ebuild to reflect this
Comment 11 Gustav van der Merwe 2006-01-21 13:47:16 UTC
Created attachment 77761 [details]
app-editors/zim-0.11

version bump, no changes
Comment 12 Filip Dudek 2006-02-16 04:25:04 UTC
Created attachment 79924 [details]
app-editors/zim-0.12

version bump, no changes
Comment 13 Filip Dudek 2006-02-16 04:32:59 UTC
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?)
Comment 14 Jaap Karssenberg 2006-02-22 05:51:07 UTC
(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
Comment 15 Steev Klimaszewski (RETIRED) gentoo-dev 2006-04-22 14:53:52 UTC
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)
Comment 16 Jaap Karssenberg 2006-04-23 14:39:59 UTC
(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>
Comment 17 Filip Dudek 2006-04-24 12:24:46 UTC
I created new ebuild for zim-0.15 which now depends on File::DesktopEntry http://bugs.gentoo.org/show_bug.cgi?id=131128.
Comment 18 Filip Dudek 2006-04-24 12:26:33 UTC
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
Comment 19 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-01 13:43:04 UTC
I'll go ahead and take this since mcummings put File-Desktopentry into portage
Comment 20 Oliver "Beowulf" Friedrich 2006-05-10 17:03:32 UTC
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.
Comment 21 Filip Dudek 2006-05-10 17:37:06 UTC
(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.
Comment 22 Oliver "Beowulf" Friedrich 2006-05-10 23:25:31 UTC
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 ;-)
Comment 23 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-11 18:15:44 UTC
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.
Comment 24 Oliver "Beowulf" Friedrich 2006-05-11 22:05:28 UTC
(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?
Comment 25 Jaap Karssenberg 2006-05-12 03:06:18 UTC
(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>

Comment 26 Oliver "Beowulf" Friedrich 2006-05-14 17:24:53 UTC
Just made an ebuild for Newton and filed it with Bug 133337. Newton will be the official Destkop-Wiki for Gnome-Destkop, AFAIR.
Comment 27 Michael Cummings (RETIRED) gentoo-dev 2006-09-07 13:57:19 UTC
(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.
Comment 28 Jaap Karssenberg 2006-09-07 18:37:30 UTC
(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.

Comment 29 Steev Klimaszewski (RETIRED) gentoo-dev 2006-09-10 07:39:17 UTC
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.