From mboxrd@z Thu Jan 1 00:00:00 1970 From: HiPhish Subject: Re: Need help porting eDuke32 Date: Sun, 17 Feb 2019 17:21:36 +0100 Message-ID: <3942569.6XaQy4PdK7@aleksandar-ixtreme-m5740> References: <4082254.2VInIakpOu@aleksandar-ixtreme-m5740> <87pnrqxwdm.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart4778016.vVSGvuSzqf" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvPCN-0003RQ-Cs for help-guix@gnu.org; Sun, 17 Feb 2019 11:21:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvPCM-00044V-6K for help-guix@gnu.org; Sun, 17 Feb 2019 11:21:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]:50645) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvPCL-00040m-0Q for help-guix@gnu.org; Sun, 17 Feb 2019 11:21:46 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3AE4716005E for ; Sun, 17 Feb 2019 17:21:38 +0100 (CET) In-Reply-To: <87pnrqxwdm.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix@gnu.org This is a multi-part message in MIME format. --nextPart4778016.vVSGvuSzqf Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" On Sunday, 17 February 2019 16:33:41 CET you wrote: > Can you share your package definition? Sure, I posted the abridged version in the OP, here is the complete definit= ion: (define-public eduke32 (package (name "eduke32") (version "20181027-7136") (source (origin (method url-fetch) (uri (string-append "http://dukeworld.duke4.net/eduke32/synthesis/" version "/eduke32_src_" version ".tar.xz")) (sha256 (base32 "121k2k7ylw8dvs71mrdy7hwb1a2xd5di7jdqc20a1ml5k0n9akpn")))) (build-system gnu-build-system) (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (delete 'configure) (delete 'install)))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("sdl-union" ,(sdl-union (list sdl2 sdl2-mixer))) ("glu" ,glu) ("libvorbis" ,libvorbis) ("libvpx" ,libvpx) ("flac" ,flac) ("gtk+" ,gtk+-2))) (synopsis "Source port of the classic PC first person shooter Duke Nuke= m=20 3D") (description "EDuke32 is an awesome, free homebrew game engine and sour= ce=20 port of the classic PC first person shooter Duke Nukem 3D=E2=80=94Duke3D for short=E2= =80=94to Windows, Linux, Mac OS X, FreeBSD, several handhelds, your family toaster, and to yo= ur girlfriend's vibrator. We've added thousands of cool and useful features and upgrades for regular players and additional editing capabilities and script= ing extensions for homebrew developers and mod creators. EDuke32 is open source software that is completely free to use for all non-commercial purposes.") (home-page "http://eduke32.com/") (license (list gpl2)))) > Are you running those two commands from the build environment? Yes, from within the same build environment. I executed `guix environment -- pure --load=3Deduke32.scm` from within the source code directory and ran th= e=20 commands in the new shell. If I understand the user manual correctly, this= =20 should set up an environment in which all dependencies (inputs) declared in= =20 the package definition are set up, and nothing else. Is this correct? --nextPart4778016.vVSGvuSzqf Content-Disposition: attachment; filename="eduke32.scm" Content-Transfer-Encoding: quoted-printable Content-Type: text/x-scheme; charset="utf-8"; name="eduke32.scm" #!/usr/local/bin/guile !# (define-module (games eduke32) #:use-module ((guix packages) #:select (package origin base32)) #:use-module ((guix download) #:select (url-fetch)) #:use-module ((guix licenses) #:select (gpl2)) #:use-module ((guix build-system gnu) #:select (gnu-build-system)) #:use-module ((guix build-system trivial) #:select (trivial-build-system)) ;; Inputs #:use-module ((gnu packages sdl) #:select (sdl-union sdl2 sdl2-mixer)) #:use-module ((gnu packages gl) #:select (glu)) #:use-module ((gnu packages pkg-config) #:select (pkg-config)) #:use-module ((gnu packages xiph) #:select (libvorbis flac)) #:use-module ((gnu packages video) #:select (libvpx)) #:use-module ((gnu packages gtk) #:select (gtk+-2))) (define-public eduke32 (package (name "eduke32") (version "20181027-7136") (source (origin (method url-fetch) (uri (string-append "http://dukeworld.duke4.net/eduke32/synthesis/" version "/eduke32_src_" version ".tar.xz")) (sha256 (base32 "121k2k7ylw8dvs71mrdy7hwb1a2xd5di7jdqc20a1ml5k0n9akpn")))) (build-system gnu-build-system) (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (delete 'configure) (delete 'install)))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("sdl-union" ,(sdl-union (list sdl2 sdl2-mixer))) ("glu" ,glu) ("libvorbis" ,libvorbis) ("libvpx" ,libvpx) ("flac" ,flac) ("gtk+" ,gtk+-2))) (synopsis "Source port of the classic PC first person shooter Duke Nuke= m 3D") (description "EDuke32 is an awesome, free homebrew game engine and sour= ce port of the classic PC first person shooter Duke Nukem 3D=E2=80=94Duke3D for short=E2= =80=94to Windows, Linux, Mac OS X, FreeBSD, several handhelds, your family toaster, and to yo= ur girlfriend's vibrator. We've added thousands of cool and useful features and upgrades for regular players and additional editing capabilities and script= ing extensions for homebrew developers and mod creators. EDuke32 is open source software that is completely free to use for all non-commercial purposes.") (home-page "http://eduke32.com/") (license (list gpl2)))) =20 eduke32 --nextPart4778016.vVSGvuSzqf--