Sync from SUSE:SLFO:Main netsurf-buildsystem revision 1f7ab0a6c5568f5bf28e43e4a6ebde60

This commit is contained in:
Adrian Schröter 2024-05-03 17:00:40 +02:00
commit 93ebc03cce
5 changed files with 113 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

BIN
buildsystem-1.9.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

13
hardcoded.patch Normal file
View File

@ -0,0 +1,13 @@
Index: buildsystem-1.9/makefiles/Makefile.tools
===================================================================
--- buildsystem-1.9.orig/makefiles/Makefile.tools
+++ buildsystem-1.9/makefiles/Makefile.tools
@@ -135,7 +135,7 @@ else
endif
# Search the path for the compiler
- toolpath_ := $(shell /bin/which $(CC__))
+ toolpath_ := $(shell which $(CC__))
ifeq ($(toolpath_),)
toolpath_ := /opt/netsurf/$(HOST)/cross/bin/
CC__ := $(toolpath_)$(HOST)-gcc

View File

@ -0,0 +1,27 @@
-------------------------------------------------------------------
Wed Aug 26 12:08:36 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Add patch to not expect which to be in /bin:
* hardcoded.patch
-------------------------------------------------------------------
Tue Aug 25 15:32:49 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.9:
* openbsd support
* Enable sanitize target for new gccs and clang
* cope with Apple clang version
* Add support for INCLUDEDIR
* Fix Build/HOST confusion
* Fix quotation in case expansion for make selection
-------------------------------------------------------------------
Fri May 23 11:26:38 UTC 2014 - tchvatal@suse.com
- Try to parse with spec-cleaner.
-------------------------------------------------------------------
Fri May 23 10:33:46 UTC 2014 - fstrba@suse.com
- Initial import of netsurf-buildsystem, inspired by Fedora package

47
netsurf-buildsystem.spec Normal file
View File

@ -0,0 +1,47 @@
#
# spec file for package netsurf-buildsystem
#
# Copyright (c) 2020 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/
#
%define src_name buildsystem
Name: netsurf-buildsystem
Version: 1.9
Release: 0
Summary: Makefiles shared by NetSurf projects
License: MIT
URL: https://www.netsurf-browser.org/
Source: http://download.netsurf-browser.org/libs/releases/%{src_name}-%{version}.tar.gz
Patch0: hardcoded.patch
BuildArch: noarch
%description
%{name} contains makefiles shared by NetSurf projects.
%prep
%setup -q -n %{src_name}-%{version}
%autopatch -p1
%build
%install
%make_install PREFIX=%{_prefix}
%files
%license COPYING
%doc README
%{_datadir}/%{name}
%changelog