[snapcraft-kde-applications] kstars: Addinig initial KStars snap files. It needs DBus stuff plus notification and notifyconfig as well. INDI still uses /usr/share but it needs to be using XDG paths maybe? what are they exactly in a snap environment? It requires latest KDE frameworks to build.

Jasem Mutlaq null at kde.org
Fri Jan 27 21:45:24 UTC 2017


Git commit 950126423a616452f8b8eafb940bbbba6e4079e6 by Jasem Mutlaq.
Committed on 27/01/2017 at 21:41.
Pushed by mutlaqja into branch 'master'.

Addinig initial KStars snap files. It needs DBus stuff plus notification and notifyconfig as well. INDI still uses /usr/share but it needs to be using XDG paths maybe? what are they exactly in a snap environment? It requires latest KDE frameworks to build.
Breeze-dark is currently excluded but it should be included later on as well.

CCMAIL:kstars-devel at kde.org
CCMAIL:sitter at kde.org

A  +-    --    kstars/setup/gui/icon.png
A  +216  -0    kstars/setup/gui/org.kde.kstars.desktop
A  +70   -0    kstars/snapcraft.yaml

https://commits.kde.org/snapcraft-kde-applications/950126423a616452f8b8eafb940bbbba6e4079e6

diff --git a/kstars/setup/gui/icon.png b/kstars/setup/gui/icon.png
new file mode 100644
index 0000000..dd424c8
Binary files /dev/null and b/kstars/setup/gui/icon.png differ
diff --git a/kstars/setup/gui/org.kde.kstars.desktop b/kstars/setup/gui/org.kde.kstars.desktop
new file mode 100644
index 0000000..7b24376
--- /dev/null
+++ b/kstars/setup/gui/org.kde.kstars.desktop
@@ -0,0 +1,216 @@
+# 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/kstars/snapcraft.yaml b/kstars/snapcraft.yaml
new file mode 100644
index 0000000..ae3d175
--- /dev/null
+++ b/kstars/snapcraft.yaml
@@ -0,0 +1,70 @@
+name: kstars
+version: 16.12.04
+summary: KStars is a desktop planetarium for amateur and professional astronomers.
+description: KStars is free, open source, cross-platform Astronomy Software. It provides an accurate graphical simulation of the night sky, from any location on Earth, at any date and time. The display includes up to 100 million stars, 13,000 deep-sky objects,all 8 planets, the Sun and Moon, and thousands of comets, asteroids, supernovae, and satellites. For students and teachers, it supports adjustable simulation speeds in order to view phenomena that happen over long timescales, the KStars Astrocalculator to predict conjunctions, and many common astronomical calculations. For the amateur astronomer, it provides an observation planner, a sky calendar tool, and an FOV editor to calculate field of view of equipment and display them. Find out interesting objects in the "What's up Tonight" tool, plot altitude vs. time graphs for any object, print high-quality sky charts, and gain access to lots of information and resources to help you explore the universe! Included with KStars is Ekos astrophotography suite, a complete astrophotography solution that can control all INDI devices including numerous telescopes, CCDs, DSLRs, focusers, filters, and a lot more. Ekos supports highly accurate tracking using online and offline astrometry solver, autofocus and autoguiding capabilities, and capture of single or multiple images using the powerful built in sequence manager.
+confinement: devmode
+grade: devel
+ 
+apps:
+  kstars:
+    command: kf5-launch kstars
+    plugs:
+      - kde-frameworks-5-plug # content share itself
+      - home # give us a dir in the user home
+      - x11 # we run with xcb Qt platform for now
+      - opengl # Qt/QML uses opengl
+      - network # gethotnewstuff needs network IO
+      - network-bind # gethotnewstuff needs network IO
+      - unity7 # notifications
+      - pulseaudio # sound notifications
+      - serial-port
+      - camera
+ 
+plugs:
+  kde-frameworks-5-plug:
+    interface: content
+    content: kde-frameworks-5-all
+    default-provider: kde-frameworks-5
+    target: kf5
+ 
+parts:
+  kde-frameworks-5-dev:
+    plugin: dump
+    snap: [-*]
+    source: http://build.neon.kde.org/job/kde-frameworks-5-release_amd64.snap/lastSuccessfulBuild/artifact/kde-frameworks-5-dev_amd64.tar.xz
+  kde-frameworks-5-env:
+    plugin: dump
+    snap: [kf5-launch, kf5]
+    source: http://github.com/apachelogger/kf5-snap-env.git
+  kstars:
+    after: [kde-frameworks-5-dev]
+    plugin: cmake    
+    build-packages:
+        - extra-cmake-modules
+        - libeigen3-dev
+        - zlib1g-dev
+        - libcfitsio3-dev
+        - libnova-dev
+        - libindi-dev
+        - wcslib-dev
+    stage-packages:
+        - indi-bin
+    filesets:
+        exclusion:
+            - "-usr/lib/*/cmake/*"
+            - "-usr/include/*"
+            - "-usr/share/ECM/*"
+            - "-usr/share/doc/*"
+            - "-usr/share/man/*"
+            - "-usr/share/icons/breeze-dark*"
+    snap:
+        - "$exclusion"
+    source: git://anongit.kde.org/kstars.git
+    #source: /home/jasem/Projects/kstars
+    configflags:
+        - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
+        - "-DCMAKE_INSTALL_PREFIX=/usr"
+        - "-DCMAKE_BUILD_TYPE=Release"
+        - "-DENABLE_TESTING=OFF"
+        - "-DBUILD_TESTING=OFF"
+        - "-DKDE_SKIP_TEST_SETTINGS=ON"


More information about the Kstars-devel mailing list