Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581984 - >=app-text/xapian-omega-1.3.5-r1 does not install certain dirs.
Summary: >=app-text/xapian-omega-1.3.5-r1 does not install certain dirs.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-03 17:41 UTC by Oleh
Modified: 2016-05-08 04:01 UTC (History)
2 users (show)

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


Attachments
installed (xapian-omega-installed-contents.txt,1.18 KB, text/plain)
2016-05-03 17:41 UTC, Oleh
Details
unpacked (xapian-omega-unpacked-contents.txt,8.37 KB, text/plain)
2016-05-03 17:42 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-05-03 17:41:24 UTC
templates directory, which i need is not installed by ebuild, however, present in sources tarball. Attached contents of installed package and what's included in tarball.

Reproducible: Always
Comment 1 Oleh 2016-05-03 17:41:49 UTC
Created attachment 433114 [details]
installed
Comment 2 Oleh 2016-05-03 17:42:04 UTC
Created attachment 433116 [details]
unpacked
Comment 3 Anthony Basile gentoo-dev 2016-05-05 02:03:22 UTC
(In reply to Oleg from comment #0)
> templates directory, which i need is not installed by ebuild, however,
> present in sources tarball. Attached contents of installed package and
> what's included in tarball.
> 
> Reproducible: Always

I looked in their build system and it doesn't really have any way of installing the templates, so I don't know where they would go in the filesystem.  Can you suggest something.
Comment 4 Oleh 2016-05-05 14:21:33 UTC
here is configuration file, which could enlighten things:
/etc/omega.conf

# Directory containing Xapian databases:
database_dir /var/lib/omega/data

# Directory containing OmegaScript templates:
template_dir /var/lib/omega/templates

# Default template name if the CGI parameter "FMT" is not specified.
# (If not specified here, the default template name is "query"):
#default_template query

# Directory to write Omega logs to:
log_dir /var/log/omega

# Directory containing any cdb files for the $lookup OmegaScript command:
cdb_dir /var/lib/omega/cdb

so, approximate dirs would be:

/var/lib/omega/data
/var/log/omega
/var/lib/omega/templates
/var/lib/omega/cdb

And here is how Debian handle:
their /etc/omega.conf

# Directory containing Xapian databases:
database_dir /var/lib/xapian-omega/data

# Directory containing OmegaScript templates:
template_dir /var/lib/xapian-omega/templates

# Directory to write Omega logs to:
log_dir /var/log/xapian-omega

# Directory containing any cdb files for the $lookup OmegaScript command:
cdb_dir /var/lib/xapian-omega/cdb
And they installing templates into /usr/share/xapian-omega/templates/ and /var/lib/xapian-omega/templates is just symlink to /usr/share/xapian-omega/templates/
not sure why is that. maybe about something having separate /usr.
Comment 5 Anthony Basile gentoo-dev 2016-05-07 14:21:59 UTC
Okay, I've made gentoo's installation look like debian's.  can you please install 1.3.5-r2 and see if it addresses your issues.  if it doesn't or there still stuff to be done, please reopen this bug.  thanks for the report.
Comment 6 Oleh 2016-05-08 04:01:19 UTC
looks good, thx.