<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Sat, Dec 31, 2022 at 9:03 PM Willy Sudiarto Raharjo <<a href="mailto:willysr@slackbuilds.org">willysr@slackbuilds.org</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all<br>
<br>
i'm planning to bump imlib2 from 1.7.4 to 1.10.0<br>
there are 26 other scripts that depends on imlib2, so please test with <br>
the new imlib2 which i have pushed on separate branch: <br>
<a href="https://git.slackbuilds.org/slackbuilds/log/?h=imlib2-review" rel="noreferrer" target="_blank">https://git.slackbuilds.org/slackbuilds/log/?h=imlib2-review</a><br>
<br>
if everything checks out, i will merge it on this week's public update<br></blockquote><div><br></div><div class="gmail_default" style="font-family:monospace,monospace">Willy --</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I was able to build imlib2 1.10.0 both before and after I installed libjxl</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">One suggestion ... Does it make sense to maybe add an optional configure flag:  --enable-doc-build ?</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">When --enable-doc-build is passed to configure, Doxygen creates nice documentation in doc/html/ and also man/man3/ files ( not so useful ).</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks for all you do and Happy New Year !</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">-- kjh </div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">This is my q&d test to include docs.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"># diff -Naur a/imlib2.SlackBuild b/imlib2.SlackBuild<br>--- a/imlib2.SlackBuild   2023-01-01 06:26:02.050564904 -0600<br>+++ b/imlib2.SlackBuild   2023-01-01 08:07:39.278227647 -0600<br>@@ -78,6 +78,13 @@<br>  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \<br>   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;<br> <br>+if [ "$DO_DOCS" = "YES" ]; then<br>+   MAKE_DOCS="--enable-doc-build"<br>+   DOCS="$DOCS doc/html"<br>+else<br>+   MAKE_DOCS=""<br>+fi<br>+<br> CFLAGS="$SLKCFLAGS" \<br> CXXFLAGS="$SLKCFLAGS" \<br> ./configure \<br>@@ -86,6 +93,7 @@<br>   --sysconfdir=/etc \<br>   --localstatedir=/var \<br>   --docdir=/usr/doc/$PRGNAM-$VERSION \<br>+    $MAKE_DOCS \<br>   --disable-static \<br>   --build=$ARCH-slackware-linux<br> <br>@@ -102,6 +110,11 @@<br> cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION<br> cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild<br> <br>+if [ "$DO_DOCS" = "YES" ]; then<br>+   cp -va doc/man $PKG/usr/<br>+   find $PKG/usr/man -type f -print -exec gzip {} \;<br>+fi<br>+<br> mkdir -p $PKG/install<br> cat $CWD/slack-desc > $PKG/install/slack-desc<br> <br></div></div></div>