Commit Graph

134 Commits

Author SHA1 Message Date
6fdde84334 Use reverse-DNS for mime file 2022-02-13 18:31:43 +00:00
7ca75ef882 Use reverse-DNS for application icon 2022-02-13 18:31:30 +00:00
11f268b981 Use reverse-DNS scheme for appdata + desktop 2022-02-13 18:17:29 +00:00
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
a5ac4ac43c Merge branch 'gramps51' 2022-02-06 19:07:14 +00:00
c9537b355e Use GitHub Actions to run continuous integration checks 2022-01-28 19:46:52 +00:00
f3e536da6c Use GitHub Actions to run continuous integration checks 2022-01-28 17:47:49 +00:00
ea802db485 Add de_AT to language lists 2021-06-02 23:29:03 +01:00
adc50f7a08 Bump required Python version to 3.5 2020-11-15 21:28:19 +00:00
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
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
c10f2da00e Install application icons into correct directories 2020-11-14 19:10:34 +00:00
fd380e345c Install application icons into correct directories 2020-09-15 19:06:26 +01:00
71d95faeea Use setup from setuptools to allow creation of python wheels
Add extras_require
2020-09-15 18:37:11 +01:00
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01:00
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
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
a833dfb3ac Prepare for 5.1.0 release 2019-08-21 13:46:45 -05:00
263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
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
3c5c34d0c5 Update development status for new release 2018-07-24 14:20:41 +01:00
257275f169 Merge from gramps50 2018-07-12 11:10:22 -05:00
2869e4d8a3 Release Gramps v5.0.0-rc1 2018-05-20 15:44:15 -05:00
fd55f0abff Add configuration flag --no-compress-manpages. 2018-03-26 19:50:32 +01:00
dd0671b111 Bump all version numbers to 5.1 2017-05-23 18:30:29 +01:00
0919763f15 enable preliminary Tamil translation 2017-03-20 12:13:51 -07:00
4ffc5e3af4 add plugins/db/dbapi/settings.ini to setup 2016-11-12 15:01:15 +01:00
9f4cb97512 Fixes for install after removal of old LICENSE 2016-10-28 08:08:40 +11:00
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
ed830b2809 Fix build for database directory structure changes 2016-07-05 13:30:58 +01:00
7fb8b0f155 Remove another redundant io import 2016-06-16 14:20:07 +01:00
e9d6a2ffea 9453: While starting gramps, it fails to pop up "tips of the day" 2016-06-07 02:02:25 -07:00
7b60b140c0 Version 5.0.0-alpha1 2016-06-04 07:24:40 -04:00
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
28b722b92d Clean up trailing whitespace. 2016-05-18 20:31:49 -04:00
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
8694c7fcc7 7921 Move holidays.xml.in to data [refactor] 2016-04-16 16:38:43 +10:00
decefda7e5 7763: Remove remaining Sourceless Javascript Files 2016-04-13 07:42:18 +10:00
8dd80a61a1 9635 Add dbapi_support folders to setup.py for installs 2016-04-09 12:36:35 +10:00
b1cf276104 Add pypi classifier for Natural Language :: Icelandic 2016-03-03 19:26:39 +11:00
cc13810673 make setup.py typeout more accurate 2016-02-29 17:25:16 -08:00
831330b6d0 Moved Django templates out of gramps 2016-01-08 18:54:25 -05:00
7aa7f26bbb Removed webapp to django-webapp project 2016-01-06 15:24:27 -05:00
ab67c786b0 Remove setuptools flag 2015-12-21 17:12:30 -05:00
cc97dcddbd Fixed classifiers in setup.py 2015-12-21 14:56:41 -05:00
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
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
43fae0c326 Embrace Github and use .md for README 2015-08-22 19:04:04 +10:00
6ff73c4e36 Suppress deprecation warnings in intltool-update 2015-08-08 21:31:10 +01:00
aaa64bed8e Pull Request #38: install grampsxml.{dtd,rng} files. 2015-07-05 11:19:49 +02:00