[Slackbuilds-users] Issue building new lyx-2.3.7-1

2023-01-07 Thread Rich Shepard
The lyx.SlackBuild script has always worked just fine building new versions. Until today. I downloaded lyx-2.3.7-1.tar.xz and modified lyx.SlackBuild for that version number. Running `lyx.SlackBuild` throws and error: ./lyx.SlackBuild: line 46: cd: lyx-2.3.7-1: No such file or directory That lin

Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1

2023-01-07 Thread Μιχάλης Μιχαλούδης
> 7 Ιαν 2023, 20:15, ο χρήστης «Rich Shepard » έγραψε: > > but the directory is > /tmp/SBo/lyx-2.3.7. Pseudo code - untested: Add this before cd $PRGNAM-$VERSION $VERSION = $(echo $VERSION | sed ‘s/-1//’) or better change the version to 3.2.7 There is a better solution with more lines, this i

Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1

2023-01-07 Thread Rich Shepard
On Sat, 7 Jan 2023, Μιχάλης Μιχαλούδης wrote: or better change the version to 3.2.7 That's what I did. It generated errors later in the build so I'll pass the logs to the lyx devs. Thanks, Rich ___ SlackBuilds-users mailing list SlackBuilds-users@s

Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1

2023-01-07 Thread B. Watson
On Sat, 7 Jan 2023, Rich Shepard wrote: The lyx.SlackBuild script has always worked just fine building new versions. Until today. I downloaded lyx-2.3.7-1.tar.xz and modified lyx.SlackBuild for that version number. Note that Slackware package version numbers are not allowed to contain the d

Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1

2023-01-07 Thread Rich Shepard
On Sat, 7 Jan 2023, B. Watson wrote: Note that Slackware package version numbers are not allowed to contain the dash/hyphen character, so whatever you do will have to be a bit fancier than setting VERSION="2.3.7-1". You'll have to set VERSION to something like 2.3.7_1 and add a bit of code to th