Commit Graph

137 Commits

Author SHA1 Message Date
Nick Hall
2daa53025e Create new Addon Manager dialog 2023-07-28 16:05:57 +01:00
Nick Hall
fba5bfb584 Migrate build from distutils to setuptools
Distutils is deprecated with removal planned for Python 3.12.
2023-07-17 21:17:19 +01:00
Nick Hall
cea2da1b3c Replace os.system with subprocess.call in setup.py 2023-07-14 20:27:18 +01:00
André Apitzsch
6fdde84334 Use reverse-DNS for mime file 2022-02-13 18:31:43 +00:00
André Apitzsch
7ca75ef882 Use reverse-DNS for application icon 2022-02-13 18:31:30 +00:00
André Apitzsch
11f268b981 Use reverse-DNS scheme for appdata + desktop 2022-02-13 18:17:29 +00:00
Pino Toscano
79cc1970ad Move MIME icons together with other hicolor icons
Move the icons of MIME types in the same location/structure used for
the other hicolor icons (application icon, action icons).
This way, all the hicolor icons are logically in the same place.
2022-02-12 23:12:39 +00:00
Nick Hall
a5ac4ac43c Merge branch 'gramps51' 2022-02-06 19:07:14 +00:00
Nick Hall
c9537b355e Use GitHub Actions to run continuous integration checks 2022-01-28 19:46:52 +00:00
Nick Hall
f3e536da6c Use GitHub Actions to run continuous integration checks 2022-01-28 17:47:49 +00:00
Nick Hall
ea802db485 Add de_AT to language lists 2021-06-02 23:29:03 +01:00
André Apitzsch
adc50f7a08 Bump required Python version to 3.5 2020-11-15 21:28:19 +00:00
Chris Mayo
02e0c1c67d Install 128x128 and 256x256 application icons
Created with ImageMagick using e.g.:

convert -background none ../../../gramps.svg -geometry 256x256 gramps.png
2020-11-14 19:23:25 +00:00
Chris Mayo
ebf1715468 Install MIME type icons into the hicolor theme
The gnome theme is defunct.

Remove gnome-mime- prefix from icon filenames.
2020-11-14 19:23:24 +00:00
Nick Hall
c10f2da00e Install application icons into correct directories 2020-11-14 19:10:34 +00:00
Nick Hall
fd380e345c Install application icons into correct directories 2020-09-15 19:06:26 +01:00
David Straub
71d95faeea Use setup from setuptools to allow creation of python wheels
Add extras_require
2020-09-15 18:37:11 +01:00
Nick Hall
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01:00
Nick Hall
60f1866292 Replace intltool with gettext tools
The build now requires gettext v0.19.7 or above.

Removed obsolete files:
  * gramps.applications
  * gramps.keys
  * gramps.mime

Created ITS rules for holidays.xml and tips.xml files.

Included ITS files for shared-mime-info from a gettext v0.20.2
installation.
2020-09-02 21:22:04 +01:00
Nick Hall
3ca82e2ebc Remove the resource-path file
Attempt to derive the resource path from the package path assuming that
one of the three main installation schemes has been used.

The package path will be one of the following:

  <prefix>/lib/pythonX.Y/site-packages
  <prefix>\Lib\site-packages

  <home>/lib/python

  <userbase>/lib/pythonX.Y/site-packages
  <userbase>\PythonXY\site-packages

  Where <prefix>, <home> and <userbase> are the resource paths used in the
  Prefix, Home and User installation schemes.

The use of the command line option "--install-data" in the setup script
is no longer supported.

This change is intended to allow a Gramps core package to be created
as a wheel and installed via pip.
2020-09-02 21:07:22 +01:00
prculley
a833dfb3ac Prepare for 5.1.0 release 2019-08-21 13:46:45 -05:00
prculley
263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
Paul Culley
f3b5f75e37 Fix strings containing deprecated illegal escape sequences (#648)
Python 3.6 and above has deprecated illegal string escape sequences. Escape sequences are preceded by a '\' and valid ones are "\n\t\r" etc. Illegal ones are not in the list https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals.

Previous to Python 3.6 these illegal sequences were ignored and the '\' was left in place. Pylint has been noting these for a while now.

This PR corrects these sequences in Gramps. I used

find . -name "*.py" | xargs -t -n 1 python3 -Wd -m py_compile 2>&1 | grep Depre

to locate the failing strings.
2018-09-04 12:03:17 +10:00
Nick Hall
3c5c34d0c5 Update development status for new release 2018-07-24 14:20:41 +01:00
prculley
257275f169 Merge from gramps50 2018-07-12 11:10:22 -05:00
prculley
2869e4d8a3 Release Gramps v5.0.0-rc1 2018-05-20 15:44:15 -05:00
Herb Miller Jr
fd55f0abff Add configuration flag --no-compress-manpages. 2018-03-26 19:50:32 +01:00
Nick Hall
dd0671b111 Bump all version numbers to 5.1 2017-05-23 18:30:29 +01:00
Paul Franklin
0919763f15 enable preliminary Tamil translation 2017-03-20 12:13:51 -07:00
Josip
4ffc5e3af4 add plugins/db/dbapi/settings.ini to setup 2016-11-12 15:01:15 +01:00
Sam Manzi
9f4cb97512
Fixes for install after removal of old LICENSE 2016-10-28 08:08:40 +11:00
Josip
c12562561b 7601: Support for Retina Display / HiDPI
GTK_ICON_SIZE_LARGE_TOOLBAR Size appropriate for large toolbars (24px)
2016-10-08 13:12:51 +02:00
kulath
ed830b2809 Fix build for database directory structure changes 2016-07-05 13:30:58 +01:00
Nick Hall
7fb8b0f155 Remove another redundant io import 2016-06-16 14:20:07 +01:00
Jérôme Rapinat
e9d6a2ffea 9453: While starting gramps, it fails to pop up "tips of the day" 2016-06-07 02:02:25 -07:00
Doug Blank
7b60b140c0 Version 5.0.0-alpha1 2016-06-04 07:24:40 -04:00
Ben Woods
7851d3bdfb Fix setup.py to remove the double '/' when building man pages
This was resulting in 'share/man//...' showing in the file list
generated for system packages.
2016-05-24 17:59:00 +01:00
Elliott Sales de Andrade
28b722b92d Clean up trailing whitespace. 2016-05-18 20:31:49 -04:00
Ross Gammon
c4106617ba 9443: Gramps not appearing in Gnome Software
I updated the appdata.xml file to the latest version of the specification
(https://www.freedesktop.org/software/appstream/docs/index.html), adding
some new tags in the process.

I also installed the appdata.xml file to the latest location in the
specification.

The XML has bene validated by the appstreamcli validation tool, and the
patch applied in Debian (Gramps 4.2.3).

If it looks OK, it should probably be cherry-picked to the gramps42
maintenance branch.
2016-05-08 15:13:46 +02:00
Sam Manzi
8694c7fcc7 7921 Move holidays.xml.in to data [refactor] 2016-04-16 16:38:43 +10:00
Ross Gammon
decefda7e5 7763: Remove remaining Sourceless Javascript Files 2016-04-13 07:42:18 +10:00
Sam Manzi
8dd80a61a1 9635 Add dbapi_support folders to setup.py for installs 2016-04-09 12:36:35 +10:00
Sam Manzi
b1cf276104 Add pypi classifier for Natural Language :: Icelandic 2016-03-03 19:26:39 +11:00
Paul Franklin
cc13810673 make setup.py typeout more accurate 2016-02-29 17:25:16 -08:00
Doug Blank
831330b6d0 Moved Django templates out of gramps 2016-01-08 18:54:25 -05:00
Doug Blank
7aa7f26bbb Removed webapp to django-webapp project 2016-01-06 15:24:27 -05:00
Doug Blank
ab67c786b0 Remove setuptools flag 2015-12-21 17:12:30 -05:00
Doug Blank
cc97dcddbd Fixed classifiers in setup.py 2015-12-21 14:56:41 -05:00
Tom Samstag
62a95c936b add database plugins to package_core
Make sure the database addon and the bsddb_support code is installed.
Without this, Gramps crashes on startup.
2015-12-18 17:06:30 -08:00
Paul Franklin
90dd4afd06 handle case of no intltool when doing "python3 setup.py build"
I installed my development environment on a different machine
but for some reason didn't install intltool.  But it took me
a while to notice since I normally routinely divert the output
to a file.  So it was crashing but I didn't know.

But when I examined setup.py I saw that was tested for, at least
it was supposed to be tested for.  But on my particular machine
when the test was piped into more commands the whole piped command
was returning a zero status, even though there was no intltool
at all.  So I have added an explicit test for intltool and that
does indeed fail on my machine, without one.
2015-10-04 19:14:50 -07:00