forked from puppylinux-woof-CE/woof-CE
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add viewnior petbuild with hellosiyan/Viewnior#108
- Loading branch information
Showing
14 changed files
with
1,329 additions
and
5 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
viewnior-1.8|viewnior|1.8||Graphic|6656K||viewnior-1.8.pet||Elegant image viewer|puppy||| |
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,13 @@ | ||
download() { | ||
[ -f viewnior-1.8.tar.gz ] || wget -t 3 -T 60 -O viewnior-1.8.tar.gz https://github.com/hellosiyan/Viewnior/archive/viewnior-1.8.tar.gz | ||
} | ||
|
||
build() { | ||
tar -xzf viewnior-1.8.tar.gz | ||
cd Viewnior-viewnior-1.8 | ||
[ $PETBUILD_GTK -eq 2 ] || patch -p1 < ../gtk3.patch | ||
patch -p1 < ../puppy.patch | ||
meson --buildtype=release --prefix=/usr build | ||
ninja -C build install | ||
sed 's/^Categories=.*/Categories=Presentation;/' -i /usr/share/applications/viewnior.desktop | ||
} |
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,3 @@ | ||
echo '#!/bin/sh | ||
exec viewnior "$@"' > usr/local/bin/defaultimageviewer | ||
chmod 755 usr/local/bin/defaultimageviewer |
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,21 @@ | ||
diff -rupN Viewnior-viewnior-1.8-orig/src/uni-utils.c Viewnior-viewnior-1.8/src/uni-utils.c | ||
--- Viewnior-viewnior-1.8-orig/src/uni-utils.c 2023-01-13 14:55:15.956336191 +0200 | ||
+++ Viewnior-viewnior-1.8/src/uni-utils.c 2023-01-13 14:55:45.984452919 +0200 | ||
@@ -104,7 +104,7 @@ uni_rectangle_get_rects_around (GdkRecta | ||
VnrPrefsDesktop | ||
uni_detect_desktop_environment () | ||
{ | ||
- VnrPrefsDesktop environment = VNR_PREFS_DESKTOP_GNOME3; | ||
+ VnrPrefsDesktop environment = VNR_PREFS_DESKTOP_PUPPY; | ||
|
||
gchar *xdg_current_desktop = g_ascii_strup(g_getenv("XDG_CURRENT_DESKTOP"), -1); | ||
gchar *xdg_session_desktop = g_ascii_strup(g_getenv("XDG_SESSION_DESKTOP"), -1); | ||
@@ -140,7 +140,7 @@ uni_detect_desktop_environment () | ||
} | ||
else | ||
{ | ||
- g_warning("Cannot detect desktop environment. Defaulting to GNOME 3.\n"); | ||
+ g_warning("Cannot detect desktop environment. Defaulting to Puppy.\n"); | ||
} | ||
|
||
g_free(xdg_current_desktop); |
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 @@ | ||
b9319171ebca23929e6ea8039c194b1595d92e764db5e3890836fb5c36e233b0 viewnior-1.8.tar.gz |
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
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
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
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
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
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
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
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