aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-04 04:57:52 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-04 05:23:26 +0100
commit9e172e31991ee4aead7e891c111e9734667f29de (patch)
tree56ffb7449399cfabf8c5c92568b747b03dc4ec4a
parent7ee1273120791fd6f4ad690c0913223bd3c980a9 (diff)
downloadhardware_replicant_libsamsung-ipc-9e172e31991ee4aead7e891c111e9734667f29de.tar.gz
hardware_replicant_libsamsung-ipc-9e172e31991ee4aead7e891c111e9734667f29de.tar.bz2
hardware_replicant_libsamsung-ipc-9e172e31991ee4aead7e891c111e9734667f29de.zip
scripts: Add manifest.scm
On Guix, if we have all the required dependencies installed, running ./autogen.sh && ./configure && make fails with the following error: CCLD libsamsung-ipc-test ld: /gnu/store/cm6wv72061h65lri2aqgwa8bvncls51h-openssl-1.1.1l/lib/libcrypto.so: undefined reference to `fstat@GLIBC_2.33' ld: /gnu/store/cm6wv72061h65lri2aqgwa8bvncls51h-openssl-1.1.1l/lib/libcrypto.so: undefined reference to `stat@GLIBC_2.33' The same command works when using guix shell or guix environment (still with all the dependencies). Having a manifest file in libsamsung-ipc will enable Guix system users to easily work on libsamsung-ipc without having to use trial and error to get a working setup. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--scripts/manifest.scm48
1 files changed, 48 insertions, 0 deletions
diff --git a/scripts/manifest.scm b/scripts/manifest.scm
new file mode 100644
index 0000000..32870f2
--- /dev/null
+++ b/scripts/manifest.scm
@@ -0,0 +1,48 @@
+;;; Copyright © 2021 Denis Carikli <GNUtoo@cyberdimension.org>
+;;;
+;;; This file is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; This file is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+;;; The guix.scm file is a convention: A file named guix.scm is
+;;; found in several project source code, either in the top
+;;; directory or in sub-directories like contrib for instance.
+
+;;; This file can be used to setup a development environment for Guix
+;;; users with the following command:
+;;; guix shell --pure --container -f scripts/manifest.scm
+
+(use-modules
+ (gnu packages autotools)
+ (gnu packages base)
+ (gnu packages commencement)
+ (gnu packages disk)
+ (gnu packages gawk)
+ (gnu packages pkg-config)
+ (gnu packages python)
+ (gnu packages python-xyz)
+ (gnu packages tls))
+
+(list
+ autoconf
+ automake
+ coreutils
+ ddrescue
+ gawk
+ gcc-toolchain
+ grep
+ libtool
+ gnu-make
+ openssl
+ pkg-config
+ python
+ python-sh
+ sed)