[Lunar-commits] <moonbase> djview4: adding to moonbase,
Dennis 'stumbles' Veatch
stumbles at lunar-linux.org
Thu Jun 25 16:41:35 CEST 2009
commit 50534e04f62530a5e84bb069ae1c3006b4965568
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date: Thu Jun 25 10:41:35 2009 -0400
djview4: adding to moonbase,
go here for examples; http://djvu.org/gallery/
---
web/djview4/BUILD | 20 ++++++++++++++++++++
web/djview4/DEPENDS | 3 +++
web/djview4/DETAILS | 30 ++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/web/djview4/BUILD b/web/djview4/BUILD
new file mode 100644
index 0000000..8f62fa5
--- /dev/null
+++ b/web/djview4/BUILD
@@ -0,0 +1,20 @@
+(
+
+ . /etc/profile.d/qt4.rc
+
+ # This should always be just a link
+ rm -rf /usr/lib/netscape/plugins &&
+
+ OPTS="--enable-npdjvu --enable-nsdejavu"
+
+ default_build
+
+ # Install the plugins in the right directories
+ mkdir -p /opt/lunar/plugins &&
+ for plugin in `ls /usr/lib/netscape/plugins`; do
+ `install -m755 /usr/lib/netscape/plugins/$plugin /opt/lunar/plugins`; done &&
+
+ rm -rf /usr/lib/netscape/plugins &&
+ ln -snf /opt/lunar/plugins /usr/lib/netscape/plugins
+
+) > $C_FIFO 2>&1
diff --git a/web/djview4/DEPENDS b/web/djview4/DEPENDS
new file mode 100644
index 0000000..8be4b7d
--- /dev/null
+++ b/web/djview4/DEPENDS
@@ -0,0 +1,3 @@
+depends xdg-utils
+depends qt4
+depends djvulibre
diff --git a/web/djview4/DETAILS b/web/djview4/DETAILS
new file mode 100644
index 0000000..3cabaac
--- /dev/null
+++ b/web/djview4/DETAILS
@@ -0,0 +1,30 @@
+ MODULE=djview4
+ VERSION=4.5
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=$SFORGE_URL/djvu
+ SOURCE_VFY=sha1:d2fd259aa88f80393767f6dec921463da7820143
+ WEB_SITE=http://djvu.sourceforge.net/djview4.html
+ ENTERED=20090625
+ UPDATED=20090625
+ SHORT="portable DjVu viewer and browser plugin"
+
+cat << EOF
+DjView4 is a new portable DjVu viewer and browser plugin.
+
+Highlights:
+
+ * Entirely based on the public djvulibre api.
+ * Entirely written in portable Qt4.
+ * Works with Qt/X11, Qt/Mac, and Qt/Windows.
+ * Continuous scrolling of pages
+ * Side-by-side display of pages
+ * Ability to specify a url to the djview command
+ * All plugin and cgi options available from the command line
+ * All silly annotations implemented
+ * Display thumbnails as a grid
+ * Display outlines
+ * Page names supported (see djvused command set-page-title)
+ * Metadata dialog (see djvused command set-meta)
+ * Implemented as reusable Qt widgets
+
+EOF
More information about the Lunar-commits
mailing list