Accepting request 132699 from GNOME:Next

Starting to push GNOME:Next...

OBS-URL: https://build.opensuse.org/request/show/132699
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-doc-utils?expand=0&rev=76
This commit is contained in:
Vincent Untz 2012-09-07 15:37:06 +00:00 committed by Git OBS Bridge
parent 8190ef16d3
commit a99eb470f4
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
diff --git a/tools/gnome-doc-utils.make b/tools/gnome-doc-utils.make
index 726c5b8..339817f 100644
--- a/tools/gnome-doc-utils.make
+++ b/tools/gnome-doc-utils.make
@@ -640,8 +640,8 @@ install-doc-figs:
fi; \
figbase=`echo $$fig | sed -e 's/^.*\///'`; \
if $$figsymlink; then \
- echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \
- ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \
+ echo "cd $$figdir && $(LN_S) -f $(HELP_DIR)/$(_doc_install_dir)/C/$$fig $$figbase"; \
+ ( cd "$$figdir" && $(LN_S) -f "$(HELP_DIR)/$(_doc_install_dir)/C/$$fig" "$$figbase" ); \
else \
echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
$(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Aug 29 21:25:38 UTC 2012 - dimstar@opensuse.org
- Add gnome-doc-utils-fig-path.patch: Fix linking of figures in
subfolders, where a relative path to ../../C will not do the
right thing (gnome-devel-docs 3.5.90 contains such cases).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 26 19:02:29 UTC 2012 - vuntz@opensuse.org Mon Mar 26 19:02:29 UTC 2012 - vuntz@opensuse.org

View File

@ -24,6 +24,8 @@ License: GPL-2.0+
Group: System/GUI/GNOME Group: System/GUI/GNOME
Url: http://www.gnome.org Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-doc-utils/0.20/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/gnome-doc-utils/0.20/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-doc-utils-fig-path.patch bgo#682776 dimstar@opensuse.org -- Fix linking of figs in subfolders.
Patch0: gnome-doc-utils-fig-path.patch
BuildRequires: docbook_4 BuildRequires: docbook_4
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: intltool BuildRequires: intltool
@ -89,6 +91,7 @@ POT files.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%patch0 -p1
translation-update-upstream translation-update-upstream
%build %build