Giter Club home page Giter Club logo

pkgbuilds's People

Contributors

addin avatar amjoshaghani avatar bittin avatar codic12 avatar dalto8 avatar davidmp1 avatar endeavouros avatar felixonmars avatar flyingcakes85 avatar fredbezies avatar furuya7 avatar gnuhub avatar hugok79 avatar killajoe avatar manuel-192 avatar odiousimp2604 avatar outofphase87 avatar portergos avatar prescott66 avatar s4ndm4n82 avatar smlrrlms avatar sravanpannala avatar suyaseongi avatar tassiovirginio avatar testing2 avatar viktoron avatar vinzv avatar vladimirpomogaev avatar workingsea avatar zica87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pkgbuilds's Issues

lsb_release should set the distro codename

just had a nice discussion with folks on Telegram, talking about how lsb_release on EOS doesn't set the lsb codename, which breaks some automation and other tools. per the lsb docs, codename should get set:

-c, --codename     

displays codename according to distribution release. The output is a single line of text of the following format.

Codename:\t<Codename>

something like "rolling", or the timestamp of the last pacman update, should be sufficient to keep this from breaking things.

reflector-simple default window too large on some displays

When reflector-simple is invoked from the eos-welcome app on machines connected to displays which are running at lower resolutions, the window is larger than the displayed area.

this could be fixed if the checkbox with the text Bosnia and Herzegovina was at the end of a row, or if the text would wrap to the next line for that entry.

grub-tools doesn't work if "grub-silent aur" is installed

https://aur.archlinux.org/packages/grub-silent/

grub-silent is a grub substitute to get rid of the "Welcome to grub" message at the begin of the grub boot sequence. It is particularly useful if a grub theme is installed. Then this short flickering up "Welcome to grub" message can be annoying before the grub theme shows up.

If grub-silent aur is installed on EndeavourOS then an grub update will lead to a corrupt grub.cfg file and no os-prober menuentry will start anymore. The corrupted line in /boot/grub/grub.cfg is:

initrd /boot/intel-ucode.img^/boot/initramfs-linux.img

Instead of an empty space character there's a "^" character in the middle of the line that isn't correct.

Tested with:
EndeavourOS 2020.09.20 release installed in german language (don't know if this is relevant)

Add Flatpak update to the updater?

I love using the EOS updater, but find myself always having to then separately run "flatpak update".

Is there a way to optionally add flatpak update to the EOS updater like the AUR is?

I'm happy to try and add this code myself, but I'm a little lost on where exactly the update is happening.

endeavouros-mirrorlist

package() {
    mkdir -p "${pkgdir}/etc/pacman.d"
    install -Dm644 "${srcdir}/endeavouros-mirrorlist" \
        "${pkgdir}/etc/pacman.d/endeavouros-mirrorlist"
}

Dm644

it gives error on try installing it: file exists...

eos-reboot-required: App name for notification is unset

Budgie Desktop (and probably other desktop environments) shows the application name when displaying notifications, which in the case of eos-reboot-required is unset, defaulting to "notify-send". It may be desirable to pass in an app name to notify-send when sending the notification.

Warning abaut translation

When clicking on Update system on the Welcome app, this warning message appears:
Info: translation issues detected, see file '/tmp/translations-7yRtc.errlog'

The tmp file states this:
Warning: Welcome: language 'ca' placeholder 'nb_nofify_user1': translation not found, 'en' used as fallback.

But the rest of the text of the update system option and everything else in the Welcome app is correctly displayed in Catalan, so the translation is working fine.

I am the translator of the file translation-ca.bash and I wanted to ask if I missed something to change in the file or it is something that needs to be changed elsewhere.

Thanks!

Nvidia urls doesnt work anymore

Hey guys, I went into errors and found out that the nvidia urls doesnt work anymore.

The new urls I have successfully tested are here:

#!/bin/bash

# Find the right Nvidia driver for a card.

echo2()   { echo   "$@" >&2 ; }
printf2() { printf "$@" >&2 ; }

DIE() {
    echo2 "$progname: error: $1"
    exit 1
}

if false ; then
GetNvidiaIds_old()
{
    local version="$1"
    local ids="$(curl -Lsm $curl_timeout -o- https://download.nvidia.com/XFree86/Linux-x86_64/$version/README/supportedchips.html)"
    local true_series="${version%%.*}"

    [ -n "$ids" ] || DIE "fetcing supported ids for $version failed"

    ids="$(echo "$ids" | sed -n '1,/.*Below are the legacy GPUs that are no longer supported.*/p' | grep '<tr id=')"

    # old (340 series):
    #    <tr id="0x064C">                   # take 064C
    #
    # new (390 ... ):
    #    <tr id="devid17FD_10DE_1173">      # take 17FD
    #    <tr id="devid17FD">                # take 17FD

    if [ -n "$(echo "$ids" | grep 'id="devid')" ] ; then
        ids="$(echo "$ids" | grep '<tr id="devid' | sed 's|.*devid\([0-9A-F]*\)["_].*|\1|')"        # new
    else
        ids="$(echo "$ids" | sed 's|.*id="0x\([0-9A-F]*\)">|\1|')"                                  # old
    fi

    ids=$(echo "$ids" | sort | uniq | tr '[:upper:]' '[:lower:]')
    echo "$true_series|$ids"
}
fi

FilterIds() {
    # supports series 390 and later
    grep '<tr id="devid' | sed 's|.*devid\([0-9A-F]*\)["_].*|\1|' | sort -u | tr '[:upper:]' '[:lower:]'

    # grep 'id="devid' | grep '<tr id="devid' | sed 's|.*devid\([0-9A-F]*\)["_].*|\1|' | sort -u | tr '[:upper:]' '[:lower:]'
}

GetNvidiaIds() {
    local series="$1"
    [ -n "$series" ] || return 1
    local ids=""
    local sid1="${series_ids[0]}"   # e.g. 520
    local sid2="${series_ids[1]}"   # e.g. 470
    local sid3="${series_ids[2]}"   # e.g. 390
    local sidX="$series_id_out"

    case "$series" in
        $sid1) ids="$(echo "$ids_all" | sed -n '1,/.*Below are the legacy GPUs that are no longer supported.*/p' | FilterIds)" ;;
        $sid2) ids="$(echo "$ids_all" | sed -n "/.*\"legacy_$sid2.xx\"*/,/.*\"legacy_$sid3.xx\".*/p" | FilterIds)" ;;
        $sid3) ids="$(echo "$ids_all" | sed -n "/.*\"legacy_$sid3.xx\"*/,/.*\"legacy_$sidX.xx\".*/p" | FilterIds)" ;;

        $beta_series) ids="$(echo "$ids_beta" | sed -n '1,/.*Below are the legacy GPUs that are no longer supported.*/p' | FilterIds)" ;;

        *) DIE "unsupported series '$series'" ;;
    esac

    echo "$ids"
}

ShowDriversForId() {
    local id="$1"
    local ix
    local ids
    local ver
    local true_series=""   # found from the Nvidia website
    local ids_all
    local ids_beta
    local found=no
    local exit_code=0
    local -r url_of_ids="$(UrlOfIds "$pacman_pkgver")"
    local -r url_of_beta_ids="$(UrlOfIds "$beta_pkgver")"

    ids_all="$(curl --fail -Lsm $curl_timeout -o- "$url_of_ids")"
    exit_code=$?

    [ -n "$ids_all" ] || DIE "Nvidia id data not available from '$url_of_ids'! Curl exit code $exit_code."

    ids_beta="$(curl --fail -Lsm $curl_timeout -o- "$url_of_beta_ids")"
    [ -n "$ids_beta" ] || DIE "Nvidia id data not available from '$url_of_beta_ids'! Curl exit code $exit_code."

    for ver in "${nvidia_versions[@]}" ; do
        true_series="${ver%%.*}"
        if [ "$testing" = "yes" ] ; then
            [ $true_series -eq 390 ] || continue
        fi
        ids="$(GetNvidiaIds "$true_series")"
        if [ -n "$(echo "$ids" | grep "$id")" ] ; then
            printf "\nSeries %s: supported (nvidia.com: %s)\n\n" "$true_series" "$ver"     # DO NOT CHANGE THIS LINE! Other apps use it.
            if [ "$ver" = "$beta_pkgver" ] && [ "$beta_pkgver" != "$pacman_pkgver" ] ; then
                printf2 "NOTE: $beta_pkg $ver is an AUR package. To install it, use command:\n   yay -S $beta_pkg\n"
            fi
            case "$true_series" in
                ${series_ids[1]} | ${series_ids[2]} | 470 | 390)
                    printf2 "NOTE: nvidia-inst does not support series $true_series. To install, use the 'yay' command.\n"
                    ;;
            esac
            [ "$all" = "no" ] && return
            found=yes
        else
            [ "$all" = "yes" ] && echo2 "Series $true_series: not supported"
        fi
    done
    if [ "$found" = "no" ] ; then
        echo2 "Sorry, none of the Nvidia driver series [$(echo "${series_ids[*]}" | sed 's| |, |g')] is supported."
        printf2 "\nMore info:\n   %s\n   %s\n" "$starting_url" "$url_of_ids"
    fi
}

GetNvidiaVersions() {
    echo2 "NVIDIA card id: $nvidia_id"
    echo2 "Fetching driver data from nvidia.com ..."

    local s n
    local ret=0
    local versions
    versions=$(curl --fail -Lsm $curl_timeout -o- "$starting_url")       # get the html data about the versions of the Nvidia drivers
    ret=$?
    [ -n "$versions" ] || DIE "Fetching Nvidia driver info from '$starting_url' failed (curl code $ret). Please try again later."

    versions=$(echo "$versions" | grep "Linux x86_64/AMD64")                   # extract the line with only Linux x86_64 versions
    versions=$(echo "$versions" | sed 's|</a>|</a>\n|g' | grep Latest)         # make each version appear on a separate line
    versions=$(echo "$versions" | sed -E 's|.*>[ ]*([0-9\.]+)[ ]*<.*|\1|')     # extract version number on each line between '>' and '<' (excluding spaces)

    for n in $versions ; do
        [ $(vercmp $n $series_id_out) -lt 0 ] && continue
        for s in "${series_ids[@]}" ; do
            case "$n" in
                $s.*) nvidia_versions+=("$n") ;;
            esac
        done
    done
    if [ "$beta_pkgver" != "$pacman_pkgver" ] ; then
        nvidia_versions+=("$beta_pkgver")
    fi
}

Options() {
    local opts

    opts="$(/usr/bin/getopt -o=hajt: --longoptions help,all,test,timeout: --name "$progname" -- "$@")" || {
        Options -h
        return 1
    }

    eval set -- "$opts"

    while true ; do
        case "$1" in
            -a | --all) echo2 "Info: option '$1' recognized but is no more used." ;; # all=yes ;;
            -j | --test) testing=yes ;;
            -t | --timeout) curl_timeout="$2" ;;

            -h | --help)
                cat <<EOF >&2
Usage: $progname [options] [parameters]

Options:
  -t, --timeout     Timeout in seconds for operations that fetch driver data from nvidia.com.
                    Default: $curl_timeout_default
  -a, --all         (Show status for all available driver branches.)
                    NOTE: this option does nothing due to implementation change.

  -h, --help        This help.

Parameters:
  card_id           Nvidia card id (4 hex numbers, lower case letters).
                    Example: 1b83
                    Note: card_id is an optional parameter.

Tip: the "card_id" value can be found with command:

  lspci -vnn | grep -P 'VGA|3D|Display' | sed 's|.*\[10de:\([0-9a-f]*\)\].*|\1|'

EOF
                exit 0
                ;;
            
            --) shift ; break ;;
        esac
        shift
    done

    nvidia_id="$1"

    case "$nvidia_id" in
        [0-9a-f][0-9a-f][0-9a-f][0-9a-f] | "") ;;
        *) DIE "given card id '$nvidia_id' is invalid" ;;
    esac
}

UrlOfIds() {
    local ver="$1"
    echo "https://download.nvidia.com/XFree86/Linux-x86_64/$ver/README/supportedchips.html"
}

GetPacmanVersion() {
    local infopkg="$1"
    {
        if [ -x /usr/bin/expac ] ; then
            expac -S %v "$infopkg"
        else
            LANG=C pacman -Si "$infopkg" | grep -w ^Version | awk '{print $NF}'
        fi
    } | head -n1   # in case multiple repos have it, take the first
}

Main() {
    local -r progname="$(basename "$0")"
    local -r infopkg=nvidia-dkms
    local -r pacman_version=$(GetPacmanVersion "$infopkg")
    local -r pacman_pkgver=$(echo "$pacman_version" | sed 's|-[0-9.]*$||')
    local -r pacman_version_series=${pacman_pkgver%%.*}
    local -r starting_url="https://www.nvidia.com/en-us/drivers/unix"
    local -r all=no                                                      # this will no more be changed!
    local testing=no
    local -r curl_timeout_default=30
    local curl_timeout=$curl_timeout_default
    local nvidia_id=""
    local nvidia_versions=()
    local -r beta_pkg=nvidia-beta-dkms
    local -r beta_pkgver=$(yay -Ss $beta_pkg | grep ^aur/ | awk '{print $2}' | sed 's|-[0-9.]*$||')
    local -r beta_series=${beta_pkgver%%.*}

    [ -n "$pacman_pkgver" ] || DIE "cannot determine the version of the latest available package $infopkg"
    [ -n "$beta_pkgver" ]   || DIE "cannot determine the version of the latest available package $beta_pkg"

    Options "$@"

    local series_ids=(
        $pacman_version_series        # latest provided by Arch
        470                           # legacy series ids
        390                           # ditto
    )
    local series_id_out=367           # may change as series_ids change!

    if [ -z "$nvidia_id" ] ; then
        nvidia_id="$(lspci -vnn | grep -P 'VGA|Display|3D' | grep "\[10de:" | sed 's|.*\[10de:\([0-9a-f]*\).*|\1|')"
    fi

    GetNvidiaVersions                 # find versions NVIDIA is currently supporting

    if [ -n "$nvidia_id" ] ; then
        ShowDriversForId "$nvidia_id"
    fi
}

"Welcome" app is not translated when launched with Live Image.

"Welcome" app is not translated when launched with Live Image.

I made a script to translate:

Feel free to modify it.

Set script to autostart when booting with Live Image. Since it is related
to system design, I submitted it as "Issues" instead of "Pull requests".

1). Launch with Live Image:

2). Create a "Language List Menu" using yad:

sudo xed /usr/share/endeavouros/scripts/live-LANG-select-menu
#!/bin/bash

yad --list\
      --column="Language:":TEXT\
      --column=" ":TEXT\
      --separator="/"\
      --width=400 --height=500\
      --title="Select language for 'Welcome'" --fontname="Mono 10"\
      English en_US\
      Catalan(català) ca_AD\
      German(Deutsch) de_DE\
      Spanish(Español・Española) es_ES\
      Persian(فارسی) fa_IR\
      Finnish(Suomalainen) fi_FI\
      French(Francés・Francesa) fr_FR\
      India(हिंदी-भारत) hi_IN\
      Croatian(Hrvatski) hr_HR\
      Icelandic(Íoslainnis) is_IS\
      Italian(Italiano・Italiana) it_IT\
      Japanese(日本語) ja_JP\
      Polish(Polski) pl_PL\
      Portuguese(Português) pt_PT\
      Portuguese-Brazil(Português-Brasil) pt_BR\
      Romanian(Română) ro_RO\
      Russian(Русский) ru_RU\
      Norway(Norge) se_NO\
      Slovak(slovenský) sk_SK\
      Thai(แบบไทย) th_TH\
      Ukrainian(українська) uk_UA\
      Chinese-China(中文-**) zh_CN\
      Chinese-HongKong(中文-香港) zh_HK\
      Chinese-Singapore(中文-新加坡) zh_SG\
      Chinese-Taiwan(中文-台灣) zh_TW

Note: The language used in "translation-rs.bash" seems to be "Croatian",
but I excluded it because there is no comment line (country code)
in "/etc/locale.gen".

3). Create the main script:

sudo xed /usr/share/endeavouros/scripts/live-LANG-select
#!/bin/bash

result=$(bash /usr/share/endeavouros/scripts/live-LANG-select-menu | cut -d/ -f2)
echo "en_US.UTF-8 UTF-8" > locale.${result}
echo ${result}".UTF-8 UTF-8" >> locale.${result}
sudo cp locale.${result} /etc/locale.gen
sudo locale-gen
export LANG=$(echo ${result}".UTF-8")
eos-welcome

Note: Locale settings are only valid within scripts. However,
you can start the app by specifying the country code.

4). Set script to autostart when booting with Live Image:

EndeavourOS -> 'Settings' -> 'Session and Startup' -> 'Application Autostart'

-> 'Welcome(EndeavourOS Welcome Launcher)'

Command: sh /usr/share/endeavouros/scripts/welcome --startdelay=3 

↓ Replace:

Command: sh /usr/share/endeavouros/scripts/live-LANG-select --startdelay=3

5). FYI: To see how the script works:

sh /usr/share/endeavouros/scripts/live-LANG-select
(1). Language selection menu launches:

1_select-language-menu

(2). Launch the "Welcome" app in the selected language:

2_Welcome

Poor quality of Romanian translations

For example in file PKGBUILDS/welcome/translations-welcome-ro.bash:
EN site should be ROsit/situri, not the the Romglish site-uri.
The word itself is of Latin origin, and the Romanian equivalent does not need this horrible anglicization.

Missing space between two sentences separated by a full stop (not a showstopper, but sill):
este dezactivată.Pentru a o

Generic terms could be translated in target language, even if the original term is understood by non-English users.
For example I would translate Display Manager by Gestionar de afișaj.
Web Browser could be translated as Navigator Internet.

Double space after the word Arch - Utilizator Arch și.
English -ing forms, which have a continuous meaning (something is in progress), have been butchered by using the corresponding Romanian gerund, which sounds hilarious and robotic, unnatural.
If you want to state that you're currently doing something, in Romanian you can use a noun:
Executând comenzi should be Execuție comenzi, or, by imitating French, Comenzi în curs de execuție.
Lots of -ing form mistranslations to be corrected.

Missing Romanian diacritics: Actualizari de la should be Actualizări de la.
The translator should use a Romanian spell-checker to correct words, when translating. Firefox has one, with Romanian language as an option.

Mistranslation of the English location - locații de descărcare. Stop using the Romanian locație as an equivalent to English location.
Use the Romanian destinație, loc, punct de descărcare.
In English, these words are called false friends, same word in both languages, but with different meanings.

PGP signiture error on nvidia-hook

when I try to update the packages, I get this error I think it has to do with Nvidia-hook and there was a change 10hours ago so that's all .

tried recreating keyrings and also deleting /var/cache/pacman/pkg/nvidia-hook-1.2-1-any.pkg.tar.zst file.

`: Proceed with installation? [Y/n] Y

:: Retrieving packages...

nvidia-hook-1.2-1-any 13,6 KiB 26,8 KiB/s 00:01 [---------------------------------------] 100%

(33/33) checking keys in keyring [---------------------------------------] 100%

(33/33) checking package integrity [---------------------------------------] 100%

error: nvidia-hook: signature from "EndeavourOS [email protected]" is unknown trust

:: File /var/cache/pacman/pkg/nvidia-hook-1.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Do you want to delete it? [Y/n]

error: failed to commit transaction (invalid or corrupted package)

Errors occurred, no packages were upgraded.
`

Integrate Flatpak updates in update tools

Currently, updating Arch and AUR packages works nicely through eos-update-notifier. However, Flatpak updates are not integrated here.

Workarounds:

  • KDE Discover (doesn't support AUR)
  • Pamac
  • Bauh
  • manually via flatpak update

I'm aware that there is AdditionalEosUpdater. The eos-update-notifier Discovery page even mentions:

call an external program for other updating (e.g. updating flatpaks)

Nevertheless, it is not really clear how this shall work (see e.g. https://forum.endeavouros.com/t/eos-update-notifier-and-flatpak/20520). From #80, it seems that UpdateInTerminal must be changed as well.

Goal:

  • minimum: update Flatpak and eos-update-notifier Discovery pages and describe in detail how to enable Flatpak updates.
  • best: treat Flatpak similarly to AUR (e.g. add CheckFlatpakUpdates to eos-update-notifier).

Missing dependency `eos-bash-shared` in `eos-hooks`.

Missing dependency endeavouros/eos-bash-shared in endeavouros/eos-hooks.

I'm having this error upgrading my system:

$ yay -S linux linux-headers
[...]
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initramfs-linux-fallback.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-linux-fallback.img' done ***
(4/4) Check if user should be informed about rebooting after certain system package upgrades.
/usr/bin/eos-reboot-required2: line 35: /usr/share/endeavouros/scripts/eos-script-lib-yad: No such file or directory
error: command failed to execute correctly

eos-reboot-required2 sources eos-script-lib-yad which is part of eos-bash-shared.

source /usr/share/endeavouros/scripts/eos-script-lib-yad --limit-icons || return

I installed the system last week so I guess there's a missing dependency issue here. Installing eos-bash-shared fixed it.

$ yay -F /usr/share/endeavouros/scripts/eos-script-lib-yad
usr/share/endeavouros/scripts/eos-script-lib-yad is owned by endeavouros/eos-bash-shared 23-11
$ yay -F /usr/bin/eos-reboot-required2                    
usr/bin/eos-reboot-required2 is owned by endeavouros/eos-hooks 1.12-1

eos-grub-update-after-kernel.hook

https://github.com/endeavouros-team/PKGBUILDS/blob/master/grub-tools/eos-grub-update-after-kernel.hook

looking at this:

https://aur.archlinux.org/cgit/aur.git/tree/grub.hook?h=grub-hook

seems asterix can do a better job on detecting any kernel changes?
#Target = usr/lib/modules/*/vmlinuz
instead of using package names:

Type = Package
Target = linux
Target = linux-lts
Target = linux-lts??
Target = linux-lts???
Target = linux-zen
Target = linux-hardened
Target = amd-ucode
Target = intel-ucode

nVidia RTX 30xx missing from DB

I noticed that "nvidia-installer-check" failes for my RTX 3090; id's for this new series of cards may be missing from the DB. Id for the 3090 is "2204".

eos-update-notifier updating stopped working with newest update

My config:

CheckAurUpdates=yes
CheckArchNewsForYou=yes
AllowNewsCheckWhileUpdating=yes
ArchNewsProg=eos-arch-news
ShowHowAboutUpdates=window
ShowWhatAboutUpdates=packages
  1. I execute eos-update-notifier
  2. Get the window with the updateable packages
  3. Click on update
  4. The window just disappears

Terminal output:

$ eos-update-notifier
Latest Arch news date: 2020-11-01 (already visited).
Checking for updates ...

Infos:
I'm using pkexec since months for the root permissions

Bad Replacement when Removing nvidia drivers on nvidia-installer-dkms

After running the nvidia-installer-dkms with the -n option to restore the nouveau driver, I got the output that the mkinitcpio -p linux command returned nonzero suggesting to run it manually.

I did ran it manually and got the following errors in the process:

==> ERROR: module not found: `_modeset'
==> ERROR: module not found: `_uvm'
==> ERROR: module not found: `_drm'

The following code segment is responsible for the problem, as the nvidia modules are prefixed with nvidia_modname:

nvidia-installer-dkms/nvidia-installer-dkms:
lines 369-381:
------------------------------------------------------------------------------------------------------------------
        # Remove nouveau and nvidia from MODULES line (just in case)
        if line.startswith("MODULES"):
            if "nouveau" in line or "nvidia" in line:
                old_line = line
                line = line.replace("nouveau", "")
                line = line.replace("nvidia", "")
                line = line.replace(",,", ",")
                line = line.replace('",', '"')
                line = line.replace(',"', '"')
                msg = "{0} will be changed to {1} in {2}"
                log_info(msg.format(old_line.strip("\n"), line.strip("\n"), mkinitcpio_path))
                modified = True
        new_mklines.append(line)

I have no knowledge on the need for this step (the comment makes me think it might not be needed), but in case it's needed I could implement a small parsing routine to get an array from the value of the MODULES variable, and then change the code approach to parse the line and remove any value starting with nvidia_ prefix. But first I need to understand whether the underlying logic in the current code is correct.

Shouldn't the code keep (or even add) the nouveau to the modules list in my specific use-case? Or keep/add the nvidia modules when the opposite is done?

Also, making a copy of the changed files before editing and maybe having a verbose argument to show the diff after changing would be quite important IMO! I could help in my free time, even though I'm no python expert.

os-release needs doublequotes insted of singlequotes

https://github.com/endeavouros-team/PKGBUILDS/blob/master/eos-hooks/eos-hooks-runner
2021-12-28_14-05

Example 1. os-release file for Fedora Workstation

NAME=Fedora
VERSION="32 (Workstation Edition)"
ID=fedora
VERSION_ID=32
PRETTY_NAME="Fedora 32 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

https://www.freedesktop.org/software/systemd/man/os-release.html

This is happening for XFCE4 about and also on Plasma About system info output.

2021-12-28_21-51
2021-12-28_21-49_1

Inclusion of Taiwan as a Separate Region, Not Country

I hope this message finds you well. I am writing to bring to your attention a matter related to the reflector-simple tool, specifically concerning the categorization of countries. Currently, the tool treats China and Taiwan as separate countries, which may lead to inaccuracies.

I kindly request an enhancement to the reflector-simple tool that would recognize Taiwan as a distinct region rather than a separate country. This adjustment aims to align with the sensitivity of geopolitical considerations and adhere to a neutral stance, treating Taiwan as part of a broader region.

The purpose of this request is to foster inclusivity and avoid any potential political implications that may arise from categorizing Taiwan as an independent country. By representing Taiwan as a region within the tool, we can contribute to a more nuanced and politically neutral user experience.

I appreciate your attention to this matter and the continuous effort to improve the Endavouros ecosystem. If you require further clarification or information, please feel free to reach out.

Thank you for your understanding and consideration.

German translation: some notes

Hi!

Some little findings that I see in commit e3c796d:

from "ins_text "Installiere EndeavourOS aud deiner Festplatte!"
to "Installiere EndeavourOS auf deine Festplatte!" or "EndeavourOS auf deine Festplatte installieren!"

from ns_starttip "Starte den EndeavourOS Installer zusammen mit der Terminal Ausgabe"
to "Starte den EndeavourOS Installer zusammen mit der Terminalausgabe"

from ins_keys "Initialisiere Pacman Schlüssel"
to "Initialisiere Pacman-Schlüssel"

from ins_keystip "Initialisiere die von Pacman benötigten Schlüssel Dateien"
to "Initialisiere die von Pacman benötigten Schlüsseldateien"

from ins_reltip "MehrInformationen zur neusten Veröffentlichung"
to "Mehr Informationen zur neusten Veröffentlichung"

ins_tips "Installations Tipps" / ins_tipstip "Installations Tipps"
to "Installationstipps"

from ins_troubletip "System Rettung"
to "Systemrettung"

eos-update-notifier pre past execute command

Hello,

it would be great if in the config would be a variable for commands to be executed before or after the update.

For example, you could use timeshift to create a snapshot.

Potential New Public Mirror

Hi maintainers of the EndeavourOS,

I'm the operator of the open-source mirrors at Jilin University, China. I've got some requests from students recently for an EndeavourOS mirror, so I'm going to do that. I didn't, however, see any guidance for mirroring this distro. I'd like to know:

  1. Do you welcome new public mirror for this project?
  2. Are the resources in the repository all redistributable?
  3. What's the rsync (or something else) endpoint for mirroring?
  4. How often should I schedule the sync task?
  5. Do you have a mail list (or something else) for mirrors?

The mirrors will be available on https://mirrors.jlu.edu.cn. Please note in the meantime, only IPv6 is accessible on the Internet, but the IPv4 will be open soon.

Thanks for your time and attention!

Why is pahis not supporting AUR packages?

pahis is not working for AUR packages.
Example:

29# pahis zoom
Error: package 'zoom' does not exist.
...

The reason is the package query pahis is using in line 105:

pacman -Si "$pkg" >& /dev/null || DIE "package '$pkg' does not exist."

If I change this to

pacman -Qi "$pkg" >& /dev/null || DIE "package '$pkg' does not exist."

The AUR packages are supprted just fine.

Example:

./mypahis zoom

gives

[2021-03-30T07:54:14+0200] [ALPM] upgraded zoom (5.6.0-1 -> 5.6.1-1)
[2021-03-23T07:20:16+0100] [ALPM] upgraded zoom (5.5.4-1 -> 5.6.0-1)
[2021-03-01T17:38:14+0100] [ALPM] upgraded zoom (5.5.2-1 -> 5.5.4-1)
[2021-02-24T10:32:04+0100] [ALPM] installed zoom (5.5.2-1)
[2021-02-24T10:31:44+0100] [ALPM] removed zoom (5.5.2-1)
[2021-02-22T17:32:45+0100] [ALPM] installed zoom (5.5.2-1)

Is there any reason for using pacman -Si?

eos-update-notifier forces the usage of yay while paru is optional

Dear development team,

I recently saw, that it supports paru and I migrated to it.
Sadly, i can't remove yay or the eos-update-notifier will be removed as well, since it is a hard dependency.

As far as I know paru is the official successor of yay since the main developer left yay to rewrite yay in rust and name it paru with more features and 100% yay compatibility.

But using paru and yay on the same computer bloats the storage space, since both have their own git cache in /home/$HOME/.cache/{paru|yay}

Why is pahis using a PAGER?

I find it really inconvenient that pahis is using a pager. When I close the pager I do not see the output of the pahis command anymore. I do not have any trace of pahis output when I scroll back in my terminal window. This is inconvenient from my point of view.

If I wanted to use a pager I could do this on my own by piping the pahis output to a pager. There is not need for pahis to force a pager on me.

I believe pahis should better print the output directly to the terminal. Or at least provide a command line option to turn off the pager.

Addressing Changes from Arch Git Migration

I was exploring my themes today when I ended up stepping into this broken link:

[arc-gtk-theme package](https://archlinux.org/packages/community/any/arc-gtk-theme)<br>

As you can see the link is pointing to a community repository, and according with this announcement, they were merged into the extra one.

Probably its current address would be https://archlinux.org/packages/extra/any/arc-gtk-theme/

Because of this, I thought about sending a PR fixing it, so I decided to take a look if there was other broken links that would fall in the same situation, and I also found this one:

[upstream yad package](https://archlinux.org/packages/community/x86_64/yad)<br>

Same thing, probably its current address: https://archlinux.org/packages/extra/x86_64/yad/

Then I saw these two lines during my search:

testing|core|extra|community-testing|community|multilib-testing|multilib|kde-unstable)

testing|core|extra|community-testing|community|multilib-testing|multilib|kde-unstable)

I don't know if these references might also require updating due to the repository changes. For that reason, I thought opening an Issue would be a more reasonable approach as this goes beyond of simply fixing a broken link.

Hope this could be helpful. Thanks for all the work!

nvidia-inst legacy drivers: add hint about kernel-lts repo

When trying to install legacy drivers (e.g. 390), it correctly notifies to use the AUR packages with yay (as does the Discovery entry).

However, in my case the kernel-lts repository was still enabled in pacman.conf and the wrong drivers got installed. It took some time to realize this because the driver was somewhat working but with very poor performance.

I noticed that the latest EndeavourOS pacman.conf doesn't contain kernel-lts anymore. Is this even maintained now that Jonathon passed away? At least it's still listed in the Arch wiki.

I think it would be a good idea to add a note to Discovery and nvidia-inst that kernel-lts should be removed.

[BROKEN] nvidia-driver-supported-branches

This script https://github.com/endeavouros-team/PKGBUILDS/blob/master/nvidia-installer-common/nvidia-driver-supported-branches is broken.

output:

NVIDIA card id: 2484
Fetching driver data from nvidia.com ...
nvidia-driver-supported-branches: error: Nvidia id data not available from 'https://us.download.nvidia.com/XFree86/Linux-x86_64/525.89.02
525.89.02
525.89.02/README/supportedchips.html'! Curl exit code 3.

Even if I remove the "us." from the url, it fails

size of gui

reflector-simple on vanilla Arch not working - i've got it working by updating the makepkg. However on testing i can resize the shell window that launches reflector-simple, but not the GUI of reflector-simple that comes up. On top left of gui there is a mini menu of resize, but it doesn't work. The gui is ok but too large to see the "ok" botton on bottom. i.e i can click in Countries but not actually run it , if that makes sense. Any ideas

update i got around it by shifting gui upwards using alt + F7 - it worked but a nice resize option would be great

Where to find PKGBUILDs for EnOS packages not in this repo?

I'm trying to track down the PKGBUILD files for all EndeavourOS packages (as part of hlein/distro-backdoor-scanner#2), but when I compare those listed by pacman -Sl endeavouros to those in the https://github.com/endeavouros-team/PKGBUILDS repo, there are some packages I can't find:

$ pacman -Sl | expac -S '%r|%e|%v' - | sort -u >~/package_list
$ git clone https://github.com/endeavouros-team/PKGBUILDS endeavouros && cd endeavouros
$ for P in $(egrep '^endeavouros\|' ~/package_list | cut -d\| -f2) ; do test -d $P || echo -n "$P " ; done ; echo
arc-gtk-theme bashdb downgrade lxdm mkinitcpio-openswap paru rate-mirrors yay zfs-dkms zfs-utils 

There's an arc-gtk-theme-eos/ so that probably covers that, and there's a yay.not-used/ so... skip that. but the others...?

I'm new to the Arch / EnOS ecosystem so maybe I'm missing something obvious. Do they maybe live in AUR that I need to look in?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.