Patch neofetch from upstream

This commit is contained in:
Berkan Şahin
2021-04-05 22:32:51 +03:00
parent c23ff814d2
commit 249cf620fe
5 changed files with 1953 additions and 17 deletions
+1 -5
View File
@@ -1,15 +1,11 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+157
View File
@@ -0,0 +1,157 @@
--- neofetch/neofetch.1 2021-04-05 21:41:49.707204300 +0300
+++ pisifetch/neofetch.1 2021-04-05 20:12:53.035267174 +0300
@@ -1,5 +1,5 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15.
-.TH NEOFETCH "1" "Aug 2020" "Neofetch 7.1.0" "User Commands"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3.
+.TH NEOFETCH "1" "April 2021" "Neofetch 7.1.0" "User Commands"
.SH NAME
Neofetch \- A fast, highly customizable system info script
.SH SYNOPSIS
@@ -152,6 +152,9 @@
\fB\-\-ip_timeout\fR int
Public IP timeout (in seconds).
.TP
+\fB\-\-ip_interface\fR value
+Interface(s) to use for local IP
+.TP
\fB\-\-song_format\fR format
Print the song data in a specific format (see config file).
.TP
@@ -161,6 +164,9 @@
\fB\-\-memory_percent\fR on/off
Display memory percentage.
.TP
+\fB\-\-memory_unit\fR kib/mib/gib
+Memory output unit.
+.TP
\fB\-\-music_player\fR player\-name
Manually specify a player to use.
Available values are listed in the config file
@@ -212,10 +218,6 @@
Colors to make the bar.
Set in this order: elapsed, total
.TP
-\fB\-\-cpu_display\fR mode
-Bar mode.
-Possible values: bar, infobar, barinfo, off
-.TP
\fB\-\-memory_display\fR mode
Bar mode.
Possible values: bar, infobar, barinfo, off
@@ -231,8 +233,8 @@
.TP
\fB\-\-backend\fR backend
Which image backend to use.
-Possible values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2',
-\&'off', 'sixel', 'tycat', 'w3m', 'kitty'
+Possible values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a',
+\&'iterm2', 'off', 'sixel', 'tycat', 'w3m', 'kitty', 'viu'
.TP
\fB\-\-source\fR source
Which image or ascii file to use.
@@ -247,6 +249,9 @@
\fB\-\-caca\fR source
Shortcut to use 'caca' backend.
.TP
+\fB\-\-catimg\fR source
+Shortcut to use 'catimg' backend.
+.TP
\fB\-\-chafa\fR source
Shortcut to use 'chafa' backend.
.TP
@@ -259,6 +264,9 @@
\fB\-\-kitty\fR source
Shortcut to use 'kitty' backend.
.TP
+\fB\-\-pot\fR source
+Shortcut to use 'pot' backend.
+.TP
\fB\-\-pixterm\fR source
Shortcut to use 'pixterm' backend.
.TP
@@ -274,6 +282,12 @@
\fB\-\-w3m\fR source
Shortcut to use 'w3m' backend.
.TP
+\fB\-\-ueberzug\fR source
+Shortcut to use 'ueberzug' backend
+.TP
+\fB\-\-viu\fR source
+Shortcut to use 'viu' backend
+.TP
\fB\-\-off\fR
Shortcut to use 'off' backend (Disable ascii art).
.IP
@@ -287,34 +301,35 @@
\fB\-\-ascii_distro\fR distro
Which Distro's ascii art to print
.TP
-NOTE: AIX, Alpine, AlterLinux, Anarchy, Android, Antergos, antiX,
-"AOSC OS", "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
-ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig,
-BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
-BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
-Chapeau, Chrom, Cleanjaro, ClearOS, Clear_Linux, Clover,
-Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
-DesaOS, Devuan, DracOS, DragonFly, Drauger, Elementary,
-EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
-FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo,
-gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
-Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
-Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
-LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
-Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
-Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
-NuTyX, OBRevenge, OpenBSD, OpenIndiana, openmamba, OpenMandriva,
-OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus,
-Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
-PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian,
-Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata,
-Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
+NOTE: AIX, Hash, Alpine, AlterLinux, Amazon, Anarchy, Android,
+instantOS, Antergos, antiX, "AOSC OS", "AOSC OS/Retro",
+Apricity, ArchCraft, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
+XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig,
+BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, BunsenLabs,
+Calculate, Carbs, CentOS, Chakra, ChaletOS, Chapeau, Chrom,
+Cleanjaro, ClearOS, Clear_Linux, Clover, Condres, Container_Linux,
+CRUX, Cucumber, dahlia, Debian, Deepin, DesaOS, Devuan, DracOS,
+DarkOs, Itc, DragonFly, Drauger, Elementary, EndeavourOS, Endless,
+EuroLinux, Exherbo, Fedora, Feren, FreeBSD, FreeMiNT, Frugalware,
+Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, gNewSense, GNOME, GNU,
+GoboLinux, Grombyang, Guix, Haiku, Huayra, Hyperbola, janus, Kali,
+KaOS, KDE_neon, Kibojoe, Kogaion, Korora, KSLinux, Kubuntu, LEDE,
+LaxerOS, LibreELEC, LFS, Linux_Lite, LMDE, Lubuntu, Lunar, macos,
+Mageia, MagpieOS, Mandriva, Manjaro, Maui, Mer, Minix, LinuxMint,
+Live_Raizo, MX_Linux, Namib, Neptune, NetBSD, Netrunner, Nitrux,
+NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana,
+openmamba, OpenMandriva, OpenStage, OpenWrt, osmc, Oracle,
+OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, TrueOS,
+PCLinuxOS, Pengwin, Peppermint, Pisi, popos, Porteus, PostMarketOS,
+Proxmox, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS,
+Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
+sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS,
Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap,
-openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
-Ubuntu\-Budgie, Ubuntu\-GNOME, Ubuntu\-MATE, Ubuntu\-Studio, Ubuntu,
-Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX
-have ascii logos
+t2, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
+Ubuntu\-Cinnamon, Ubuntu\-Budgie, Ubuntu\-GNOME, Ubuntu\-MATE,
+Ubuntu\-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
+windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
.IP
NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
.IP
@@ -349,6 +364,9 @@
How to size the image.
Possible values: auto, 00px, 00%, none
.TP
+\fB\-\-catimg_size\fR 1/2
+Change the resolution of catimg.
+.TP
\fB\-\-crop_mode\fR mode
Which crop mode to use
Takes the values: normal, fit, fill
File diff suppressed because it is too large Load Diff
+22 -11
View File
@@ -1,22 +1,33 @@
<PISI>
<Source>
<Name>neofetch</Name>
<Homepage>https://github.com/berkan-sahin/neofetch</Homepage>
<Homepage>https://github.com/dylanaraps/neofetch</Homepage>
<Packager>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
<Name>Berkan Şahin</Name>
<Email>cicektaksi@tutanota.com</Email>
</Packager>
<License>MIT</License>
<PartOf>util.misc</PartOf>
<Summary>Hızlı, özelleştirilebilir sistem bilgisi betiği</Summary>
<Description>Hızlı, özelleştirilebilir sistem bilgisi betiği</Description>
<Archive type="zip" sha1sum="1394e3566bcf81f3e096bd09ed2e7be82aba8c6a">https://github.com/berkan-sahin/neofetch/archive/refs/tags/v1.0.zip</Archive>
<Summary>Hızlı, özelleştirilebilir sistem bilgisi betiği.</Summary>
<Description>Neofetch'in Pisi Linux desteği için yamalanmış sürümü.</Description>
<BuildDependencies>
<Dependency>bash</Dependency>
</BuildDependencies>
<Archive sha1sum="7be4b14fc3673968d7a5c46f36b94505ee9ea0e1" type="targz">https://github.com/dylanaraps/neofetch/archive/refs/tags/7.1.0.tar.gz</Archive>
<Patches>
<Patch level="1">neofetch.1.patch</Patch>
<Patch level="1">neofetch.patch</Patch>
</Patches>
</Source>
<Package>
<Name>neofetch</Name>
<Summary>Hızlı, özelleştirilebilir sistem bilgisi betiği</Summary>
<Summary>Hızlı, özelleştirilebilir sistem bilgisi betiği.</Summary>
<RuntimeDependencies>
<Dependency>bash</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/neofetch</Path>
<Path fileType="all">/</Path>
<Path fileType="executable">/usr/bin/*</Path>
<Path fileType="doc">/usr/share/*</Path>
</Files>
</Package>
@@ -24,9 +35,9 @@
<Update release="1">
<Date>2021-04-05</Date>
<Version>7.1.0</Version>
<Comment>Pisi Linux için ilk Neofetch sürümü</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
<Comment>Pisi Linux Support</Comment>
<Name>Berkan Şahin</Name>
<Email>cicektaksi@tutanota.com</Email>
</Update>
</History>
</PISI>
+1 -1
View File
@@ -2,6 +2,6 @@
<Source>
<Name>neofetch</Name>
<Summary xml:lang="en">A fast, highly customizable system info script.</Summary>
<Description xml:lang="en">A fast, highly customizable system info script.</Description>
<Description xml:lang="en">A version of Neofetch patched for Pisi Linux support.</Description>
</Source>
</PISI>