-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3d2512
commit 40f6ebd
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -ru a/usr/lib/bulky/bulky.py b/usr/lib/bulky/bulky.py | ||
--- a/usr/lib/bulky/bulky.py 2024-07-21 17:26:01.000000000 +0800 | ||
+++ b/usr/lib/bulky/bulky.py 2024-09-06 20:17:54.321978118 +0800 | ||
@@ -393,7 +393,7 @@ | ||
dlg.set_program_name("Bulky") | ||
dlg.set_comments(_("Rename Files")) | ||
try: | ||
- h = open('/usr/share/common-licenses/GPL', encoding="utf-8") | ||
+ h = open('/usr/share/licenses/GPL-3', encoding="utf-8") | ||
s = h.readlines() | ||
gpl = "" | ||
for line in s: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
diff -ru a/usr/bin/bulky b/usr/bin/bulky | ||
--- a/usr/bin/bulky 2024-07-21 17:26:01.000000000 +0800 | ||
+++ b/usr/bin/bulky 2024-09-10 11:45:49.044165427 +0800 | ||
@@ -1,2 +1,2 @@ | ||
-#!/bin/bash | ||
+#!/bin/sh | ||
/usr/lib/bulky/bulky.py "$@" & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/usr/lib/bulky/bulky.py b/usr/lib/bulky/bulky.py | ||
index 5e01644..54bb550 100755 | ||
--- a/usr/lib/bulky/bulky.py | ||
+++ b/usr/lib/bulky/bulky.py | ||
@@ -403,7 +403,12 @@ class MainWindow(): | ||
except Exception as e: | ||
print (e) | ||
|
||
- dlg.set_version("__DEB_VERSION__") | ||
+ try: | ||
+ verfile = open("/usr/share/bulky/version", "r") | ||
+ dlg.set_version(verfile.read()) | ||
+ verfile.close() | ||
+ except Exception as e: | ||
+ print (e) | ||
dlg.set_icon_name("bulky") | ||
dlg.set_logo_icon_name("bulky") | ||
dlg.set_website("https://www.github.com/linuxmint/bulky") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
pkgname = "bulky" | ||
pkgver = "3.4" | ||
pkgrel = 0 | ||
build_style = "makefile" | ||
hostmakedepends = ["gettext"] | ||
depends = [ | ||
"base-files-doc", | ||
"gtk+3", | ||
"python-gobject", | ||
"python-magic", | ||
"python-setproctitle", | ||
] | ||
pkgdesc = "Bulk renamer" | ||
maintainer = "Earldridge Jazzed Pineda <earldridgejazzedpineda@gmail.com>" | ||
license = "GPL-3.0-or-later" | ||
url = "https://projects.linuxmint.com/xapps" | ||
source = f"https://github.com/linuxmint/bulky/archive/refs/tags/{pkgver}.tar.gz" | ||
sha256 = "dd3350ccb98ce1b1f3df67151ca091430df67e41f19162a415550ef8ebd67c45" | ||
# Test script requires write access to the cbuild container's root | ||
options = ["!check"] | ||
|
||
|
||
def install(self): | ||
self.install_files("usr", "") | ||
with open(self.destdir / "usr/share/bulky/version", "w") as verfile: | ||
verfile.write(self.pkgver) |