Skip to content

Commit

Permalink
v2024.1.25 - 25 January 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
giantpinkrobots committed Jan 25, 2024
1 parent 6a5acfc commit 9e12420
Show file tree
Hide file tree
Showing 12 changed files with 561 additions and 113 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.flatpak
.vscode
_build
_build
.flatpak-builder
34 changes: 32 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,45 @@ Varia is a simple download manager that conforms to the latest Libadwaita design
<p float="left" align="middle">
<img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-1.png" width=400 />
<img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-2.png" width=400 />
<img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-3.png" width=400 />
</p>

It supports basic functionality like continuing incomplete downloads from the previous session upon startup, pausing/cancelling all downloads at once, setting a speed limit, authentication with a username/password, and setting the download directory.

## Get Varia

### Flatpak
The main way to get Varia that is supported by me is via [Flathub](https://flathub.org/apps/io.github.giantpinkrobots.varia).
```
flatpak install flathub io.github.giantpinkrobots.varia
```
This requires you to have Flatpak and the Flathub Flatpak repository installed on your system.

### AUR (Arch Linux)
You can get Varia via the [AUR](https://aur.archlinux.org/packages/varia) as well, but it is not distributed by me.

## Building

The easiest way of building Varia is to use GNOME Builder. Just clone this repository, and open the folder using Builder. Then, press run.

For now, building using Flatpak is the only supported way of building Varia, but I will add meson-only build instructions later when I fix the code to support that.
If you don't want to utilize Flatpak to build Varia you need meson, python-setuptools, Gtk4 and its development libraries, Libadwaita, aria2 and the aria2p python package. To install the meson build system and aria2 on certain Linux systems:
```
Ubuntu, Debian, Mint etc: sudo apt install meson ninja-build aria2 python-setuptools libgtk-4-dev libadwaita-1-0
Fedora, RHEL etc: sudo dnf install meson ninja-build aria2 python-setuptools gtk4-devel libadwaita
Arch, EndeavourOS, Manjaro etc: sudo pacman -S meson aria2 python-setuptools gtk4 libadwaita
```
To install aria2p using pip (your distro probably doesn't have it in its repos - it's on the AUR for Arch):
```
pip install aria2p
```
Then, you can use meson commands to build Varia:
```
git clone https://github.com/giantpinkrobots/varia
cd varia
meson setup builddir
cd builddir
meson compile
sudo meson install
```

## License

Expand All @@ -47,3 +76,4 @@ Also, I really want to change the logo as it's something I hastly hacked togethe

The name "Varia" comes from the aria2 software it is based on, and I added a "V" to make it "Varia". In the Metroid series of games, there is a special suit you eventually get named a "<a href=https://metroid.fandom.com/wiki/Varia_Suit>Varia Suit</a>" with its main feature being allowing Samus to withstand extreme temperatures. I spent some time thinking about how to connect the Varia Suit to my app, but couldn't, soooo... I think it just sounds cool.


7 changes: 4 additions & 3 deletions data/io.github.giantpinkrobots.varia.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ Varia utilizes GTK4 and Libadwaita to provide a easy to use interface that integ
</screenshots>

<releases>
<release version="v2023.12.8" date="2023-12-08">
<release version="v2024.1.25" date="2024-01-25">
<description translatable="yes">
<p>- Important bugfixes and adjustments.</p>
<p>- Ukrainian translation support.</p>
<p>- UI enhancements and cleanup.</p>
<p>- Important bugfixes.</p>
<p>- Initial French language support.</p>
</description>
</release>
</releases>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('varia',
version: '0.1.0',
version: 'v2024.1.25',
meson_version: '>= 0.62.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)
Expand Down
4 changes: 3 additions & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ oc
pt_BR
ru
tr
uk
uk
fr

198 changes: 198 additions & 0 deletions po/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# bluekillwood <>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-30 03:17+0300\n"
"PO-Revision-Date: 2023-12-13 17:59+0300\n"
"Last-Translator: bluekillwood <>\n"
"Language-Team: French <>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0\n"
"X-Generator: Gtranslator 45.3\n"

#. Translators: Do NOT translate or localize the application name.
#: data/io.github.giantpinkrobots.varia.desktop.in:4
#: data/io.github.giantpinkrobots.varia.metainfo.xml.in:3
msgid "Varia"
msgstr ""

#. Translators: These are search terms to find this application. Do NOT translate or localize the semicolons. The list MUST also end with a semicolon.
#: data/io.github.giantpinkrobots.varia.desktop.in:11
msgid "varia;aria;download;manager;"
msgstr ""

#: data/io.github.giantpinkrobots.varia.metainfo.xml.in:4
msgid "Download manager based on aria2"
msgstr "Gestionnaire de téléchargement basé sur ari2"

#: data/io.github.giantpinkrobots.varia.metainfo.xml.in:16
msgid ""
"Varia is a download manager based on aria2 that utilizes GTK4 and Libadwaita "
"to provide a easy to use interface that integrates well with the GNOME "
"desktop."
msgstr ""
"Varia est un gestionnaire de téléchargement basé sur aria2 qui utilise GTK4 "
"et Libadwaita pour fournir une interface simple d'utilisation qui s'intègre "
"bien avec l'environnement Gnome"

#: src/variamain.py:45
msgid "This is not a valid URL."
msgstr "Ce n'est pas une URL valide"

#: src/variamain.py:171
msgid "About Varia"
msgstr "À propos de Varia"

#: src/variamain.py:177
msgid "URL"
msgstr "URL"

#: src/variamain.py:178
msgid "Download"
msgstr "Téléchargement"

#: src/variamain.py:184
msgid "Open Download Folder"
msgstr "Ouvrir le dossier des téléchargeemnts"

#: src/variamain.py:196
msgid "Speed Limit"
msgstr "Limite de vitesse"

#: src/variamain.py:203 src/variamain.py:423
msgid "Pause All"
msgstr "Tout mettre en pause"

#: src/variamain.py:212
msgid "Speed"
msgstr "Vitesse"

#: src/variamain.py:215
msgid "Set Speed Limit"
msgstr "Définir la limite de vitesse"

#: src/variamain.py:216
msgid "Cancel All"
msgstr "Tout annuler"

#: src/variamain.py:235
msgid "/s"
msgstr "/s"

#: src/variamain.py:238
msgid "No limit"
msgstr "Pas de limite"

#: src/variamain.py:274
msgid "Download complete."
msgstr "Téléchargement terminé"

#: src/variamain.py:276
msgid "Download speed is limited."
msgstr "La vitesse de téléchargement est limitée"

#: src/variamain.py:277
msgid "An error occurred:"
msgstr "Une erreur est survenue:"

#: src/variamain.py:292
msgid "MB/s"
msgstr "Mo/s"

#: src/variamain.py:294
msgid "KB/s"
msgstr "Ko/s"

#: src/variamain.py:298
msgid "0 B/s"
msgstr "0 b/s"

#: src/variamain.py:300
msgid " MB/s"
msgstr " Mo/s"

#: src/variamain.py:302
msgid " KB/s"
msgstr " Kb/s"

#: src/variamain.py:304
msgid " B/s"
msgstr " b/s"

#: src/variamain.py:410
msgid "Resume All"
msgstr "Tout reprendre"

#: src/variamain.py:443
msgid "aria2 based download manager utilizing GTK4 and Libadwaita."
msgstr ""
"gestionnaire de téléchargement basé sur aria2 utilisant GTK4 et Libadwaita"

#: src/variamain.py:446
msgid ""
"2023 Giant Pink Robots!\n"
"\n"
"This application relies on the following pieces of software:\n"
"\n"
"- aria2: GPL v2 License (aria2 itself relies on OpenSSL: OpenSSL License)\n"
"- aria2p: ISC License\n"
"\n"
"The licenses of all of these pieces of software can be found in the "
"dependencies_information directory in this application's app directory."
msgstr ""

#: src/variamain.py:449
msgid "translator-credits"
msgstr "bluekillwood"

#: src/variamain.py:457
msgid "Download Directory"
msgstr ""

#: src/variamain.py:460
msgid "Change"
msgstr ""

#: src/variamain.py:463
msgid "Speed limited"
msgstr ""

#: src/variamain.py:519
msgid "Authentication"
msgstr ""

#: src/variamain.py:532
msgid "Username"
msgstr ""

#: src/variamain.py:534
msgid "Password"
msgstr ""

#: src/variamain.py:554
msgid "Authorization failed."
msgstr ""

#: src/gtk/help-overlay.ui:11
msgctxt "shortcut window"
msgid "General"
msgstr ""

#: src/gtk/help-overlay.ui:14
msgctxt "shortcut window"
msgid "Show Shortcuts"
msgstr ""

#: src/gtk/help-overlay.ui:20
msgctxt "shortcut window"
msgid "Quit"
msgstr ""
Binary file modified screenshots/Screenshot-Varia-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/Screenshot-Varia-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/Screenshot-Varia-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ configure_file(
configuration: conf,
install: true,
install_dir: get_option('bindir'),
install_mode: 'r-xr--r--'
install_mode: 'r-xr-xr-x'
)

configure_file(
Expand All @@ -32,7 +32,7 @@ configure_file(
configuration: conf,
install: true,
install_dir: get_option('bindir'),
install_mode: 'r-xr--r--'
install_mode: 'r-xr-xr-x'
)

varia_sources = [
Expand Down
13 changes: 12 additions & 1 deletion src/varia.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#!/bin/bash
pythonexec='@PYTHON@'
pkgdatadir='@pkgdatadir@'
$pkgdatadir/../../bin/aria2/aria2c --enable-rpc --rpc-listen-port=6801 &
aria2cexec=$pkgdatadir/../../bin/aria2c
if !(test -f $aria2cexec;)
then
echo "Probably not a Flatpak environment. Trying to find the system's aria2c..."
aria2cexec=$(which aria2c)
if !(test -f $aria2cexec;)
then
echo "aria2c not found. Exiting."
exit
fi
fi
$aria2cexec --enable-rpc --rpc-listen-port=6801 &
$pythonexec $pkgdatadir/../../bin/varia-py.py
Loading

0 comments on commit 9e12420

Please sign in to comment.