alexandria-book-collection-manager 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -1
- data/.rubocop.yml +45 -27
- data/.rubocop_todo.yml +127 -86
- data/.simplecov +1 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +5 -0
- data/ChangeLog.0 +33 -35
- data/Gemfile +2 -2
- data/INSTALL.md +152 -0
- data/Rakefile +12 -10
- data/alexandria-book-collection-manager.gemspec +5 -5
- data/bin/alexandria +2 -1
- data/doc/AUTHORS +61 -0
- data/doc/BUGS +31 -0
- data/doc/FAQ +369 -0
- data/doc/HACKING +19 -0
- data/doc/NEWS +341 -0
- data/doc/alexandria.1 +120 -0
- data/doc/cuecat_support.rdoc +67 -0
- data/doc/dependency_decisions.yml +61 -0
- data/lib/alexandria.rb +2 -0
- data/lib/alexandria/about.rb +7 -6
- data/lib/alexandria/book_providers.rb +6 -6
- data/lib/alexandria/book_providers/adlibris.rb +9 -14
- data/lib/alexandria/book_providers/amazon_aws.rb +29 -33
- data/lib/alexandria/book_providers/amazon_ecs_util.rb +10 -14
- data/lib/alexandria/book_providers/barnes_and_noble.rb +9 -11
- data/lib/alexandria/book_providers/deastore.rb +12 -20
- data/lib/alexandria/book_providers/douban.rb +9 -15
- data/lib/alexandria/book_providers/mcu.rb +26 -13
- data/lib/alexandria/book_providers/proxis.rb +9 -15
- data/lib/alexandria/book_providers/pseudomarc.rb +15 -27
- data/lib/alexandria/book_providers/renaud.rb +18 -9
- data/lib/alexandria/book_providers/siciliano.rb +8 -9
- data/lib/alexandria/book_providers/thalia.rb +6 -6
- data/lib/alexandria/book_providers/web.rb +2 -0
- data/lib/alexandria/book_providers/worldcat.rb +6 -7
- data/lib/alexandria/book_providers/z3950.rb +19 -10
- data/lib/alexandria/config.rb +4 -2
- data/lib/alexandria/console.rb +2 -0
- data/lib/alexandria/execution_queue.rb +2 -2
- data/lib/alexandria/export_library.rb +14 -18
- data/lib/alexandria/import_library.rb +8 -16
- data/lib/alexandria/import_library_csv.rb +5 -52
- data/lib/alexandria/logging.rb +4 -6
- data/lib/alexandria/models/book.rb +2 -0
- data/lib/alexandria/models/library.rb +10 -20
- data/lib/alexandria/net.rb +2 -0
- data/lib/alexandria/preferences.rb +10 -14
- data/lib/alexandria/scanners.rb +2 -0
- data/lib/alexandria/scanners/cuecat.rb +4 -2
- data/lib/alexandria/scanners/keyboard.rb +2 -0
- data/lib/alexandria/smart_library.rb +4 -3
- data/lib/alexandria/ui.rb +2 -0
- data/lib/alexandria/ui/builder_base.rb +2 -0
- data/lib/alexandria/ui/callbacks.rb +8 -12
- data/lib/alexandria/ui/columns.rb +2 -0
- data/lib/alexandria/ui/completion_models.rb +2 -0
- data/lib/alexandria/ui/dialogs/about_dialog.rb +3 -1
- data/lib/alexandria/ui/dialogs/acquire_dialog.rb +11 -17
- data/lib/alexandria/ui/dialogs/alert_dialog.rb +2 -0
- data/lib/alexandria/ui/dialogs/bad_isbns_dialog.rb +10 -2
- data/lib/alexandria/ui/dialogs/barcode_animation.rb +2 -0
- data/lib/alexandria/ui/dialogs/book_properties_dialog.rb +5 -9
- data/lib/alexandria/ui/dialogs/book_properties_dialog_base.rb +3 -3
- data/lib/alexandria/ui/dialogs/export_dialog.rb +3 -3
- data/lib/alexandria/ui/dialogs/import_dialog.rb +2 -2
- data/lib/alexandria/ui/dialogs/misc_dialogs.rb +6 -4
- data/lib/alexandria/ui/dialogs/new_book_dialog.rb +22 -31
- data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +3 -3
- data/lib/alexandria/ui/dialogs/new_smart_library_dialog.rb +3 -3
- data/lib/alexandria/ui/dialogs/preferences_dialog.rb +8 -18
- data/lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb +2 -0
- data/lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb +4 -6
- data/lib/alexandria/ui/dndable.rb +4 -2
- data/lib/alexandria/ui/icons.rb +3 -3
- data/lib/alexandria/ui/iconview.rb +3 -3
- data/lib/alexandria/ui/iconview_tooltips.rb +4 -6
- data/lib/alexandria/ui/init.rb +2 -0
- data/lib/alexandria/ui/libraries_combo.rb +2 -0
- data/lib/alexandria/ui/listview.rb +15 -12
- data/lib/alexandria/ui/main_app.rb +2 -0
- data/lib/alexandria/ui/multi_drag_treeview.rb +2 -0
- data/lib/alexandria/ui/sidepane.rb +8 -6
- data/lib/alexandria/ui/sound.rb +2 -0
- data/lib/alexandria/ui/ui_manager.rb +37 -43
- data/lib/alexandria/undo_manager.rb +2 -0
- data/lib/alexandria/version.rb +5 -3
- data/lib/alexandria/web_themes.rb +2 -0
- data/spec/alexandria/book_providers_spec.rb +12 -49
- data/spec/alexandria/book_spec.rb +4 -2
- data/spec/alexandria/library_spec.rb +2 -0
- data/spec/alexandria/preferences_spec.rb +2 -0
- data/spec/alexandria/scanners/cuecat_spec.rb +2 -0
- data/spec/alexandria/smart_library_spec.rb +3 -1
- data/spec/alexandria/ui/dialogs_spec.rb +2 -0
- data/spec/alexandria/ui/iconview_spec.rb +2 -0
- data/spec/alexandria/ui/main_app_spec.rb +2 -0
- data/spec/alexandria/ui/sidepane_spec.rb +2 -0
- data/spec/alexandria/ui/sound_spec.rb +2 -0
- data/spec/alexandria/ui/ui_manager_spec.rb +2 -0
- data/spec/alexandria/ui/ui_utilities_spec.rb +2 -0
- data/spec/alexandria/utilities_spec.rb +2 -0
- data/spec/spec_helper.rb +2 -0
- data/tasks/dogtail.rake +2 -0
- data/tasks/setup.rb +3 -1
- data/tasks/spec.rake +2 -0
- data/util/rake/fileinstall.rb +6 -12
- data/util/rake/gettextgenerate.rb +9 -64
- data/util/rake/omfgenerate.rb +3 -3
- metadata +21 -37
- data/INSTALL.rdoc +0 -148
- data/lib/alexandria/book_providers/bol_it.rb +0 -160
- data/lib/alexandria/book_providers/ibs_it.rb +0 -147
- data/lib/alexandria/book_providers/webster_it.rb +0 -167
data/CHANGELOG.md
CHANGED
data/ChangeLog.0
CHANGED
@@ -1,38 +1,36 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
2007-02-24 to 2007-04-02 Marco Costantini <costanti@science.unitn.it>
|
1
|
+
2007-06-18 Marco Costantini <costanti@science.unitn.it>
|
2
|
+
|
3
|
+
* Revision of the Italian translation
|
4
|
+
* Added anonymous patch
|
5
|
+
* [#11170] cuecat userland support
|
6
|
+
http://rubyforge.org/tracker/index.php?func=detail&aid=11170&group_id=205&atid=865
|
7
|
+
I don't have a cuecat, and I don't know whether this patch is OK.
|
8
|
+
|
9
|
+
2007-04-27 Marco Costantini <costanti@science.unitn.it>
|
10
|
+
|
11
|
+
* Updated providers Worldcat and bol.it
|
12
|
+
|
13
|
+
2007-04-06 Marco Costantini <costanti@science.unitn.it>
|
14
|
+
|
15
|
+
* CSV list export:
|
16
|
+
- the file has extension "csv"
|
17
|
+
- fixed in case that authors is [] or elements are missing
|
18
|
+
* ONIX export:
|
19
|
+
- removed an unnecessary .to_s
|
20
|
+
- removed use of CGI.escapeHTML, whch is unnecessary
|
21
|
+
- fixed in case that ISBN is missing
|
22
|
+
* BibTeX export:
|
23
|
+
- fixed in case that authors is [] or elements are missing
|
24
|
+
- exported also book.publishing_year
|
25
|
+
* HTML export:
|
26
|
+
- added meta "Author", "Description", "Keywords"
|
27
|
+
* Tellico export:
|
28
|
+
- added info on wether the book has been read or loaned
|
29
|
+
* Tellico import:
|
30
|
+
- imported notes
|
31
|
+
|
32
|
+
|
33
|
+
2007-02-24 to 2007-04-02 Marco Costantini <costanti@science.unitn.it>
|
36
34
|
|
37
35
|
* added new Z39.50 provider "Servizio Bibliotecario Nazionale (Italy)"
|
38
36
|
* added the FAQ
|
data/Gemfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source 'https://rubygems.org'
|
2
4
|
|
3
5
|
# The gem's dependencies are specified in the gemspec
|
4
6
|
gemspec
|
5
7
|
|
6
8
|
group :development, :test do
|
7
|
-
gem 'pry'
|
8
|
-
gem 'rubocop', '~> 0.46.0'
|
9
9
|
gem 'simplecov'
|
10
10
|
gem 'yard', '~> 0.9.5'
|
11
11
|
end
|
data/INSTALL.md
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
# Installing Alexandria
|
2
|
+
|
3
|
+
Alexandria is written in Ruby with a GTK+3/GNOME user-interface. It
|
4
|
+
currently only runs on UNIX-style systems, such as GNU/Linux.
|
5
|
+
|
6
|
+
Alexandria is not an easy project to build from scratch. Apart from
|
7
|
+
Ruby and GNOME, it has a lot of dependencies. Once the dependencies have been
|
8
|
+
installed, however, building and installing Alexandria is relatively
|
9
|
+
straightforward.
|
10
|
+
|
11
|
+
## Dependencies
|
12
|
+
|
13
|
+
The [Ruby-GNOME2](http://ruby-gnome2.sourceforge.jp/) user-interface
|
14
|
+
involves a number of packages:
|
15
|
+
|
16
|
+
* `gtk3`
|
17
|
+
* `gio2`
|
18
|
+
* `gstreamer`
|
19
|
+
|
20
|
+
You should have GTK+ 3, and use Ruby-GNOME2 `~> 3.1.0`.
|
21
|
+
|
22
|
+
[`ruby-gettext`](http://ruby-gettext.github.io/)
|
23
|
+
is required for the internationalisation of the user interface.
|
24
|
+
Requires version `~> 3.1`.
|
25
|
+
|
26
|
+
### Hpricot
|
27
|
+
|
28
|
+
Alexandria uses [hpricot](https://github.com/hpricot/hpricot) to
|
29
|
+
parse the HTML from web pages for providers such as DeaStore and
|
30
|
+
Siciliano. It is also used to parse the XML for the Amazon web
|
31
|
+
service.
|
32
|
+
|
33
|
+
## HTMLEntities
|
34
|
+
|
35
|
+
This is used by all website-based providers except MCU.
|
36
|
+
[htmlentities](https://github.com/threedaymonk/htmlentities) is used to
|
37
|
+
provide more flexible HTML parsing.
|
38
|
+
|
39
|
+
## Build Dependencies
|
40
|
+
|
41
|
+
### Ruby Dependencies
|
42
|
+
|
43
|
+
[`rake`](https://github.com/ruby/rake) is required to build Alexandria from
|
44
|
+
the project `Rakefile`.
|
45
|
+
|
46
|
+
You also need [`rubygems`](http://www.rubygems.org/) and
|
47
|
+
[`rspec`](http://rspec.rubyforge.org/) to run the RSpec test suite.
|
48
|
+
|
49
|
+
### Native Dependencies
|
50
|
+
|
51
|
+
The [`gettext`](http://www.gnu.org/software/gettext) package is needed
|
52
|
+
to generate the binary `mo` files used by `ruby-gettext` at
|
53
|
+
runtime. You also need the
|
54
|
+
[`intltool`](http://www.freedesktop.org/wiki/Software/intltool) package
|
55
|
+
to merge translations into generated files (and to extract
|
56
|
+
translatable string from xml files during development).
|
57
|
+
|
58
|
+
Note that these files are pre-generated in tar.gz releases, so you'll
|
59
|
+
only need them if you're building from the SVN version, or want to
|
60
|
+
change the translations.
|
61
|
+
|
62
|
+
### Ruby/ZOOM and Yaz
|
63
|
+
|
64
|
+
For Z39.50 support and and the *Library of Congress* and
|
65
|
+
*British Library* book providers you will need
|
66
|
+
[`ruby-zoom`](http://ruby-zoom.rubyforge.org), which in turn
|
67
|
+
requires the non-Ruby package [`yaz`](http://www.indexdata.dk/yaz).
|
68
|
+
|
69
|
+
Note that if you install the recent Ruby/ZOOM as the `zoom` gem, you
|
70
|
+
will also need to install the `marc` gem. (Older implementations of
|
71
|
+
ruby-zoom contained their own implementation of MARC.)
|
72
|
+
|
73
|
+
The Z39.50 Object-Orientation Model (ZOOM) is an international
|
74
|
+
standard for communication between computer systems, particularly
|
75
|
+
libraries and information-related systems.
|
76
|
+
|
77
|
+
### image_size
|
78
|
+
|
79
|
+
You will need
|
80
|
+
[`image_size`](https://github.com/toy/image_size) for
|
81
|
+
optimizing the cover images in exported libraries.
|
82
|
+
|
83
|
+
## Installing Alexandria
|
84
|
+
|
85
|
+
After installing all the non-Ruby dependencies, you should be able to install alexandria using
|
86
|
+
|
87
|
+
gem install alexandria-book-collection-manager
|
88
|
+
|
89
|
+
## Installing from Source
|
90
|
+
|
91
|
+
**These instructions are outdated and you should for now install alexandria as a gem**
|
92
|
+
|
93
|
+
To build Alexandria from a git checkout, go to the base project
|
94
|
+
directory (where the Rakefile and this INSTALL file are located) and
|
95
|
+
issue the command
|
96
|
+
|
97
|
+
rake build
|
98
|
+
|
99
|
+
If you have downloaded a source package, this step will not usually be
|
100
|
+
necessary.
|
101
|
+
|
102
|
+
You must have root priveledges to install, so use `su`
|
103
|
+
su -c 'rake install'
|
104
|
+
or `sudo`
|
105
|
+
sudo rake install
|
106
|
+
|
107
|
+
Now you can check the version of the installed Alexandria
|
108
|
+
alexandria --version
|
109
|
+
|
110
|
+
To launch Alexandria, simply use
|
111
|
+
alexandria
|
112
|
+
|
113
|
+
If you wish to see more output on the console, you can use
|
114
|
+
alexandria --debug
|
115
|
+
|
116
|
+
### Staged installation for making packages
|
117
|
+
|
118
|
+
When building a binary package (such as a deb or rpm) you will want to
|
119
|
+
"install" Alexandria into a specified directory instead of the root
|
120
|
+
filesystem. You should specify this as the DESTDIR environment variable
|
121
|
+
and use the `install_package_staging` task instead of `install`
|
122
|
+
|
123
|
+
DESTDIR=debian/alexandria rake install_package_staging
|
124
|
+
|
125
|
+
If your distribution uses a specific directory to install Ruby
|
126
|
+
packages, you should also set the RUBYLIBDIR.
|
127
|
+
|
128
|
+
### Installing in the home directory
|
129
|
+
|
130
|
+
If you want to install Alexandria in your home directory, you should
|
131
|
+
specify the PREFIX, SHARE and RUBYLIBDIR envrionment variables, and
|
132
|
+
use the `install_package` task instead of `install`.
|
133
|
+
|
134
|
+
PREFIX=$HOME SHARE=$HOME/.share RUBYLIBDIR=$HOME/.rubylib rake install_package
|
135
|
+
|
136
|
+
This will install the `alexandria` program into `$HOME/bin` (which you
|
137
|
+
should add to your `PATH`), and the ruby files to your
|
138
|
+
`$HOME/.rubylib` which you should add to your `RUBYLIBDIR` environment
|
139
|
+
variable.
|
140
|
+
|
141
|
+
### Uninstalling
|
142
|
+
|
143
|
+
To uninstall, simply run
|
144
|
+
|
145
|
+
sudo rake uninstall
|
146
|
+
|
147
|
+
(or `rake uninstall_package` if you installed in your home directory).
|
148
|
+
|
149
|
+
If you specified any of the environment variables PREFIX, SHARE,
|
150
|
+
RUBYLIBDIR and DESTDIR during the installation, you should use the
|
151
|
+
same variables during uninstallation (or rake won't know where to look
|
152
|
+
for the files it has to remove).
|
data/Rakefile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# -*- ruby -*-
|
2
4
|
#--
|
3
5
|
# Copyright (C) 2009 Cathal Mc Ginley
|
@@ -39,7 +41,7 @@ require_relative 'lib/alexandria/version'
|
|
39
41
|
stage_dir = ENV['DESTDIR'] || 'tmp'
|
40
42
|
prefix_dir = ENV['PREFIX'] || '/usr'
|
41
43
|
|
42
|
-
PROJECT = 'alexandria'
|
44
|
+
PROJECT = 'alexandria'
|
43
45
|
PREFIX = prefix_dir
|
44
46
|
share_dir = ENV['SHARE'] || "#{PREFIX}/share"
|
45
47
|
SHARE = share_dir
|
@@ -61,7 +63,7 @@ SHARE_FILE_GLOBS = ['data/alexandria/**/*', 'data/gnome/**/*.*',
|
|
61
63
|
ICON_FILE_GLOBS = ['data/app-icon/**/*.png',
|
62
64
|
'data/app-icon/scalable/*.svg'].freeze
|
63
65
|
|
64
|
-
PIXMAP_GLOBS = 'data/app-icon/32x32/*.xpm'
|
66
|
+
PIXMAP_GLOBS = 'data/app-icon/32x32/*.xpm'
|
65
67
|
|
66
68
|
def install_common(install_task)
|
67
69
|
install_task.install_exe('bin', 'bin/*', "#{PREFIX}/bin")
|
@@ -85,7 +87,7 @@ task debian_install: :install_package_staging
|
|
85
87
|
FileInstallTask.new(:package) do |j|
|
86
88
|
install_common(j)
|
87
89
|
|
88
|
-
docs = %w(README.rdoc
|
90
|
+
docs = %w(README.rdoc CHANGELOG.md INSTALL.md COPYING TODO.md)
|
89
91
|
devel_docs = ['doc/AUTHORS', 'doc/BUGS', 'doc/FAQ',
|
90
92
|
'doc/cuecat_support.rdoc']
|
91
93
|
j.install('', docs, "#{SHARE}/doc/#{PROJECT}")
|
@@ -133,7 +135,7 @@ def convert_with_type(value, type)
|
|
133
135
|
end
|
134
136
|
end
|
135
137
|
|
136
|
-
SCHEMA_PATH = 'schemas/alexandria.schemas'
|
138
|
+
SCHEMA_PATH = 'schemas/alexandria.schemas'
|
137
139
|
|
138
140
|
# This generates default_preferences.rb by copying over values from
|
139
141
|
# providers_priority key in alexandria.schemas (necessary?)
|
@@ -174,7 +176,9 @@ file 'lib/alexandria/default_preferences.rb' => [SCHEMA_PATH] do |f|
|
|
174
176
|
<<EOS
|
175
177
|
module Alexandria
|
176
178
|
class Preferences
|
177
|
-
DEFAULT_VALUES = {
|
179
|
+
DEFAULT_VALUES = {
|
180
|
+
#{generated_lines.join(",\n ")}
|
181
|
+
}
|
178
182
|
end
|
179
183
|
end
|
180
184
|
EOS
|
@@ -213,8 +217,8 @@ end
|
|
213
217
|
|
214
218
|
Rake::PackageTask.new(PROJECT, Alexandria::DISPLAY_VERSION) do |p|
|
215
219
|
p.need_tar_gz = true
|
216
|
-
p.package_files.include('README
|
217
|
-
'
|
220
|
+
p.package_files.include('README.md', 'COPYING', 'CHANGELOG.md', 'INSTALL.md',
|
221
|
+
'Rakefile', 'util/**/*',
|
218
222
|
'TODO.md', 'alexandria.desktop',
|
219
223
|
'alexandria.desktop.in',
|
220
224
|
'bin/**/*', 'data/**/*', 'misc/**/*',
|
@@ -239,9 +243,7 @@ end
|
|
239
243
|
task :gconf do
|
240
244
|
return if ENV['GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL']
|
241
245
|
|
242
|
-
unless system('which gconftool-2')
|
243
|
-
raise 'gconftool-2 cannot be found, is GConf2 correctly installed?'
|
244
|
-
end
|
246
|
+
raise 'gconftool-2 cannot be found, is GConf2 correctly installed?' unless system('which gconftool-2')
|
245
247
|
|
246
248
|
ENV['GCONF_CONFIG_SOURCE'] = `gconftool-2 --get-default-source`.chomp
|
247
249
|
Dir['schemas/*.schemas'].each do |schema|
|
@@ -1,4 +1,5 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require_relative 'lib/alexandria/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
@@ -6,7 +7,7 @@ Gem::Specification.new do |s|
|
|
6
7
|
s.version = Alexandria::VERSION
|
7
8
|
|
8
9
|
s.summary = 'GNOME application for managing collections of books'
|
9
|
-
s.required_ruby_version = '>=
|
10
|
+
s.required_ruby_version = '>= 2.3.0'
|
10
11
|
|
11
12
|
s.authors = [
|
12
13
|
'Alexander McCormmach',
|
@@ -44,11 +45,10 @@ Gem::Specification.new do |s|
|
|
44
45
|
s.rdoc_options = ['--main', 'README.md']
|
45
46
|
|
46
47
|
s.add_runtime_dependency('gettext', ['~> 3.1'])
|
48
|
+
s.add_runtime_dependency('gstreamer', ['3.2.1'])
|
49
|
+
s.add_runtime_dependency('gtk3', ['3.2.1'])
|
47
50
|
s.add_runtime_dependency('hpricot', ['~> 0.8.5'])
|
48
51
|
s.add_runtime_dependency('htmlentities', ['~> 4.3'])
|
49
|
-
s.add_runtime_dependency('gtk3', ['~> 3.1.0'])
|
50
|
-
s.add_runtime_dependency('gio2', ['~> 3.1.0'])
|
51
|
-
s.add_runtime_dependency('gstreamer', ['~> 3.0'])
|
52
52
|
s.add_runtime_dependency('image_size', ['~> 1.5.0'])
|
53
53
|
s.add_runtime_dependency('marc', ['~> 1.0.0'])
|
54
54
|
s.add_runtime_dependency('zoom', ['~> 0.5.0'])
|
data/bin/alexandria
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
# Copyright (C) 2004-2006 Laurent Sansonetti
|
4
5
|
# Copyright (C) 2007, 2008 Joseph Method
|
@@ -58,7 +59,7 @@ end.parse!
|
|
58
59
|
begin
|
59
60
|
Alexandria.main
|
60
61
|
rescue => e
|
61
|
-
|
62
|
+
warn <<EOS
|
62
63
|
-----------------------
|
63
64
|
Alexandria just crashed
|
64
65
|
-----------------------
|
data/doc/AUTHORS
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
Maintainer:
|
2
|
+
Matijs van Zuijlen <matijs@matijs.net>
|
3
|
+
|
4
|
+
Contributors:
|
5
|
+
Alexander McCormmach <alexander@tunicate.org>
|
6
|
+
Aymeric Nys <aymeric@nnx.com>
|
7
|
+
Cathal Mc Ginley <cathal.alexandria@gnostai.org>
|
8
|
+
Claudio Belotti <bel8@lilik.it>
|
9
|
+
Constantine Evans <cevans@costinet.org>
|
10
|
+
Dafydd Harries <daf@muse.19inch.net>
|
11
|
+
Javier Fernandez-Sanguino Pena <jfs@debian.org>
|
12
|
+
Joseph Method <tristil@gmail.com>
|
13
|
+
Kevin Schultz <schultkl@ieee.org>
|
14
|
+
Laurent Sansonetti <lrz@gnome.org>
|
15
|
+
Marco Costantini <costanti@science.unitn.it>
|
16
|
+
Mathieu Leduc-Hamel <arrak@arrak.org>
|
17
|
+
Owain Evans <o.evans@gmail.com>
|
18
|
+
Pascal Terjan <pterjan@linuxfr.org>
|
19
|
+
Rene Samselnig <sandman@sdm-net.org>
|
20
|
+
Robby Stephenson <robby@periapsis.org>
|
21
|
+
Sun Ning <classicning@gmail.com>
|
22
|
+
Takayuki Kusano <AE5T-KSN@asahi-net.or.jp>
|
23
|
+
Timothy Malone <timothy.malone@gmail.com>
|
24
|
+
Zachary P. Landau <kapheine@hypa.net>
|
25
|
+
|
26
|
+
Documentors:
|
27
|
+
Cathal Mc Ginley <cathal.alexandria@gnostai.org>
|
28
|
+
Liam Davison <registrations@liamjdavison.info>
|
29
|
+
|
30
|
+
Artists:
|
31
|
+
Andreas Nilsson <nisses.mail@home.se>
|
32
|
+
Stefanie Dijoux <stefanie.dijoux@gmail.com>
|
33
|
+
|
34
|
+
Translators:
|
35
|
+
Adrián Chaves Fernández <adriyetichaves@gmail.com> (gl)
|
36
|
+
Cathal Mc Ginley <cathal.alexandria@gnostai.org> (ga)
|
37
|
+
CHIKAMA Masaki <masaki.chikama@gmail.com> (ja)
|
38
|
+
Dafydd Harries <daf@muse.19inch.net> (cy)
|
39
|
+
Damjan Dimitrioski <damjandimitrioski@gmail.com> (mk)
|
40
|
+
Giacomo Margarito <giacomomargarito@gmail.com> (it)
|
41
|
+
Jack Myrseh <jack@enkom.no> (nb)
|
42
|
+
Joachim Breitner <mail@joachim-breitner.de> (de)
|
43
|
+
José Ling <jlgdot369@gmail.com> (zh_TW)
|
44
|
+
Lennart Karssen <lennart@karssen.org> (nl)
|
45
|
+
Lígia Moreira <ligia.moreira@netvisao.pt> (fr, pt, pt_BR)
|
46
|
+
Martin Karlsson <martinkarlsson81@hotmail.com> (sv)
|
47
|
+
Michael Kotsarinis <mkotsari1@pre.forthnet.gr> (el)
|
48
|
+
Miguel Ángel García <magmax@ieee.org> (es)
|
49
|
+
Peter Kováč <kovac.peter@fotopriestor.sk> (sk)
|
50
|
+
Petr Vanek <vanous@penguin.cz> (cs)
|
51
|
+
Piotr Drąg <piotrdrag@gmail.com> (pl)
|
52
|
+
Serhij Dubyk <dubyk@library.lviv.ua> (uk)
|
53
|
+
|
54
|
+
Former translators:
|
55
|
+
David Weinehall <tao@debian.org> (sv)
|
56
|
+
Jiří Pejchal <jiri.pejchal@gmail.com> (cs)
|
57
|
+
Laurent Sansonetti <lrz@gnome.org> (fr)
|
58
|
+
Lucas Rocha <lucasr@im.ufba.br> (pt_BR)
|
59
|
+
Marco Costantini <costanti@science.unitn.it> (it)
|
60
|
+
Masao Mutoh <mutoh@highway.ne.jp> (ja)
|
61
|
+
Mirko Maischberger <mirko@lilik.it> (it)
|
data/doc/BUGS
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
= Bugs and Shortcomings
|
2
|
+
|
3
|
+
There are a couple of well known, long-standing issues with
|
4
|
+
Alexandria. These issues will, hopefully, be addressed in upcoming
|
5
|
+
releases. There are also specific bugs tracked on RubyForge:
|
6
|
+
<http://rubyforge.org/tracker/?group_id=205>
|
7
|
+
|
8
|
+
== Icon Display Spacing
|
9
|
+
|
10
|
+
While the list view of books is naturally neat, the default icon view
|
11
|
+
suffers from problematic icon spacing; often the book covers appear to
|
12
|
+
be randomly scattered. They cannot even be adjusted afterwards. This
|
13
|
+
is just an aesthetic concern, but a frustrating one.
|
14
|
+
|
15
|
+
It is probable that this is due to inconsistent use of the GTK+ thread
|
16
|
+
dispatcher is at the root of these problems. Hopefully future
|
17
|
+
development can clean up the code in this regard.
|
18
|
+
|
19
|
+
== Multiple Copies of Books
|
20
|
+
|
21
|
+
The limited expressiveness of Alexandria's domain model means that it
|
22
|
+
is not possible to keep a record of more than one copy of a given book
|
23
|
+
in a single library.
|
24
|
+
|
25
|
+
== Large Collections
|
26
|
+
|
27
|
+
The user-interface becomes slow and unresponsive when dealing with
|
28
|
+
libraries over about 100 books. This is quite a low threshold on
|
29
|
+
scalability. The simple solution is to make a couple of new libraries
|
30
|
+
to hold a hundred books each; a common approach is to split them up
|
31
|
+
according to broad subject area.
|