4 Commits

Author SHA256 Message Date
6c8a7d8032 Accepting request 1321278 from shells
- Make it build

OBS-URL: https://build.opensuse.org/request/show/1321278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scsh?expand=0&rev=10
2025-12-05 15:58:54 +00:00
7725548a24 .
OBS-URL: https://build.opensuse.org/package/show/shells/scsh?expand=0&rev=22
2025-12-05 10:45:04 +00:00
21f87aef28 Accepting request 1226188 from shells
- Update scsh to git commit 6770db2
- Delete scsh-install-lib-1.3.0.tar.gz as not used anymore
- Make it build even with scheme48 >= 1.9.2

OBS-URL: https://build.opensuse.org/request/show/1226188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scsh?expand=0&rev=9
2024-11-25 22:21:33 +00:00
1e228a1790 Make it build
OBS-URL: https://build.opensuse.org/package/show/shells/scsh?expand=0&rev=20
2024-11-25 07:52:57 +00:00
6 changed files with 31 additions and 21 deletions

View File

@@ -9,8 +9,8 @@
AC_CHECK_LIB(util, openpty, have_openpty=yes need_libutil=yes)])
if test "$have_openpty" = "yes"; then
AC_DEFINE(HAVE_OPENPTY, 1, [Define to 1 if you have the 'openpty' function])
- AC_CHECK_HEADERS(libutil.h util.h, break)
+ AC_CHECK_HEADERS(libutil.h pty.h util.h, break)
- AC_CHECK_HEADERS(libutil.h util.h)
+ AC_CHECK_HEADERS(libutil.h pty.h util.h)
if test "$need_libutil" = "yes"; then
LIBS="${LIBS} -lutil"
fi

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de3c2461b73e974efb6248e6847b386eb54f9c47e58f7d9973f8f1daf801ff6c
size 227203

3
scsh-6770db2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f14a187d99b0be7402d8f19ad4420e6c6ed495ee9ff79212a9b1d57f7d2dfeda
size 227220

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e536cf11ac309b0ddab797a53211d5dcea55cf47835cfb15626577411ec14ef
size 142852

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Dec 5 10:44:45 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Make it build
-------------------------------------------------------------------
Mon Nov 25 07:39:47 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Update scsh to git commit 6770db2
- Delete scsh-install-lib-1.3.0.tar.gz as not used anymore
- Make it build even with scheme48 >= 1.9.2
-------------------------------------------------------------------
Mon Feb 26 13:21:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package scsh
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +25,8 @@
%define bootstrap 0
%define base %nil
%endif
%define scshcommit 114432435e4eadd54334df6b37fcae505079b49f
%define scshshort 1144324
%define scshcommit 6770db21b08edd907d1c9bd962297ff55664e3fe
%define scshshort 6770db2
%define scshver 0.7
%define rxcommit dd9037f6f9ea01019390614f6b126b7dd293798d
%define rxshort dd9037f
@@ -41,7 +41,6 @@ Group: System/Shells
URL: https://scsh.net
Source0: https://github.com/scheme/scsh/archive/%{scshcommit}/scsh-%{scshshort}.tar.gz
Source1: https://github.com/scheme/rx/archive/%{rxcommit}/rx-%{rxshort}.tar.gz
Source2: scsh-install-lib-1.3.0.tar.gz
Patch0: declaration.patch
BuildRequires: autoconf
BuildRequires: automake
@@ -73,11 +72,13 @@ Requires: scsh-base = %version
BuildRequires: scsh-base = %version
%endif
BuildRequires: racket
BuildRequires: scheme48 = %{scheme}
BuildRequires: scheme48-devel = %{scheme}
Requires: scheme48-vm = %{scheme}
BuildRequires: scheme48 >= %{scheme}
BuildRequires: scheme48-devel >= %{scheme}
Requires: scheme48-vm >= %{scheme}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global buildscheme %(rpm -q scheme48-devel --qf '%{VERSION}')
%define add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:) \
%global optflags %{optflags} %{**}
@@ -96,10 +97,10 @@ ln -sf rx-%{rxcommit} rx
%build
autoreconf
%add_optflags -Wall -Wno-return-type -fPIC -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500
%add_optflags -Wall -Wno-return-type -fPIC -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -std=gnu99
%configure --with-scheme48=%{_libdir}/scheme48-%{scheme}
%make_build SCHEME48VM=%{_libdir}/scheme48-%{scheme}/scheme48vm
%configure --with-scheme48=%{_libdir}/scheme48-%{buildscheme}
%make_build SCHEME48VM=%{_libdir}/scheme48-%{buildscheme}/scheme48vm
%if 0%{?bootstrap} == 0
cp -p rx/README README.rx
@@ -117,10 +118,10 @@ popd
PATH=%{buildroot}%{_bindir}:$PATH
export PATH
%if 0%{?bootstrap} > 0
make DESTDIR=%{buildroot} SCHEME48VM=%{_libdir}/scheme48-%{scheme}/scheme48vm enough dirs install-scsh
make DESTDIR=%{buildroot} SCHEME48VM=%{_libdir}/scheme48-%{buildscheme}/scheme48vm enough dirs install-scsh
rm -rf %{buildroot}%{_bindir}
%else
make DESTDIR=%{buildroot} SCHEME48VM=%{_libdir}/scheme48-%{scheme}/scheme48vm install
make DESTDIR=%{buildroot} SCHEME48VM=%{_libdir}/scheme48-%{buildscheme}/scheme48vm install
%if 0%{?suse_version} < 1550
mkdir -p %{buildroot}/bin
ln -sf %{_bindir}/scsh %{buildroot}/bin/scsh