Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
textproc/rarian: Resurrect and upgrade to 0.8.5
Rarian has moved to a new upstream site and is being maintained. python is only needed for uploading upstream releases.
- Loading branch information
1 parent
a6266a4
commit 95665bb
Showing
11 changed files
with
191 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
PORTNAME= rarian | ||
PORTVERSION= 0.8.5 | ||
PORTREVISION= 6 | ||
CATEGORIES= textproc gnome | ||
|
||
MAINTAINER= truckman@FreeBSD.org | ||
COMMENT= OMF help system based on the Freedesktop specification | ||
WWW= https://rarian.freedesktop.org/ | ||
|
||
LICENSE= GPLv2+ LGPL21+ ZLIB | ||
LICENSE_COMB= multi | ||
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.UTILS | ||
LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LIB | ||
LICENSE_FILE_ZLIB= ${WRKSRC}/COPYING | ||
|
||
BUILD_DEPENDS= ${LOCALBASE}/bin/getopt:misc/getopt \ | ||
bash:shells/bash \ | ||
xsltproc:textproc/libxslt \ | ||
docbook-xml>0:textproc/docbook-xml \ | ||
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl | ||
LIB_DEPENDS= libtinyxml.so:textproc/tinyxml | ||
RUN_DEPENDS= ${LOCALBASE}/bin/getopt:misc/getopt \ | ||
bash:shells/bash \ | ||
xsltproc:textproc/libxslt \ | ||
docbook-xml>0:textproc/docbook-xml \ | ||
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl | ||
|
||
USES= autoreconf gmake gnome libtool localbase pathfix pkgconfig tar:bzip2 | ||
USE_GITLAB= yes | ||
GL_SITE= https://gitlab.freedesktop.org | ||
GL_TAGNAME= 0.8.5 | ||
USE_LDCONFIG= yes | ||
GNU_CONFIGURE= yes | ||
CONFIGURE_ARGS= --localstatedir=/var \ | ||
--with-convert-dir=${LOCALBASE}/share/omf \ | ||
--with-default-data-dirs="${LOCALBASE}/share:/usr/share" \ | ||
--with-default-infopath="${LOCALBASE}/info:${LOCALBASE}/share/info" \ | ||
--with-default-manpath="/usr/share/man:${LOCALBASE}/share/man:${LOCALBASE}/man" \ | ||
--with-gnu-getopt=${LOCALBASE}/bin/getopt \ | ||
--with-localstate-subdir=db/rarian \ | ||
--with-metadata-dir=${DOCSDIR} | ||
|
||
INSTALL_TARGET= install-strip | ||
|
||
post-patch: | ||
@${REINPLACE_CMD} -e 's|`getopt|`${LOCALBASE}/bin/getopt|' ${WRKSRC}/util/rarian-sk-update.in | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1704136985 | ||
SHA256 (rarian-0.8.5.tar.bz2) = 93cf05e6bf51af169d0b32a2dc03f9a0f7895cae4e58b1a9b75777c040e9be0f | ||
SIZE (rarian-0.8.5.tar.bz2) = 91098 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- util/Makefile.am.orig 2023-12-09 03:14:08 UTC | ||
+++ util/Makefile.am | ||
@@ -122,7 +122,7 @@ endif | ||
@cd $(DESTDIR)$(bindir); ln -s rarian-sk-rebuild scrollkeeper-rebuilddb | ||
@cd $(DESTDIR)$(bindir); ln -s rarian-sk-install scrollkeeper-uninstall | ||
@cd $(DESTDIR)$(bindir); ln -s rarian-sk-update scrollkeeper-update | ||
- @mkdir -p $(DESTDIR)/$(localstatedir)/lib/rarian | ||
+ @mkdir -p $(DESTDIR)/$(localstatedir)/db/rarian | ||
if ENABLE_SKDB_UPDATE | ||
@echo "Translating current database" | ||
@$(DESTDIR)$(bindir)/rarian-sk-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- util/rarian-sk-config.in.orig 2023-12-09 03:14:08 UTC | ||
+++ util/rarian-sk-config.in | ||
@@ -8,7 +8,7 @@ convert_dir=@CONVERT_DIR@ | ||
exec_prefix=@exec_prefix@ | ||
bindir=@bindir@ | ||
convert_dir=@CONVERT_DIR@ | ||
-statedir=@localstatedir@/lib/rarian | ||
+statedir=@localstatedir@/db/rarian | ||
datarootdir=@datarootdir@ | ||
datadir=@datadir@ | ||
output_dir=${datadir}/help | ||
@@ -47,7 +47,7 @@ case "$1" in | ||
print_help | ||
;; | ||
--version ) | ||
- echo $package_version \(Rarian replacement for scrollkeeper-config\) | ||
+ echo $package_version | ||
;; | ||
--prefix ) | ||
echo $prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- util/rarian-sk-rebuild.in.orig 2023-12-09 03:14:08 UTC | ||
+++ util/rarian-sk-rebuild.in | ||
@@ -9,7 +9,7 @@ datarootdir=@datarootdir@ | ||
bindir=@bindir@ | ||
convert_dir=@CONVERT_DIR@ | ||
datarootdir=@datarootdir@ | ||
-statedir=@localstatedir@/lib/rarian | ||
+statedir=@localstatedir@/db/rarian | ||
datadir=@datadir@ | ||
output_dir=${datadir}/help | ||
package_version=@PACKAGE_VERSION@ | ||
@@ -35,4 +35,4 @@ $bindir/rarian-sk-update -v --clean-index -o $convert_ | ||
|
||
$bindir/rarian-sk-update -v --clean-index -o $convert_string | ||
|
||
-fi | ||
\ No newline at end of file | ||
+fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- util/rarian-sk-update.in.orig 2023-12-09 03:14:08 UTC | ||
+++ util/rarian-sk-update.in | ||
@@ -19,7 +19,7 @@ bindir=@bindir@ | ||
prefix=@prefix@ | ||
exec_prefix=@exec_prefix@ | ||
bindir=@bindir@ | ||
-statedir=@localstatedir@/lib/rarian | ||
+statedir=@localstatedir@/db/rarian | ||
convert_dir=@CONVERT_DIR@ | ||
datarootdir=@datarootdir@ | ||
datadir=@datadir@ | ||
@@ -422,4 +422,4 @@ rm -rf $tmpdir | ||
fi | ||
rm -rf $tmpdir | ||
|
||
-fi # ENABLE_OMF_READ | ||
\ No newline at end of file | ||
+fi # ENABLE_OMF_READ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Rarian is designed to be a replacement for scrollkeeper. It is | ||
currently undergoing heavy development. As of writing, rarian can be | ||
installed in place of scrollkeeper and everything will work okay. | ||
|
||
Rarian manages documentation metadata (as specified by the Open Source | ||
Metadata Framework (OMF) and provides a simple API to allow help browsers | ||
to find, sort, and search the document catalog. It will also be able to | ||
communicate with catalog servers on the Net to search for documents which | ||
are not on the local system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
bin/rarian-example | ||
bin/rarian-sk-config | ||
bin/rarian-sk-extract | ||
bin/rarian-sk-gen-uuid | ||
bin/rarian-sk-get-cl | ||
bin/rarian-sk-get-content-list | ||
bin/rarian-sk-get-extended-content-list | ||
bin/rarian-sk-get-scripts | ||
bin/rarian-sk-install | ||
bin/rarian-sk-migrate | ||
bin/rarian-sk-preinstall | ||
bin/rarian-sk-rebuild | ||
bin/rarian-sk-update | ||
bin/scrollkeeper-config | ||
bin/scrollkeeper-extract | ||
bin/scrollkeeper-gen-seriesid | ||
bin/scrollkeeper-get-cl | ||
bin/scrollkeeper-get-content-list | ||
bin/scrollkeeper-get-extended-content-list | ||
bin/scrollkeeper-get-index-from-docpath | ||
bin/scrollkeeper-get-toc-from-docpath | ||
bin/scrollkeeper-get-toc-from-id | ||
bin/scrollkeeper-install | ||
bin/scrollkeeper-preinstall | ||
bin/scrollkeeper-rebuilddb | ||
bin/scrollkeeper-uninstall | ||
bin/scrollkeeper-update | ||
include/rarian/rarian-info.h | ||
include/rarian/rarian-main.h | ||
include/rarian/rarian-man.h | ||
include/rarian/rarian-reg-utils.h | ||
include/rarian/rarian.h | ||
lib/librarian.a | ||
lib/librarian.so | ||
lib/librarian.so.0 | ||
lib/librarian.so.0.0.0 | ||
libdata/pkgconfig/rarian.pc | ||
share/help/rarian.document | ||
share/librarian/Templates/C/scrollkeeper_cl.xml | ||
share/librarian/manual/help-spec-0.2.xml | ||
share/librarian/manual/index.xhtml | ||
share/librarian/manual/rar-lib.xhtml | ||
share/librarian/manual/rar-mdf.xhtml | ||
share/librarian/manual/rar-skcompat.xhtml | ||
share/librarian/rarian-sk-cl.xml | ||
@dir /var/db/rarian | ||
@postunexec rmdir /var/db/rarian/* 2>/dev/null || true | ||
@postexec %%PREFIX%%/bin/rarian-sk-update || true |