Skip to content

Commit

Permalink
31 January 2024 22:26
Browse files Browse the repository at this point in the history
  • Loading branch information
giantpinkrobots committed Jan 31, 2024
1 parent 0cb7a22 commit 73c8b59
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,18 @@ You can get Varia via the [AUR](https://aur.archlinux.org/packages/varia) as wel

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

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:
If you don't want to utilize Flatpak to build Varia you need:
- meson
- python-setuptools
- Gtk4 and its development libraries
- Libadwaita
- gettext
- aria2 and the aria2p python package.
To install the ones besides aria2p on some 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
Ubuntu, Debian, Mint etc: sudo apt install meson ninja-build aria2 python-setuptools libgtk-4-dev libadwaita-1-0 gettext
Fedora, RHEL etc: sudo dnf install meson ninja-build aria2 python-setuptools gtk4-devel libadwaita gettext
Arch, EndeavourOS, Manjaro etc: sudo pacman -S meson aria2 python-setuptools gtk4 libadwaita gettext
```
To install aria2p using pip (your distro probably doesn't have it in its repos - it's on the AUR for Arch):
```
Expand Down
6 changes: 2 additions & 4 deletions data/io.github.giantpinkrobots.varia.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ Varia utilizes GTK4 and Libadwaita to provide a easy to use interface that integ
</screenshots>

<releases>
<release version="v2024.1.26" date="2024-01-26">
<release version="v2024.1.31" date="2024-01-31">
<description translatable="yes">
<p>- UI enhancements and cleanup.</p>
<p>- Important bugfixes.</p>
<p>- Initial French language support.</p>
<p>Bug fixes.</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: 'v2024.1.26',
version: 'v2024.1.31',
meson_version: '>= 0.62.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)
Expand Down
7 changes: 5 additions & 2 deletions src/variamain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variaVersion = "v2024.1.26"
variaVersion = "v2024.1.31"

import gi
import sys
Expand Down Expand Up @@ -403,6 +403,9 @@ def total_download_speed_get(self, downloads, total_download_speed_label):

def create_actionrow(self, url):
filename = url.split("/")[-1].split("?")[0]
filename_shortened = filename[:40]
if (filename != filename_shortened):
filename_shortened = filename_shortened + "..."

download_item = Adw.Bin()
style_context = download_item.get_style_context()
Expand All @@ -420,7 +423,7 @@ def create_actionrow(self, url):

download_item.set_child(box_2)

filename_label = Gtk.Label(label=filename)
filename_label = Gtk.Label(label=filename_shortened)
filename_label.set_halign(Gtk.Align.START)
box.append(filename_label)

Expand Down

0 comments on commit 73c8b59

Please sign in to comment.