initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

51
djview/PKGBUILD Normal file
View File

@@ -0,0 +1,51 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=djview
pkgver=4.12
_debver=$pkgver
_debrel=3
pkgrel=1
pkgdesc="Viewer for DjVu documents"
arch=('i686' 'x86_64')
url='https://djvu.sourceforge.net/'
license=('GPL-2' 'Expat')
depends=('qt-base' 'djvulibre')
makedepends=('qt-tools' 'quilt')
source=("https://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz"
"https://deb.debian.org/debian/pool/main/d/djview4/djview4_${_debver}-${_debrel}.debian.tar.xz"
"djvulibre-djview4.appdata.xml")
sha512sums=('0314c409b5474bb5bbe81aa2dc44b24507dac6f7cfde8d275a9d3bb1c2046b6ce2173543618ab7cbb702dbe94d7b2d85d3e19df09fafea73bb8662ee2ba89a01'
'27ffef6cbe8a9f1cba6737e2b5238a1c848599c044a4a057c555c56899410c056bbe7f270df34182ee3c898f7e1b1891a4fff8bce0327ffb0fd7f548719770eb'
'b4f24258008e4181f6588f2f5e3770f789d0154ddfd6a0d2f3585928ba019f7ec8b7f9e42b08c194eaec39bf93d67419adddb21c50f8913a8bab891097b9f6e6')
prepare() {
cd ${pkgname}4-$pkgver
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
# Debian patches
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
export QUILT_DIFF_ARGS='--no-timestamps'
rm -rf ./debian
mv "$srcdir"/debian .
quilt push -av
fi
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd ${pkgname}4-$pkgver
./configure \
--prefix=/usr \
--disable-nsdejavu
make
}
package() {
cd ${pkgname}4-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 ../djvulibre-djview4.appdata.xml "$pkgdir/usr/share/metainfo/djvulibre-djview4.appdata.xml"
ln -s djview "$pkgdir/usr/bin/djview4"
install -Dm644 COPYING COPYRIGHT -t "$pkgdir/usr/share/licenses/$pkgname"
}

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.sourceforge.djvu.DjView4</id>
<launchable type="desktop-id">djvulibre-djview4.desktop</launchable>
<name>DjView4</name>
<summary>Viewer for DjVu documents</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<developer_name>Léon Bottou</developer_name>
<description>
<p>DjView4 is a portable DjVu viewer</p>
<p>Highlights:</p>
<ul>
<li>Entirely based on the public djvulibre api.</li>
<li>Entirely written in portable Qt4/Qt5.</li>
<li>Works natively under Unix/X11, MS Windows, and MacOS X.</li>
<li>Continuous scrolling of pages</li>
<li>Side-by-side display of pages</li>
<li>Ability to specify a url to the djview command</li>
<li>All plugin and cgi options available from the command line</li>
<li>All silly annotations implemented</li>
<li>Display thumbnails as a grid</li>
<li>Display outlines</li>
<li>Page names supported (see djvused command set-page-title)</li>
<li>Metadata dialog (see djvused command set-meta)</li>
<li>Implemented as reusable Qt widgets</li>
</ul>
</description>
<screenshots>
<screenshot type="default">
<image>https://a.fsdn.com/con/app/proj/djvu/screenshots/djview.jpg</image>
</screenshot>
</screenshots>
<url type="bugtracker">https://sourceforge.net/p/djvu/bugs/</url>
<url type="homepage">http://djvu.sourceforge.net/djview4.html</url>
<update_contact>leon@bottou.org</update_contact>
</component>