From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 24 15:48:08 2023 Received: (at submit) by debbugs.gnu.org; 24 Mar 2023 19:48:08 +0000 Received: from localhost ([127.0.0.1]:41416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfnOR-0003aw-2X for submit@debbugs.gnu.org; Fri, 24 Mar 2023 15:48:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:35162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfnOO-0003aZ-Fl for submit@debbugs.gnu.org; Fri, 24 Mar 2023 15:48:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfnON-0006d6-Vv for guix-patches@gnu.org; Fri, 24 Mar 2023 15:48:04 -0400 Received: from dd30410.kasserver.com ([85.13.145.193]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfnOK-0006FK-EU for guix-patches@gnu.org; Fri, 24 Mar 2023 15:48:03 -0400 Received: from a300.lan (84-115-230-178.cable.dynamic.surfer.at [84.115.230.178]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 5EF2311205EF; Fri, 24 Mar 2023 20:47:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scratchpost.org; s=kas202303142049; t=1679687264; bh=VIOAssheFXjvo/EeA85EZdKH4HmiOXnXGfafRHqB+AY=; h=From:To:Cc:Subject:Date:From; b=FBZUvofNbNq9BG+E8M+u+3ofGxDdrCo53S0C9sCzzD/IdtUD9+rRyUy7hyaUPUIdL J7RfVf1a8VogbJWlL6KST/lwCBuSuDbf2Ds3bhybzLv9hF8JIfN1HLA05SIU+kwu3n LKUSJxlLMiPiYi+pg164jJ334CvZQeelQoEhDyvjaIMmEDPFdodwJzoW8iHM/QYIed 4IeA1xAyFyobFNBpCUJEIWTPd1oiOj3VxiWhb6RdL4emO1NQCqGXWC3+HVn/nN9YFO yybimwNsxCPbgT/mzV2TQ0chWBg18aka+53I68847U0i+ZTDxA4+iOUaA8G7F8ro0Q 8W/+1MSsY6Kag== From: dannym@scratchpost.org To: guix-patches@gnu.org Subject: [PATCH] gnu: Add lazarus. Date: Thu, 23 Mar 2023 11:16:04 +0100 Message-Id: <20230323101604.17976-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: + Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd30410.kasserver.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_24_48=1.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: submit Cc: Danny Milosavljevic X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) From: Danny Milosavljevic * gnu/packages/pascal.scm (lazarus): Add variable. --- gnu/packages/pascal.scm | 324 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 324 insertions(+) diff --git a/gnu/packages/pascal.scm b/gnu/packages/pascal.scm index f563f077dc..4432327bee 100644 --- a/gnu/packages/pascal.scm +++ b/gnu/packages/pascal.scm @@ -24,6 +24,7 @@ (define-module (gnu packages pascal) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix build-system gnu) @@ -32,9 +33,13 @@ (define-module (gnu packages pascal) #:use-module (gnu packages bootstrap) #:use-module (gnu packages compression) #:use-module (gnu packages gcc) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) #:use-module (ice-9 match)) (define %fpc-version "3.2.2") @@ -270,3 +275,322 @@ (define-public p2c Pascal programs.") (home-page "http://users.fred.net/tds/lab/p2c/") (license license:gpl2+))) + +(define-public lazarus + (package + (name "lazarus") + (version "2.2.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://gitlab.com/freepascal.org/lazarus/lazarus.git") + (commit (string-append "lazarus_" + (string-join + (string-split version #\.) + "_"))))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0hpk6fxmy1h1q0df41jg1vnp8g8vynrg5v5ad43lv229nizfs3wj")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No tests exist + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; RUNPATH -k-rpath= + ;; -Xr rlink-path + (let* ((libdirs + (map (lambda (x) + (assoc-ref inputs x)) + '("glib" "gdk-pixbuf" "gtk+" "libx11" + "libx11" "pango" "cairo" "atk"))) + (libs (append + (map (lambda (name) + (string-append "-Fl" name "/lib")) + libdirs) + (map (lambda (name) + (string-append "-k-rpath=" name "/lib")) + libdirs)))) + (setenv "LAZARUS_LIBPATHS" + (string-append ;"-XD " + (string-join libs " "))) + (setenv "MAKEFLAGS" + (string-append "LHELP_OPT=" + (string-join libs "\\ ")))) + (setenv "INSTALL_PREFIX" (assoc-ref outputs "out")) + (invoke "make" "bigide")))))) + (native-inputs + (list fpc pkg-config)) + (inputs + (list glib gdk-pixbuf gtk+-2 libx11 pango cairo atk)) + (synopsis "Integrated development environment for Pascal") + (description "This package provides an integrated development environment +for Pascal.") + (home-page "https://www.lazarus-ide.org/") + ; asl2.0: lcl/interfaces/customdrawn/android/*, lcl/lcltaskdialog.pas + ; + ; CC-BY-SA-3: + ; components/onlinepackagemanager/images/*, lcl/lcltaskdialog.pas + ; + ; CC-BY-SA-4: images/icons/lazarus.svg, lcl/lcltaskdialog.pas + ; + ; Expat: components/aggpas/expat-pas/*, + ; examples/database/sqldbtutorial3/dbconfig.pas, + ; examples/database/tsqlscript/dbconfig.pas, + ; lcl/interfaces/customdrawn/android/egl.pas, lcl/themes.pas, + ; components/opengl/example/uglyfont.pas + ; + ; Freetype: + ; components/lazutils/lazfreetype.pas, components/lazutils/tt*.pas + ; + ; LGPL-2+: + ; components/chmhelp/lhelp/chmdataprovider.pas + ; components/chmhelp/lhelp/chmspecialparser.pas + ; components/customdrawn/customdrawnextras.pas + ; components/datetimectrls/* + ; components/dbexport/fpdataexporter.pp + ; components/dbexport/frmbaseconfigexport.pp + ; components/dbexport/frmexportprogress.pp + ; components/dbexport/frmselectexportformat.pp + ; components/dbexport/regdbexport.pp + ; components/fpdebug/fpimgreaderwinpetypes.pas + ; components/fpvectorial/htmlvectorialreader.pas + ; components/ideintf/actionseditor.pas + ; components/ideintf/actionseditorstd.pas + ; components/ideintf/baseideintf.pas + ; components/ideintf/dbpropedits.pas + ; components/ideintf/fieldseditor.pas + ; components/ideintf/idedialogs.pas + ; components/ideintf/ideexterntoolintf.pas + ; components/ideintf/ideutils.pas + ; components/ideintf/keyvalpropeditdlg.pas + ; components/ideintf/macrodefintf.pas + ; components/ideintf/macrointf.pas + ; components/ideintf/maskpropedit.pas + ; components/ideintf/newfield.pas + ; components/ideintf/toolbarintf.pas + ; components/ideintf/treeviewpropedit.pas + ; components/lazcontrols/checkboxthemed.pas + ; components/lazcontrols/dividerbevel.pas + ; components/lazcontrols/extendednotebook.pas + ; components/lazcontrols/listfilteredit.pas + ; components/lazcontrols/listviewfilteredit.pas + ; components/lazcontrols/lvlgraphctrl.pas + ; components/lazcontrols/treefilteredit.pas + ; components/lazreport/source/* + ; components/lazutils/asiancodepagefunctions.inc + ; components/lazutils/fpcadds.pas + ; components/lazutils/laz2_dom.pas + ; components/lazutils/laz2_xmlcfg.pas + ; components/lazutils/laz2_xmlread.pas + ; components/lazutils/laz2_xmlutils.pas + ; components/lazutils/laz2_xmlwrite.pas + ; components/lazutils/laz2_xpath.pas + ; components/lazutils/laz_xmlcfg.pas + ; components/lazutils/laz_xmlstreaming.pas + ; components/lazutils/lookupstringlist.pas + ; components/multithreadprocs/mtpcpu.pas + ; components/multithreadprocs/mtprocs.pas + ; components/multithreadprocs/mtputils.pas + ; components/opengl/glcocoanscontext.pas + ; components/paradox/regparadox.pp + ; components/printers/printer4lazstrconst.pas + ; components/sparta/dockedformeditor/source/* + ; components/sparta/generics/source/* + ; components/wiki/myfphttpclient.pp + ; examples/lpicustomdata/lpicustomdata.lpr + ; ide/findinfilesdlg.pas + ; ide/findreplacedialog.pp + ; ide/inputfiledialog.pas + ; ide/lazadvancedipc.pp + ; ide/patheditordlg.pas + ; ide/transfermacros.pp + ; ide/wordcompletion.pp + ; lcl/colorbox.pas + ; lcl/customdrawncontrols.pas + ; lcl/dbextctrls.pp + ; lcl/dbgrids.pas + ; lcl/forms/calcform.pas + ; lcl/forms/timepopup.pas + ; lcl/grids.pas + ; lcl/include/comboex.inc + ; lcl/include/controlconsts.inc + ; lcl/include/customflowpanel.inc + ; lcl/include/dbdateedit.inc + ; lcl/include/tiffimage.inc + ; lcl/interfacebase.pp + ; lcl/interfaces/cocoa/cocoacaret.pas + ; lcl/interfaces/cocoa/cocoawschecklst.pas + ; lcl/interfaces/cocoa/cocoawsspin.pas + ; lcl/interfaces/cocoa/cocoa_extra.pas + ; lcl/interfaces/customdrawn/customdrawn_winextra.pas + ; lcl/interfaces/gtk3/gtk3wsextdlgs.pp + ; lcl/interfaces/qt/qt45.pas + ; lcl/interfaces/qt/qtcaret.pas + ; lcl/interfaces/win32/win32extra.pas + ; lcl/interfaces/wince/winext.pas + ; lcl/lclunicodedata.pas + ; test/testresult-db/importtestresults.pp + ; test/testresult-db/teststr.pp + ; test/testresult-db/tresults.pp + ; tools/lazdatadesktop/ddfiles.pp + ; components/aarre/src/aarrepkglist.pas + ; components/activex/activexcontainer.pas + ; components/activex/lazactivexreg.pas + ; components/anchordocking/anchordocking.pas + ; components/anchordocking/anchordockoptionsdlg.pas + ; components/anchordocking/anchordockstorage.pas + ; components/anchordocking/anchordockstr.pas + ; components/anchordocking/design/registeranchordocking.pas + ; components/anchordocking/restoredebugger/mainunit.pas + ; components/cairocanvas/cairoprinter.pas + ; components/codetools/examples/sourcecloser.lpr + ; components/compilers/c/lazcstrconsts.pas + ; components/compilers/c/lazcutil.pas + ; components/datadict/ldd_consts.pas + ; components/dbexport/sdb_consts.pas + ; components/externhelp/externhelpfrm.pas + ; components/fpcunit/guitestrunner.pas + ; components/fpcunit/ide/fpcunitlazideintf.pas + ; components/fpcunit/ide/strtestcaseopts.pas + ; components/fppkg/src/fppkg_const.pas + ; components/fppkg/src/fppkg_details.pas + ; components/fppkg/src/fppkg_mainfrm.pas + ; components/fppkg/src/fppkg_optionsfrm.pas + ; components/fppkg/src/lazfppkgmanagerintf.pas + ; components/fpweb/fpideexteditorinsertfilenameunit.pas + ; components/fpweb/fpwebfieldsettagunit.pas + ; components/fpweb/fpwebhrefeditunit.pas + ; components/fpweb/fpwebhtmltaglegendunit.pas + ; components/fpweb/fpwebnewhtmlfileunit.pas + ; components/fpweb/fpwebnewhtmlformunit.pas + ; components/fpweb/fpwebnewhtmlimgunit.pas + ; components/fpweb/fpwebnewhtmlinputunit.pas + ; components/fpweb/fpwebnewhtmllistunit.pas + ; components/fpweb/fpwebnewhtmltableunit.pas + ; components/fpweb/fpwebnewhtmltagpreunit.pas + ; components/fpweb/fpwebnewhtmltagtdunit.pas + ; components/fpweb/fpwebnewhtmltagtrunit.pas + ; components/fpweb/fpwebselectoptionsunit.pas + ; components/fpweb/fpwebselecttagunit.pas + ; components/fpweb/lazweb.pp + ; components/fpweb/weblazideintf.pp + ; components/images/lazbmp.pas + ; components/images/lazjpg.pas + ; components/images/lazpng.pas + ; components/images/lazpnm.pas + ; components/images/laztga.pas + ; components/images/lazxpm.pas + ; components/lazreport/samples/editor/maincalleditor.pas + ; components/lazreport/source/addons/DialogControls/lrdbdialogcontrols.pas + ; components/lazreport/source/addons/DialogControls/lrdialogcontrols.pas + ; components/lazreport/source/addons/DialogControls/lrformstorage.pas + ; components/lazreport/source/addons/DialogControls/lrformstorageeditor.pas + ; components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas + ; components/lazreport/source/addons/lrFclPDFExport/lr_pdfexport.lpk + ; components/lazreport/source/addons/lrFclPDFExport/lrpdfexport.pas + ; components/lazreport/source/addons/lrOfficeImport/lrofficeimport.pas + ; components/lazreport/source/addons/lrOfficeImport/lrspreadsheetimportunit.pas + ; components/lazreport/source/fr3tolrf.pas + ; components/lazreport/source/lr_crossarray.pas + ; components/lazreport/source/lr_crosstab.pas + ; components/lazreport/source/lr_crosstabeditor.pas + ; components/lazreport/source/lr_fpc.pas + ; components/lazreport/source/lr_hyphen.pas + ; components/messagecomposer/messagecomposer.pas + ; components/mrumenu/mrumanager.pp + ; components/mrumenu/reglazmru.pp + ; components/multithreadprocs/examples/parallelloop1.lpr + ; components/plotfunction/exprplotpanel.pp + ; components/plotfunction/plotpanel.pp + ; components/synedit/design/synpropertyeditobjectlist.pas + ; components/vlc/lclvlc.pp + ; examples/androidlcl/sqlitejniandroid.pas + ; examples/cleandir/dircleaner.pp + ; examples/cleandir/frmlog.pp + ; examples/cleandir/frmmain.pp + ; examples/cleandir/svccleandirs.pp + ; examples/cleandir/svcmap.pp + ; examples/designnonlcl/mywidgetdesigner.pas + ; examples/designnonlcl/mywidgetset.pas + ; examples/exploremenu/frmexploremenu.pas + ; examples/gridexamples/columneditors/main.pas + ; examples/gridexamples/columneditors/stringgrideditor.lpr + ; ide/editortoolbarstatic.pas + ; ide/toolbarconfig.pas + ; lcl/comboex.pas + ; lcl/defaulttranslator.pas + ; lcl/interfaces/gtk3/gtk3bindings/lazpangocairo1.pas + ; lcl/lcltranslator.pas + ; tools/iconvtable.pas + ; tools/iconvtable_dbcs.pas + ; tools/lazdatadesktop/lazdatadeskstr.pas + ; tools/lplupdate.lpr + ; tools/updatemakefiles.lpr + ; lcl/lcltaskdialog.pas + + ; MPL-1.1: + ; components/synedit/synedithighlighter.pp + ; components/synedit/synedithighlighterfoldbase.pas + ; components/synedit/synhighlighterposition.pas + ; components/synunihighlighter/synuni.lpk + ; components/turbopower_ipro/ipanim.pas + ; components/turbopower_ipro/ipconst.pas + ; components/turbopower_ipro/ipdefct.inc + ; components/turbopower_ipro/ipdefine.inc + ; components/turbopower_ipro/ipfilebroker.pas + ; components/turbopower_ipro/iphtml.pas + ; components/turbopower_ipro/iphtmlpv.pas + ; components/turbopower_ipro/ipmsg.pas + ; components/turbopower_ipro/ipstrms.pas + ; components/turbopower_ipro/iputils.pas + ; lcl/interfaces/gtk3/gtk3bindings/lazcairo1.pas + + ; own_dwywwi_license: components/opengl/example/uglyfont.pas + ; I don't abandon the copyright, but you can use this code and the header + ; (uglyfont.cpp and uglyfont.h) for your product regardless of the purpose, + ; i.e., free or commercial, open source or proprietary. + ; + ; However, I do not take any responsibility for the consequence of using + ; this code and header. Please use on your own risks. + + ; pascalscript-zlib-like: + ; components/PascalScript/* + + ; public-domain: + ; components/fpdebug/macho.pas + ; lcl/images/btncalculator.png + ; lcl/images/btncalendar.png + ; lcl/images/btnfiltercancel.png + ; lcl/images/btnseldir.png + ; lcl/images/btnselfile.png + ; lcl/images/btntime.png + ; lcl/images/buttons/* + ; lcl/images/dbnavigator/* + ; lcl/images/dialogs/* + ; lcl/images/dock/lcl_dock_to_bottom.png + ; lcl/images/dock/lcl_dock_to_left.png + ; lcl/images/dock/lcl_dock_to_page.png + ; lcl/images/dock/lcl_dock_to_right.png + ; lcl/images/dock/lcl_dock_to_top.png + ; lcl/images/sortasc.png + ; lcl/images/sortdesc.png + ; lcl/images/wince/wincedialog_cancel.png + ; lcl/images/cursors/* + + ; seems-common: + ; components/aggpas/src/* + ; components/aggpas/image_transforms.txt + ; Permission to copy, use, modify, sell and distribute this software + ; is granted provided this copyright notice appears in all copies. + ; This software is provided "as is" without express or implied + ; warranty, and with no claim as to its suitability for any purpose. + + ; unlicense: examples/database/sqlite_encryption_pragma/unit1.pas + + ;; All the above. + (license (list license:gpl2+ license:lgpl2.0+)))) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 14:58:14 2023 Received: (at 62424) by debbugs.gnu.org; 29 Mar 2023 18:58:14 +0000 Received: from localhost ([127.0.0.1]:54992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phazt-0000xi-2c for submit@debbugs.gnu.org; Wed, 29 Mar 2023 14:58:14 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:44858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phazq-0000xS-Sj for 62424@debbugs.gnu.org; Wed, 29 Mar 2023 14:58:11 -0400 Received: by mail-qt1-f177.google.com with SMTP id s12so12473802qtx.11 for <62424@debbugs.gnu.org>; Wed, 29 Mar 2023 11:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680116285; x=1682708285; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=gj4c1KG/F6pViWvff58rQeTYqcczJiPONY5JE1XlHy8=; b=jScnANPzvwdEv+1DIxhbJ6616QYRM/HYQNDXDkeMkpwfZPD3IgXUCReTSyradfPIbP I78erYkF5ffwsTBIYfdZCDFH4lnP9EIJ1SuEuNNGHQ0yIjlglxtS1eS0qp3qSF8ag1xq sSSnvy88ZI5X/0LwEgwkAEDo9oNsnHaGWA9NBnHelnPx333K5RQdSkZFcWI8p6R8SNO6 JoCdkDae9/tKdE0G4iLUgtNRCcgDKp7ZbEkyH7i9+BYDTOm1PplEBplS+GpcudkEaUtE TY8GDgT9ACjUWk5768jEpamutx987qtviK8OU8WAx2yVdDNbUAJnjoWjqmABCdSLBchn 2sLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680116285; x=1682708285; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gj4c1KG/F6pViWvff58rQeTYqcczJiPONY5JE1XlHy8=; b=yiP04zMsgDXDoLa8ngzwCg6fe/Q2O7sl0rb/sKS0Yb9xeKkr7FjBWmcOG7UbH6I5JC izkp3ay7J5cV8BRMQC5Esu6C+K8QmA8QDvitkmppAMvN5nFmwE47VyPu7USMASvmodFt PInqMANjujiyeXzOPrbu4ZGyHOM+VfWp/U/AKp+8Mdw6WkCzEtLXUgMpa2vmune/eViD My/sazRcL3tNcjgweqvAk1MSh4tzg/JKf0S3GAUb+EGhJyb2sbsgHENsKeZL++91AgSY blNyNFSbquK3bxEsdUzYQ+8siZF8abGVBawbPDPaSvmr6Oo5Y7Cy3n01l2VFWno+nFST ZO8Q== X-Gm-Message-State: AAQBX9e5UppJBgUmEHbd1wpGWFYNzJSZE10uAFS9eckJ9GGBSms6iFTe M6UeclV1Z54SMaFfX/NEy4/365DvXg8u3A== X-Google-Smtp-Source: AKy350a0QSXVYMm2U9KaCjCLgq/IawnMjcIcUPuhiLlkhTTbKI2Zmb6Q6Vd9QPjip5kSP7qDE8/MKw== X-Received: by 2002:a05:622a:352:b0:3e4:d90a:b12a with SMTP id r18-20020a05622a035200b003e4d90ab12amr31111937qtw.17.1680116277830; Wed, 29 Mar 2023 11:57:57 -0700 (PDT) Received: from hurd (dsl-10-133-241.b2b2c.ca. [72.10.133.241]) by smtp.gmail.com with ESMTPSA id jr28-20020a05622a801c00b003bd0f0b26b0sm16390379qtb.77.2023.03.29.11.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 11:57:57 -0700 (PDT) From: Maxim Cournoyer To: dannym@scratchpost.org Subject: Re: bug#62424: [PATCH] gnu: Add lazarus. References: <20230323101604.17976-1-dannym@scratchpost.org> Date: Wed, 29 Mar 2023 14:57:56 -0400 In-Reply-To: <20230323101604.17976-1-dannym@scratchpost.org> (dannym@scratchpost.org's message of "Thu, 23 Mar 2023 11:16:04 +0100") Message-ID: <87355n2xmz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62424 Cc: 62424@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Danny! dannym@scratchpost.org writes: > From: Danny Milosavljevic > > * gnu/packages/pascal.scm (lazarus): Add variable. > --- > gnu/packages/pascal.scm | 324 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 324 insertions(+) > > diff --git a/gnu/packages/pascal.scm b/gnu/packages/pascal.scm > index f563f077dc..4432327bee 100644 > --- a/gnu/packages/pascal.scm > +++ b/gnu/packages/pascal.scm > @@ -24,6 +24,7 @@ (define-module (gnu packages pascal) > #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix packages) > #:use-module (guix download) > + #:use-module (guix git-download) > #:use-module (guix gexp) > #:use-module (guix utils) > #:use-module (guix build-system gnu) > @@ -32,9 +33,13 @@ (define-module (gnu packages pascal) > #:use-module (gnu packages bootstrap) > #:use-module (gnu packages compression) > #:use-module (gnu packages gcc) > + #:use-module (gnu packages glib) > + #:use-module (gnu packages gtk) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages perl) > + #:use-module (gnu packages pkg-config) > #:use-module (gnu packages xml) > + #:use-module (gnu packages xorg) > #:use-module (ice-9 match)) > > (define %fpc-version "3.2.2") > @@ -270,3 +275,322 @@ (define-public p2c > Pascal programs.") > (home-page "http://users.fred.net/tds/lab/p2c/") > (license license:gpl2+))) > + > +(define-public lazarus > + (package > + (name "lazarus") > + (version "2.2.6") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url > + "https://gitlab.com/freepascal.org/lazarus/lazarus.git") > + (commit (string-append "lazarus_" > + (string-join > + (string-split version #\.) > + "_"))))) > + (file-name (string-append name "-" version "-checkout")) > + (sha256 > + (base32 > + "0hpk6fxmy1h1q0df41jg1vnp8g8vynrg5v5ad43lv229nizfs3wj")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; No tests exist > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (replace 'build > + (lambda* (#:key inputs outputs #:allow-other-keys) > + ;; RUNPATH -k-rpath= > + ;; -Xr rlink-path Seems like leftovers. > + (let* ((libdirs > + (map (lambda (x) > + (assoc-ref inputs x)) > + '("glib" "gdk-pixbuf" "gtk+" "libx11" > + "libx11" "pango" "cairo" "atk"))) Nitpick: the map could be to the right of libdirs. > + (libs (append > + (map (lambda (name) > + (string-append "-Fl" name "/lib")) > + libdirs) > + (map (lambda (name) > + (string-append "-k-rpath=" name "/lib")) > + libdirs)))) > + (setenv "LAZARUS_LIBPATHS" > + (string-append ;"-XD " Leftovers. > + (string-join libs " "))) > + (setenv "MAKEFLAGS" > + (string-append "LHELP_OPT=" > + (string-join libs "\\ ")))) > + (setenv "INSTALL_PREFIX" (assoc-ref outputs "out")) > + (invoke "make" "bigide")))))) > + (native-inputs > + (list fpc pkg-config)) > + (inputs > + (list glib gdk-pixbuf gtk+-2 libx11 pango cairo atk)) Can't it use GTK 3 at least? GTK 2 is on the way out... > + (synopsis "Integrated development environment for Pascal") > + (description "This package provides an integrated development environment > +for Pascal.") > + (home-page "https://www.lazarus-ide.org/") > + ; asl2.0: lcl/interfaces/customdrawn/android/*, lcl/lcltaskdialog.pas > + ; > + ; CC-BY-SA-3: > + ; components/onlinepackagemanager/images/*, lcl/lcltaskdialog.pas > + ; > + ; CC-BY-SA-4: images/icons/lazarus.svg, lcl/lcltaskdialog.pas > + ; > + ; Expat: components/aggpas/expat-pas/*, > + ; examples/database/sqldbtutorial3/dbconfig.pas, > + ; examples/database/tsqlscript/dbconfig.pas, > + ; lcl/interfaces/customdrawn/android/egl.pas, lcl/themes.pas, > + ; components/opengl/example/uglyfont.pas > + ; > + ; Freetype: > + ; components/lazutils/lazfreetype.pas, components/lazutils/tt*.pas > + ; > + ; LGPL-2+: > + ; components/chmhelp/lhelp/chmdataprovider.pas > + ; components/chmhelp/lhelp/chmspecialparser.pas > + ; components/customdrawn/customdrawnextras.pas > + ; components/datetimectrls/* > + ; components/dbexport/fpdataexporter.pp > + ; components/dbexport/frmbaseconfigexport.pp > + ; components/dbexport/frmexportprogress.pp > + ; components/dbexport/frmselectexportformat.pp > + ; components/dbexport/regdbexport.pp > + ; components/fpdebug/fpimgreaderwinpetypes.pas > + ; components/fpvectorial/htmlvectorialreader.pas > + ; components/ideintf/actionseditor.pas > + ; components/ideintf/actionseditorstd.pas > + ; components/ideintf/baseideintf.pas > + ; components/ideintf/dbpropedits.pas > + ; components/ideintf/fieldseditor.pas > + ; components/ideintf/idedialogs.pas > + ; components/ideintf/ideexterntoolintf.pas > + ; components/ideintf/ideutils.pas > + ; components/ideintf/keyvalpropeditdlg.pas > + ; components/ideintf/macrodefintf.pas > + ; components/ideintf/macrointf.pas > + ; components/ideintf/maskpropedit.pas > + ; components/ideintf/newfield.pas > + ; components/ideintf/toolbarintf.pas > + ; components/ideintf/treeviewpropedit.pas > + ; components/lazcontrols/checkboxthemed.pas > + ; components/lazcontrols/dividerbevel.pas > + ; components/lazcontrols/extendednotebook.pas > + ; components/lazcontrols/listfilteredit.pas > + ; components/lazcontrols/listviewfilteredit.pas > + ; components/lazcontrols/lvlgraphctrl.pas > + ; components/lazcontrols/treefilteredit.pas > + ; components/lazreport/source/* > + ; components/lazutils/asiancodepagefunctions.inc > + ; components/lazutils/fpcadds.pas > + ; components/lazutils/laz2_dom.pas > + ; components/lazutils/laz2_xmlcfg.pas > + ; components/lazutils/laz2_xmlread.pas > + ; components/lazutils/laz2_xmlutils.pas > + ; components/lazutils/laz2_xmlwrite.pas > + ; components/lazutils/laz2_xpath.pas > + ; components/lazutils/laz_xmlcfg.pas > + ; components/lazutils/laz_xmlstreaming.pas > + ; components/lazutils/lookupstringlist.pas > + ; components/multithreadprocs/mtpcpu.pas > + ; components/multithreadprocs/mtprocs.pas > + ; components/multithreadprocs/mtputils.pas > + ; components/opengl/glcocoanscontext.pas > + ; components/paradox/regparadox.pp > + ; components/printers/printer4lazstrconst.pas > + ; components/sparta/dockedformeditor/source/* > + ; components/sparta/generics/source/* > + ; components/wiki/myfphttpclient.pp > + ; examples/lpicustomdata/lpicustomdata.lpr > + ; ide/findinfilesdlg.pas > + ; ide/findreplacedialog.pp > + ; ide/inputfiledialog.pas > + ; ide/lazadvancedipc.pp > + ; ide/patheditordlg.pas > + ; ide/transfermacros.pp > + ; ide/wordcompletion.pp > + ; lcl/colorbox.pas > + ; lcl/customdrawncontrols.pas > + ; lcl/dbextctrls.pp > + ; lcl/dbgrids.pas > + ; lcl/forms/calcform.pas > + ; lcl/forms/timepopup.pas > + ; lcl/grids.pas > + ; lcl/include/comboex.inc > + ; lcl/include/controlconsts.inc > + ; lcl/include/customflowpanel.inc > + ; lcl/include/dbdateedit.inc > + ; lcl/include/tiffimage.inc > + ; lcl/interfacebase.pp > + ; lcl/interfaces/cocoa/cocoacaret.pas > + ; lcl/interfaces/cocoa/cocoawschecklst.pas > + ; lcl/interfaces/cocoa/cocoawsspin.pas > + ; lcl/interfaces/cocoa/cocoa_extra.pas > + ; lcl/interfaces/customdrawn/customdrawn_winextra.pas > + ; lcl/interfaces/gtk3/gtk3wsextdlgs.pp > + ; lcl/interfaces/qt/qt45.pas > + ; lcl/interfaces/qt/qtcaret.pas > + ; lcl/interfaces/win32/win32extra.pas > + ; lcl/interfaces/wince/winext.pas > + ; lcl/lclunicodedata.pas > + ; test/testresult-db/importtestresults.pp > + ; test/testresult-db/teststr.pp > + ; test/testresult-db/tresults.pp > + ; tools/lazdatadesktop/ddfiles.pp > + ; components/aarre/src/aarrepkglist.pas > + ; components/activex/activexcontainer.pas > + ; components/activex/lazactivexreg.pas > + ; components/anchordocking/anchordocking.pas > + ; components/anchordocking/anchordockoptionsdlg.pas > + ; components/anchordocking/anchordockstorage.pas > + ; components/anchordocking/anchordockstr.pas > + ; components/anchordocking/design/registeranchordocking.pas > + ; components/anchordocking/restoredebugger/mainunit.pas > + ; components/cairocanvas/cairoprinter.pas > + ; components/codetools/examples/sourcecloser.lpr > + ; components/compilers/c/lazcstrconsts.pas > + ; components/compilers/c/lazcutil.pas > + ; components/datadict/ldd_consts.pas > + ; components/dbexport/sdb_consts.pas > + ; components/externhelp/externhelpfrm.pas > + ; components/fpcunit/guitestrunner.pas > + ; components/fpcunit/ide/fpcunitlazideintf.pas > + ; components/fpcunit/ide/strtestcaseopts.pas > + ; components/fppkg/src/fppkg_const.pas > + ; components/fppkg/src/fppkg_details.pas > + ; components/fppkg/src/fppkg_mainfrm.pas > + ; components/fppkg/src/fppkg_optionsfrm.pas > + ; components/fppkg/src/lazfppkgmanagerintf.pas > + ; components/fpweb/fpideexteditorinsertfilenameunit.pas > + ; components/fpweb/fpwebfieldsettagunit.pas > + ; components/fpweb/fpwebhrefeditunit.pas > + ; components/fpweb/fpwebhtmltaglegendunit.pas > + ; components/fpweb/fpwebnewhtmlfileunit.pas > + ; components/fpweb/fpwebnewhtmlformunit.pas > + ; components/fpweb/fpwebnewhtmlimgunit.pas > + ; components/fpweb/fpwebnewhtmlinputunit.pas > + ; components/fpweb/fpwebnewhtmllistunit.pas > + ; components/fpweb/fpwebnewhtmltableunit.pas > + ; components/fpweb/fpwebnewhtmltagpreunit.pas > + ; components/fpweb/fpwebnewhtmltagtdunit.pas > + ; components/fpweb/fpwebnewhtmltagtrunit.pas > + ; components/fpweb/fpwebselectoptionsunit.pas > + ; components/fpweb/fpwebselecttagunit.pas > + ; components/fpweb/lazweb.pp > + ; components/fpweb/weblazideintf.pp > + ; components/images/lazbmp.pas > + ; components/images/lazjpg.pas > + ; components/images/lazpng.pas > + ; components/images/lazpnm.pas > + ; components/images/laztga.pas > + ; components/images/lazxpm.pas > + ; components/lazreport/samples/editor/maincalleditor.pas > + ; components/lazreport/source/addons/DialogControls/lrdbdialogcontrols.pas > + ; components/lazreport/source/addons/DialogControls/lrdialogcontrols.pas > + ; components/lazreport/source/addons/DialogControls/lrformstorage.pas > + ; components/lazreport/source/addons/DialogControls/lrformstorageeditor.pas > + ; components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas > + ; components/lazreport/source/addons/lrFclPDFExport/lr_pdfexport.lpk > + ; components/lazreport/source/addons/lrFclPDFExport/lrpdfexport.pas > + ; components/lazreport/source/addons/lrOfficeImport/lrofficeimport.pas > + ; components/lazreport/source/addons/lrOfficeImport/lrspreadsheetimportunit.pas > + ; components/lazreport/source/fr3tolrf.pas > + ; components/lazreport/source/lr_crossarray.pas > + ; components/lazreport/source/lr_crosstab.pas > + ; components/lazreport/source/lr_crosstabeditor.pas > + ; components/lazreport/source/lr_fpc.pas > + ; components/lazreport/source/lr_hyphen.pas > + ; components/messagecomposer/messagecomposer.pas > + ; components/mrumenu/mrumanager.pp > + ; components/mrumenu/reglazmru.pp > + ; components/multithreadprocs/examples/parallelloop1.lpr > + ; components/plotfunction/exprplotpanel.pp > + ; components/plotfunction/plotpanel.pp > + ; components/synedit/design/synpropertyeditobjectlist.pas > + ; components/vlc/lclvlc.pp > + ; examples/androidlcl/sqlitejniandroid.pas > + ; examples/cleandir/dircleaner.pp > + ; examples/cleandir/frmlog.pp > + ; examples/cleandir/frmmain.pp > + ; examples/cleandir/svccleandirs.pp > + ; examples/cleandir/svcmap.pp > + ; examples/designnonlcl/mywidgetdesigner.pas > + ; examples/designnonlcl/mywidgetset.pas > + ; examples/exploremenu/frmexploremenu.pas > + ; examples/gridexamples/columneditors/main.pas > + ; examples/gridexamples/columneditors/stringgrideditor.lpr > + ; ide/editortoolbarstatic.pas > + ; ide/toolbarconfig.pas > + ; lcl/comboex.pas > + ; lcl/defaulttranslator.pas > + ; lcl/interfaces/gtk3/gtk3bindings/lazpangocairo1.pas > + ; lcl/lcltranslator.pas > + ; tools/iconvtable.pas > + ; tools/iconvtable_dbcs.pas > + ; tools/lazdatadesktop/lazdatadeskstr.pas > + ; tools/lplupdate.lpr > + ; tools/updatemakefiles.lpr > + ; lcl/lcltaskdialog.pas > + > + ; MPL-1.1: > + ; components/synedit/synedithighlighter.pp > + ; components/synedit/synedithighlighterfoldbase.pas > + ; components/synedit/synhighlighterposition.pas > + ; components/synunihighlighter/synuni.lpk > + ; components/turbopower_ipro/ipanim.pas > + ; components/turbopower_ipro/ipconst.pas > + ; components/turbopower_ipro/ipdefct.inc > + ; components/turbopower_ipro/ipdefine.inc > + ; components/turbopower_ipro/ipfilebroker.pas > + ; components/turbopower_ipro/iphtml.pas > + ; components/turbopower_ipro/iphtmlpv.pas > + ; components/turbopower_ipro/ipmsg.pas > + ; components/turbopower_ipro/ipstrms.pas > + ; components/turbopower_ipro/iputils.pas > + ; lcl/interfaces/gtk3/gtk3bindings/lazcairo1.pas > + > + ; own_dwywwi_license: components/opengl/example/uglyfont.pas > + ; I don't abandon the copyright, but you can use this code and the header > + ; (uglyfont.cpp and uglyfont.h) for your product regardless of the purpose, > + ; i.e., free or commercial, open source or proprietary. > + ; > + ; However, I do not take any responsibility for the consequence of using > + ; this code and header. Please use on your own risks. > + > + ; pascalscript-zlib-like: > + ; components/PascalScript/* > + > + ; public-domain: > + ; components/fpdebug/macho.pas > + ; lcl/images/btncalculator.png > + ; lcl/images/btncalendar.png > + ; lcl/images/btnfiltercancel.png > + ; lcl/images/btnseldir.png > + ; lcl/images/btnselfile.png > + ; lcl/images/btntime.png > + ; lcl/images/buttons/* > + ; lcl/images/dbnavigator/* > + ; lcl/images/dialogs/* > + ; lcl/images/dock/lcl_dock_to_bottom.png > + ; lcl/images/dock/lcl_dock_to_left.png > + ; lcl/images/dock/lcl_dock_to_page.png > + ; lcl/images/dock/lcl_dock_to_right.png > + ; lcl/images/dock/lcl_dock_to_top.png > + ; lcl/images/sortasc.png > + ; lcl/images/sortdesc.png > + ; lcl/images/wince/wincedialog_cancel.png > + ; lcl/images/cursors/* > + > + ; seems-common: > + ; components/aggpas/src/* > + ; components/aggpas/image_transforms.txt > + ; Permission to copy, use, modify, sell and distribute this software > + ; is granted provided this copyright notice appears in all copies. > + ; This software is provided "as is" without express or implied > + ; warranty, and with no claim as to its suitability for any purpose. > + > + ; unlicense: examples/database/sqlite_encryption_pragma/unit1.pas That's an impressive listing, but I'd rather a worded summary instead, which is less likely to bitrot/easier to maintain. > + ;; All the above. > + (license (list license:gpl2+ license:lgpl2.0+)))) Could you please send a v2 with the above taken into account? Thank you! -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 29 15:26:08 2023 Received: (at 62424) by debbugs.gnu.org; 29 Mar 2023 19:26:08 +0000 Received: from localhost ([127.0.0.1]:55018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbQu-0001ks-A6 for submit@debbugs.gnu.org; Wed, 29 Mar 2023 15:26:08 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbQp-0001kg-QW for 62424@debbugs.gnu.org; Wed, 29 Mar 2023 15:26:06 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 71F374468E; Wed, 29 Mar 2023 21:26:02 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a4iuThqXZ6HH; Wed, 29 Mar 2023 21:26:01 +0200 (CEST) Content-Type: multipart/signed; boundary=59ee820b8e5208fb9008ebf2cf5f315456767e7316c7f3bd4f18ba9c138f; micalg=pgp-sha512; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1680117961; bh=U/n/MFsxagHGP398fV8z+NR0yeWhtGJG2NhgQdFzNrU=; h=Date:Subject:From:To:References:In-Reply-To; b=VkQC0naLN/YhKMcUQa9Cw1PTlCFzoZJDxkBYBiIU22shje8bItWjjovceSFVtAsI3 3He3xfRencBgThD7FurGa/FTWnLQ0pDw1334KkLXKvus8nskqSZNF2pUaiBglDDJxd JUbOBe4gBfrqytngfO3jhMmbALyQSOkuff70WIhkCwurpv3UNbj7/NqCKhs9US2iu5 v/HrjXZNMRP5MOKQpa3rtoSq0mt0Hn3CMKBUF5GspaTWH1e+mlMUtiS1amGMLWDNp4 jnX806v1/zoSO6hoGU5Rx+qw8sIXPcY1I0dEK3YzbrOjJ+HCtJb/x1L/fnRNEaTboX Y0rkovsZNLAWw== Date: Wed, 29 Mar 2023 20:26:00 +0100 Message-Id: Subject: Re: [bug#62424] [PATCH] gnu: Add lazarus. From: "(" To: , <62424@debbugs.gnu.org> References: <20230323101604.17976-1-dannym@scratchpost.org> In-Reply-To: <20230323101604.17976-1-dannym@scratchpost.org> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 62424 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --59ee820b8e5208fb9008ebf2cf5f315456767e7316c7f3bd4f18ba9c138f Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Heya, Adding on to what Maxim said: On Thu Mar 23, 2023 at 10:16 AM GMT, wrote: > + (arguments > + `(#:tests? #f ; No tests exist > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (replace 'build > + (lambda* (#:key inputs outputs #:allow-other-keys) > + ;; RUNPATH -k-rpath=3D > + ;; -Xr rlink-path > + (let* ((libdirs > + (map (lambda (x) > + (assoc-ref inputs x)) > + '("glib" "gdk-pixbuf" "gtk+" "libx11" > + "libx11" "pango" "cairo" "atk"))) > + (libs (append > + (map (lambda (name) > + (string-append "-Fl" name "/lib")) > + libdirs) > + (map (lambda (name) > + (string-append "-k-rpath=3D" name "/lib= ")) > + libdirs)))) > + (setenv "LAZARUS_LIBPATHS" > + (string-append ;"-XD " > + (string-join libs " "))) > + (setenv "MAKEFLAGS" > + (string-append "LHELP_OPT=3D" > + (string-join libs "\\ ")))) > + (setenv "INSTALL_PREFIX" (assoc-ref outputs "out")) > + (invoke "make" "bigide")))))) Please make sure you use the new-ish LIST/GEXP style for ARGUMENTS; also, m= uch of your modified BUILD phase could be replaced by modifying #:MAKE-FLAGS, a= nd LIBS could be generated in a much simpler way with FOLD from (SRFI SRFI-1): --- > + (arguments > + (list #:tests? #f ;no tests > + #:make-flags > + #~(begin > + (use-modules (srfi srfi-1)) > + (let* ((lib-dirs > + (list #$@(map this-package-input > + '("glib" "gdk-pixbuf" "gtk+" > + "libx11" "pango" "cairo" "atk")))= ) > + (lib-flags > + (fold (lambda (pkg flags) > + (cons* (string-append "-Fl" pkg "/lib") > + (string-append "-k-rpath=3D" pkg "= /lib") > + flags)) > + lib-dirs))) > + (list (string-append "LAZARUS_LIBPATHS=3D" > + (string-join lib-flags)) > + (string-append "LHELP_OPT=3D" > + (string-join lib-flags "\\ ")) > + (string-append "INSTALL_PREFIX=3D" #$output)))) > + #:phases > + #~(modify-phases %standard-phases > + (delete 'configure) > + (replace 'build > + (lambda _ > + (invoke "make" "bigide")))))) --- Note that I have not tested that this modification actually works, but I'd = be surprised if it didn't. -- ( --59ee820b8e5208fb9008ebf2cf5f315456767e7316c7f3bd4f18ba9c138f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEE6Vh10NblKE5doNlW7ImHg/nqI20FAmQkkMkACgkQ7ImHg/nq I23pngwAkqqgi2ACBRKmRdzZi5kkKLnLY6IvyqYiaZ3OKajO5tM6HJaZ/uKKB09r K3edddYHZzUSDHF5ufcJyd0ZavF9tj/yHsUGHoaym7G/U1G8tTith+zA6kFvJtTp CvJtzS1VIBDeunTa28RobO1CTS6WXtsv+1m8M4lB//Mko/qpyqZY6yAScWC0qJNO TGz8eKz8d0KQ4USQY88PV7SeZk8s4bz5GuH/t2kzAm3RhbzkyjELAGlK27nfsMx7 yzI56KSpysc8O2oGKvG2bc6p+PDtCVk3vKC47etB3qyKTViLdBrOyBSmi7j9EbQQ AZSQ5+zzoUV7PRkx5vSFw/kiu3hIsLbfYbNLL7WfL3vkCm891BoS6PrdFf1bgRKK 4/fnfjVP2OnBtpfc/8FtW/3fYUHIllFh1oGq596VlI6n7cW4r7ekG1Qt9RjU8ISl t1QqaU+vLhOXFMx8rwz/jYE02hod/VRzrfqCaxae/DIHeQuLytVLRyga1Bo+lLrC jdouNkvM =c0Dq -----END PGP SIGNATURE----- --59ee820b8e5208fb9008ebf2cf5f315456767e7316c7f3bd4f18ba9c138f-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 02 16:26:50 2023 Received: (at 62424) by debbugs.gnu.org; 2 Apr 2023 20:26:50 +0000 Received: from localhost ([127.0.0.1]:42774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj4Hp-0001Zx-4K for submit@debbugs.gnu.org; Sun, 02 Apr 2023 16:26:49 -0400 Received: from dd30410.kasserver.com ([85.13.145.193]:35748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj4Hi-0001Zi-Tp for 62424@debbugs.gnu.org; Sun, 02 Apr 2023 16:26:47 -0400 Received: from localhost (84-115-230-178.cable.dynamic.surfer.at [84.115.230.178]) by dd30410.kasserver.com (Postfix) with ESMTPSA id C14851120247; Sun, 2 Apr 2023 22:26:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scratchpost.org; s=kas202303142049; t=1680467201; bh=+B0gCdmsvlLQPnT7GErNEtycinCS0kXqzygkwj4ZLh0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pmWV6JbcCXl41I3wuVw+n/b4NMSMGIMz6JvjlIZaQT1H1FI9Y3iYf9n0NTcqJ9vKW T+6WRhC82MYoop176AOGM1Zv2pp4eQtCL/36DkSBlDLVqmhBbekBm8je6iXdnXCTho I5heDqrdcupFguxzdAPBx3ceUsVGh6TJMzoio81fIHBcMdtKAK/7FGvb0hb0sQ1GNl NmmHXlT28zxsXFsKyFO4jFuvHhKf7wt0EonNyP5CX6s+iKzDv0dA/jdymnFfJTiIMA XPDukaNBYMyFmlcE5zpUYbF/+h73W7v8BG7EkvAtiTZwbD8gq2KbsbAEwEDPZDsM5o e1ByKnb5lAeDw== Date: Sun, 2 Apr 2023 22:26:29 +0200 From: Danny Milosavljevic To: "(" Subject: Re: [bug#62424] [PATCH] gnu: Add lazarus. Message-ID: <20230402222629.0c397000@scratchpost.org> In-Reply-To: References: <20230323101604.17976-1-dannym@scratchpost.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/L3ekTLpZcHNtgrjPKMUPS.6"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spamd-Bar: -- X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62424 Cc: 62424@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/L3ekTLpZcHNtgrjPKMUPS.6 Content-Type: multipart/mixed; boundary="MP_/7kwTOy5590X2tyeMBEOCYv=" --MP_/7kwTOy5590X2tyeMBEOCYv= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, On Wed, 29 Mar 2023 20:26:00 +0100 "(" wrote: > Please make sure you use the new-ish LIST/GEXP style for ARGUMENTS; also >, much > of your modified BUILD phase could be replaced by modifying #:MAKE-FLAGS,= =20 That didn't work. I suspect it's because Guix is not actually setting the MAKEFLAGS environment variable and so the flags don't get inherited by submakes. Likewise with LAZARUS_LIBPATHS. > Note that I have not tested that this modification actually works, but I'= d be > surprised if it didn't. It doesn't work. See attached patch for a halfway version in order to be able to try it out. --MP_/7kwTOy5590X2tyeMBEOCYv= Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=Q.patch diff --git a/gnu/packages/pascal.scm b/gnu/packages/pascal.scm index 4432327bee..4b63f1ac2d 100644 --- a/gnu/packages/pascal.scm +++ b/gnu/packages/pascal.scm @@ -295,19 +295,37 @@ (define-public lazarus "0hpk6fxmy1h1q0df41jg1vnp8g8vynrg5v5ad43lv229nizfs3wj")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; No tests exist + (list + #:tests? #f ; No tests exist + #:make-flags + #~(begin + (use-modules (srfi srfi-1)) + (let* ((lib-dirs + (list #$@(map (lambda (name) + (this-package-input name)) + '("glib" "gdk-pixbuf" "gtk+" + "libx11" "pango" "cairo" "atk")))) + (lib-flags + (fold (lambda (pkg flags) + (cons* (string-append "-Fl" pkg "/lib") + (string-append "-k-rpath=3D" pkg "/l= ib") + flags)) + '() + lib-dirs))) + (list (string-append "LAZARUS_LIBPATHS=3D" + (string-join lib-flags " ")) + (string-append "LHELP_OPT=3D" + (string-join lib-flags "\\ ")) + (string-append "INSTALL_PREFIX=3D" #$output)))) #:phases - (modify-phases %standard-phases + #~(modify-phases %standard-phases (delete 'configure) (replace 'build (lambda* (#:key inputs outputs #:allow-other-keys) - ;; RUNPATH -k-rpath=3D - ;; -Xr rlink-path - (let* ((libdirs - (map (lambda (x) - (assoc-ref inputs x)) - '("glib" "gdk-pixbuf" "gtk+" "libx11" - "libx11" "pango" "cairo" "atk"))) + (let* ((libdirs (map (lambda (x) + (assoc-ref inputs x)) + '("glib" "gdk-pixbuf" "gtk+" "libx11" + "libx11" "pango" "cairo" "atk"))) (libs (append (map (lambda (name) (string-append "-Fl" name "/lib")) @@ -316,12 +334,10 @@ (define-public lazarus (string-append "-k-rpath=3D" name "/lib")) libdirs)))) (setenv "LAZARUS_LIBPATHS" - (string-append ;"-XD " - (string-join libs " "))) + (string-join libs " ")) (setenv "MAKEFLAGS" (string-append "LHELP_OPT=3D" (string-join libs "\\ ")))) - (setenv "INSTALL_PREFIX" (assoc-ref outputs "out")) (invoke "make" "bigide")))))) (native-inputs (list fpc pkg-config)) @@ -331,266 +347,11 @@ (define-public lazarus (description "This package provides an integrated development environm= ent for Pascal.") (home-page "https://www.lazarus-ide.org/") - ; asl2.0: lcl/interfaces/customdrawn/android/*, lcl/lcltaskdialog.pas - ; - ; CC-BY-SA-3: - ; components/onlinepackagemanager/images/*, lcl/lcltaskdialog.pas - ; - ; CC-BY-SA-4: images/icons/lazarus.svg, lcl/lcltaskdialog.pas - ; - ; Expat: components/aggpas/expat-pas/*, - ; examples/database/sqldbtutorial3/dbconfig.pas, - ; examples/database/tsqlscript/dbconfig.pas, - ; lcl/interfaces/customdrawn/android/egl.pas, lcl/themes.pas, - ; components/opengl/example/uglyfont.pas - ; - ; Freetype: - ; components/lazutils/lazfreetype.pas, components/lazutils/tt*.pas - ; - ; LGPL-2+: - ; components/chmhelp/lhelp/chmdataprovider.pas - ; components/chmhelp/lhelp/chmspecialparser.pas - ; components/customdrawn/customdrawnextras.pas - ; components/datetimectrls/* - ; components/dbexport/fpdataexporter.pp - ; components/dbexport/frmbaseconfigexport.pp - ; components/dbexport/frmexportprogress.pp - ; components/dbexport/frmselectexportformat.pp - ; components/dbexport/regdbexport.pp - ; components/fpdebug/fpimgreaderwinpetypes.pas - ; components/fpvectorial/htmlvectorialreader.pas - ; components/ideintf/actionseditor.pas - ; components/ideintf/actionseditorstd.pas - ; components/ideintf/baseideintf.pas - ; components/ideintf/dbpropedits.pas - ; components/ideintf/fieldseditor.pas - ; components/ideintf/idedialogs.pas - ; components/ideintf/ideexterntoolintf.pas - ; components/ideintf/ideutils.pas - ; components/ideintf/keyvalpropeditdlg.pas - ; components/ideintf/macrodefintf.pas - ; components/ideintf/macrointf.pas - ; components/ideintf/maskpropedit.pas - ; components/ideintf/newfield.pas - ; components/ideintf/toolbarintf.pas - ; components/ideintf/treeviewpropedit.pas - ; components/lazcontrols/checkboxthemed.pas - ; components/lazcontrols/dividerbevel.pas - ; components/lazcontrols/extendednotebook.pas - ; components/lazcontrols/listfilteredit.pas - ; components/lazcontrols/listviewfilteredit.pas - ; components/lazcontrols/lvlgraphctrl.pas - ; components/lazcontrols/treefilteredit.pas - ; components/lazreport/source/* - ; components/lazutils/asiancodepagefunctions.inc - ; components/lazutils/fpcadds.pas - ; components/lazutils/laz2_dom.pas - ; components/lazutils/laz2_xmlcfg.pas - ; components/lazutils/laz2_xmlread.pas - ; components/lazutils/laz2_xmlutils.pas - ; components/lazutils/laz2_xmlwrite.pas - ; components/lazutils/laz2_xpath.pas - ; components/lazutils/laz_xmlcfg.pas - ; components/lazutils/laz_xmlstreaming.pas - ; components/lazutils/lookupstringlist.pas - ; components/multithreadprocs/mtpcpu.pas - ; components/multithreadprocs/mtprocs.pas - ; components/multithreadprocs/mtputils.pas - ; components/opengl/glcocoanscontext.pas - ; components/paradox/regparadox.pp - ; components/printers/printer4lazstrconst.pas - ; components/sparta/dockedformeditor/source/* - ; components/sparta/generics/source/* - ; components/wiki/myfphttpclient.pp - ; examples/lpicustomdata/lpicustomdata.lpr - ; ide/findinfilesdlg.pas - ; ide/findreplacedialog.pp - ; ide/inputfiledialog.pas - ; ide/lazadvancedipc.pp - ; ide/patheditordlg.pas - ; ide/transfermacros.pp - ; ide/wordcompletion.pp - ; lcl/colorbox.pas - ; lcl/customdrawncontrols.pas - ; lcl/dbextctrls.pp - ; lcl/dbgrids.pas - ; lcl/forms/calcform.pas - ; lcl/forms/timepopup.pas - ; lcl/grids.pas - ; lcl/include/comboex.inc - ; lcl/include/controlconsts.inc - ; lcl/include/customflowpanel.inc - ; lcl/include/dbdateedit.inc - ; lcl/include/tiffimage.inc - ; lcl/interfacebase.pp - ; lcl/interfaces/cocoa/cocoacaret.pas - ; lcl/interfaces/cocoa/cocoawschecklst.pas - ; lcl/interfaces/cocoa/cocoawsspin.pas - ; lcl/interfaces/cocoa/cocoa_extra.pas - ; lcl/interfaces/customdrawn/customdrawn_winextra.pas - ; lcl/interfaces/gtk3/gtk3wsextdlgs.pp - ; lcl/interfaces/qt/qt45.pas - ; lcl/interfaces/qt/qtcaret.pas - ; lcl/interfaces/win32/win32extra.pas - ; lcl/interfaces/wince/winext.pas - ; lcl/lclunicodedata.pas - ; test/testresult-db/importtestresults.pp - ; test/testresult-db/teststr.pp - ; test/testresult-db/tresults.pp - ; tools/lazdatadesktop/ddfiles.pp - ; components/aarre/src/aarrepkglist.pas - ; components/activex/activexcontainer.pas - ; components/activex/lazactivexreg.pas - ; components/anchordocking/anchordocking.pas - ; components/anchordocking/anchordockoptionsdlg.pas - ; components/anchordocking/anchordockstorage.pas - ; components/anchordocking/anchordockstr.pas - ; components/anchordocking/design/registeranchordocking.pas - ; components/anchordocking/restoredebugger/mainunit.pas - ; components/cairocanvas/cairoprinter.pas - ; components/codetools/examples/sourcecloser.lpr - ; components/compilers/c/lazcstrconsts.pas - ; components/compilers/c/lazcutil.pas - ; components/datadict/ldd_consts.pas - ; components/dbexport/sdb_consts.pas - ; components/externhelp/externhelpfrm.pas - ; components/fpcunit/guitestrunner.pas - ; components/fpcunit/ide/fpcunitlazideintf.pas - ; components/fpcunit/ide/strtestcaseopts.pas - ; components/fppkg/src/fppkg_const.pas - ; components/fppkg/src/fppkg_details.pas - ; components/fppkg/src/fppkg_mainfrm.pas - ; components/fppkg/src/fppkg_optionsfrm.pas - ; components/fppkg/src/lazfppkgmanagerintf.pas - ; components/fpweb/fpideexteditorinsertfilenameunit.pas - ; components/fpweb/fpwebfieldsettagunit.pas - ; components/fpweb/fpwebhrefeditunit.pas - ; components/fpweb/fpwebhtmltaglegendunit.pas - ; components/fpweb/fpwebnewhtmlfileunit.pas - ; components/fpweb/fpwebnewhtmlformunit.pas - ; components/fpweb/fpwebnewhtmlimgunit.pas - ; components/fpweb/fpwebnewhtmlinputunit.pas - ; components/fpweb/fpwebnewhtmllistunit.pas - ; components/fpweb/fpwebnewhtmltableunit.pas - ; components/fpweb/fpwebnewhtmltagpreunit.pas - ; components/fpweb/fpwebnewhtmltagtdunit.pas - ; components/fpweb/fpwebnewhtmltagtrunit.pas - ; components/fpweb/fpwebselectoptionsunit.pas - ; components/fpweb/fpwebselecttagunit.pas - ; components/fpweb/lazweb.pp - ; components/fpweb/weblazideintf.pp - ; components/images/lazbmp.pas - ; components/images/lazjpg.pas - ; components/images/lazpng.pas - ; components/images/lazpnm.pas - ; components/images/laztga.pas - ; components/images/lazxpm.pas - ; components/lazreport/samples/editor/maincalleditor.pas - ; components/lazreport/source/addons/DialogControls/lrdbdialogcontrol= s.pas - ; components/lazreport/source/addons/DialogControls/lrdialogcontrols.= pas - ; components/lazreport/source/addons/DialogControls/lrformstorage.pas - ; components/lazreport/source/addons/DialogControls/lrformstorageedit= or.pas - ; components/lazreport/source/addons/lrFclPDFExport/lr_e_fclpdf.pas - ; components/lazreport/source/addons/lrFclPDFExport/lr_pdfexport.lpk - ; components/lazreport/source/addons/lrFclPDFExport/lrpdfexport.pas - ; components/lazreport/source/addons/lrOfficeImport/lrofficeimport.pas - ; components/lazreport/source/addons/lrOfficeImport/lrspreadsheetimpo= rtunit.pas - ; components/lazreport/source/fr3tolrf.pas - ; components/lazreport/source/lr_crossarray.pas - ; components/lazreport/source/lr_crosstab.pas - ; components/lazreport/source/lr_crosstabeditor.pas - ; components/lazreport/source/lr_fpc.pas - ; components/lazreport/source/lr_hyphen.pas - ; components/messagecomposer/messagecomposer.pas - ; components/mrumenu/mrumanager.pp - ; components/mrumenu/reglazmru.pp - ; components/multithreadprocs/examples/parallelloop1.lpr - ; components/plotfunction/exprplotpanel.pp - ; components/plotfunction/plotpanel.pp - ; components/synedit/design/synpropertyeditobjectlist.pas - ; components/vlc/lclvlc.pp - ; examples/androidlcl/sqlitejniandroid.pas - ; examples/cleandir/dircleaner.pp - ; examples/cleandir/frmlog.pp - ; examples/cleandir/frmmain.pp - ; examples/cleandir/svccleandirs.pp - ; examples/cleandir/svcmap.pp - ; examples/designnonlcl/mywidgetdesigner.pas - ; examples/designnonlcl/mywidgetset.pas - ; examples/exploremenu/frmexploremenu.pas - ; examples/gridexamples/columneditors/main.pas - ; examples/gridexamples/columneditors/stringgrideditor.lpr - ; ide/editortoolbarstatic.pas - ; ide/toolbarconfig.pas - ; lcl/comboex.pas - ; lcl/defaulttranslator.pas - ; lcl/interfaces/gtk3/gtk3bindings/lazpangocairo1.pas - ; lcl/lcltranslator.pas - ; tools/iconvtable.pas - ; tools/iconvtable_dbcs.pas - ; tools/lazdatadesktop/lazdatadeskstr.pas - ; tools/lplupdate.lpr - ; tools/updatemakefiles.lpr - ; lcl/lcltaskdialog.pas - - ; MPL-1.1: - ; components/synedit/synedithighlighter.pp - ; components/synedit/synedithighlighterfoldbase.pas - ; components/synedit/synhighlighterposition.pas - ; components/synunihighlighter/synuni.lpk - ; components/turbopower_ipro/ipanim.pas - ; components/turbopower_ipro/ipconst.pas - ; components/turbopower_ipro/ipdefct.inc - ; components/turbopower_ipro/ipdefine.inc - ; components/turbopower_ipro/ipfilebroker.pas - ; components/turbopower_ipro/iphtml.pas - ; components/turbopower_ipro/iphtmlpv.pas - ; components/turbopower_ipro/ipmsg.pas - ; components/turbopower_ipro/ipstrms.pas - ; components/turbopower_ipro/iputils.pas - ; lcl/interfaces/gtk3/gtk3bindings/lazcairo1.pas - - ; own_dwywwi_license: components/opengl/example/uglyfont.pas - ; I don't abandon the copyright, but you can use this code and the hea= der - ; (uglyfont.cpp and uglyfont.h) for your product regardless of the pur= pose, - ; i.e., free or commercial, open source or proprietary. - ; - ; However, I do not take any responsibility for the consequence of usi= ng - ; this code and header. Please use on your own risks. - - ; pascalscript-zlib-like: - ; components/PascalScript/* - - ; public-domain: - ; components/fpdebug/macho.pas - ; lcl/images/btncalculator.png - ; lcl/images/btncalendar.png - ; lcl/images/btnfiltercancel.png - ; lcl/images/btnseldir.png - ; lcl/images/btnselfile.png - ; lcl/images/btntime.png - ; lcl/images/buttons/* - ; lcl/images/dbnavigator/* - ; lcl/images/dialogs/* - ; lcl/images/dock/lcl_dock_to_bottom.png - ; lcl/images/dock/lcl_dock_to_left.png - ; lcl/images/dock/lcl_dock_to_page.png - ; lcl/images/dock/lcl_dock_to_right.png - ; lcl/images/dock/lcl_dock_to_top.png - ; lcl/images/sortasc.png - ; lcl/images/sortdesc.png - ; lcl/images/wince/wincedialog_cancel.png - ; lcl/images/cursors/* - - ; seems-common: - ; components/aggpas/src/* - ; components/aggpas/image_transforms.txt - ; Permission to copy, use, modify, sell and distribute this software - ; is granted provided this copyright notice appears in all copies. - ; This software is provided "as is" without express or implied - ; warranty, and with no claim as to its suitability for any purpose. - - ; unlicense: examples/database/sqlite_encryption_pragma/unit1.pas - - ;; All the above. + ;; Some Android stuff is under asl2.0. Some artwork is under CC-BY-SA-3 + ;; or CC-BY-SA-4. + ;; Some components are under MIT expat. + ;; The Freetype components are under Freetype license. + ;; A lot of components are under LGPL-2+. + ;; synedit and turbopower_ipro are under MPL-1.1 + ;; PascalScript is under a zlib-like license. (license (list license:gpl2+ license:lgpl2.0+)))) --MP_/7kwTOy5590X2tyeMBEOCYv=-- --Sig_/L3ekTLpZcHNtgrjPKMUPS.6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmQp5PUACgkQ5xo1VCww uqVnUwf/fxDFPra6fvaMM84vBJ40p65ZamG6dhSdMhHpZ3jBFpFkzWSSv4lb9lbV 8QMCOrkDglsDXrZPBkGxmpts+UipEJAA3eiGU7xSj6qMdQqNtt4fKgAUHjdyinIU qky6Kk52eCRctxJ8MenUkpcvGIFC0T3nHifGPG5lyEfC9J9p8NqK5dKfGU2sgWsf pMlNZoR22D84QKw4m4c5P0DRXGfLDpCnkrsaPDU3S4DvezSSggz7e2skxw9Y0wJx Og0eAZj3Vb6tD9wHenhRORutak26UuDkwDz/8gvcW2/O+rREKCD78eq+BC5Jl9DU KWPApKqZj3yMoMRxjVU/EK71h8oZgQ== =QLVV -----END PGP SIGNATURE----- --Sig_/L3ekTLpZcHNtgrjPKMUPS.6-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 11:21:26 2023 Received: (at 62424-done) by debbugs.gnu.org; 1 May 2023 15:21:26 +0000 Received: from localhost ([127.0.0.1]:40833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptVLB-0004zk-Nq for submit@debbugs.gnu.org; Mon, 01 May 2023 11:21:25 -0400 Received: from dd30410.kasserver.com ([85.13.145.193]:47288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptVL6-0004zW-H7 for 62424-done@debbugs.gnu.org; Mon, 01 May 2023 11:21:24 -0400 Received: from localhost (84-115-230-178.cable.dynamic.surfer.at [84.115.230.178]) by dd30410.kasserver.com (Postfix) with ESMTPSA id CC2CC11204B6; Mon, 1 May 2023 17:21:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scratchpost.org; s=kas202303142049; t=1682954478; bh=UTvetZdN2u5IGLQ7RYspxeAiYaIPeCQ9kkpDb9KSvXk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=o6PKecUjPSafMbKGAvSVk99cwkoemkmNhBS6POsOP7AHh+TUl6a2Ib2io96j8XUZp MUbnFhg0vysVnaLNz8bSou/lXxBXIAcxl1chZ7UmlEOhn4wjQQLfluf8W2wuC569Mf Q4iavZuH2i2YBFj+RCEIADSChelUb/QEkWOKsrMfkPsnAXu2g0Mx2BJY5nc8w7JZ+2 057jJBTVdVdGRNyPqseTAsXrfvu/J0UkWeFlufMAGK1LqEtIateky/frzcoMku559T 3trvUBCmXn78U5f0BFTroW3CV6tA9FWFhBsOOVYPnLQDet9yjYufcGpE9+cJfpE23X fx+eWo7T8aU+g== Date: Mon, 1 May 2023 17:21:14 +0200 From: Danny Milosavljevic To: "(" Subject: Re: [bug#62424] [PATCH] gnu: Add lazarus. Message-ID: <20230501172114.66532cf2@scratchpost.org> In-Reply-To: References: <20230323101604.17976-1-dannym@scratchpost.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/11QzV/v_tdQhfF0PXBZmvz8"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spamd-Bar: -- X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62424-done Cc: 62424-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/11QzV/v_tdQhfF0PXBZmvz8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, > Please make sure you use the new-ish LIST/GEXP style for ARGUMENTS; Did so. > also, much > of your modified BUILD phase could be replaced by modifying #:MAKE-FLAGS,= and > LIBS could be generated in a much simpler way with FOLD from (SRFI SRFI-1= ): That did not work so I couldn't change it to that. I pushed lazarus to guix master as commit df504d84ca1881854f09f11ae7e72a02a= dad9b69. --Sig_/11QzV/v_tdQhfF0PXBZmvz8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmRP2OsACgkQ5xo1VCww uqWPdAf/RiyvAbz6goWY4MoF8TyBOfgkVWGoDPGX8Tf0hm73ncuUd24rCUpTdb6M LGMngy05QsH42UMbVeJGauR9usjrnZqEtZXCVr258VShPGg7C3FciyF87RgcFjO5 OpyplSj3PxPd5FISat0FKRpKbOhpK3bX6m0DSlQo+d54SxlLY5mOrhqWZK91OnPB vcJJcvljaE8oEVJsb2Sm31wnTRnK4AMxUBMQFx6KUoNiM1BSz5epVQ8Po7a1JZA0 PTYxNNKesUOJ0OOQO2V41jHfD1ya+xW7FpkHDRgxWv9hrEmW1/ZcnWhszaO6Olzh vWOfqLPF6F3VrIItQlIEgNP3eAeOeQ== =LyrW -----END PGP SIGNATURE----- --Sig_/11QzV/v_tdQhfF0PXBZmvz8-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 13:38:28 2023 Received: (at 62424-done) by debbugs.gnu.org; 1 May 2023 17:38:28 +0000 Received: from localhost ([127.0.0.1]:40970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptXTn-0000P8-Rp for submit@debbugs.gnu.org; Mon, 01 May 2023 13:38:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptXTj-0000Ou-EE for 62424-done@debbugs.gnu.org; Mon, 01 May 2023 13:38:25 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B006B401BA; Mon, 1 May 2023 19:38:21 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i92f65aTRjLk; Mon, 1 May 2023 19:38:20 +0200 (CEST) References: <20230323101604.17976-1-dannym@scratchpost.org> <20230501172114.66532cf2@scratchpost.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1682962700; bh=YyGIvhRT79tpM3pnU8gE+xp9RvropVGt2/liewqaVO0=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=BefFiD2+06wSAbMCBIXpnN2y5hCBsoPnDBzFxs+N8pGG2BnAT/pT8CqK0ZqvZLkFb YLUWBATIdQ2YLJrp81iQYJropylETc5JQ1O7uIjHIleeK0fU4ln8u0OjjSyBp/er+V Ot1jE1mFrKq6xOddSCY+nj5ZRFDdDoHSLsgzPdoHSpgR6qILRRdOFJRqDjjeCm4LAK 8Tkw0cUmfXGXSalg2c/lp+3zgGojF1Vn1dMKEaFPtAe1NP6lD3SgrGcX1NVU4cmn6d B17m1xRuHNBchdJu483nlpz/85RS6SckzUc3s/979z15lgi4/hoXVZP50scKdHncgK PEzYW8JKPi20A== From: "(" To: Danny Milosavljevic Subject: Re: [bug#62424] [PATCH] gnu: Add lazarus. Date: Mon, 01 May 2023 18:35:37 +0100 In-reply-to: <20230501172114.66532cf2@scratchpost.org> Message-ID: <87edo0eyuw.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62424-done Cc: 62424-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Danny Milosavljevic writes: > That did not work so I couldn't change it to that. Oh! I managed to forgot to add the seed flag :( It should have been: ```scheme (fold (lambda (pkg flags) (cons* (string-append "-Fl" pkg "/lib") (string-append "-k-rpath=" pkg "/lib") flags)) '() lib-dirs) ``` From unknown Sat Jun 21 05:20:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 May 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator