Giter Site home page Giter Site logo

fpm-gui's Introduction

fpm-gui

fpm-gui is a straigtforward user-interface to use the fpm Fortran package manager via a graphical user-interface instead of the commandline.

License: MIT

It helps with the following tasks:

  • Retrieve the source code for a particular package
  • Build the package
  • Install the package for use in other programs or contexts

Screenshot of fpm-gui

Version

Current version: 0.1, dd. may 2021.

There are a lot of functions that are planned but not yet implemented.

Supported platforms and required software

fpm-gui is built in Tcl/Tk and is thus a platform-independent user-interface. What is required is a Tcl/Tk runtime environment for the platform, such as wish or tclkit.

The current, preliminary, version of fpm-gui relies on several external programs and program suites:

  • git - to retrieve the source code (in fact a clone of the packages will be created when you retrieve them).
  • gfortran - used as the (default) compiler. It is planned to support other Fortran compilers in later versions.
  • xdg-open - required on Linux-like platforms (also for Cygwin) for displaying web pages; on "plain" Windows this is taken care of in a different way.

Last but not least: fpm itself.

Installation

Installation is straightforward:

  • Put the files in the repository in a subdirectory "fpm" under your home directory (in Windows this is probably c:\users\<yourname>)
  • Copy the fpm executable into the same directory

It will use the following directories for its operation (the tilde indicates the user's home directory):

  • ~/fpm - installation directory
  • ~/fpm-packages - to store the source for the packages in and to install the executables and libraries

You can start the GUI by running:

   wish ~/fpm/fpm-gui.tcl

Note: The installation directory ~/fpm is used to store some temporary files, so it must be writeable.

Note: In a next version this procedure will be further simplified by providing a standalone executable per platform.

fpm-gui's People

Contributors

arjenmarkus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fpm-gui's Issues

How can one run it on macOS?

I tried:

fortran-lang/fpm-gui(main) $ tclsh fpm-gui.tcl 
Cloning into 'fpm-registry'...
remote: Enumerating objects: 374, done.
remote: Counting objects: 100% (162/162), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 374 (delta 98), reused 116 (delta 65), pack-reused 212
Receiving objects: 100% (374/374), 88.19 KiB | 1.14 MiB/s, done.
Resolving deltas: 100% (196/196), done.
invalid command name "wm"
    while executing
"wm title      . "fpm - Fortran package manager""
    (procedure "mainWindow" line 2)
    invoked from within
"mainWindow $packageNames"
    (file "fpm-gui.tcl" line 312)

So I think we need to figure out how to install the Tk? How can one install it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.