[info=cd9b21031074207ea776344b2df542364f5f735bd531a79277531aeaddc37a6f]

OBS-URL: https://build.opensuse.org/package/show/science/gap-xgap?expand=0&rev=7
This commit is contained in:
OBS User unknown 2025-02-27 23:12:27 +00:00 committed by Git OBS Bridge
commit dc160705ce
8 changed files with 142 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1740697291
commit: cd9b21031074207ea776344b2df542364f5f735bd531a79277531aeaddc37a6f
url: https://src.opensuse.org/jengelh/gap-xgap
revision: master

3
build.specials.obscpio Normal file
View File

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

22
gap-xgap.changes Normal file
View File

@ -0,0 +1,22 @@
-------------------------------------------------------------------
Thu Feb 27 23:00:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Make specfile conform to POSIX sh
-------------------------------------------------------------------
Wed Aug 21 20:58:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add gcc14.patch
-------------------------------------------------------------------
Sat Mar 23 22:09:27 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.32
* When resizing a GAP poset sheet via the Magnify command or
similar, the level labels were not getting moved correctly.
They should stay by the right side of the window.
-------------------------------------------------------------------
Sun Feb 12 20:59:04 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 4.31) for build.opensuse.org

56
gap-xgap.spec Normal file
View File

@ -0,0 +1,56 @@
#
# spec file for package gap-xgap
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gap-xgap
Version: 4.32
Release: 0
Summary: GAP: Graphical user interface for GAP
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: https://gap-packages.github.io/xgap/
#Git-Clone: https://github.com/gap-packages/xgap
Source: https://github.com/gap-packages/xgap/releases/download/v%version/xgap-%version.tar.gz
Patch1: gcc14.patch
BuildRequires: c_compiler
BuildRequires: fdupes
BuildRequires: gap-devel
BuildRequires: gap-rpm-devel
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xt)
Requires: gap-core >= 4.7
%description
The XGAP package allows to use graphics in GAP.
%prep
%autosetup -n xgap-%version -p1
%build
./configure --with-gaproot="%gapdir"
%make_build
%install
%gappkg_simple_install
cd "%buildroot/$moddir"
rm -Rfv configure config.* bin/*/config.* bin/*/configure cnf src.x11
%fdupes %buildroot/%_prefix
%files -f %name.files
%changelog

30
gcc14.patch Normal file
View File

@ -0,0 +1,30 @@
From 0c83898a23ad4c7b5b68a9fcf5899a68fa272e58 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 21 Aug 2024 22:49:31 +0200
Subject: [PATCH] build: resolve compile error under gcc-14
References: https://github.com/gap-packages/xgap/pull/33
xcmds.c: In function "FunChangeList":
xcmds.c:715:36: error: passing argument 2 of "XawListChange" from
incompatible pointer type [-Wincompatible-pointer-types]
715 | XawListChange( arg->sel->list, (const char **)text, 0, 0, True );
---
src.x11/xcmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src.x11/xcmds.c b/src.x11/xcmds.c
index 644996b..a0242c2 100644
--- a/src.x11/xcmds.c
+++ b/src.x11/xcmds.c
@@ -712,7 +712,7 @@ static Boolean FunChangeList (
text[i] = 0;
/* change list */
- XawListChange( arg->sel->list, (const char **)text, 0, 0, True );
+ XawListChange( arg->sel->list, (String *)text, 0, 0, True );
/* clear old text */
for ( i = 0; arg->sel->text[i]; i++ )
--
2.46.0

3
xgap-4.32.tar.gz Normal file
View File

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