[neon/snap-packaging/snapcraft-desktop-integration/work.core24] kde-neon-6: Remove flags now set at build time, remove localgen call.

Scarlett Moore null at kde.org
Tue Nov 26 15:20:35 GMT 2024


Git commit 80cbebb1ff299b13dad1e99259ca328c09710215 by Scarlett Moore.
Committed on 26/11/2024 at 15:19.
Pushed by scarlettmoore into branch 'work.core24'.

Remove flags now set at build time, remove localgen call.

M  +0    -2    kde-neon-6/Makefile
M  +0    -9    kde-neon-6/launcher-specific

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/80cbebb1ff299b13dad1e99259ca328c09710215

diff --git a/kde-neon-6/Makefile b/kde-neon-6/Makefile
index bc0a0e5..8eb5bdc 100644
--- a/kde-neon-6/Makefile
+++ b/kde-neon-6/Makefile
@@ -8,8 +8,6 @@ LIB_DIR              := $(DESTDIR)/lib
 DEST_LAUNCHER        := desktop-launch6
 LOCALE_GENERATOR     := locale-gen
 DEST_CONFIGURE_HOOK  := hooks-configure-fonts
-WITH_GRAPHICS        := false
-PLATFORM_PLUG        := kf6-core24
 
 build: $(DEST_LAUNCHER) $(DEST_CONFIGURE_HOOK)
 
diff --git a/kde-neon-6/launcher-specific b/kde-neon-6/launcher-specific
index ebfdb89..3561341 100644
--- a/kde-neon-6/launcher-specific
+++ b/kde-neon-6/launcher-specific
@@ -58,12 +58,3 @@ export KF6_LIBEXEC_DIR="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/libexec/kf6"
 
 # Add path to VLC plugins
 export VLC_PLUGIN_PATH="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/vlc/plugins"
-
-if [ -e "$SNAP_DESKTOP_RUNTIME/usr/share/i18n" ]; then
-    export I18NPATH="$SNAP_DESKTOP_RUNTIME/usr/share/i18n"
-    locpath="$XDG_DATA_HOME/locale"
-    ensure_dir_exists "$locpath"
-    export LOCPATH="$locpath:/usr/lib/locale"
-    export PERL5LIB="$SNAP_DESKTOP_RUNTIME/usr/share/perl/5.38.2"
-    LC_ALL=C.UTF-8 async_exec "perl /snap/kf6-core24/current/snap/command-chain/locale-gen"
-fi


More information about the Neon-commits mailing list