-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
76 additions
and
48 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: inotebook | ||
Version: 0.0.1 | ||
Section: base | ||
Priority: optional | ||
Architecture: amd64 | ||
Installed-Size: SIZE | ||
Depends: | ||
Maintainer: Ignacio Tartavull <[email protected]> | ||
Description: INotebook let you open IPython notebook files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: inotebook | ||
Version: 0.0.1 | ||
Section: base | ||
Priority: optional | ||
Architecture: amd64 | ||
Installed-Size: SIZE | ||
Depends: | ||
Maintainer: Ignacio Tartavull <[email protected]> | ||
Description: INotebook let you open IPython notebook files |
15 changes: 15 additions & 0 deletions
15
dist/debinstall/deb-src/sysroot/usr/share/applications/inotebook.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Desktop Entry] | ||
Name=INotebook | ||
GenericName=IPython Editor | ||
Comment=Edit notebooks | ||
Exec=/opt/inotebook/INotebook --notebook=%U" | ||
Terminal=false | ||
Type=Application | ||
StartupNotify=true | ||
MimeType=text/plain; | ||
Icon=inotebook | ||
Categories=TextEditor; | ||
Actions=Window;Document; | ||
Keywords=IPython;Notebook; | ||
Name[en_US]=inotebook.desktop | ||
Empty file.
Binary file added
BIN
+7.02 KB
dist/debinstall/deb-src/sysroot/usr/share/icons/hicolor/128x128/apps/inotebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env bash | ||
|
||
# IMPORTANT | ||
# Protect agaisnt mispelling a var and rm -rf / | ||
set -u | ||
set -e | ||
|
||
SRC=/tmp/inotebook-deb-src | ||
DIST=/tmp/inotebook-deb-dist | ||
SYSROOT=${SRC}/sysroot | ||
DEBIAN=${SRC}/DEBIAN | ||
|
||
rm -rf ${DIST} | ||
mkdir -p ${DIST}/ | ||
|
||
rm -rf ${SRC} | ||
rsync -a deb-src/ ${SRC}/ | ||
mkdir -p ${SYSROOT}/opt/ | ||
|
||
rsync -a ~/INotebook/dist/INotebook/linux64/ ${SYSROOT}/opt/inotebook/ --delete | ||
|
||
find ${SRC}/ -type d -exec chmod 0755 {} \; | ||
find ${SRC}/ -type f -exec chmod go-w {} \; | ||
chown -R root:root ${SRC}/ | ||
|
||
let SIZE=`du -s ${SYSROOT} | sed s'/\s\+.*//'`+8 | ||
pushd ${SYSROOT}/ | ||
tar czf ${DIST}/data.tar.gz [a-z]* | ||
popd | ||
sed s"/SIZE/${SIZE}/" -i ${DEBIAN}/control | ||
pushd ${DEBIAN} | ||
tar czf ${DIST}/control.tar.gz * | ||
popd | ||
|
||
pushd ${DIST}/ | ||
echo 2.0 > ./debian-binary | ||
|
||
find ${DIST}/ -type d -exec chmod 0755 {} \; | ||
find ${DIST}/ -type f -exec chmod go-w {} \; | ||
chown -R root:root ${DIST}/ | ||
ar r ${DIST}/inotebook.deb debian-binary control.tar.gz data.tar.gz | ||
popd | ||
rsync -a ${DIST}/inotebook.deb ./ |
This file was deleted.
Oops, something went wrong.