Accepting request 136691 from GNOME:Factory

Pushing GNOME:Factory towards openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/136691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-doc-utils?expand=0&rev=52
This commit is contained in:
Stephan Kulow 2012-10-03 05:20:45 +00:00 committed by Git OBS Bridge
commit c52091b480
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

View File

@ -24,6 +24,8 @@ License: GPL-2.0+
Group: System/GUI/GNOME
Url: http://www.gnome.org
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: fdupes
BuildRequires: intltool
@ -89,6 +91,7 @@ POT files.
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build