Re: Builing 2.4.0~RC4
On 3/29/24 10:25, Rich Shepard wrote: On Fri, 29 Mar 2024, Richard Kimberly Heck wrote: Which build script? Riki, - #!/bin/sh # Slackware build script for LyX # Written by Morten Juhl-Johansen Zölde-Fejér # Now maintained by R. S. Ananda Murthy (rsamu...@gmail.com) PRGNAM=lyx VERSION=${VERSION:-2.3.7.1} # change as needed Try: ${VERSION:-2.4.0~RC4} This is more a Slackware issue than a LyX one. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Builing 2.4.0~RC4
On Fri, 29 Mar 2024, Eckhard Höffner wrote: Did you change the Version? Am 29.03.24 um 3:25 PM schrieb Rich Shepard: PRGNAM=lyx VERSION=${VERSION:-2.3.7.1} # change as needed Eckhard, Not for the installed version. When I tried to build lyx-2.4 I tried several ways of presenting that RC4 but none worked. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Builing 2.4.0~RC4
Did you change the Version? Am 29.03.24 um 3:25 PM schrieb Rich Shepard: PRGNAM=lyx VERSION=${VERSION:-2.3.7.1} # change as needed -- Eckhard Höffner Volkartstr. 64 80636 München 089 210 31 888 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Builing 2.4.0~RC4
On Fri, 29 Mar 2024, Richard Kimberly Heck wrote: Which build script? Riki, - #!/bin/sh # Slackware build script for LyX # Written by Morten Juhl-Johansen Zölde-Fejér # Now maintained by R. S. Ananda Murthy (rsamu...@gmail.com) PRGNAM=lyx VERSION=${VERSION:-2.3.7.1} # change as needed BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-qt5 \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Builing 2.4.0~RC4
On 3/28/24 16:41, Rich Shepard wrote: I downloaded lyx-2.4.0~RC4.tar.xz. That name is not accepted when the build script wants to crate a /tmp/ directory. Changing the file name to match what the build script says it's looking for also fails because the console displaying progress shows the version as above. Which build script? Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Builing 2.4.0~RC4
I downloaded lyx-2.4.0~RC4.tar.xz. That name is not accepted when the build script wants to crate a /tmp/ directory. Changing the file name to match what the build script says it's looking for also fails because the console displaying progress shows the version as above. Suggestions? Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users