From a12989719bdf565f57402c5a3be9e7ba55deef57 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Fri, 16 Jan 2009 21:39:51 +0000 Subject: [PATCH] Move all quick views into plugins/quickview. svn: r11635 --- po/POTFILES.in | 22 +++++++------ src/plugins/Makefile.am | 12 ++----- src/plugins/drawreport/Makefile.am | 2 +- src/plugins/{ => quickview}/AgeOnDate.py | 0 src/plugins/{ => quickview}/AttributeMatch.py | 0 src/plugins/{ => quickview}/FilterByName.py | 0 src/plugins/quickview/Makefile.am | 32 +++++++++++++++++++ src/plugins/{ => quickview}/OnThisDay.py | 0 src/plugins/{ => quickview}/Query.py | 0 src/plugins/{ => quickview}/References.py | 0 src/plugins/{ => quickview}/Reporef.py | 0 src/plugins/{ => quickview}/SameSurnames.py | 0 src/plugins/{ => quickview}/all_events.py | 0 src/plugins/{ => quickview}/all_relations.py | 0 src/plugins/{ => quickview}/lineage.py | 0 src/plugins/{ => quickview}/siblings.py | 0 src/plugins/tool/Makefile.am | 2 +- 17 files changed, 48 insertions(+), 22 deletions(-) rename src/plugins/{ => quickview}/AgeOnDate.py (100%) rename src/plugins/{ => quickview}/AttributeMatch.py (100%) rename src/plugins/{ => quickview}/FilterByName.py (100%) create mode 100644 src/plugins/quickview/Makefile.am rename src/plugins/{ => quickview}/OnThisDay.py (100%) rename src/plugins/{ => quickview}/Query.py (100%) rename src/plugins/{ => quickview}/References.py (100%) rename src/plugins/{ => quickview}/Reporef.py (100%) rename src/plugins/{ => quickview}/SameSurnames.py (100%) rename src/plugins/{ => quickview}/all_events.py (100%) rename src/plugins/{ => quickview}/all_relations.py (100%) rename src/plugins/{ => quickview}/lineage.py (100%) rename src/plugins/{ => quickview}/siblings.py (100%) diff --git a/po/POTFILES.in b/po/POTFILES.in index 7a4adae6f..f81abc1bd 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -235,12 +235,8 @@ src/Selectors/_SelectorFactory.py src/Selectors/__init__.py # plugins directory -src/plugins/AgeOnDate.py src/plugins/AgeStats.py -src/plugins/all_events.py -src/plugins/all_relations.py src/plugins/AncestorReport.py -src/plugins/AttributeMatch.py src/plugins/AttributesGramplet.py src/plugins/BookReport.py src/plugins/Calendar.py @@ -261,7 +257,6 @@ src/plugins/ExportVCalendar.py src/plugins/ExportVCard.py src/plugins/ExportXml.py src/plugins/FamilyGroup.py -src/plugins/FilterByName.py src/plugins/GivenNameGramplet.py src/plugins/GVFamilyLines.py src/plugins/GVHourGlass.py @@ -276,16 +271,11 @@ src/plugins/ImportVCard.py src/plugins/ImportXml.py src/plugins/IndivComplete.py src/plugins/KinshipReport.py -src/plugins/lineage.py src/plugins/MarkerReport.py src/plugins/NarrativeWeb.py src/plugins/NumberOfAncestorsReport.py -src/plugins/OnThisDay.py src/plugins/PlaceReport.py src/plugins/Records.py -src/plugins/References.py -src/plugins/SameSurnames.py -src/plugins/siblings.py src/plugins/SimpleBookTitle.py src/plugins/Summary.py src/plugins/WebCal.py @@ -298,6 +288,18 @@ src/plugins/drawreport/FanChart.py src/plugins/drawreport/StatisticsChart.py src/plugins/drawreport/TimeLine.py +# plugins/quickview directory +src/plugins/quickview/AgeOnDate.py +src/plugins/quickview/all_events.py +src/plugins/quickview/all_relations.py +src/plugins/quickview/AttributeMatch.py +src/plugins/quickview/FilterByName.py +src/plugins/quickview/lineage.py +src/plugins/quickview/OnThisDay.py +src/plugins/quickview/References.py +src/plugins/quickview/SameSurnames.py +src/plugins/quickview/siblings.py + # plugins/rel directory src/plugins/rel/rel_cs.py src/plugins/rel/rel_da.py diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index a2952ceb0..16b051262 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -4,19 +4,17 @@ # If not using GNU make, then list all .py files individually SUBDIRS = \ + drawreport \ + quickview \ rel \ tool pkgdatadir = $(datadir)/@PACKAGE@/plugins pkgdata_PYTHON = \ - all_events.py\ - all_relations.py\ - AgeOnDate.py\ AgeStats.py\ AncestorTree.py\ AncestorReport.py\ - AttributeMatch.py\ AttributesGramplet.py\ BookReport.py\ Calendar.py \ @@ -39,7 +37,6 @@ pkgdata_PYTHON = \ ExportXml.py\ FamilyGroup.py\ FanChart.py\ - FilterByName.py\ GivenNameGramplet.py\ GVFamilyLines.py \ GVHourGlass.py\ @@ -54,16 +51,11 @@ pkgdata_PYTHON = \ ImportXml.py\ IndivComplete.py\ KinshipReport.py\ - lineage.py\ MarkerReport.py\ NarrativeWeb.py\ NumberOfAncestorsReport.py\ - OnThisDay.py\ PlaceReport.py\ Records.py\ - References.py\ - SameSurnames.py\ - siblings.py\ SimpleBookTitle.py\ StatisticsChart.py\ Summary.py\ diff --git a/src/plugins/drawreport/Makefile.am b/src/plugins/drawreport/Makefile.am index 4257729e5..74981e344 100644 --- a/src/plugins/drawreport/Makefile.am +++ b/src/plugins/drawreport/Makefile.am @@ -1,4 +1,4 @@ -# This is the src/plugins/rel level Makefile for Gramps +# This is the src/plugins/drawreport level Makefile for Gramps # We could use GNU make's ':=' syntax for nice wildcard use, # but that is not necessarily portable. # If not using GNU make, then list all .py files individually diff --git a/src/plugins/AgeOnDate.py b/src/plugins/quickview/AgeOnDate.py similarity index 100% rename from src/plugins/AgeOnDate.py rename to src/plugins/quickview/AgeOnDate.py diff --git a/src/plugins/AttributeMatch.py b/src/plugins/quickview/AttributeMatch.py similarity index 100% rename from src/plugins/AttributeMatch.py rename to src/plugins/quickview/AttributeMatch.py diff --git a/src/plugins/FilterByName.py b/src/plugins/quickview/FilterByName.py similarity index 100% rename from src/plugins/FilterByName.py rename to src/plugins/quickview/FilterByName.py diff --git a/src/plugins/quickview/Makefile.am b/src/plugins/quickview/Makefile.am new file mode 100644 index 000000000..7daa93415 --- /dev/null +++ b/src/plugins/quickview/Makefile.am @@ -0,0 +1,32 @@ +# This is the src/plugins/quickview level Makefile for Gramps +# We could use GNU make's ':=' syntax for nice wildcard use, +# but that is not necessarily portable. +# If not using GNU make, then list all .py files individually + +pkgdatadir = $(datadir)/@PACKAGE@/plugins/quickview + +pkgdata_PYTHON = \ + AgeOnDate.py \ + all_events.py \ + all_relations.py \ + AttributeMatch.py \ + FilterByName.py \ + lineage.py \ + OnThisDay.py \ + Query.py \ + References.py \ + Reporef.py \ + SameSurnames.py\ + siblings.py + +pkgpyexecdir = @pkgpyexecdir@/plugins/quickview +pkgpythondir = @pkgpythondir@/plugins/quickview + +# Clean up all the byte-compiled files +MOSTLYCLEANFILES = *pyc *pyo + +GRAMPS_PY_MODPATH = "../../" + +pycheck: + (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ + pychecker $(pkgdata_PYTHON)); diff --git a/src/plugins/OnThisDay.py b/src/plugins/quickview/OnThisDay.py similarity index 100% rename from src/plugins/OnThisDay.py rename to src/plugins/quickview/OnThisDay.py diff --git a/src/plugins/Query.py b/src/plugins/quickview/Query.py similarity index 100% rename from src/plugins/Query.py rename to src/plugins/quickview/Query.py diff --git a/src/plugins/References.py b/src/plugins/quickview/References.py similarity index 100% rename from src/plugins/References.py rename to src/plugins/quickview/References.py diff --git a/src/plugins/Reporef.py b/src/plugins/quickview/Reporef.py similarity index 100% rename from src/plugins/Reporef.py rename to src/plugins/quickview/Reporef.py diff --git a/src/plugins/SameSurnames.py b/src/plugins/quickview/SameSurnames.py similarity index 100% rename from src/plugins/SameSurnames.py rename to src/plugins/quickview/SameSurnames.py diff --git a/src/plugins/all_events.py b/src/plugins/quickview/all_events.py similarity index 100% rename from src/plugins/all_events.py rename to src/plugins/quickview/all_events.py diff --git a/src/plugins/all_relations.py b/src/plugins/quickview/all_relations.py similarity index 100% rename from src/plugins/all_relations.py rename to src/plugins/quickview/all_relations.py diff --git a/src/plugins/lineage.py b/src/plugins/quickview/lineage.py similarity index 100% rename from src/plugins/lineage.py rename to src/plugins/quickview/lineage.py diff --git a/src/plugins/siblings.py b/src/plugins/quickview/siblings.py similarity index 100% rename from src/plugins/siblings.py rename to src/plugins/quickview/siblings.py diff --git a/src/plugins/tool/Makefile.am b/src/plugins/tool/Makefile.am index 95e889340..4cef71948 100644 --- a/src/plugins/tool/Makefile.am +++ b/src/plugins/tool/Makefile.am @@ -1,4 +1,4 @@ -# This is the src/plugins/rel level Makefile for Gramps +# This is the src/plugins/tool level Makefile for Gramps # We could use GNU make's ':=' syntax for nice wildcard use, # but that is not necessarily portable. # If not using GNU make, then list all .py files individually