[Mageia-dev] [packages-commits] [230330] - fixed gtk makefile bug not allowing desktop file installation

Jani Välimaa jani.valimaa at gmail.com
Thu Apr 12 16:17:15 CEST 2012


2012/4/12  <root at mageia.org>:
> Revision 230330 Author matteo Date 2012-04-12 00:51:35 +0200 (Thu, 12 Apr
> 2012)
>
> Log Message
>
> - fixed gtk makefile bug not allowing desktop file installation
>
> Modified Paths
>
> cauldron/scite/current/SPECS/scite.spec
>
> Modified: cauldron/scite/current/SPECS/scite.spec
> ===================================================================
> --- cauldron/scite/current/SPECS/scite.spec	2012-04-11 22:49:03 UTC (rev
> 230329)
> +++ cauldron/scite/current/SPECS/scite.spec	2012-04-11 22:51:35 UTC (rev
> 230330)
> @@ -9,9 +9,14 @@
>  # Patch0 available here:
> http://sourceforge.net/tracker/index.php?func=detail&aid=3501321&group_id=2439&atid=102439
>  Patch0:		scintilla-scroll-mask.diff
>  Patch1:		%{name}-desktopfile.patch
> +# missing gnomeprefix when building against gtk+3
> +# if you don't want to apply the following patch, gtk+2-devel must be added
> as BR
> +Patch2:		%{name}-gtk-makefile.patch
> +
>  Url:		http://www.scintilla.org/SciTE.html
>
>  BuildRequires:	gtk+3-devel
> +#BuildRequires:	gtk+2-devel
>  BuildRequires:	desktop-file-utils
>
>  %description
> @@ -23,6 +28,7 @@
>  %setup -q -c
>  %patch0 -p1 -b .scrollmask
>  %patch1 -p1 -b .desktopfile
> +%patch2 -p1 -b .gtkmakefile
>
>  %build
>  %make OPTFLAGS="%{optflags}" GTK3=1 -C scintilla/gtk
>

Another (and IMHO a bit better) way to fix this is just pass GTK3=1
also to %makeinstall_std.


More information about the Mageia-dev mailing list