Skip to content

more info in shell scripts.#27

Open
TheRealYasri wants to merge 1 commit into
pkgforge-dev:mainfrom
TheRealYasri:main
Open

more info in shell scripts.#27
TheRealYasri wants to merge 1 commit into
pkgforge-dev:mainfrom
TheRealYasri:main

Conversation

@TheRealYasri
Copy link
Copy Markdown

Added more information on...

  1. valid export commands
  2. get-debloated-pkgs options
  3. example of source compile with app version setting.

Might have stopped me from fumbling around so much.

Comment thread get-dependencies.sh Outdated
Comment on lines +22 to +34
# if [ "${DEVEL_RELEASE-}" = 1 ]; then
# nightly build steps
# else
# regular build steps
# fi
# echo "Installing from source..."
# echo "---------------------------------------------------------------"
# git clone https://gitlab.com/guillermop/master-key.git source && (
# cd ./source
# #Setiing Application Version for sharun.
# TAG=$(git tag --sort=-v:refname | grep -vi 'rc\|alpha' | head -1)
# git checkout "$TAG"
# echo "$TAG" > ~/version
# # Building
# meson setup build --prefix=/usr
# meson compile -C build
# meson install -C build
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These instructions are too specific to be added to the template.

When you have to build a project manually the steps really differ depending on the build system, not everything uses meson.

So please revert this part.

You also removed the example of if [ "${DEVEL_RELEASE-}" = 1 ]; then which is very important here, this is needed when you want to make separate nightly and stable releases

Comment thread make-appimage.sh Outdated
VERSION=$(pacman -Q PACKAGENAME | awk '{print $2; exit}') # example command to get version of application here
export ARCH VERSION
export ARCH
# Used by sharun to set x86_64 or aarch64 in appimage name
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need to specify this lol

I don't think anything regarding ARCH and VERSION needs to be changed here btw

Comment thread make-appimage.sh Outdated
# example command to get version of application here

export OUTPATH=./dist
# Where sharun will store the appimage
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to state this, the variable name should be good enough already.

Comment thread make-appimage.sh Outdated
Comment on lines +26 to +27
export STARTUPWMCLASS=ext.website.appname
export GTK_CLASS_FIX=1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cannot be enabled by default

Comment thread make-appimage.sh Outdated
Comment on lines +20 to +24
export ICON=PATH_OR_URL_TO_ICON
# Path or URL to an icon file to include.

export DESKTOP=PATH_OR_URL_TO_DESKTOP_ENTRY
# Path or URL to a .desktop file to include.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need these comments

In the template it gets set as PATH_OR_URL_TO_DESKTOP_ENTRY already, which tells you what it does.

Comment thread make-appimage.sh Outdated
Comment on lines +110 to +121
# export DEPLOY_BABL=1
# Set to 1 to force deployment of babl.
# export DEPLOY_GDK=1
# Set to 1 to force deployment of gdk-pixbuf.
# export DEPLOY_GEGL=1
# Set to 1 to force deployment of GEGL.
# export DEPLOY_GLYCIN=1
# Set to 1 to force deployment of Glycin.
# export DEPLOY_IMAGEMAGICK=1
# Set to 1 to force deployment of ImageMagick.
# export DEPLOY_LIBHEIF=1
# Set to 1 to force deployment of libheif.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These do not need to be mentioned, since they should be enabled automatically when needed.

Comment thread make-appimage.sh Outdated
Comment on lines +123 to +130
#------------------------
# Media Playback
#------------------------
# export DEPLOY_GSTREAMER=1
# export DEPLOY_GSTREAMER_ALL=1
# Set to 1 to force deployment of GStreamer. By default
# several gstreamer plugins are removed, set DEPLOY_GSTREAMER_ALL=1
# if you can to deploy ALL Gstreamer plugins. (Very bloated).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These do not need to be mentioned, since they should be enabled automatically when needed.

the only exception is DEPLOY_GSTREAMER_ALL=1 which we have never needed in reality so far

@Samueru-sama Samueru-sama requested a review from fiftydinar May 17, 2026 23:22
@fiftydinar
Copy link
Copy Markdown
Contributor

I think we should put the link to the docs as a comment and only add small comments here when needed.

To me, this looks cluttered.

@TheRealYasri
Copy link
Copy Markdown
Author

yeah I came to the same idea its to cluttered when I I was overthinking stuff trying to go to sleep(brain needs to shut up when I need sleep), got a different idea, ill post in a bit.

To help new people find documentation.
@TheRealYasri
Copy link
Copy Markdown
Author

Ok nuked my old submission with a new way. I made a documentation folder and put all my stuff in there. As people build things they can add examples. Anything that you think people will be like how do i do this, let me go search for 30 minutes to find a answer.

Also there is documentation? Been winging it....

@fiftydinar
Copy link
Copy Markdown
Contributor

Ok nuked my old submission with a new way. I made a documentation folder and put all my stuff in there. As people build things they can add examples. Anything that you think people will be like how do i do this, let me go search for 30 minutes to find a answer.

Looks better than before, will check in more detail sometime later

Also there is documentation? Been winging it....

It's this link:
https://pkgforge-dev.github.io/Anylinux-AppImages/HOW-TO-MAKE-THESE.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants