|
@@ -1,12 +1,9 @@
|
|
-#define svnrev 1449
|
|
|
|
-#define alphatag 20090430svn%{svnrev}
|
|
|
|
-
|
|
|
|
Name: google-gadgets
|
|
Name: google-gadgets
|
|
Summary: Google Gadgets platform for Linux
|
|
Summary: Google Gadgets platform for Linux
|
|
Version: 0.11.2
|
|
Version: 0.11.2
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 4%{?_dist_release}
|
|
|
|
|
|
-Group: User Interface/Desktops
|
|
+Group: System Environment/Libraries
|
|
License: ASL 2.0
|
|
License: ASL 2.0
|
|
URL: http://code.google.com/p/google-gadgets-for-linux/
|
|
URL: http://code.google.com/p/google-gadgets-for-linux/
|
|
|
|
|
|
@@ -15,28 +12,32 @@ Distribution: Vine Linux
|
|
Packager: inagaki,yasumichi
|
|
Packager: inagaki,yasumichi
|
|
|
|
|
|
Source0: http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-%{version}.tar.bz2
|
|
Source0: http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-%{version}.tar.bz2
|
|
-#Source0: %{name}-%{version}-r%{svnrev}.tar.bz2
|
|
+# Vine Patches
|
|
Patch0: NM-0.9.patch
|
|
Patch0: NM-0.9.patch
|
|
|
|
+Patch1: nm-mobile-devtypes.patch
|
|
|
|
+Patch2: glib-2.32.patch
|
|
|
|
+Patch3: gcc-4.7.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-
|
|
|
|
-BuildRequires: curl-devel libxml2-devel zlib-devel libtool-ltdl-devel
|
|
|
|
-# still needed even if we're not buliding gtkmoz element, for JavaScript
|
|
|
|
-#%%if %{?_dist_release} == "vl5"
|
|
|
|
-#BuildRequires: xulrunner-devel-unstable
|
|
|
|
-#%%else
|
|
|
|
-#BuildRequires: xulrunner-devel
|
|
|
|
-#%%endif
|
|
|
|
BuildRequires: WebKit-gtk-devel
|
|
BuildRequires: WebKit-gtk-devel
|
|
-BuildRequires: dbus-devel gstreamer-devel gstreamer-plugins-base-devel
|
|
+BuildRequires: cairo-devel
|
|
-BuildRequires: cairo-devel gtk2-devel librsvg2-devel
|
|
+BuildRequires: curl-devel
|
|
-BuildRequires: qt4-devel zip
|
|
+BuildRequires: dbus-devel
|
|
-# Desktop integration
|
|
+BuildRequires: desktop-file-utils
|
|
-BuildRequires: NetworkManager-devel startup-notification-devel
|
|
+BuildRequires: gstreamer-devel
|
|
-# libxml2-devel needed for desktop file generation
|
|
+BuildRequires: gstreamer-plugins-base-devel
|
|
-BuildRequires: libxml2-devel desktop-file-utils
|
|
+BuildRequires: gtk2-devel
|
|
|
|
+BuildRequires: librsvg2-devel
|
|
|
|
+BuildRequires: libtool-ltdl-devel
|
|
|
|
+BuildRequires: libxml2-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig
|
|
-Requires: %{name}-frontend = %{version}-%{release}
|
|
+BuildRequires: qt4-devel
|
|
|
|
+BuildRequires: zip
|
|
|
|
+BuildRequires: zlib-devel
|
|
|
|
+# Desktop integration
|
|
|
|
+BuildRequires: NetworkManager-devel
|
|
|
|
+BuildRequires: startup-notification-devel
|
|
|
|
+#Requires: %{name}-frontend = %{version}-%{release}
|
|
Requires: hicolor-icon-theme
|
|
Requires: hicolor-icon-theme
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -85,6 +86,10 @@ developing applications that use %{name}.
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-for-linux-%{version}
|
|
%setup -q -n %{name}-for-linux-%{version}
|
|
%patch0 -p1
|
|
%patch0 -p1
|
|
|
|
+%patch1 -p1
|
|
|
|
+%patch2 -p1
|
|
|
|
+%patch3 -p1
|
|
|
|
+
|
|
# Permission fixes
|
|
# Permission fixes
|
|
chmod -x ggadget/qt/utilities.h
|
|
chmod -x ggadget/qt/utilities.h
|
|
# Fix invalid desktop file MIME type
|
|
# Fix invalid desktop file MIME type
|
|
@@ -95,9 +100,6 @@ done
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-#autotools/bootstrap.sh
|
|
|
|
-#ln -s %{_datadir}/automake-*/mkinstalldirs libltdl/
|
|
|
|
-
|
|
|
|
%configure --disable-static \
|
|
%configure --disable-static \
|
|
--with-browser-plugins-dir=%{_libdir}/mozilla/plugins \
|
|
--with-browser-plugins-dir=%{_libdir}/mozilla/plugins \
|
|
--disable-gtkmoz-browser-element --disable-smjs-script-runtime
|
|
--disable-gtkmoz-browser-element --disable-smjs-script-runtime
|
|
@@ -213,6 +215,9 @@ update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.11.2-4
|
|
|
|
+- added Patch1, 2 and 3
|
|
|
|
+
|
|
* Sat Aug 27 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.11.2-3
|
|
* Sat Aug 27 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.11.2-3
|
|
- add patch for building with NetworkManager-0.9.0
|
|
- add patch for building with NetworkManager-0.9.0
|
|
- add Vendor, Distribution and Packager tag
|
|
- add Vendor, Distribution and Packager tag
|