Search Criteria
Package Details: nbopen 0.6-3
Git Clone URL: | https://aur.archlinux.org/nbopen.git (read-only, click to copy) |
---|---|
Package Base: | nbopen |
Description: | Opens an Jupyter notebook in the best available server |
Upstream URL: | https://github.com/takluyver/nbopen |
Keywords: | jupyter notebook |
Licenses: | |
Submitter: | flying-sheep |
Maintainer: | flying-sheep |
Last Packager: | flying-sheep |
Votes: | 4 |
Popularity: | 0.000131 |
First Submitted: | 2015-09-03 08:59 |
Last Updated: | 2020-08-18 11:17 |
Dependencies (4)
- jupyter
- python (python-dbg)
- shared-mime-info>=1.7 (shared-mime-info-git)
- install-wheel-scripts (make)
Latest Comments
roarchero commented on 2017-11-10 09:53
for updating to version 0.4.3:
I think its sufficient to change the pkgver and md5sums in the PKGBUILD to:
pkgver=0.4.3
md5sums=('003b362eefeede87f53fa504fe73fb98')
at least it seems like it is working then..
flying-sheep commented on 2016-06-01 16:09
also, thanks to the new pacman hooks, the .install file is superfluous anyway!
sfncmp1729 commented on 2016-05-31 09:55
I can't find the Arch wiki page from which I taken those install file guidelines, probably here: https://wiki.archlinux.org/index.php/GNOME_package_guidelines.
I guess you're right however. My bad.
flying-sheep commented on 2016-05-31 07:44
done, sorry for the missing .desktop file!
but why do you propose gtk-update-icon-cache? there’s an less obscure, non-DE-specific alternative that i use.
sfncmp1729 commented on 2016-05-30 16:37
I needed the following changes in the PKGBUILD to get the package working properly
diff --git a/PKGBUILD b/PKGBUILD
index 8bfc2cf..86e0719 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,9 @@ package() {
install -Dm755 {,"$pkgdir/usr/share/mime/packages/"}application-x-ipynb+json.xml
+ install -Dm755 nbopen.desktop "$pkgdir/usr/share/applications/nbopen.desktop"
+
for s in 16 24 32 48 64 128 256 512; do
install -Dm644 "icons/ipynb_icon_${s}x${s}.png" "$pkgdir/usr/share/icons/hicolor/${s}x${s}/mimetypes/application-x-ipynb+json.png"
done
-}
\ No newline at end of file
+}
moreover the install file could be changed to be more compliant with the Arch wiki
diff --git a/nbopen.install b/nbopen.install
index 50937dc..d5650e3 100644
--- a/nbopen.install
+++ b/nbopen.install
@@ -1,13 +1,18 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-mime-database usr/share/mime &>/dev/null
update-desktop-database -q
+ update-mime-database /usr/share/mime
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ ldconfig
+
+ #xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ #update-mime-database usr/share/mime &>/dev/null
+ #update-desktop-database -q
}
post_upgrade() {
- post_install
+ post_install $1
}
post_remove() {
- post_install
-}
\ No newline at end of file
+ post_install $1
+}