-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added information about desktop GUI applications #298
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: Electron | ||
subsection: gui-app | ||
section: start-sw | ||
description: | ||
--- | ||
|
||
# Create an application using Electron | ||
|
||
[Electron][0] is cross platform framework for creating desktop applications using | ||
pvalena marked this conversation as resolved.
Show resolved
Hide resolved
|
||
web technologies. It is developed by GitHub and released under the MIT license. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd skip the last sentence and would prefer some usual / suitable use-cases, or some example, WDYT? |
||
|
||
## Installing the development packages | ||
|
||
Electron uses web technologies so before installing Electron you will need to | ||
install NodeJS and NPM. You can install them by running: | ||
|
||
``` | ||
$ sudo dnf install nodejs | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd rather avoid content duplication completely. Just linking the page is fine with me. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You sure? There is a link below for more information but it will just make the user jump pages There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, developers know how to hande that. Simplicity is the key. They can even have already nodejs installed and may just wonder npm packages are needed etc.. No need to have every guide here full-featured. It'd not supposed to be a documentation. |
||
``` | ||
|
||
or by following the [Node.js](/tech/languages/nodejs/nodejs.html) tutorial. | ||
|
||
After installing NodeJS you can simply install electron using NPM or your preferred | ||
package manager for NodeJS. You can install it using NPM by running: | ||
|
||
``` | ||
$ npm install --save-dev electron@latest | ||
``` | ||
|
||
after installing nodejs and electron you can follow the [first application][1] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are there no Fedora specifics? Does the guide work fine with no glitches? I mean, for someone, who's going to do GUI app for the first time, is that a proper |
||
tutorial on Electron website. | ||
|
||
|
||
|
||
[0]: https://electronjs.org/ | ||
[1]: https://electronjs.org/docs/tutorial/first-app |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: GTK+ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, to my knowledge, there should be a |
||
subsection: gui-app | ||
section: start-sw | ||
description: | ||
--- | ||
|
||
# Create an application using GTK+ | ||
|
||
GTK+ is a cross platform graphical toolkit which stands for GIMP toolkit. | ||
It was started in 1998 as an free and open source alternative to Qt which was | ||
proprietary at the time. GTK+ is published under the GNU LGPL 2.1 license. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please see my Electron page first comment. |
||
|
||
## Installing the development packages | ||
|
||
GTK+ is written in C so the minimum required to create a GTK+ application is a | ||
C compiler and the GTK+ development package: | ||
|
||
``` | ||
$ sudo dnf install gcc gtk3-devel | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe it would be a good idea to point to C app guide we have, or cli-app quickstart: |
||
``` | ||
|
||
After installing the compiler and development package you can follow the GTK+ | ||
[getting started guide][0] on GNOME website. | ||
|
||
## Other languages | ||
|
||
GTK+ is written in C but it also have official support for C++, JavaScript, | ||
Python, Vala and Rust. | ||
|
||
### Vala | ||
|
||
If you want to develop in Vala, you need to install a Vala compiler in addition | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you make a more specific description of what Vala is? Does it possibly deserve standalone page? |
||
to the general development packages mentioned above. To do it you can run: | ||
|
||
``` | ||
$ sudo dnf install vala | ||
``` | ||
|
||
After that you can follow [GNOME Vala tutorial][1] to learn how to develop GUI | ||
applications with Vala. | ||
|
||
## Using GNOME Builder | ||
|
||
GNOME Builder is an IDE made by GNOME developers to help create GTK+ applications. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
|
||
To install GNOME Builder using dnf run the command: | ||
|
||
``` | ||
$ sudo dnf install gnome-builder | ||
``` | ||
|
||
If you want to install GNOME Builder using Flatpak run the command: | ||
|
||
``` | ||
$ flatpak install --from https://flathub.org/repo/appstream/org.gnome.Builder.flatpakref | ||
``` | ||
|
||
[0]: https://developer.gnome.org/gtk3/stable/gtk-getting-started.html | ||
[1]: https://wiki.gnome.org/Projects/Vala/Tutorial |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: Qt | ||
subsection: gui-app | ||
section: start-sw | ||
description: | ||
--- | ||
|
||
# Create an application using Qt | ||
|
||
[Qt][0] is a cross platform application framework which contains a cross platform | ||
graphical toolkit. Unlike GTK+ which is developed mostly by Linux users, Qt is | ||
developed by The Qt Company. Because of that Qt have better cross platform support. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you at least put how to install QT here / or simply put here whether it's in Fedora. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know how to install qt myself so I can't explain it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then please do not create the page if you haven't tested it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We only want the content someone has tested on Fedora. See our wiki. |
||
|
||
[0]: https://www.qt.io/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description is needed, right?