Commit Graph

28 Commits

Author SHA1 Message Date
David Yu Yang
a38b47c97c fix: Get CI to pass 2021-09-07 11:17:27 +02:00
Gaetan Semet
dc42db1862 update to pip 20.0.2 2020-02-10 21:18:38 +01:00
max ulidtko
fce21e7d9b Revamp make uninstall
$(prefix) uppercased for convention: DESTDIR and PREFIX are the usual parameters of `make install`.
Mixed var-casing just looks clumsy in `make DESTDIR=/tmp/mypkgroot prefix=/usr install`.

Dropped scripts/find-first-site-package.py as junk code. It didn't work
altogether, always returning '/'. Because distutils.sysconfig.get_python_lib()
returns *one string*, not a list of strings; thus get_python_lib()[0] == '/'.

However, it isn't that trivial to detect the correct path to site-packages of
the last install. What we do, is take *all* possible site-packages locations
from site.getsitepackages([$PREFIX]), and remove {guake,guake-*.egg-info} from
there. This is robust, and can't do any harm besides wiping [possibly several]
guake packages under the specified PREFIX (which defaults to /usr/local) --
which is exactly what `make uninstall` is supposed to do anyway.

Targets uninstall-old-locale, uninstall-old-schemas dropped. I fail to see any
purpose and/or utility of them. With OLD_PREFIX:=$(DESTDIR)usr (which by itself
conflates considerations and simply is wrong), what those targets did can be
trivially emulated via `make DESTDIR=... PREFIX=/usr uninstall`; so there
remains no point in duplicating the uninstall path lists.

Target uninstall-schemas expanded to cover all installed artifacts.

Target uninstall-locale's idempotence fixed using the `|| :` error-silencer.

"Installing from source" warning corrected and made more prominent.

DEV_*_DIR vars dropped as unused, except DEV_DATA_DIR which is used.

Tested with:
  make DESTDIR=/tmp/tt PREFIX=/usr/local install
  make DESTDIR=/tmp/tt PREFIX=/usr/local uninstall
  tree /tmp/tt
  # 13 directories, 0 files

closes #1646 @ GitHub.
sem-ver: bugfix
2019-10-04 14:57:28 +02:00
Gaetan Semet
bad084eb82 update pip deps and allow setting PYTHON= in Makefile
alias for PYTHON_INTERPRETER=
2019-05-15 13:34:07 +02:00
Gaetan Semet
871f8eb5c0 Fix site package 2019-04-29 10:49:43 +02:00
Gaetan Semet
b4917a3bcf Travis deployment only on python 3.6
to avoid failing on double upload
2019-04-29 10:49:43 +02:00
Louie Lu
cd8fbf03d8 Add libwnck to bootstrap scripts
As #1481 introduce NotebookManager, it require Wnck as dependency,
add libwnck to bootstrap scripts to make sure user properly deal
with it.

Fix #1511
2019-04-26 08:07:58 +02:00
Gaetan Semet
5e001c3584 Minor code update 2019-04-22 16:25:32 +02:00
Louie Lu
ed14b771a0 Add verbose option to run-local and make run
Now we can run guake with verbose when `make run`:

    $ make run V=1
2019-04-17 07:12:49 +02:00
Gaetan Semet
da9ae57d53 Update dependencies 2019-04-03 15:23:07 +02:00
Mario Aichinger
5ed004c69c add pipenv to arch bootstrap script 2018-10-04 18:45:41 +02:00
pleycpl
e669b7eb01 Fix PATH bug 2018-08-31 19:39:16 +02:00
pleycpl
7fc0803a8d Update file permissions of bootstrap-dev-arch.sh 2018-08-31 19:38:39 +02:00
Mario Aichinger
e17b9c82ac add run-local-prefs 2018-08-24 18:41:50 +02:00
Gaetan Semet
fee49fc8f6 remove rope dependency
Fix #1366

+ freeze pip and pipenv

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-08-01 23:03:18 +02:00
Gaetan Semet
dbca627114 make libutempter0 mandatory
To avoid issue on 'exit' terminal

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-07-31 10:28:13 +02:00
Gaetan Semet
9f8b35d5c6 Release 3.2.2 2018-05-31 11:12:24 +02:00
Gaetan Semet
ce5c35fdc8 Do not use pipenv >= 11.10.2
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-05-14 14:35:10 +02:00
Mario Aichinger
284f9e9848 add yes to travis and remove -y from bootstrap-dev-debian.sh 2018-04-28 22:22:14 +02:00
Mario Aichinger
d7bdb7c7fd fix backslashes and path in the docs 2018-04-28 22:22:14 +02:00
Mario Aichinger
092527111b add option groups (run, make, dev, opt) to the bootstrap scripts 2018-04-28 22:22:14 +02:00
Gaetan Semet
fa20efa6d1 minor fixes
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-25 16:17:16 +02:00
Mario Aichinger
a0e9d1fbd3 fix typo in fedora package name 2018-04-25 14:43:12 +02:00
Gaetan
0036f44b51 Add bootstrap script for fedora 2018-04-19 16:01:27 +02:00
Gaetan Semet
3718a0a41c Support ' and () in url
since they are valid and can be found in url (ex: kibana), support
them.

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-17 15:03:51 +02:00
Gaetan Semet
aaae274fb3 Add some image in the documentation
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-14 23:19:40 +02:00
Gaetan Semet
59177964cb Move scripts to scripts/ 2018-04-14 23:19:40 +02:00
Gaetan Semet
de681c82ec add colortest script 2018-04-14 23:19:40 +02:00