[Slackbuilds-users] owncloud-client
Larry Hajali
larryhaja at gmail.com
Fri Sep 4 22:22:42 UTC 2015
I turns out if you just have the minimum dependencies installed (ie.
qtkeychain) then you'll get the error that $PKG/usr/man doesn't exist. The
following message during cmake step is seen when Sphinx isn't installed.
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
Sphinx is used to create the documentation. However if Sphinx is installed
and documentation isn't generated then $PKG/usr/man exists as an empty
directory. I've created a diff of the owncloud-client.SlackBuild that will
accommodate if Sphinx is installed or not. This patch also works on the
new owncloud-client version 2.0.1.
Thanks,
Larry
On Fri, Sep 4, 2015 at 1:09 PM, Panagiotis Nikolaou <
hostmaster at slackonly.com> wrote:
> Hi!
> owncloud-client failed to build here is the log from sbopkg:
>
> -- Installing:
>
> /tmp/SBo/package-owncloud-client/usr/share/nautilus-python/extensions/syncstate.py
> rmdir: failed to remove '/tmp/SBo/package-owncloud-client/usr/man': No
> such file or directory
>
> owncloud-client:
> Would you like to continue processing the rest of the
> queue or would you like to abort? If this failed
> package is a dependency of another package in the queue
> then it may not make sense to continue.
>
> (Y)es to continue, (N)o to abort, (R)etry the build?: n
>
> seems there is no $PKG/usr/man so after comment out:
> rmdir $PKG/usr/man
> sbopkg is able to build owncloud-client successfully...
>
>
>
>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150904/339b53cf/attachment-0001.html>
-------------- next part --------------
--- owncloud-client.SlackBuild.orig 2015-09-04 22:06:27.900243680 +0000
+++ owncloud-client.SlackBuild 2015-09-04 21:57:17.002226072 +0000
@@ -24,7 +24,7 @@
PRGNAM=owncloud-client
VERSION=${VERSION:-1.8.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=owncloudclient
@@ -83,6 +83,7 @@
-DCMAKE_BUILD_TYPE="Release" \
..
make VERBOSE=1
+ make doc
make install DESTDIR=$PKG
cd ..
@@ -95,7 +96,7 @@
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rmdir $PKG/usr/man
+[ -d "$PKG/usr/man" ] && find $PKG/usr/man -type f -exec gzip -9 '{}' \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
More information about the SlackBuilds-users
mailing list