Skip to content

Commit

Permalink
all updates to date, see changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
PCNetSpec committed Dec 7, 2016
1 parent 54304de commit 501eefa
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 24 deletions.
32 changes: 32 additions & 0 deletions debian/changelog
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
ice (5.2.3) xenial; urgency=low

* Comment suffix changed from "(WebApp)" to "(Ice SSB)"

-- Mark Greaves (PCNetSpec) <[email protected]> 07 Dec 2016 17:40:00 +0000

ice (5.2.2) xenial; urgency=low

* Added 'Comment=NAME (WebApp)' line to created SSB's
* to display a working tooltip in whiskermenu 1.6.1

-- Mark Greaves (PCNetSpec) <[email protected]> 07 Dec 2016 13:25:00 +0000

ice (5.2.1) xenial; urgency=low

* Completely disable disk caches for Firefox SSB's
* Add Ctrl+Tab tab navigation for Firefox SSB's

-- Mark Greaves (PCNetSpec) <[email protected]> 14 May 2016 00:40:00 +0000

ice (5.2.0) xenial; urgency=low

* fix rules

-- Mark Greaves (PCNetSpec) <[email protected]> 29 Apr 2016 23:29:00 +0000

ice (5.1.9) xenial; urgency=low

* updated icon for Peppermint 7

-- Mark Greaves (PCNetSpec) <[email protected]> 29 Apr 2016 22:40:00 +0000

ice (5.1.8) xenial; urgency=low

* Set variables for string references and use them. (Brian)
Expand Down
10 changes: 5 additions & 5 deletions debian/control
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Source: ice
Section: net
Priority: optional
Maintainer: Kendall Weaver <[email protected]>
Maintainer: Mark Greaves (PCNeSpec) <[email protected]>
Build-Depends: debhelper (>= 5.0.0)
Standards-Version: 3.8.4
Standards-Version: 3.9.5

Package: ice
Depends: python3, python3-gi, python3-requests, python3-bs4
Depends: ${misc:Depends}, python3, python3-gi, python3-requests, python3-bs4
Recommends: chromium-browser
Architecture: all
Description: Webapp integration with Peppermint Ice
Front end for building single site browsers using
Chromium, Chrome, or Firefox as a backend, allowing custom menu
integration.
Chromium, Chrome, or Firefox as a backend, allowing
custom menu integration.
Empty file modified debian/copyright
100755 → 100644
Empty file.
33 changes: 14 additions & 19 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,39 +1,34 @@
#!/usr/bin/make -f
# -*- makefile -*-

build:

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

build-arch:

build:
build-indep:

clean:
dh_testdir
dh_testroot
dh_clean

dh_clean

install: build
install:
dh_install usr/* usr
dh_testdir
dh_testroot
dh_clean
dh_installdirs
dh_install usr/* usr
# Build architecture-independent files here.
binary-indep: build install

binary-arch:

binary-indep: install
dh_testdir
dh_testroot
dh_installchangelogs
#dh_installchangelogs
dh_installdocs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb

binary-arch:
dh_builddeb -- -Z xz

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary install

.PHONY: clean install binary-arch binary-indep binary
1 change: 1 addition & 0 deletions usr/bin/ice
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def writefile(title, formatted, address, iconext, location):
appfile1.write("[Desktop Entry]\n")
appfile1.write("Version=1.0\n")
appfile1.write("Name={0}\n".format(title))
appfile1.write("Comment={0} (Ice SSB)\n".format(title))

if (browser == "ice-firefox"):
appfile1.write("Exec={0} {1}\n".format(browser, address))
Expand Down
9 changes: 9 additions & 0 deletions usr/bin/ice-firefox
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ profileid1 = str.replace(sys.argv[1], 'http://', '')
profileid2 = str.replace(profileid1, 'https://', '')
profileid = str.replace(profileid2, '/', '_')

profilepath = os.path.expanduser('~/.local/share/ice/firefox/' + str(profileid))
chromepath = os.path.expanduser('~/.local/share/ice/firefox/' + str(profileid) + '/chrome')
path = os.path.dirname(chromepath)

execute = 'firefox -profile ' + path + ' -no-remote -new-instance' + ' ' + sys.argv[1]

os.system('mkdir -p ' + chromepath)
os.system('echo "#nav-bar { visibility: hidden !important; max-height: 0 !important; margin-bottom: -20px !important; } #TabsToolbar { display: none !important; }" > ' + chromepath + '/userChrome.css')
os.system('echo "user_pref(\\"browser.cache.disk.enable\\", false);" > ' + profilepath + '/user.js')
os.system('echo "user_pref(\\"browser.cache.disk.capacity\\", 0);" >> ' + profilepath + '/user.js')
os.system('echo "user_pref(\\"browser.cache.disk.filesystem_reported\\", 1);" >> ' + profilepath + '/user.js')
os.system('echo "user_pref(\\"browser.cache.disk.smart_size.enabled\\", false);" >> ' + profilepath + '/user.js')
os.system('echo "user_pref(\\"browser.cache.disk.smart_size.first_run\\", false);" >> ' + profilepath + '/user.js')
os.system('echo "user_pref(\\"browser.cache.disk.smart_size.use_old_max\\", false);" >> ' + profilepath + '/user.js')
os.system('echo "user_pref(\\"browser.ctrlTab.previews\\", true);" >> ' + profilepath + '/user.js')
os.system(execute)
os.system('rm -rf ' + path + '/cache2')

0 comments on commit 501eefa

Please sign in to comment.