Commit Graph

20 Commits

Author SHA1 Message Date
Christian Stimming
bd17b5fa41 Add missing svn:executable property
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20162 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-24 14:04:37 +00:00
Geert Janssens
cdaf152cd7 Use last changed revision number instead of last-commited-somewhere-in-repo
svnversion without options returns the most recent revision in the repo
at the time of the last svn update/checkout even if that revision
didn't hold any changes in the current path. Not very useful as a
reference. Better is to ask for the last changed revision with -c.
BUT: -c option for some reason always considers svn working copy
as having mixed sources. We're only interested in the last part so
we strip the beginning revision if it's there.
As a result if your WC really has mixed sources, that will not be
visible in the version number...

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20140 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-21 22:10:40 +00:00
Micha Lenk
6e71c239d9 Add facility to force BUILDING_FROM_SVN=no from outside the Gnucash build system
Needed by packagers that maintain the packaging code in svn, svk or git too


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19990 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 13:54:58 +00:00
Geert Janssens
9b4682cb04 Insert missing "format:" - otherwise it didn't build for me.
Additional simplifying git expressions.
Patch by Frank H. Ellenberger

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19011 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 12:22:56 +00:00
Geert Janssens
8b3528f47d Bug #611645 gnc-svnversion returns "too long" a string for git users, patch by Jeff Kletsky
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18880 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-09 18:28:04 +00:00
Geert Janssens
ed33fc5226 Tweak to gnc-svnversion's bzr section, patch by Jesse Weinstein
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18809 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-04 09:53:57 +00:00
Geert Janssens
0e00cfd225 Add bzr support to gnc-svnversion. Patch by Jesse Weinstein
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18692 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 00:17:41 +00:00
Geert Janssens
53749867fe Move count.* to util
Also I made a first attempt at improving the line count.
The old script missed a number of files in the directories
it counted.

The script is still not in line with the current code base
though. A number of directories are still not counted (like
gnome, engine, ledger, ...)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18628 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 20:53:35 +00:00
Geert Janssens
9e1e1bea8a Moved svnlog2ul from contrib to util
It makes more sense in util as it is by and for the devs, not
contributed by an external user for external use.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18627 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-08 17:59:15 +00:00
Geert Janssens
0c34b87720 Fix script to check for > 2.8 entries to remove
The minimal Gtk+ requirement has been set to 2.8 recently. This script still removed glade
parameters that are valid in 2.8. This patch fixes that.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18617 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-06 20:22:21 +00:00
Andreas Köhler
4619a7b38c Revert r17966 and use Glade-2 again.
At the moment all major distributions feature Glade-3 which tends to
save a lot of lines less compared to Glade-2 because it does not define
properties whose values equal the default ones specified by Gtk+.
Unfortunately though, only very recent versions of Glade, v3.5.3+,
address the following two issues:

(1) GtkTable attachments are written in different order each times,
rendering diffs unusable.
(2) Currently we depend on the ability to use a name multiple times in a
single glade file and only newer versions allow to have uniqueness be
applied to each top-level widget.

Sorry for the confusion.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17967 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-02 21:15:41 +00:00
Andreas Köhler
47ede669f2 Re-save glade files from Glade 3, remove util/glade-fixup.
Glade 3 does not save properties with default values anymore.  This
reduces patch sizes when Glade-3/Gtk+ is used with varying versions and
also avoids warnings about properties unknown to older Gtk+ versions.

The version Glade 3 used is 3.4.5.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17966 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-01 19:13:14 +00:00
Christian Stimming
efc19c85eb Add shell script to easily back-port commits in git-svn from trunk to other branches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17856 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-31 10:24:34 +00:00
Andreas Köhler
7a3dc4ac7c SVK detection on Windows is not trivial :-)
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17120 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:50 +00:00
Derek Atkins
c052ac4078 limit SVK version information to 5 revisions/copies.
Otherwise the svk version info just continues to grow ad nausium


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16362 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:54 +00:00
Andreas Köhler
0a179cf181 Update comment in glade-fixup to Gtk+ v2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16065 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:45:13 +00:00
David Hampton
440e1e7323 Update for the new base level of gtk2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15432 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-27 04:31:29 +00:00
Andreas Köhler
348c8cce3e Make GnuCash compile from a git repository.
Patch gnc-svnversion to check for .git, but in the top-level source
directory instead of src/gnome-utils. Use the output of "git-rev-parse
HEAD" as version string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15292 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-01 16:47:32 +00:00
Derek Atkins
68400b50f6 Handle the case of a user who has svk but hasn't configured it. (#347403)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14489 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-12 19:50:44 +00:00
Derek Atkins
d86d61e227 Allow building from either SVN or SVK
- create gnc-svnversion script that builds the revision number
  from either SVN or SVK.  The script should fail gracefully if
  you don't have SVK installed
- convert the configure script to use the new gnc-svnversion script
- convert the splash-screen Makefile to use the gnc-svnversions script

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14427 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 18:34:35 +00:00