From a2c8227349587da90a37a252b38bfebb7e27b845 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 17 Aug 2011 21:03:06 +0000 Subject: [PATCH 1/2] Accepting request 78988 from home:dimstar:branches:GNOME:Factory Update to 3.1.5 - contains a weird hack due to dangling symlinks OBS-URL: https://build.opensuse.org/request/show/78988 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=98 --- anjuta-3.1.4.tar.bz2 | 3 - anjuta-3.1.5.tar.bz2 | 3 + anjuta-gtk_hv_box.patch | 214 -------------------------------------- anjuta-libvala-0.14.patch | 30 ------ anjuta.changes | 14 +++ anjuta.spec | 11 +- 6 files changed, 24 insertions(+), 251 deletions(-) delete mode 100644 anjuta-3.1.4.tar.bz2 create mode 100644 anjuta-3.1.5.tar.bz2 delete mode 100644 anjuta-gtk_hv_box.patch delete mode 100644 anjuta-libvala-0.14.patch diff --git a/anjuta-3.1.4.tar.bz2 b/anjuta-3.1.4.tar.bz2 deleted file mode 100644 index 201e79d..0000000 --- a/anjuta-3.1.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a51f6db62ae103cdce92f410effe649f74895b03e68d9b35805e0239047c0fd -size 7562985 diff --git a/anjuta-3.1.5.tar.bz2 b/anjuta-3.1.5.tar.bz2 new file mode 100644 index 0000000..5b00b87 --- /dev/null +++ b/anjuta-3.1.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1e5927df81a7f072eaa44f21a4d48c7c052ba1c23a24ec1e4efc8173cbee189 +size 7162898 diff --git a/anjuta-gtk_hv_box.patch b/anjuta-gtk_hv_box.patch deleted file mode 100644 index 1b76260..0000000 --- a/anjuta-gtk_hv_box.patch +++ /dev/null @@ -1,214 +0,0 @@ -diff -ur anjuta-3.1.4/libanjuta/anjuta-column-text-view.h anjuta-3.1.4.patched/libanjuta/anjuta-column-text-view.h ---- anjuta-3.1.4/libanjuta/anjuta-column-text-view.h 2011-02-24 13:10:43.000000000 +0100 -+++ anjuta-3.1.4.patched/libanjuta/anjuta-column-text-view.h 2011-08-02 14:39:54.112092160 +0200 -@@ -39,12 +39,12 @@ - - struct _AnjutaColumnTextViewClass - { -- GtkVBoxClass parent_class; -+ GtkBoxClass parent_class; - }; - - struct _AnjutaColumnTextView - { -- GtkVBox parent_instance; -+ GtkBox parent_instance; - - AnjutaColumnTextViewPriv *priv; - }; -diff -ur anjuta-3.1.4/libanjuta/anjuta-file-list.h anjuta-3.1.4.patched/libanjuta/anjuta-file-list.h ---- anjuta-3.1.4/libanjuta/anjuta-file-list.h 2010-11-26 12:15:52.000000000 +0100 -+++ anjuta-3.1.4.patched/libanjuta/anjuta-file-list.h 2011-08-02 14:39:54.132092426 +0200 -@@ -39,12 +39,12 @@ - - struct _AnjutaFileListClass - { -- GtkVBoxClass parent_class; -+ GtkBoxClass parent_class; - }; - - struct _AnjutaFileList - { -- GtkVBox parent_instance; -+ GtkBox parent_instance; - - AnjutaFileListPriv *priv; - }; -diff -ur anjuta-3.1.4/libanjuta/anjuta-status.h anjuta-3.1.4.patched/libanjuta/anjuta-status.h ---- anjuta-3.1.4/libanjuta/anjuta-status.h 2010-11-08 16:57:37.000000000 +0100 -+++ anjuta-3.1.4.patched/libanjuta/anjuta-status.h 2011-08-02 14:39:54.184093117 +0200 -@@ -37,13 +37,13 @@ - - struct _AnjutaStatus - { -- GtkHBox parent; -+ GtkBox parent; - AnjutaStatusPriv *priv; - }; - - struct _AnjutaStatusClass - { -- GtkHBoxClass parent_class; -+ GtkBoxClass parent_class; - - /* signals */ - void (*busy) (AnjutaStatus *status, gboolean state); -diff -ur anjuta-3.1.4/plugins/class-gen/combo-flags.c anjuta-3.1.4.patched/plugins/class-gen/combo-flags.c ---- anjuta-3.1.4/plugins/class-gen/combo-flags.c 2010-11-19 18:14:02.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/class-gen/combo-flags.c 2011-08-02 14:41:18.205209505 +0200 -@@ -71,7 +71,7 @@ - LAST_SIGNAL - }; - --static GtkHBoxClass* parent_class = NULL; -+static GtkBoxClass* parent_class = NULL; - static guint combo_flags_signals[LAST_SIGNAL]; - - static CgComboFlagsCellInfo * -diff -ur anjuta-3.1.4/plugins/class-gen/combo-flags.h anjuta-3.1.4.patched/plugins/class-gen/combo-flags.h ---- anjuta-3.1.4/plugins/class-gen/combo-flags.h 2010-11-08 16:57:37.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/class-gen/combo-flags.h 2011-08-02 14:40:21.604457522 +0200 -@@ -58,12 +58,12 @@ - - struct _CgComboFlagsClass - { -- GtkHBoxClass parent_class; -+ GtkBoxClass parent_class; - }; - - struct _CgComboFlags - { -- GtkHBox parent_instance; -+ GtkBox parent_instance; - }; - - typedef enum _CgComboFlagsSelectionType -diff -ur anjuta-3.1.4/plugins/document-manager/search-box.h anjuta-3.1.4.patched/plugins/document-manager/search-box.h ---- anjuta-3.1.4/plugins/document-manager/search-box.h 2011-03-03 16:28:01.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/document-manager/search-box.h 2011-08-02 14:40:32.524602627 +0200 -@@ -42,12 +42,12 @@ - - struct _SearchBoxClass - { -- GtkHBoxClass parent_class; -+ GtkBoxClass parent_class; - }; - - struct _SearchBox - { -- GtkHBox parent_instance; -+ GtkBox parent_instance; - - GtkWidget* new; - }; -diff -ur anjuta-3.1.4/plugins/git/git-repository-selector.h anjuta-3.1.4.patched/plugins/git/git-repository-selector.h ---- anjuta-3.1.4/plugins/git/git-repository-selector.h 2010-11-26 12:15:53.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/git/git-repository-selector.h 2011-08-02 14:42:42.322326527 +0200 -@@ -39,12 +39,12 @@ - - struct _GitRepositorySelectorClass - { -- GtkVBoxClass parent_class; -+ GtkBoxClass parent_class; - }; - - struct _GitRepositorySelector - { -- GtkVBox parent_instance; -+ GtkBox parent_instance; - - GitRepositorySelectorPriv *priv; - }; -diff -ur anjuta-3.1.4/plugins/message-view/message-view.h anjuta-3.1.4.patched/plugins/message-view/message-view.h ---- anjuta-3.1.4/plugins/message-view/message-view.h 2010-11-08 16:57:37.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/message-view/message-view.h 2011-08-02 14:40:47.524801929 +0200 -@@ -48,7 +48,7 @@ - - struct _MessageView - { -- GtkHBox parent; -+ GtkBox parent; - - /* private */ - MessageViewPrivate* privat; -@@ -56,7 +56,7 @@ - - struct _MessageViewClass - { -- GtkHBoxClass parent; -+ GtkBoxClass parent; - }; - - typedef enum -diff -ur anjuta-3.1.4/plugins/snippets-manager/snippets-browser.c anjuta-3.1.4.patched/plugins/snippets-manager/snippets-browser.c ---- anjuta-3.1.4/plugins/snippets-manager/snippets-browser.c 2011-03-03 16:28:01.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/snippets-manager/snippets-browser.c 2011-08-02 14:42:42.322326527 +0200 -@@ -48,7 +48,7 @@ - - GtkWidget *grip; - -- GtkVBox *snippets_view_vbox; -+ GtkBox *snippets_view_vbox; - GtkScrolledWindow *snippets_view_cont; - - GtkWidget *browser_hpaned; -diff -ur anjuta-3.1.4/plugins/snippets-manager/snippets-browser.h anjuta-3.1.4.patched/plugins/snippets-manager/snippets-browser.h ---- anjuta-3.1.4/plugins/snippets-manager/snippets-browser.h 2010-11-08 16:57:37.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/snippets-manager/snippets-browser.h 2011-08-02 14:41:04.677029800 +0200 -@@ -44,7 +44,7 @@ - - struct _SnippetsBrowser - { -- GtkHBox parent; -+ GtkBox parent; - - gboolean show_only_document_language_snippets; - AnjutaShell *anjuta_shell; -@@ -55,7 +55,7 @@ - - struct _SnippetsBrowserClass - { -- GtkHBoxClass parent_class; -+ GtkBoxClass parent_class; - - /* Signals */ - void (*maximize_request) (SnippetsBrowser *snippets_browser); -diff -ur anjuta-3.1.4/plugins/snippets-manager/snippets-editor.h anjuta-3.1.4.patched/plugins/snippets-manager/snippets-editor.h ---- anjuta-3.1.4/plugins/snippets-manager/snippets-editor.h 2010-11-08 16:57:37.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/snippets-manager/snippets-editor.h 2011-08-02 14:41:18.201209452 +0200 -@@ -42,7 +42,7 @@ - - struct _SnippetsEditor - { -- GtkHBox parent; -+ GtkBox parent; - - /*< private >*/ - SnippetsEditorPrivate *priv; -@@ -50,7 +50,7 @@ - - struct _SnippetsEditorClass - { -- GtkHBoxClass parent_class; -+ GtkBoxClass parent_class; - - /* Signals */ - void (*snippet_saved) (SnippetsEditor *snippets_editor, -diff -ur anjuta-3.1.4/plugins/sourceview/sourceview.h anjuta-3.1.4.patched/plugins/sourceview/sourceview.h ---- anjuta-3.1.4/plugins/sourceview/sourceview.h 2010-11-08 16:57:37.000000000 +0100 -+++ anjuta-3.1.4.patched/plugins/sourceview/sourceview.h 2011-08-02 14:42:42.318326473 +0200 -@@ -43,12 +43,12 @@ - typedef struct SourceviewPrivate SourceviewPrivate; - - typedef struct { -- GtkVBox parent; -+ GtkBox parent; - SourceviewPrivate *priv; - } Sourceview; - - typedef struct { -- GtkVBoxClass parent_class; -+ GtkBoxClass parent_class; - void (*update_ui); - - } SourceviewClass; diff --git a/anjuta-libvala-0.14.patch b/anjuta-libvala-0.14.patch deleted file mode 100644 index 2417d5c..0000000 --- a/anjuta-libvala-0.14.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: anjuta-3.1.3/configure.ac -=================================================================== ---- anjuta-3.1.3.orig/configure.ac -+++ anjuta-3.1.3/configure.ac -@@ -52,7 +52,8 @@ dnl Glade - GLADEUI_REQUIRED=3.9.2 - - dnl Vala --VALA_REQUIRED=0.11.2 -+VALA12_REQUIRED=0.11.2 -+VALA14_REQUIRED=0.13.0 - - dnl Introspection - GI_REQUIRED=0.9.5 -@@ -254,11 +255,13 @@ else - AC_MSG_RESULT(no) - enable_vala="yes" - PKG_CHECK_MODULES(VALA, -- [libvala-0.12 >= $VALA_REQUIRED]) -+ [libvala-0.14 >= $VALA14_REQUIRED],, -+ [PKG_CHECK_MODULES(VALA, -+ [libvala-0.12 >= $VALA12_REQUIRED])]) - fi - - if test x$enable_vala = xyes; then -- AC_PATH_PROGS(VALAC, [valac-0.12 valac], valac) -+ AC_PATH_PROGS(VALAC, [valac-0.14 valac-0.12 valac], valac) - AC_SUBST(VALAC) - fi - diff --git a/anjuta.changes b/anjuta.changes index 42c44a7..611f749 100644 --- a/anjuta.changes +++ b/anjuta.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Aug 13 17:20:48 CEST 2011 - dimstar@opensuse.org + +- Update to version 3.1.5: + + bgo#654881: Segmentation fault during project creation if no + packages were selected + + bgo#651151: vala plugin crashes when uncommenting source + + bgo#654502: Allow building with libvala-0.14 (0.13 dev. tree) + + bgo#655743: Usage of GtkHBoxClass and GtkHBox + + bgo#655998: Main toolbar looks out-of-place + + bgo#655584: Can't edit Integer Field +- Drop anjuta-gtk_hv_box.patch: Fixed upstream. +- Add a hack to install anjuta_logo.png properly in the manual. + ------------------------------------------------------------------- Tue Aug 2 12:44:21 UTC 2011 - dimstar@opensuse.org diff --git a/anjuta.spec b/anjuta.spec index 3e88d49..271d8dd 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -18,7 +18,8 @@ Name: anjuta -Version: 3.1.4 +Version: 3.1.5 +# FIXME: Check if the anjuta_logo.png install hack is still needed. See https://bugzilla.gnome.org/show_bug.cgi?id=656470. Last checked in version 3.1.5 Release: 1 License: GPLv2+ Summary: Versatile Integrated Development Environment for GNOME @@ -28,8 +29,6 @@ Source: http://download.gnome.org/sources/anjuta/3.1/%{name}-%{version}. Source1: %{name}-rpmlintrc # PATCH-FEATURE-UPSTREAM anjuta-support-libgda-5.0.patch bgo#652047 dimstar@opensuse.org -- Also support building with libgda-5.0. Patch0: anjuta-support-libgda-5.0.patch -# PATCH-FIX-UPSTREAM anjuta-gtk_hv_box.patch bgo#655743 dimstar@opensuse.org -- Stop using deprecated GtkHBox and GtkVBox. -Patch1: anjuta-gtk_hv_box.patch BuildRequires: autogen BuildRequires: binutils-devel BuildRequires: bison @@ -130,7 +129,6 @@ and more. %prep %setup -q %patch0 -p1 -%patch1 -p1 translation-update-upstream %build @@ -156,6 +154,11 @@ DESTDIR=%{buildroot} mime-info-to-mime #%%find_lang anjuta-build-tutorial %{?no_lang_C} anjuta.lang #%%find_lang anjuta-faqs %{?no_lang_C} anjuta.lang %find_lang anjuta-manual %{?no_lang_C} anjuta.lang +# make install links the anjuta_logo wrongly around. Let's copy the file from the right location +# no worries about linking here: fdupes will do 'the right thing(tm)' for us. +for lang in %{buildroot}/%{_datadir}/gnome/help/anjuta-manual/*; do + cp --remove-destination %{buildroot}%{_datadir}/pixmaps/anjuta/anjuta_logo.png $lang/anjuta_logo.png +done find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot} From 1fc5bd08ecdecdbd6c9db151893ec106764e0671 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Tue, 6 Sep 2011 20:04:14 +0000 Subject: [PATCH 2/2] Accepting request 81150 from home:vuntz:branches:GNOME:Factory Update to 3.1.91 OBS-URL: https://build.opensuse.org/request/show/81150 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=99 --- anjuta-3.1.5.tar.bz2 | 3 --- anjuta-3.1.91.tar.bz2 | 3 +++ anjuta-support-libgda-5.0.patch | 37 --------------------------------- anjuta.changes | 32 +++++++++++++++++++++------- anjuta.spec | 18 +++++----------- 5 files changed, 33 insertions(+), 60 deletions(-) delete mode 100644 anjuta-3.1.5.tar.bz2 create mode 100644 anjuta-3.1.91.tar.bz2 delete mode 100644 anjuta-support-libgda-5.0.patch diff --git a/anjuta-3.1.5.tar.bz2 b/anjuta-3.1.5.tar.bz2 deleted file mode 100644 index 5b00b87..0000000 --- a/anjuta-3.1.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1e5927df81a7f072eaa44f21a4d48c7c052ba1c23a24ec1e4efc8173cbee189 -size 7162898 diff --git a/anjuta-3.1.91.tar.bz2 b/anjuta-3.1.91.tar.bz2 new file mode 100644 index 0000000..f8ba218 --- /dev/null +++ b/anjuta-3.1.91.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96f043094dce24303a6da1224d60311159b66453b8a67fc009d33c48f3f40b84 +size 7183988 diff --git a/anjuta-support-libgda-5.0.patch b/anjuta-support-libgda-5.0.patch deleted file mode 100644 index 9a9677f..0000000 --- a/anjuta-support-libgda-5.0.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -ur anjuta-3.0.2.0/configure.ac anjuta-3.0.2.0.patched/configure.ac ---- anjuta-3.0.2.0/configure.ac 2011-05-23 21:12:40.000000000 +0200 -+++ anjuta-3.0.2.0.patched/configure.ac 2011-06-10 21:14:30.486480081 +0200 -@@ -32,7 +32,8 @@ - GTK_REQUIRED=3.0.0 - GTHREAD_REQUIRED=2.22.0 - GDK_PIXBUF_REQUIRED=2.0.0 --GDA_REQUIRED=4.2.0 -+GDA4_REQUIRED=4.2.0 -+GDA5_REQUIRED=4.99.0 - VTE_REQUIRED=0.27.6 - LIBXML_REQUIRED=2.4.23 - GDL_REQUIRED=2.91.4 -@@ -157,7 +158,9 @@ - [gdl-3.0 >= $GDL_REQUIRED]) - - PKG_CHECK_MODULES([GDA], -- [libgda-4.0 >= $GDA_REQUIRED]) -+ [libgda-5.0 >= $GDA5_REQUIRED],, -+ [PKG_CHECK_MODULES([GDA], -+ [libgda-4.0 >= $GDA4_REQUIRED])]) - - PKG_CHECK_MODULES([VTE], - [vte-2.90 >= $VTE_REQUIRED]) -@@ -278,8 +281,10 @@ - - AM_CONDITIONAL(HAVE_PYTHON, [test x$have_python = xyes]) - --PKG_CHECK_MODULES(PLUGIN_SYMBOL_DB, -- [libgda-4.0 >= $GDA_REQUIRED]) -+PKG_CHECK_MODULES([PLUGIN_SYMBOL_DB], -+ [libgda-5.0 >= $GDA5_REQUIRED],, -+ [PKG_CHECK_MODULES([PLUGIN_SYMBOL_DB], -+ [libgda-4.0 >= $GDA4_REQUIRED])]) - - dnl Setup Anjuta Library flags - dnl -------------------------- diff --git a/anjuta.changes b/anjuta.changes index 611f749..4415b02 100644 --- a/anjuta.changes +++ b/anjuta.changes @@ -1,14 +1,32 @@ +------------------------------------------------------------------- +Tue Sep 6 09:04:24 UTC 2011 - vuntz@opensuse.org + +- Update to version 3.1.91: + + More improvements in vala plugin + + Fix up problems with gtk+ 3.0 + + Bugs fixed: bgo#638525, bgo#657491, bgo#657513, bgo#657589, + bgo#655756, bgo#656123, bgo#657590, bgo#657022. +- Remove unneeded call to mime-info-to-mime in %install. + +------------------------------------------------------------------- +Wed Aug 31 16:09:46 CEST 2011 - vuntz@opensuse.org + +- Update to version 3.1.90: + + Some seldom used debugger menu items were removed + + A lot of fixes to the vala support + + vala-0.14 (>= 0.13.3) is now required ++ Bugs fixed: bgo#656584, bgo#642187, bgo#657023, bgo#566704, + bgo#652047, bgo#656585, bgo#657134, bgo#653259. +- Drop anjuta-support-libgda-5.0.patch: fixed upstream. +- Remove gnome-common BuildRequires and call to gnome-autogen.sh + now that there is no patch requiring this. + ------------------------------------------------------------------- Sat Aug 13 17:20:48 CEST 2011 - dimstar@opensuse.org - Update to version 3.1.5: - + bgo#654881: Segmentation fault during project creation if no - packages were selected - + bgo#651151: vala plugin crashes when uncommenting source - + bgo#654502: Allow building with libvala-0.14 (0.13 dev. tree) - + bgo#655743: Usage of GtkHBoxClass and GtkHBox - + bgo#655998: Main toolbar looks out-of-place - + bgo#655584: Can't edit Integer Field + + Bugs fixed: bgo#654881, bgo#651151, bgo#654502, bgo#655743, + bgo#655998, bgo#655584. - Drop anjuta-gtk_hv_box.patch: Fixed upstream. - Add a hack to install anjuta_logo.png properly in the manual. diff --git a/anjuta.spec b/anjuta.spec index 271d8dd..8f6ef5e 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -18,24 +18,21 @@ Name: anjuta -Version: 3.1.5 -# FIXME: Check if the anjuta_logo.png install hack is still needed. See https://bugzilla.gnome.org/show_bug.cgi?id=656470. Last checked in version 3.1.5 +Version: 3.1.91 Release: 1 +# FIXME: (should be fixed in > 3.1.91) Check if the anjuta_logo.png install hack is still needed. See https://bugzilla.gnome.org/show_bug.cgi?id=656470. Last checked in version 3.1.91. License: GPLv2+ Summary: Versatile Integrated Development Environment for GNOME Url: http://anjuta.sourceforge.net/ Group: Development/Tools/IDE Source: http://download.gnome.org/sources/anjuta/3.1/%{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc -# PATCH-FEATURE-UPSTREAM anjuta-support-libgda-5.0.patch bgo#652047 dimstar@opensuse.org -- Also support building with libgda-5.0. -Patch0: anjuta-support-libgda-5.0.patch BuildRequires: autogen BuildRequires: binutils-devel BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: gnome-common BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-icon-theme BuildRequires: gobject-introspection-devel @@ -59,10 +56,10 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(libdevhelp-3.0) -BuildRequires: pkgconfig(libgda-5.0) +BuildRequires: pkgconfig(libgda-5.0) >= 4.99.0 BuildRequires: pkgconfig(libgraph) BuildRequires: pkgconfig(libgvc) -BuildRequires: pkgconfig(libvala-0.14) +BuildRequires: pkgconfig(libvala-0.14) >= 0.13.3 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(neon) BuildRequires: pkgconfig(vte-2.90) @@ -128,12 +125,9 @@ and more. %lang_package %prep %setup -q -%patch0 -p1 translation-update-upstream %build -# Needed by patch0 -NOCONFIGURE=1 gnome-autogen.sh %configure\ --disable-static \ --disable-scrollkeeper @@ -146,7 +140,6 @@ make %{?jobs:-j%jobs} V=1 %endif # These should go to defaultdocdir. rm -r %{buildroot}%{_datadir}/doc -DESTDIR=%{buildroot} mime-info-to-mime %suse_update_desktop_file anjuta %find_lang anjuta %{?no_lang_C} # There's no translation for those yet. If build fails because of non-packaged @@ -154,8 +147,7 @@ DESTDIR=%{buildroot} mime-info-to-mime #%%find_lang anjuta-build-tutorial %{?no_lang_C} anjuta.lang #%%find_lang anjuta-faqs %{?no_lang_C} anjuta.lang %find_lang anjuta-manual %{?no_lang_C} anjuta.lang -# make install links the anjuta_logo wrongly around. Let's copy the file from the right location -# no worries about linking here: fdupes will do 'the right thing(tm)' for us. +# anjuta_logo is wrongly linked from help, https://bugzilla.gnome.org/show_bug.cgi?id=656470 for lang in %{buildroot}/%{_datadir}/gnome/help/anjuta-manual/*; do cp --remove-destination %{buildroot}%{_datadir}/pixmaps/anjuta/anjuta_logo.png $lang/anjuta_logo.png done