Commit Graph

120 Commits

Author SHA1 Message Date
David Yu Yang
362d67aa73 Prepare for flake8 setuptools deprecation.
Dealing with the following message:

WARNING: flake8 setuptools integration is deprecated and scheduled for removal in 4.x.  For more information, see https://gitlab.com/pycqa/flake8/issues/544
2021-09-21 17:46:01 +08:00
David Yu Yang
09a958a738 Restore COMPILE_SCHEMA option
Restoring as per review https://github.com/Guake/guake/pull/1893#pullrequestreview-752712271
2021-09-13 15:40:53 +02:00
David Yu Yang
93c5cc4989 Regenerate guake schema if old schema file found
Currently guake only generates a schema file if there is no schema file present. If there is a schema file from an older version of guake present, glib will attempt to use that file, segfault and never return execution back to python. Do manual version recording and checking ourselves to regenerate the file instead of relying on exception handling on glibc.
2021-09-13 14:42:43 +02:00
Eli Schwartz
f3164e5a66
setup.cfg: directly specify needed install requirements
Do not rely on running pip to install dependencies, which e.g. distros cannot
do. Instead let this be specified directly as package metadata.

While we are at it, stop actually running pip install if DESTDIR is set, since
this is a fairly likely sign that guake is being installed in a distro
environment where pip install is not allowed.
2021-09-09 01:55:31 -04:00
Louie Lu
96bf89a166 Add PIPENV_IGNORE_VIRTUALENVS=1 2021-09-09 09:07:21 +08:00
David Yu Yang
8209db643f ci:Switch to github actions. 2021-09-07 10:05:53 +02:00
Stuardo -StR - Rodríguez
c9a7c66eee issue #244 appstream file
- placing the appstream metainfo file in the right path according to https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2020-05-08 18:02:29 +02:00
Gaetan Semet
3ac1a69660 Replace autopep8, yapf by black
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2020-02-18 22:58:54 +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
Louie Lu
e7dd9d758f Add install/uninstall-dev-locale to ensure dev-locale works 2019-05-13 10:52:48 +02:00
Louie Lu
33863bda21 Support customize prefix for make
If user using different python interpreter with customize prefix,
it can then install Guake with customize prefix now:

    $ make
    $ PYTHON_INTERPRETER=python3.7 prefix=~/.local/pythons/3.7 make install
    $ which guake
      ~/.local/pythons/3.7/bin/guake
2019-05-03 09:06:39 +02:00
Gaetan Semet
02ff14a887 create empty temp commit during release 2019-04-30 13:20:03 +02:00
Gaetan Semet
4153ef38f9 Move data back into guake dir
To prepare #1405
2019-04-29 11:04:55 +02:00
Gaetan Semet
871f8eb5c0 Fix site package 2019-04-29 10:49:43 +02:00
Gaetan Semet
26304f1587 Update release script and release 3.6.1
Travis password should be fixed and thus upload to pypi
should be back online.
2019-04-26 14:06:04 +02:00
Gaetan Semet
6fe109c5a6 Release 3.6.0 2019-04-26 11:02:52 +02:00
Louie Lu
e94606f8ff Make make with different python interpreter
User can choice which python interpreter when using `make`, e.g.:

    $ PYTHON_INTERPRETER=python3.5 make dev
2019-04-26 08:05:30 +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
Louie Lu
6f420f95d0 Update .travis.yml 2019-04-15 10:46:04 +02:00
suve
46b85d12c1 Add the appdata XML file to "make (un)install" 2018-10-17 17:59:53 +02:00
Gaetan Semet
2a497694ef Release 3.4.0 2018-10-02 14:03:41 +02:00
Gaetan Semet
23e586dcbc Context menu to be stored in callback obj
maybe due to gtk 3.18, the but the menu does not show up
if the menu is not saved in an object.

See:

  https://stackoverflow.com/questions/28465956/
2018-09-03 12:37:01 +02:00
Gaetan Semet
65d020c383 Update dependencies 2018-09-03 12:37:01 +02:00
Mario Aichinger
e17b9c82ac add run-local-prefs 2018-08-24 18:41:50 +02:00
Gaetan Semet
0f07e7a27e Warn on missing dependencies
references #1077
2018-08-19 01:03:42 +02:00
Gaetan Semet
7b3f22ac0a guake --[f|g]color keep transparency
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-08-19 01:03:42 +02:00
Gaetan Semet
66dc3f0a3e Minor pypi deployment fix on travis build 2018-07-16 20:44:50 +02:00
Gaetan Semet
cdea1fe906 Fix missing paths.py in sdist and wheel
fix #1328
fix #1349
2018-07-16 19:50:34 +02:00
Gaetan Semet
c8001877cd git-pull-rebase expects to be on master 2018-06-21 01:17:58 +02:00
Gaetan Semet
86995359b2 validate pip install guake
fix #1328

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-06-21 01:10:32 +02:00
Gaetan Semet
51aa7916a8 force x11 backend under wayland
fix #1340
fix #1012
fix #1224
fix #1109
2018-06-06 07:28:34 +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
Gaetan Semet
da514e4802 update release script
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-25 21:44:39 +02:00
Gaetan Semet
fa20efa6d1 minor fixes
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-25 16:17:16 +02:00
Gaetan
0036f44b51 Add bootstrap script for fedora 2018-04-19 16:01:27 +02:00
Gaetan Semet
6c7ebed4b6 Add version information and use feed_child_binary
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-18 16:38:30 +02:00
Gaetan Semet
99fd9a302c Use relative path in po 2018-04-17 16:49:09 +02:00
Gaetan Semet
56f16c9b60 fix right click handling on mc
fix #1244

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-17 10:38:10 +02:00
Gaetan Semet
9f7ba2f59f Do not use system "pip3" commands
Always prefer the more verbose but safer "python3 -m pip"

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-17 08:36:30 +02:00
Gaetan Semet
cc60ee2ea9 move guake/data to data
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
352a2570ff Rework doc generation
fix #1271

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-14 14:40:51 +02:00
Gaetan Semet
0779655fd3 Theme selection combobox
fix #1249
sem-ver: feature

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-14 12:31:18 +02:00
Gaetan Semet
8491450161 combobox for quick open
with sample for vscode, atom and sublime

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-12 23:09:12 +02:00
Gaetan Semet
393b89b663 make release target 2018-04-11 23:51:48 +02:00
Mario Aichinger
4dce01e166 add destdir to mkdir -p 2018-04-11 18:18:57 +02:00
Jan Tojnar
d093179362 Fix schemas not compiled in custom schema dir
00731c7080 added an option to override
GSettings schema directory, but it did not update the directory
where the schemas are compiled.
2018-04-11 18:18:30 +02:00
Gaetan Semet
97bf2cb225 Use standard make names
from https://www.gnu.org/prep/standards/html_node/Directory-Variables.html

close #1255

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-04-11 13:55:28 +02:00