summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-05-27 10:33:53 +0200
committerTim Biermann <tbier@posteo.de>2022-05-27 14:04:27 +0200
commit9c7342d3fff66de9d5a1bfe82fd474f7398c9dcc (patch)
tree51ac5345f22dcaf5017c101caf0a2272a53575ec
parent29f16881e3008206306532f70064b74491999c0b (diff)
downloadcontrib-9c7342d3fff66de9d5a1bfe82fd474f7398c9dcc.tar.gz
contrib-9c7342d3fff66de9d5a1bfe82fd474f7398c9dcc.tar.xz
gn: dropped
-rw-r--r--gn/.footprint3
-rw-r--r--gn/.signature5
-rw-r--r--gn/Pkgfile29
-rw-r--r--gn/foo.patch39
4 files changed, 0 insertions, 76 deletions
diff --git a/gn/.footprint b/gn/.footprint
deleted file mode 100644
index 8d7cc4a3a..000000000
--- a/gn/.footprint
+++ /dev/null
@@ -1,3 +0,0 @@
-drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/gn
diff --git a/gn/.signature b/gn/.signature
deleted file mode 100644
index 75afe6537..000000000
--- a/gn/.signature
+++ /dev/null
@@ -1,5 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3+YI/28osDGIXlfa419paM3cGJ+jO/OvklVOYp0tik9nRHUAUqLENrrt6hNrAslPxgNedBjpqdFO5/V/Lvt4Bgc=
-SHA256 (Pkgfile) = 0f99a656042274f5cdd0d1da7889534e5d6a2d62208195c8316ff3afeae8a619
-SHA256 (.footprint) = ebe24248910a2c4d544406fe7277892ed941f4a93079fb8d0c5fb7b2036bba9e
-SHA256 (gn-20200520.tar.gz) = ebf5ad8f251f75617b0269ae9fe9c72acc392ea84cb8ea486d7351b789527690
diff --git a/gn/Pkgfile b/gn/Pkgfile
deleted file mode 100644
index 85b3c943c..000000000
--- a/gn/Pkgfile
+++ /dev/null
@@ -1,29 +0,0 @@
-# Description: Meta-build system that generates build files for Ninja
-# URL: https://gn.googlesource.com/gn
-# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: python3 ninja clang
-
-name=gn
-version=20200520
-release=1
-source=(https://nullvoid.de/crux/distfiles/$name-$version.tar.gz)
- # because this ALWAYS changes it's signature! -.-
- #https://gn.googlesource.com/gn/+archive/2c801de70b8ed3c8e404245d61d32a3d61b328d0.tar.gz)
-
-build() {
- [[ -e /usr/bin/clang && -e /usr/bin/clang++ ]] && export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib
- unset CFLAGS
-
- /usr/bin/python3 build/gen.py --no-last-commit-position --no-strip --no-static-libstdc++
- export CXXFLAGS=+" -std=c++17"
- cat >out/last_commit_position.h <<-EOF
-#ifndef OUT_LAST_COMMIT_POSITION_H_
-#define OUT_LAST_COMMIT_POSITION_H_
-#define LAST_COMMIT_POSITION_NUM ${version}
-#define LAST_COMMIT_POSITION "${version}"
-#endif // OUT_LAST_COMMIT_POSITION_H_
-EOF
-
- ninja -C out gn
- install -D out/gn $PKG/usr/bin/gn
-}
diff --git a/gn/foo.patch b/gn/foo.patch
deleted file mode 100644
index eac8883bb..000000000
--- a/gn/foo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- build/gen.py.orig 2019-10-24 18:38:23.121474871 +0200
-+++ build/gen.py 2019-10-24 18:38:45.849743261 +0200
-@@ -125,35 +125,7 @@
-
-
- def GenerateLastCommitPosition(host, header):
-- ROOT_TAG = 'initial-commit'
-- describe_output = subprocess.check_output(
-- ['git', 'describe', 'HEAD', '--match', ROOT_TAG], shell=host.is_windows(),
-- cwd=REPO_ROOT)
-- mo = re.match(ROOT_TAG + '-(\d+)-g([0-9a-f]+)', describe_output.decode())
-- if not mo:
-- raise ValueError(
-- 'Unexpected output from git describe when generating version header')
--
-- contents = '''// Generated by build/gen.py.
--
--#ifndef OUT_LAST_COMMIT_POSITION_H_
--#define OUT_LAST_COMMIT_POSITION_H_
--
--#define LAST_COMMIT_POSITION "%s (%s)"
--
--#endif // OUT_LAST_COMMIT_POSITION_H_
--''' % (mo.group(1), mo.group(2))
--
-- # Only write/touch this file if the commit position has changed.
-- old_contents = ''
-- if os.path.isfile(header):
-- with open(header, 'r') as f:
-- old_contents = f.read()
--
-- if old_contents != contents:
-- with open(header, 'w') as f:
-- f.write(contents)
--
-+ return 0
-
- def WriteGenericNinja(path, static_libraries, executables,
- cc, cxx, ar, ld, platform, host, options,

Generated by cgit