Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268015 - app-misc/gnote is an experimental port of Tomboy to C++
Summary: app-misc/gnote is an experimental port of Tomboy to C++
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://live.gnome.org/Gnote
Whiteboard:
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2009-04-30 17:36 UTC by Serhij S. Stasyuk
Modified: 2009-08-02 22:44 UTC (History)
5 users (show)

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


Attachments
app-misc/gnote/gnote-0.3.0.ebuild (gnote-0.3.0.ebuild,505 bytes, text/plain)
2009-04-30 17:38 UTC, Serhij S. Stasyuk
Details
app-misc/gnote/gnote-0.3.0.ebuild (gnote-0.3.0.ebuild,505 bytes, text/plain)
2009-04-30 17:54 UTC, Serhij S. Stasyuk
Details
gnote-0.3.1-version-bump.patch (gnote-0.3.1-version-bump.patch,28.79 KB, patch)
2009-05-06 07:17 UTC, Priit Laes (IRC: plaes)
Details | Diff
GNote 0.5.2 ebuild (gnote-0.5.2.ebuild,394 bytes, text/plain)
2009-07-02 01:31 UTC, 白川間瀬流
Details
GNote 0.5.2 ebuild (gnote-0.5.2.ebuild,511 bytes, text/plain)
2009-07-02 01:35 UTC, 白川間瀬流
Details
GNote 0.5.2 ebuild (gnote-0.5.2.ebuild,494 bytes, text/plain)
2009-07-02 01:52 UTC, 白川間瀬流
Details
gnote-0.5.3.ebuild (gnote-0.5.3.ebuild,1.13 KB, text/plain)
2009-07-27 13:05 UTC, Serhij S. Stasyuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serhij S. Stasyuk 2009-04-30 17:36:06 UTC
It is the same note taking application, minus things not done yet, including panel applet, boatload of addins and synchrnization. Be patient they'll come.

It uses C++ instead of Mono.

Reproducible: Always

Steps to Reproduce:
Comment 1 Serhij S. Stasyuk 2009-04-30 17:38:47 UTC
Created attachment 189982 [details]
app-misc/gnote/gnote-0.3.0.ebuild

Ebuild for gnote-0.3.0. It does not want to configure without LDFLAGS=-lboost_system on my system, so it was added. It wouldn't harm any system, because it is used by gnote application itself.
Comment 2 Serhij S. Stasyuk 2009-04-30 17:54:46 UTC
Created attachment 189983 [details]
app-misc/gnote/gnote-0.3.0.ebuild

Sorry, mistakenly posted incorrect version. LDFLAGS order matters :)
Comment 3 Thorsten Vollmer 2009-04-30 18:58:41 UTC
An ebuild for Gnote is already present in the GNOME overlay:
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=tree;f=app-misc/gnote
Your ebuild definitely lacks some dependencies.
Comment 4 Serhij S. Stasyuk 2009-04-30 20:48:08 UTC
oh, sorry for disturbing :-[ missed it.

Sorry, do not know if this issue should be closed and what resolution should be set.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-30 23:43:58 UTC
your ebuild also do not state the new libpanelappletmm dependency which doesn't build for me. Haven't had time to dig in yet.

Plus the fix for the boost detection problem is incorrect, it should either use append-ldflags from flog-o-matic (which is still wrong because lib flags should go to LIBS) or provide a patch for boost.m4 to fix the problem at its root.
Comment 6 Serhij S. Stasyuk 2009-05-01 09:39:39 UTC
I do not have libpanelappletmm installed, but gnote compiles and works fine for me.

I'll try to fix boost.m4 today, if the try will be successfull, I'll post patch here.
Comment 7 Priit Laes (IRC: plaes) 2009-05-06 07:17:33 UTC
Created attachment 190466 [details, diff]
gnote-0.3.1-version-bump.patch

Patch against gnome overlay with fixes for --as-needed issues configure and link time.
Comment 8 Priit Laes (IRC: plaes) 2009-05-06 07:18:26 UTC
Troubles with --as-needed were also submitted upstream

http://bugzilla.gnome.org/show_bug.cgi?id=581559
Comment 9 Tommaso Pasini 2009-05-09 19:12:00 UTC
Adding nothing to ./configure equals to --enable-applet; but inside the configure script, in the if-statement between lines 16798 and 16926, the option gets disabled after some tests. At the end of the configure I see

Options:

  Spellchecking support:       yes
  GNOME Panel Appplet support:

Running ./configure by hand returns

Options:

  Spellchecking support:       yes
  GNOME Panel Appplet support: no

and the build produces the same result. It seems like libpanelappletmm can't be found, and therefore the applet mode can't be built. In my system I see only /usr/lib/pkgconfig/libpanelapplet-2.0.pc.
Comment 10 Tommaso Pasini 2009-05-17 12:02:45 UTC
Good news!

1) libpanelappletmm-2.26 has been released yesterday, and it compiles fine! I just copied the libgnomemm-2.26 ebuild to my local overlay, renamed it, and added dev-cpp/gconfmm as a dependency.

2) gnote now builds the applet but not with the current ebuild. Somehow the patch gnote-0.3.1-automagic.patch disables that option. Without that patch the compilation runs fine, and the panel applet is actually built.

diff /usr/portage/local/layman/gnome/app-misc/gnote/gnote-0.3.1.ebuild /usr/local/portage/app-misc/gnote/gnote-0.3.1.ebuild 
15c15
< IUSE="debug" # dbus
---
> IUSE="+applet debug" # dbus
27c27,28
< 	>=gnome-base/gnome-panel-2"
---
> 	>=gnome-base/gnome-panel-2
> 	applet? ( >=dev-cpp/libpanelappletmm-2.26 )"
48c49
< 	epatch "${FILESDIR}/${P}-automagic.patch"
---
> 	#epatch "${FILESDIR}/${P}-automagic.patch"
Comment 11 白川間瀬流 2009-07-02 01:31:32 UTC
Created attachment 196303 [details]
GNote 0.5.2 ebuild

This is the GNote 0.5.2 ebuild

Hope it will finally and in an repository and some guys for helping to improve this ebuild
Comment 12 白川間瀬流 2009-07-02 01:35:15 UTC
Created attachment 196305 [details]
GNote 0.5.2 ebuild
Comment 13 白川間瀬流 2009-07-02 01:52:46 UTC
Created attachment 196306 [details]
GNote 0.5.2 ebuild
Comment 14 Romain Perier (RETIRED) gentoo-dev 2009-07-02 06:04:25 UTC
Vamp898:  
- You need to inherit from gnome2.eclass to have SRC_URI for gnome ftp directly,  and use directly gnome2_* functions. (like gnome2_src_install and so on)

- It's a bump, so you can keep arch in KEYWORDS, moving all of them to ~arch (testing)

- gnote license is GPL-3

- Missing dependencies (like boost, or libpanelappletmm for example)

Have a look to gnote-0.5.1 bumped into the overlay.
Comment 15 Serhij S. Stasyuk 2009-07-27 13:05:50 UTC
Created attachment 199334 [details]
gnote-0.5.3.ebuild

Seems here more correct dependencies. gtkmm-2.16 is not needed:
http://git.gnome.org/cgit/gnote/tree/README
Dependencies:
- Gtkmm 2.12 minimum (Gtkmm 2.14 recommended)
- Gtk+ 2.12.
- libxml2
- libxslt
- libuuid
- boost 1.34
- libpcrepp (part of pcre)
- (optional) gtk-spell 2.0.9
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-28 00:01:36 UTC
Guys, please read the keyword field, it says InOverlay, which means it is in gnome overlay (and up to date)...
Comment 17 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-02 22:44:34 UTC
gnote is now in tree without dbus support since it requires dbus-c++ which is not really downstream friendly for now.