Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214824 - xnots - A desktop sticky notes application for Unix geeks. (new ebuild)
Summary: xnots - A desktop sticky notes application for Unix geeks. (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Krzysztof Pawlik (RETIRED)
URL: http://xnots.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-03-26 04:22 UTC by Gautam Iyer
Modified: 2008-04-12 01:28 UTC (History)
1 user (show)

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


Attachments
Ebuild for xnots-0.2 (new) (xnots-0.2.ebuild,568 bytes, text/plain)
2008-03-26 04:23 UTC, Gautam Iyer
Details
xnots-0.11.ebuild (xnots-0.11.ebuild,520 bytes, text/plain)
2008-03-26 09:08 UTC, Krzysztof Pawlik (RETIRED)
Details
Diff to the new ebuild (0.2-r1) (xnots-0.2-r1.ebuild.patch,437 bytes, patch)
2008-03-26 20:07 UTC, Gautam Iyer
Details | Diff
Ebuild for xnots-0.2-r1 (xnots-0.2-r1.ebuild,596 bytes, text/plain)
2008-03-26 20:08 UTC, Gautam Iyer
Details
Ebuild for xnots-0.2-r1 (Added INOTIFY kernel option check) (xnots-0.2-r1.ebuild,690 bytes, text/plain)
2008-04-06 02:56 UTC, Gautam Iyer
Details
Patch to only warn user if he doesn't have INOTIFY support (xnots-0.2-r1.ebuild-warn-inotify,916 bytes, patch)
2008-04-12 01:28 UTC, Gautam Iyer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gautam Iyer 2008-03-26 04:22:53 UTC
Hi,

Here's an ebuild for xnots.

xNots is a desktop sticky note system for the X window system and Unix geeks. xNots is designed so that all your sticky notes and to-do lists are text files in a certain directory (by default .Pa ~/.xnots). The idea is that any Unix geek should abhor typing text into anything EXCEPT his favourite editor. These files completely control the appearance and content of the displayed sticky notes, and thus the average Unix geek will never have to use the mouse or (god forbid) navigate using menus to control.

GI
Comment 1 Gautam Iyer 2008-03-26 04:23:51 UTC
Created attachment 147334 [details]
Ebuild for xnots-0.2 (new)
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-03-26 09:08:35 UTC
Created attachment 147349 [details]
xnots-0.11.ebuild

There's no such release as 0.2 on SF project page for xnots - only 0.11.

Additionally - I'm attaching fixed ebuild:
 * fixed header
 * removed useless src_compile
 * cleaned up src_install
 * fixed mandir
 * fixed dependencies
Comment 3 Gautam Iyer 2008-03-26 20:06:37 UTC
(In reply to comment #2)
> There's no such release as 0.2 on SF project page for xnots - only 0.11.

Oops. I forgot to release it. (I just had the distfile sitting in my /usr/portage/distfiles). Sorry :).

I also realise that my naming convention (0.11) conflicts with Gentoo's (where 0.2 < 0.11). Accordingly I'm going to nuke 0.11 release, and I just released 0.2.


> Additionally - I'm attaching fixed ebuild:
>  * fixed header
>  * removed useless src_compile
>  * cleaned up src_install
>  * fixed mandir
>  * fixed dependencies

Thanks for fixing the ebuild. I made a couple of changes before releasing. Accordingly, a few changes to the ebuild:

    1. Added back src_complie, to compile without debugging info.

    2. xnots requires inotify support which is not there in kernels before 2.6.13. Accordingly I added >=virtual/linux-sources-2.6.14

I attach both a diff, and the new ebuild.

Thanks,

GI
Comment 4 Gautam Iyer 2008-03-26 20:07:44 UTC
Created attachment 147400 [details, diff]
Diff to the new ebuild (0.2-r1)
Comment 5 Gautam Iyer 2008-03-26 20:08:38 UTC
Created attachment 147402 [details]
Ebuild for xnots-0.2-r1
Comment 6 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-04-05 15:33:03 UTC
(In reply to comment #3)
> Thanks for fixing the ebuild. I made a couple of changes before releasing.
> Accordingly, a few changes to the ebuild:
> 
>     1. Added back src_complie, to compile without debugging info.

Ok.

>     2. xnots requires inotify support which is not there in kernels before
> 2.6.13. Accordingly I added >=virtual/linux-sources-2.6.14

Depending on kernel sources gives you nothing, as the user can run whatever he is and have other sources installed. It's better to use elog to give a notice to users about enabling CONFIG_INOTIFY in kernel.
Comment 7 Gautam Iyer 2008-04-06 02:54:52 UTC
(In reply to comment #6)
> Depending on kernel sources gives you nothing, as the user can run whatever he
> is and have other sources installed. It's better to use elog to give a notice
> to users about enabling CONFIG_INOTIFY in kernel.

Good point. I updated the ebuild to check for the INOTIFY option. (It was quite hard to find the eclass that does this, since linux-info.eclass doesn't have a man page.)

GI
Comment 8 Gautam Iyer 2008-04-06 02:56:11 UTC
Created attachment 148810 [details]
Ebuild for xnots-0.2-r1 (Added INOTIFY kernel option check)
Comment 9 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-04-10 08:57:09 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Depending on kernel sources gives you nothing, as the user can run whatever he
> > is and have other sources installed. It's better to use elog to give a notice
> > to users about enabling CONFIG_INOTIFY in kernel.
> 
> Good point. I updated the ebuild to check for the INOTIFY option. (It was quite
> hard to find the eclass that does this, since linux-info.eclass doesn't have a
> man page.)

Dying here on this condition is quite annoying - it's better to use elog to just inform the user that INOTIFY is required. I've commited xnots-0.2 (no need for -r1 since it has never been in the tree).
Comment 10 Gautam Iyer 2008-04-12 01:26:28 UTC
(In reply to comment #9)
> Dying here on this condition is quite annoying - it's better to use elog to
> just inform the user that INOTIFY is required.

OK. Thanks for including it.

Btw -- it might be better to ewarn if the user does not have INOTIFY support, and be silent otherwise. In case you like that better, I attach a patch.

GI
Comment 11 Gautam Iyer 2008-04-12 01:28:31 UTC
Created attachment 149455 [details, diff]
Patch to only warn user if he doesn't have INOTIFY support

The diff is against xnots-0.2.ebuild in the current portage tree.