Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116654 - app-misc/beagle 0.2.1 (version bump)
Summary: app-misc/beagle 0.2.1 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
: 119764 122803 (view as bug list)
Depends on:
Blocks: 120100
  Show dependency tree
 
Reported: 2005-12-24 16:33 UTC by Tudor
Modified: 2006-02-23 12:31 UTC (History)
19 users (show)

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


Attachments
Ebuild for Beagle 0.1.4 (beagle-0.1.4.ebuild,2.97 KB, text/plain)
2005-12-29 09:31 UTC, Chris Mayo
Details
Patch from Beagle 0.1.4 Announce (beagle-mono-1.1.12-bludgeon.patch,1022 bytes, patch)
2005-12-29 09:32 UTC, Chris Mayo
Details | Diff
Patch from Debajyoti Bera fixes 'Could not load configuration from indexing.xml' (conf-readonly-arraylist.patch,1.39 KB, patch)
2005-12-29 09:33 UTC, Chris Mayo
Details | Diff
New ebuild, which applies the kde patch if USE="kde" is set (beagle-0.1.4.ebuild,3.06 KB, text/plain)
2006-01-16 23:04 UTC, Florian Hackenberger
Details
KDE patches (beagle-0.1.4-kde.patch,5.67 KB, patch)
2006-01-16 23:05 UTC, Florian Hackenberger
Details | Diff
beagle-0.2.0.ebuild (beagle-0.2.0.ebuild,2.89 KB, text/plain)
2006-01-21 07:02 UTC, Chris Mayo
Details
app-misc/beagle-0.2.0 (beagle-0.2.0.ebuild,2.73 KB, text/plain)
2006-01-27 01:04 UTC, Sebastian Bergmann (RETIRED)
Details
app-misc/beagle-0.2.0 (beagle-0.2.0.ebuild,2.73 KB, text/plain)
2006-01-27 01:05 UTC, Sebastian Bergmann (RETIRED)
Details
beagle-0.2.1.ebuild (beagle-0.2.1.ebuild,3.04 KB, text/plain)
2006-02-04 12:11 UTC, Daniel Drake (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tudor 2005-12-24 16:33:55 UTC
new versions of app-misc/beagle 0.13 and 0.14 available

http://cvs.gnome.org/viewcvs/beagle/NEWS?annotate=1.31

merry xmas
Comment 1 Chris Mayo 2005-12-29 09:31:18 UTC
Created attachment 75738 [details]
Ebuild for Beagle 0.1.4

Just a few changes from 0.1.2:
- Added dependency on gsf-sharp-0.6 (without this I can't get .odt and .doc files  indexed)
- Also added wv use, as wv required for .doc indexing
- Removed deprecated chm and webservices
- Patch to compile Bludgeon with mono-1.1.12 from the Beagle 0.1.4 announce:
http://mail.gnome.org/archives/dashboard-hackers/2005-December/msg00086.html
- Patch for 'Could not load configuration from indexing.xml' (I also had this problem with 0.1.2):
http://bugzilla.gnome.org/show_bug.cgi?id=324904
Comment 2 Chris Mayo 2005-12-29 09:32:39 UTC
Created attachment 75739 [details, diff]
Patch from Beagle 0.1.4 Announce
Comment 3 Chris Mayo 2005-12-29 09:33:41 UTC
Created attachment 75740 [details, diff]
Patch from Debajyoti Bera fixes 'Could not load configuration from indexing.xml'
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-12-29 09:44:44 UTC
Just a FYI, I'm now on amd64 so maintaining this is difficult due to the "mono" USE flag being masked. I'll work on this when that gets sorted out (hopefully soon!).
Comment 5 Catherine 2005-12-30 15:02:00 UTC
Is it possible to make the ebuilds give an option for Firefox and Thunderbird instead of Mozilla?  As it works with Firefox and Thunderbird now.  I don't want to install Mozilla unneccessarily.  Please see the "required" software page at: The beagle Wiki http://beaglewiki.org/Installing_prerequisites and update this ebuild.

Thanks
Comment 6 Cyril Jaquier 2006-01-13 13:44:57 UTC
The ebuild for Beagle 0.1.4 works perfectly here.

I just remove mozilla dep because I don't want it (I already have mozilla-firefox and gecko-sdk). A virtual/gecko should be a good thing. Same thing for gecko-sharp.

You should also remove the xpdf dep because pdfinfo is also provided by poppler (poppler-0.4.3-r4 here). It should depend on xpdf or poppler.
Comment 7 Florian Hackenberger 2006-01-16 23:02:35 UTC
I propose the attached patch which is applied only if USE="kde" is set. It makes beagle useable under KDE (konqueror instead of nautilus, kmail instead of evolution). The ebuild is modified as well (attached).
Comment 8 Florian Hackenberger 2006-01-16 23:04:05 UTC
Created attachment 77313 [details]
New ebuild, which applies the kde patch if USE="kde" is set

New ebuild, which applies the kde patch if USE="kde" is set.
Comment 9 Florian Hackenberger 2006-01-16 23:05:06 UTC
Created attachment 77314 [details, diff]
KDE patches

Patches to beagle (a bit of a hack, a nice solution may follow) to make it work using KDE as a desktop.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2006-01-17 03:25:28 UTC
Thanks for the patch. I don't like the idea of applying patches based on USE-flags though.

A better solution would be to ship desktop-launch within gentoo, either as part of the beagle ebuild or as its own package. Fancy looking into that?
Comment 11 Florian Hackenberger 2006-01-17 05:32:31 UTC
Unfortunately that is not enough as you can see from the patch. Beagle replaces calls to nautilus by calls to desktop-launch, but evolution is still the only option for eMail. Therefore we have to rely an a patch. But what's the difference between patches and preprocessor defines anyway? They both modify the code. Why do you oppose applying a patch if some useflags are set?
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2006-01-17 06:01:57 UTC
Email is handled through the email tile. Evolution is used to open evolution mail, and kmail is used to open other mail. As for lone maildir files on the filesystem, they will be fed through desktop-launch like all other files, assuming beagle has been compiled for desktop-launch.

We generally avoid applying patches based on USE-flags, because if I apply your patch, it means I have to remember to test "USE=kde emerge beagle" on every version bump, to check the patch still applies. If we ever add another USE-based patch, say USE=gnome (just an example), I then have to test 4 combinations:

-gnome -kde
+gnome +kde
-gnome +kde
+gnome -kde

And so on.

The preprocessor macro approach is OK because it is available upstream, therefore does not require conditional patch application.

Does that make any sense?
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2006-01-17 06:26:36 UTC
By the way: The most favourable approach is to write a patch suitable to be merged upstream (into either beagle or desktop-launch) if there are any problems. But it's worth noting that a new search UI has been merged into beagle CVS, which replaces Best.
Comment 14 Ryan Egesdahl 2006-01-19 20:04:57 UTC
I just added a bug (BUG# 119630) that provides a possible answer to this bug, amongst other things.
Comment 15 Aldo "xoen" Giambelluca 2006-01-20 21:40:34 UTC
Version 0.2.0 is out here the bump bug (http://bugs.gentoo.org/show_bug.cgi?id=119764).
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 00:30:00 UTC
*** Bug 119764 has been marked as a duplicate of this bug. ***
Comment 17 Chris Mayo 2006-01-21 07:02:42 UTC
Created attachment 77708 [details]
beagle-0.2.0.ebuild

Obsolete the old 0.1.4 patches, otherwise just a rename and some newer dependencies from the announcement (not the gecko, poppler or kde ones):
 >=dev-dotnet/gtk-sharp-2.3.90
 >=dev-libs/gmime-2.1.19 (which isn't in portage, but renaming 2.1.16 seems to work ?!?!)

Some issues with the .desktop entries this installs:

- beagle-settings.desktop has Utility in the Categories which makes it end up in the GNOME Accessories menu as well as Desktop/Preferences

- beagle-search.desktop installed with:
   Icon=tango-system-search
I am using tango-icon-themes, but this doesn't show anything. Either
   Icon=system-search or
   Icon=best
would seem better

beagle-query didn't seem to work at first so I removed my ~/.beagle/, don't know if this was really necessary.
Comment 18 Max 2006-01-24 05:15:55 UTC
I hear it is possible to build beagle and / or gecko-sdk against firefox instead of mozilla. This might be a bit of work (and I sure as heck don't know how to do it), but I think it would be worth while to alter the ebuild to build against firefox. Most people use ff now anyway, so building mozilla too seems a bit double...
Comment 19 Daniel Drake (RETIRED) gentoo-dev 2006-01-24 05:29:26 UTC
Beagle 0.2.0 does not require mozilla/firefox/gecko-sdk/gecko-sharp or any of that.
Comment 20 Giacomo Perale 2006-01-26 14:44:07 UTC
pdfinfo is now provided by poppler, not by xpdf, so the ebuild should be fixed
Comment 21 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-27 01:04:08 UTC
Created attachment 78268 [details]
app-misc/beagle-0.2.0

Cleaned up dependencies: xpdf -> poppler-bindings, removed gecko-sharp.
Comment 22 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-27 01:05:14 UTC
Created attachment 78269 [details]
app-misc/beagle-0.2.0
Comment 23 Alessandro Pisani 2006-01-27 06:20:49 UTC
ebuild is missing a useflag check which was present in the 0.1.4 ebuild:
wv? ( >=app-text/wv-1.0.3-r1 )

conseguently the IUSE line have to be updated to:
IUSE="spreadsheet wv pdf webservices chm debug"
Comment 24 Daniel Drake (RETIRED) gentoo-dev 2006-01-28 05:02:00 UTC
A few things:

I'm now on amd64 so won't be committing this until a recent version of mono goes stable on amd64 and the mono USE flag gets unmasked. This should happen soon.

Beagle doesn't use libpoppler due to license issues, it executes pdfinfo and pdftotext directly. Does poppler-bindings provide these programs or should we dep on poppler instead?

The CHM filter is broken and should be disabled unconditionally.

webservices are now unmaintained and should also be unconditionally disabled.

I think I read that gmime isn't a strict dependency anymore.

Word document extraction depends on both gsf-sharp and wv. gsf-sharp wasn't in portage when the last ebuild went in which is why it was disabled for one version. gsf-sharp also adds support for indexing powerpoint files (and wv is not needed for that).

I think I read that evolution mail filtering now requires evolution-sharp (or maybe just an extra configure argument). In older versions, this wasn't the case, beagle unconditionally did evo mails.

evolution-sharp is now in portage, we should modify the ebuild to take care of this, it allows beagle to index address books.

I will commit the multilib fix upstream for 0.2.1

The EXIF_SOVERSION thing needs to be fixed (my mistake). We need to regenerate configure after modifying configure.in.

I think that is all :)
Comment 25 Aldo "xoen" Giambelluca 2006-01-30 14:54:52 UTC
Ehi 0.2.1 is out!!
The beagle developers are rocking ;)

http://mail.gnome.org/archives/dashboard-hackers/2006-January/msg00122.html
Comment 26 Daniel Drake (RETIRED) gentoo-dev 2006-02-04 12:11:03 UTC
Created attachment 78879 [details]
beagle-0.2.1.ebuild

Here's a new untested ebuild, feedback appreciated
Comment 27 Ilya Hegai 2006-02-05 04:03:53 UTC
beagle-0.2.1 depends on gnome-base/librsvg
(USE flags = -debug -evo +gtk -ole +pdf +python)
Comment 28 Chris Mayo 2006-02-05 06:50:23 UTC
Isn't the sed of configure.in only half the fix for sqlite3?

In the line:

PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.1, SQLITE_MAJ_VER="3", do_nothing="1")

the check sqlite3 >= 3.3.1 needs to be sqlite3 >= 3.3 because of the pkgconfig file for sqlite-3.3.3.
(http://cvs.gnome.org/viewcvs/beagle/configure.in?r1=1.216&r2=1.217)
Comment 29 Lance Lucas 2006-02-06 23:15:52 UTC
(In reply to comment #26)
> Created an attachment (id=78879) [edit]
> beagle-0.2.1.ebuild
> 
> Here's a new untested ebuild, feedback appreciated
> 

The ebuild seems to work well...beagled still dies though.  Is there a Right Way to collect and submit debug information for beagle?
Comment 30 Josué 2006-02-09 20:55:31 UTC
beagle-0.2.1 fails to compile on an amd64 because sqlite3 check fails...

but adding "sed -i -e 's/sqlite3 >= 3.3.1/sqlite3 >= 3.3/' configure.in" on src_unpack section of the ebuild solves the problem and beagle compiles... :)
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2006-02-14 09:04:03 UTC
*** Bug 122803 has been marked as a duplicate of this bug. ***
Comment 32 Luis Medinas (RETIRED) gentoo-dev 2006-02-23 12:31:13 UTC
bumped please open a new bug if there is any sqlite issues.