From 2d3c0ae2f25282bc8c7701b279073feb1dd571e7 Mon Sep 17 00:00:00 2001 From: Benedikt Morbach Date: Tue, 8 Mar 2011 14:10:04 +0100 Subject: [PATCH] Bump meld to 1.5.0 Notes: - INSTALL seems to list wrong dependencies. See https://bugzilla.gnome.org/show_bug.cgi?id=643473 And http://git.gnome.org/browse/meld/commit/?id=beb2de34b2483882b981bf04282cea2f29c52a43 - freshmeat and sourceforge don't seem to be updated (not even 1.4.0 is there), so those got removed. DOWNLOADS is used from gnome.org.exlib - tests are broken, so they got RESTRICTed. make check just runs some QA on the sources (checks for tabs) and tries to modify some files, which are not even there make test needs X and fails because files are missing --- .../meld-1.5.0-three-way-button-fix.patch | 28 +++++++++++++++++++ ...d-1.4.0.exheres-0 => meld-1.5.0.exheres-0} | 22 +++++++++------ 2 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 packages/dev-util/meld/files/meld-1.5.0-three-way-button-fix.patch rename packages/dev-util/meld/{meld-1.4.0.exheres-0 => meld-1.5.0.exheres-0} (58%) diff --git a/packages/dev-util/meld/files/meld-1.5.0-three-way-button-fix.patch b/packages/dev-util/meld/files/meld-1.5.0-three-way-button-fix.patch new file mode 100644 index 0000000..ef1a29e --- /dev/null +++ b/packages/dev-util/meld/files/meld-1.5.0-three-way-button-fix.patch @@ -0,0 +1,28 @@ +From e0f1adacad183b8ba5dd2cecb4eb2027b3bd0df6 Mon Sep 17 00:00:00 2001 +From: Kai Willadsen +Date: Fri, 14 Jan 2011 18:44:33 +1000 +Subject: [PATCH] Fix three-way compare buttons closing New Diff dialog + +Upstream: yes, git e0f1adacad183b8ba5dd2cecb4eb2027b3bd0df6 +Reason: bug, hitting the toggle should not close the window + +--- + data/ui/meldapp.ui | 2 -- + 1 files changed, 0 insertions(+), 2 deletions(-) + +diff --git a/data/ui/meldapp.ui b/data/ui/meldapp.ui +index 62f3c3e..fd552ec 100644 +--- a/data/ui/meldapp.ui ++++ b/data/ui/meldapp.ui +@@ -455,8 +455,6 @@ Josef Vybíral + + + +- three_way_compare0 +- three_way_compare1 + button_cancel + button_ok + +-- +1.7.4.1 + diff --git a/packages/dev-util/meld/meld-1.4.0.exheres-0 b/packages/dev-util/meld/meld-1.5.0.exheres-0 similarity index 58% rename from packages/dev-util/meld/meld-1.4.0.exheres-0 rename to packages/dev-util/meld/meld-1.5.0.exheres-0 index f398bd9..fdfcee5 100644 --- a/packages/dev-util/meld/meld-1.4.0.exheres-0 +++ b/packages/dev-util/meld/meld-1.5.0.exheres-0 @@ -1,41 +1,45 @@ # Copyright 2009 Daniel Mierswa # Distributed under the terms of the GNU General Public License v2 -require multilib sourceforge +require multilib gnome.org SUMMARY="A visual diff and merge tool." DESCRIPTION="Rich featured diff and merge tool that integrates with most version control systems. It's also possible to do 3-way diffs." -DOWNLOADS="mirror://gnome/sources/${PN}/$(ever range 1-2)/${PNV}.tar.bz2" +HOMEPAGE="http://live.gnome.org/${PN^}" LICENCES="GPL-2" SLOT="0" PLATFORMS="~amd64 ~x86" MYOPTIONS="" -REMOTE_IDS+=" freshmeat:Meld" +# make check doesn't run tests but some upstream QA +# make test needs X and fails because files are missing +RESTRICT="test" DEPENDENCIES=" build: sys-devel/gettext build+run: - dev-lang/python + dev-lang/python[>=2.5] run: - gnome-bindings/gnome-python[gnome][gnomevfs] - gnome-bindings/pygtk + gnome-bindings/pygobject:2[>=2.16.0] + gnome-bindings/pygtk[>=2.14] suggestion: - gnome-bindings/pygtksourceview + gnome-bindings/pygtksourceview:2[>=2.4] [[ description = [ syntax highlighting, line numbers, etc. ] ]] " # scrollkeeper can probably build the documentation # LANGUAGES="" prevents building help/ subdir, which seems to need that -DEFAULT_SRC_COMPILE_PARAMS=( prefix=/usr libdir=/usr/$(get_libdir) docdir_='$(docdir)'/${PNV} LANGUAGES="" ) +DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-three-way-button-fix.patch ) +DEFAULT_SRC_COMPILE_PARAMS=( prefix=/usr libdir=/usr/$(get_libdir) docdir_='$(docdir)'/${PNVR} LANGUAGES="" ) DEFAULT_SRC_INSTALL_PARAMS=( ${DEFAULT_SRC_COMPILE_PARAMS[@]} ) src_install() { default - edo rmdir "${IMAGE}"/usr/share/gnome/{help/meld,help,} + edo rmdir "${IMAGE}"/usr/share/gnome/{help/meld,help,} \ + "${IMAGE}"/usr/share/pixmaps }