automatic version update by autodist [release 0.5.8-1mamba;Tue Apr 15 2014]
This commit is contained in:
parent
933b87a7b3
commit
3d804f6710
12
README.md
12
README.md
@ -1,2 +1,14 @@
|
|||||||
# midori
|
# midori
|
||||||
|
|
||||||
|
Midori is a lightweight web browser.
|
||||||
|
|
||||||
|
Features:
|
||||||
|
* Full integration with GTK+ 2
|
||||||
|
* Fast rendering with WebKit
|
||||||
|
* Tabs, windows and session management
|
||||||
|
* Flexibly configurable Web Search.
|
||||||
|
* User scripts and user styles support.
|
||||||
|
* Straightforward bookmark management.
|
||||||
|
* Customizable and extensible interface.
|
||||||
|
* Extensions such as Adblock, form history, mouse gestures or cookie management.
|
||||||
|
|
||||||
|
47
midori-0.2.4-docdir.patch
Normal file
47
midori-0.2.4-docdir.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
diff -dur midori-0.2.4.orig/midori/midori-browser.c midori-0.2.4/midori/midori-browser.c
|
||||||
|
--- midori-0.2.4.orig/midori/midori-browser.c 2010-03-07 22:23:04.000000000 +0100
|
||||||
|
+++ midori-0.2.4/midori/midori-browser.c 2010-03-21 01:53:22.000000000 +0100
|
||||||
|
@@ -5050,10 +5050,10 @@
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
#ifdef DOCDIR
|
||||||
|
- uri = "file://" DOCDIR "/midori/user/midori.html";
|
||||||
|
- if (g_access (DOCDIR "/midori/user/midori.html", F_OK) != 0)
|
||||||
|
+ uri = "file://" DOCDIR "/user/midori.html";
|
||||||
|
+ if (g_access (DOCDIR "/user/midori.html", F_OK) != 0)
|
||||||
|
#endif
|
||||||
|
- uri = "error:nodocs " DOCDIR "/midori/user/midori.html";
|
||||||
|
+ uri = "error:nodocs " DOCDIR "/user/midori.html";
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
else if (!strncmp ("HelpFAQ", action_name, 7))
|
||||||
|
diff -dur midori-0.2.4.orig/wscript midori-0.2.4/wscript
|
||||||
|
--- midori-0.2.4.orig/wscript 2010-03-07 22:23:04.000000000 +0100
|
||||||
|
+++ midori-0.2.4/wscript 2010-03-21 01:51:52.000000000 +0100
|
||||||
|
@@ -426,7 +426,7 @@
|
||||||
|
bld.add_group ()
|
||||||
|
|
||||||
|
if bld.env['docs']:
|
||||||
|
- bld.install_files ('${DOCDIR}/' + APPNAME + '/', \
|
||||||
|
+ bld.install_files ('${DOCDIR}/', \
|
||||||
|
'AUTHORS COPYING ChangeLog EXPAT README')
|
||||||
|
|
||||||
|
# Install default configuration
|
||||||
|
@@ -443,7 +443,7 @@
|
||||||
|
'../../../docs/user/midori.txt ' + 'midori.html'
|
||||||
|
Utils.exec_command (command)
|
||||||
|
os.chdir ('../../..')
|
||||||
|
- bld.install_files ('${DOCDIR}/midori/user/', blddir + '/docs/user/midori.html')
|
||||||
|
+ bld.install_files ('${DOCDIR}/user/', blddir + '/docs/user/midori.html')
|
||||||
|
|
||||||
|
if bld.env['INTLTOOL']:
|
||||||
|
obj = bld.new_task_gen ('intltool_po')
|
||||||
|
@@ -452,7 +452,7 @@
|
||||||
|
|
||||||
|
if bld.env['GTKDOC_SCAN'] and Options.commands['build']:
|
||||||
|
bld.add_subdirs ('docs/api')
|
||||||
|
- bld.install_files ('${DOCDIR}/midori/api/', blddir + '/docs/api/*')
|
||||||
|
+ bld.install_files ('${DOCDIR}/api/', blddir + '/docs/api/*')
|
||||||
|
|
||||||
|
if not is_mingw (bld.env) and Options.platform != 'win32':
|
||||||
|
if bld.env['HAVE_HILDON']:
|
12
midori-0.5.0-openmamba_homepage.patch
Normal file
12
midori-0.5.0-openmamba_homepage.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nru midori-0.5.0.orig/midori/midori-settings.vala midori-0.5.0/midori/midori-settings.vala
|
||||||
|
--- midori-0.5.0.orig/midori/midori-settings.vala 2013-04-04 22:31:20.000000000 +0200
|
||||||
|
+++ midori-0.5.0/midori/midori-settings.vala 2013-04-06 22:06:31.214072560 +0200
|
||||||
|
@@ -108,7 +108,7 @@
|
||||||
|
public bool open_tabs_next_to_current { get; set; default = true; }
|
||||||
|
public bool always_show_tabbar { get; set; default = true; }
|
||||||
|
|
||||||
|
- public string homepage { get; set; default = "about:search"; }
|
||||||
|
+ public string homepage { get; set; default = "http://openmamba.org"; }
|
||||||
|
public string tabhome { get; set; default = "about:dial"; }
|
||||||
|
static string default_download_folder () {
|
||||||
|
return Environment.get_user_special_dir (UserDirectory.DOWNLOAD)
|
271
midori.spec
Normal file
271
midori.spec
Normal file
@ -0,0 +1,271 @@
|
|||||||
|
%define majver %(echo %version|cut -d. -f1-2)
|
||||||
|
Name: midori
|
||||||
|
Version: 0.5.8
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A lightweight web browser
|
||||||
|
Group: Graphical Desktop/Applications/Internet
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.midori-browser.org
|
||||||
|
Source: http://www.midori-browser.org/downloads/midori_%{version}_all_.tar.bz2
|
||||||
|
Patch0: midori-0.2.4-docdir.patch
|
||||||
|
Patch1: midori-0.5.0-openmamba_homepage.patch
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: libatk-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libdbus-devel
|
||||||
|
BuildRequires: libdbus-glib-devel
|
||||||
|
BuildRequires: libfontconfig-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgtk-devel
|
||||||
|
BuildRequires: libnotify-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libsoup-devel
|
||||||
|
BuildRequires: libsqlite-devel
|
||||||
|
BuildRequires: libunique-devel
|
||||||
|
BuildRequires: libwebkit-gtk-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libXScrnSaver-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: libgtksourceview-devel
|
||||||
|
BuildRequires: libidn-devel
|
||||||
|
BuildRequires: libsexy-devel
|
||||||
|
BuildRequires: librsvg
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: perl(XML::Parser)
|
||||||
|
BuildRequires: python-docutils
|
||||||
|
BuildRequires: vala
|
||||||
|
BuildRequires: vala-tools
|
||||||
|
BuildRequires: libzeitgeist-devel
|
||||||
|
BuildRequires: libgranite-devel
|
||||||
|
Requires: ca-certificates
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Midori is a lightweight web browser.
|
||||||
|
|
||||||
|
Features:
|
||||||
|
* Full integration with GTK+ 2
|
||||||
|
* Fast rendering with WebKit
|
||||||
|
* Tabs, windows and session management
|
||||||
|
* Flexibly configurable Web Search.
|
||||||
|
* User scripts and user styles support.
|
||||||
|
* Straightforward bookmark management.
|
||||||
|
* Customizable and extensible interface.
|
||||||
|
* Extensions such as Adblock, form history, mouse gestures or cookie management.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Devel package for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Midori is a lightweight web browser.
|
||||||
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Summary: %{name} API documentation
|
||||||
|
Group: Documentation
|
||||||
|
Requires: gtk-doc
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
Midori is a lightweight web browser.
|
||||||
|
This package contains %{name} API documentation.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c -n %{name}
|
||||||
|
#%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
for w in $(find . -name "wscript*"); do
|
||||||
|
sed -i 's|#!/usr/bin/python|#!%{__python}|' $w
|
||||||
|
sed -i 's|#!/usr/bin/env python|#!%{__python}|' $w
|
||||||
|
sed -i 's|#! /usr/bin/env python|#!%{__python}|' $w
|
||||||
|
sed -i 's|#!python|#!%{__python}|' $w
|
||||||
|
sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $w
|
||||||
|
sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $w
|
||||||
|
done
|
||||||
|
|
||||||
|
sed -i 's|#! /usr/bin/env python|#!%{__python}|' tools/check-style
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -d build \
|
||||||
|
-DCMAKE_C_FLAGS="-lm -lX11 %{optflags}"
|
||||||
|
|
||||||
|
#./configure \
|
||||||
|
# --prefix=%{_prefix} \
|
||||||
|
# --enable-gtk3 \
|
||||||
|
# --enable-granite \
|
||||||
|
# --enable-apidocs
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
#./waf \
|
||||||
|
# --prefix=%{_prefix} \
|
||||||
|
# --docdir=%{_docdir}/%{name}-%{version} \
|
||||||
|
# --libdir=%{_libdir} \
|
||||||
|
# --enable-apidocs \
|
||||||
|
# configure
|
||||||
|
#
|
||||||
|
#./waf %{?_smp_mflags} build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall -C build
|
||||||
|
#./waf --destdir=%{buildroot} install
|
||||||
|
|
||||||
|
#mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/midori
|
||||||
|
#install -pm 644 _build/docs/api/midori/html/* %{buildroot}%{_datadir}/gtk-doc/html/midori
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/xdg/midori/extensions/adblock/config
|
||||||
|
%{_sysconfdir}/xdg/midori/search
|
||||||
|
%{_bindir}/midori
|
||||||
|
%{_libdir}/libmidori-core.so
|
||||||
|
%{_libdir}/libmidori-core.so.*
|
||||||
|
%{_libdir}/midori/libadblock.so
|
||||||
|
%{_libdir}/midori/libaddons.so
|
||||||
|
%{_libdir}/midori/libapps.so
|
||||||
|
%{_libdir}/midori/libcolorful-tabs.so
|
||||||
|
%{_libdir}/midori/libcookie-manager.so
|
||||||
|
%{_libdir}/midori/libcookie-permissions.so
|
||||||
|
%{_libdir}/midori/libcopy-tabs.so
|
||||||
|
%{_libdir}/midori/libdelayed-load.so
|
||||||
|
%{_libdir}/midori/libdevpet.so
|
||||||
|
%{_libdir}/midori/libdomain-keys.so
|
||||||
|
%{_libdir}/midori/libexternal-download-manager.so
|
||||||
|
%{_libdir}/midori/libfeed-panel.so
|
||||||
|
%{_libdir}/midori/libflummi.so
|
||||||
|
%{_libdir}/midori/libformhistory.so
|
||||||
|
%{_libdir}/midori/libhistory-list.so
|
||||||
|
%{_libdir}/midori/libmouse-gestures.so
|
||||||
|
%{_libdir}/midori/libnojs.so
|
||||||
|
%{_libdir}/midori/libnotes.so
|
||||||
|
%{_libdir}/midori/libnsplugin-manager.so
|
||||||
|
#%{_libdir}/midori/libpage-holder.so
|
||||||
|
%{_libdir}/midori/libopen-with.so
|
||||||
|
%{_libdir}/midori/libshortcuts.so
|
||||||
|
%{_libdir}/midori/libstatus-clock.so
|
||||||
|
%{_libdir}/midori/libstatusbar-features.so
|
||||||
|
%{_libdir}/midori/libtab-panel.so
|
||||||
|
%{_libdir}/midori/libtabby.so
|
||||||
|
%{_libdir}/midori/libtabs-minimized.so
|
||||||
|
%{_libdir}/midori/libtoolbar-editor.so
|
||||||
|
%{_libdir}/midori/libtransfers.so
|
||||||
|
#%{_libdir}/midori/libweb-cache.so
|
||||||
|
%{_datadir}/appdata/midori.appdata.xml
|
||||||
|
%{_datadir}/applications/midori.desktop
|
||||||
|
%{_datadir}/applications/midori-private.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*x*/*/*.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
||||||
|
%dir %{_datadir}/midori
|
||||||
|
%dir %{_datadir}/midori/res
|
||||||
|
%{_datadir}/midori/res/*
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
#%files devel
|
||||||
|
#%defattr(-,root,root)
|
||||||
|
#%{_includedir}/midori-%{majver}/extensions/*.h
|
||||||
|
#%{_datadir}/vala/vapi/*.deps
|
||||||
|
#%{_datadir}/vala/vapi/*.vapi
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_docdir}/midori
|
||||||
|
%{_docdir}/midori/*
|
||||||
|
#%{_datadir}/gtk-doc/html/midori/*
|
||||||
|
%doc ChangeLog README TODO
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 0.5.8-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Jan 18 2014 Automatic Build System <autodist@mambasoft.it> 0.5.7-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 0.5.5-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Jul 19 2013 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
|
||||||
|
- update to 0.5.4
|
||||||
|
|
||||||
|
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri May 17 2013 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Apr 08 2013 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Sep 21 2012 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue May 15 2012 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Apr 23 2012 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 09 2012 Automatic Build System <autodist@mambasoft.it> 0.4.4-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Dec 18 2011 Automatic Build System <autodist@mambasoft.it> 0.4.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Dec 07 2011 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Aug 04 2011 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Jun 25 2011 Automatic Build System <autodist@mambasoft.it> 0.3.6-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sat Feb 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-2mamba
|
||||||
|
- added requirement for ca-certificates
|
||||||
|
|
||||||
|
* Fri Feb 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1mamba
|
||||||
|
- update to 0.3.2
|
||||||
|
|
||||||
|
* Tue Nov 30 2010 gil <puntogil@libero.it> 0.2.9-1mamba
|
||||||
|
- update to 0.2.9
|
||||||
|
|
||||||
|
* Sat Oct 23 2010 gil <puntogil@libero.it> 0.2.8-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user