[neon/extras/kstars/Neon/release] snap: snap now in snap repo

Jonathan Esk-Riddell null at kde.org
Wed Oct 12 11:20:49 BST 2022


Git commit 507fcfb63ca4626a721c4dbbb8b841a158453e51 by Jonathan Esk-Riddell.
Committed on 12/10/2022 at 10:20.
Pushed by jriddell into branch 'Neon/release'.

snap now in snap repo

D  +0    -4    snap/.snapcraft/state
D  +-    --    snap/gui/icon.png
D  +0    -216  snap/gui/org.kde.kstars.desktop
D  +0    -105  snap/plugins/x-stage-debs.py

https://invent.kde.org/neon/extras/kstars/commit/507fcfb63ca4626a721c4dbbb8b841a158453e51

diff --git a/snap/.snapcraft/state b/snap/.snapcraft/state
deleted file mode 100644
index 0278549..0000000
--- a/snap/.snapcraft/state
+++ /dev/null
@@ -1,4 +0,0 @@
-!GlobalState
-assets:
-  build-packages: []
-  build-snaps: []
diff --git a/snap/gui/icon.png b/snap/gui/icon.png
deleted file mode 100644
index dd424c8..0000000
Binary files a/snap/gui/icon.png and /dev/null differ
diff --git a/snap/gui/org.kde.kstars.desktop b/snap/gui/org.kde.kstars.desktop
deleted file mode 100644
index 7b24376..0000000
--- a/snap/gui/org.kde.kstars.desktop
+++ /dev/null
@@ -1,216 +0,0 @@
-# KDE Config File
-[Desktop Entry]
-Type=Application
-Exec=kstars %U
-Icon=kstars
-X-DocPath=kstars/index.html
-Comment=Desktop Planetarium
-Comment[af]=Werkskerm Planetarium
-Comment[be]=Настольны планетарыум
-Comment[bg]=Планетариум за работния плот
-Comment[bn]=ডেস্কটপ প্ল্যানেটোরিয়াম
-Comment[br]=Planetarium a vurev
-Comment[bs]=Desktop planetarijum
-Comment[ca]=Planetari per a l'escriptori
-Comment[ca at valencia]=Planetari per a l'escriptori
-Comment[cs]=Planetárium na vaší obrazovce
-Comment[csb]=Planetarium na pùlce
-Comment[cy]=Planetariwm Penbwrdd
-Comment[da]=Planetarium på desktoppen
-Comment[de]=Das Planetarium für den Schreibtisch
-Comment[el]=Πλανητάριο επιφάνειας εργασίας
-Comment[en_GB]=Desktop Planetarium
-Comment[eo]=Tabula planetario
-Comment[es]=Planetario para el escritorio
-Comment[et]=Töölaua planetaarium
-Comment[eu]=Mahaigaineko planetarioa
-Comment[fa]=رومیزی آسمان‌نما
-Comment[fi]=Työpöytäplanetaario
-Comment[fr]=Un planétarium sur votre bureau
-Comment[ga]=Pláinéadlann Deisce
-Comment[gl]=Planetario de escritorio
-Comment[gu]=ડેસ્કટોપ પર પ્લેનેટેરીયમ
-Comment[he]=פלנטריום שולחני
-Comment[hi]=डेस्कटॉप प्लेनेटेरियम
-Comment[hne]=डेस्कटाप प्लेनेटेरियम
-Comment[hr]=Planetarij za radnu površinu
-Comment[hu]=Munkaasztali planetárium
-Comment[is]=Skjáborðsstjörnuver
-Comment[it]=Planetario per il desktop
-Comment[ja]=デスクトップ・プラネタリウム
-Comment[ka]=სამაგიდო პლანეტარიუმი
-Comment[kk]=Үстелдегі планетарий
-Comment[km]=សំណាក​ចក្រវាល​ផ្ទៃ​តុ
-Comment[ko]=데스크톱 별자리판
-Comment[lt]=Darbalaukio planetariumas
-Comment[lv]=Darbvirsmas planetārijs
-Comment[mk]=Планетариум на работна површина
-Comment[ml]=പണിയിട പ്ലാനറ്റേറിയം
-Comment[mr]=डेस्कटॉप तारांगण
-Comment[ms]=Planetarium Ruang Kerja
-Comment[nb]=Skrivebordsplanetarium
-Comment[nds]=Planetarium för den Schriefdisch
-Comment[ne]=डेस्कटप ग्रहमण्डल
-Comment[nl]=Bureaublad-planetarium
-Comment[nn]=Skrivebordsplanetarium
-Comment[pa]=ਡੈਸਕਟਾਪ ਪਲੇਟੇਰੀਅਮ
-Comment[pl]=Planetarium na pulpicie
-Comment[pt]=Planetário
-Comment[pt_BR]=Planetário no ambiente de trabalho
-Comment[ro]=Planetarium de birou
-Comment[ru]=Настольный планетарий
-Comment[se]=Čállenbeavdeplánetaria
-Comment[sk]=Planetárium na vašej ploche
-Comment[sl]=Namizni planetarij
-Comment[sv]=Skrivbordsplanetarium
-Comment[ta]= பணிமேடை கோளரங்கம்
-Comment[tg]=Планетариуми Мизи Корӣ
-Comment[tr]=Masaüstü Yıldız Evi
-Comment[ug]=ئۈستەلئۈستى رەسەتخانىسى
-Comment[uk]=Настільний планетарій
-Comment[vi]=Ngắm sao trên Màn hình máy tính
-Comment[xh]=Indlu ye Desktop
-Comment[x-test]=xxDesktop Planetariumxx
-Comment[zh_CN]=桌面天文馆
-Comment[zh_TW]=桌面星象儀
-Terminal=false
-Name=KStars
-Name[af]=K-sterre
-Name[be]=KStars
-Name[bg]=KStars
-Name[bn]=কে-স্টার
-Name[br]=KStars
-Name[bs]=KStars
-Name[ca]=KStars
-Name[ca at valencia]=KStars
-Name[cs]=KStars
-Name[csb]=KStars
-Name[cy]=KSer
-Name[da]=KStars
-Name[de]=KStars
-Name[el]=KStars
-Name[en_GB]=KStars
-Name[eo]=KStars
-Name[es]=KStars
-Name[et]=KStars
-Name[eu]=KStars
-Name[fi]=KStars
-Name[fr]=KStars
-Name[ga]=KStars
-Name[gl]=KStars
-Name[gu]=KStars
-Name[he]=KStars
-Name[hi]=के-स्टार्स
-Name[hne]=के-स्टार्स
-Name[hr]=KStars
-Name[hu]=KStars
-Name[is]=KStjörnur
-Name[it]=KStars
-Name[ja]=KStars
-Name[ka]=KStars
-Name[kk]=KStars
-Name[km]=KStars
-Name[ko]=KStars
-Name[lt]=KStars
-Name[lv]=KStars
-Name[mk]=KStars
-Name[ml]=കെ-സ്റ്റാര്‍സ്
-Name[mr]=के-स्टार्स
-Name[ms]=KStars
-Name[nb]=KStars
-Name[nds]=KStars
-Name[ne]=केडीई तारा
-Name[nl]=KStars
-Name[nn]=KStars
-Name[pa]=ਕੇ-ਤਾਰੇ
-Name[pl]=KStars
-Name[pt]=KStars
-Name[pt_BR]=KStars
-Name[ro]=KStars
-Name[ru]=KStars
-Name[se]=KStars
-Name[sk]=KStars
-Name[sl]=KStars
-Name[sv]=Kstars
-Name[ta]=கேஸ்டார்ஸ்
-Name[tg]=KStars
-Name[tr]=KStars
-Name[ug]=KStars
-Name[uk]=KStars
-Name[vi]=Sao K
-Name[xh]=KStars
-Name[x-test]=xxKStarsxx
-Name[zh_CN]=KStars
-Name[zh_TW]=天文_KStars
-GenericName=Desktop Planetarium
-GenericName[af]=Werkskerm Planetarium
-GenericName[be]=Настольны планетарыум
-GenericName[bg]=Планетариум за работния плот
-GenericName[bn]=ডেস্কটপ প্ল্যানেটোরিয়াম
-GenericName[br]=Planetarium a vurev
-GenericName[bs]=Desktop planetarijum
-GenericName[ca]=Planetari per a l'escriptori
-GenericName[ca at valencia]=Planetari per a l'escriptori
-GenericName[cs]=Planetárium na vaší obrazovce
-GenericName[csb]=Planetarium na pùlce
-GenericName[cy]=Planetariwm Penbwrdd
-GenericName[da]=Planetarium på desktoppen
-GenericName[de]=Elektronisches Planetarium
-GenericName[el]=Πλανητάριο επιφάνειας εργασίας
-GenericName[en_GB]=Desktop Planetarium
-GenericName[eo]=Tabula planetario
-GenericName[es]=Planetario para el escritorio
-GenericName[et]=Töölaua planetaarium
-GenericName[eu]=Mahaigaineko planetarioa
-GenericName[fa]=رومیزی آسمان‌نما
-GenericName[fi]=Työpöytäplanetaario
-GenericName[fr]=Un planétarium sur votre bureau
-GenericName[ga]=Pláinéadlann Deisce
-GenericName[gl]=Planetario
-GenericName[gu]=ડેસ્કટોપ પર પ્લેનેટેરીયમ
-GenericName[he]=פלנטריום שולחני
-GenericName[hi]=डेस्कटॉप प्लेनेटेरियम
-GenericName[hne]=डेस्कटाप प्लेनेटेरियम
-GenericName[hr]=Planetarij za radnu površinu
-GenericName[hu]=Planetárium
-GenericName[is]=Skjáborðsstjörnuver
-GenericName[it]=Planetario per il desktop
-GenericName[ja]=デスクトップ・プラネタリウム
-GenericName[ka]=სამაგიდო პლანეტარიუმი
-GenericName[kk]=Үстел планетарийі
-GenericName[km]=សំណាក​ចក្រវាល​ផ្ទៃ​តុ
-GenericName[ko]=데스크톱 별자리판
-GenericName[lt]=Darbalaukio planetariumas
-GenericName[lv]=Darbvirsmas planetārijs
-GenericName[mk]=Планетариум на раб. површина
-GenericName[ml]=പണിയിട പ്ലാനറ്റേറിയം
-GenericName[mr]=डेस्कटॉप तारांगण
-GenericName[ms]=Planetarium Desktop
-GenericName[nb]=Skrivebordsplanetarium
-GenericName[nds]=Schriefdisch-Planetarium
-GenericName[ne]=डेस्कटप ग्रहमण्डल
-GenericName[nl]=Bureaublad-planetarium
-GenericName[nn]=Skrivebordsplanetarium
-GenericName[pa]=ਡੈਸਕਟਾਪ ਪਲੇਟੇਰੀਅਮ
-GenericName[pl]=Planetarium na biurku
-GenericName[pt]=Planetário
-GenericName[pt_BR]=Planetário no ambiente de trabalho
-GenericName[ro]=Planetariu de birou
-GenericName[ru]=Настольный планетарий
-GenericName[sk]=Planetárium
-GenericName[sl]=Namizni planetarij
-GenericName[sv]=Skrivbordsplanetarium
-GenericName[ta]=பணிமேடை கோளரங்கம்
-GenericName[tg]=Планетариуми Мизи Корӣ
-GenericName[tr]=Masaüstü Yıldız Evi
-GenericName[ug]=ئۈستەلئۈستى رەسەتخانىسى
-GenericName[uk]=Настільний планетарій
-GenericName[vi]=Ngắm sao trên Màn hình
-GenericName[x-test]=xxDesktop Planetariumxx
-GenericName[zh_CN]=桌面天文馆
-GenericName[zh_TW]=桌面星象儀
-X-DBUS-StartupType=Multi
-MimeType=image/fits;
-Patterns=*.fits;*.fit;
-Categories=Qt;KDE;Education;Science;Astronomy;
-X-DBUS-ServiceName=org.kde.kstars
diff --git a/snap/plugins/x-stage-debs.py b/snap/plugins/x-stage-debs.py
deleted file mode 100644
index 0d85ba2..0000000
--- a/snap/plugins/x-stage-debs.py
+++ /dev/null
@@ -1,105 +0,0 @@
-# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
-#
-# Copyright (C) 2017 Harald Sitter <sitter at kde.org>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 3 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-"""woosh woosh
-
-  Simple magic. debs property is an array of debs that get pulled via apt
-  and unpacked into the installdir for staging. Key difference to builtin
-  stage-packages is that this entirely disregards dependencies, so they
-  need to be resolved another way.
-"""
-
-import logging
-import glob
-import os
-import re
-import shutil
-import subprocess
-
-import snapcraft.plugins.make
-
-logger = logging.getLogger(__name__)
-
-class StabeDebsPlugin(snapcraft.BasePlugin):
-
-    @classmethod
-    def schema(cls):
-        schema = super().schema()
-        schema['properties']['debs'] = {
-            'type': 'array',
-            'minitems': 0,
-            'uniqueItems': True,
-            'items': {
-                'type': 'string',
-            }
-        }
-
-        schema['properties']['exclude-debs'] = {
-            'type': 'array',
-            'minitems': 0,
-            'uniqueItems': True,
-            'items': {
-                'type': 'string',
-            }
-        }
-
-        return schema
-
-    @classmethod
-    def get_build_properties(cls):
-        # Inform Snapcraft of the properties associated with building. If these
-        # change in the YAML Snapcraft will consider the build step dirty.
-        return ['debs', 'exclude-debs']
-
-    def __init__(self, name, options, project):
-        super().__init__(name, options, project)
-
-    def exclude(self, file):
-        basename = os.path.basename(file)
-        name = re.split('^(.+)_([^_]+)_([^_]+)\.deb$', basename)[1]
-        return name in (self.options.exclude_debs or [])
-
-    def build(self):
-        super().build()
-
-        logger.debug(os.getcwd())
-        if self.options.debs:
-            cmd = ['apt-get',
-                   '-y',
-                   '-o', 'Debug::NoLocking=true',
-                   '-o', 'Dir::Cache::Archives=' + self.builddir,
-                   '--reinstall',
-                   '--download-only', 'install'] + self.options.debs
-            subprocess.check_call(cmd, cwd=self.builddir)
-
-        pkgs_abs_path = glob.glob(os.path.join(self.builddir, '*.deb'))
-        for pkg in pkgs_abs_path:
-            logger.debug(pkg)
-            if self.exclude(pkg):
-                continue
-            logger.debug('extract')
-            subprocess.check_call(['dpkg-deb', '--extract', pkg, self.installdir])
-
-        # # Non-recursive stage, not sure this ever has a use case with
-        # # exclusion in the picture
-        # for deb in self.options.debs:
-        #     logger.debug(deb)
-        #     subprocess.check_call(['apt', 'download', deb])
-        #
-        # pkgs_abs_path = glob.glob(os.path.join(self.builddir, '*.deb'))
-        # for pkg in pkgs_abs_path:
-        #     logger.debug(pkg)
-        #     subprocess.check_call(['dpkg-deb', '--extract', pkg, self.installdir])


More information about the Neon-commits mailing list