Browse Source

2014-10-25 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* kdebase3, kdepim3, kdewebdev: update
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9021 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
96c9b64933
3 changed files with 104 additions and 74 deletions
  1. 45 40
      k/kdebase3/kdebase3-vl.spec
  2. 23 18
      k/kdepim3/kdepim3-vl.spec
  3. 36 16
      k/kdewebdev/kdewebdev-vl.spec

+ 45 - 40
k/kdebase3/kdebase3-vl.spec

@@ -1,17 +1,17 @@
 %define pamservice kde
 %define gdmsession kde.desktop
 %define vine5 %(grep -c 5. /etc/vine-release)
-%define make_cvs 1
 
 Name: kdebase3
 Version: 3.5.10
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 Summary: KDE 3 core files
 Summary(ja): KDE 3 基本ファイル
 
-Group: User Interface/Desktops
+# programs: GPLv2, libs: LGPLv2
 License: GPLv2
 URL: http://www.kde.org/
+Group: User Interface/Desktops
 
 Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdebase-%{version}.tar.bz2
 Source1: konsole.desktop
@@ -57,13 +57,28 @@ Patch31: kdebase-3.5.10-konsolesu-kdesu.patch
 Patch36: kdebase-3.5.9-userdiskmount.patch
 # don't link kcm_colors against libkrdb (and don't call runRdb)
 Patch37: kdebase-3.5.10-libkrdb_dep.patch
+# find the Samba 4 libsmbclient.h using pkg-config (fixes FTBFS)
+Patch39: kdebase-3.5.10-samba4.patch
+# remove obsolete MimeType from printmgr/printers.desktop (#587568)
+# patch by Ilya Chernykh from openSUSE
+Patch40: kdebase-3.5.10-printmanager-desktop-fix.patch
+
 # http://aseigo.blogspot.com/2008/10/dear-kde3-kdesktop-users.html
 Patch100: kdebase-3.5.10-minicli-decimal-comma.patch
 Patch101: kdebase-3.5.10-ossl-1.x.patch
-Patch102: arts-acinclude.patch
 
 # security fixes
 
+# fixes to common KDE 3 autotools machinery
+# tweak autoconfigury so that it builds with autoconf 2.64 or 2.65
+Patch300: kde3-acinclude.patch
+# remove flawed and obsolete automake version check in admin/cvs.sh
+Patch301: kde3-automake-version.patch
+# fix build failure with automake 1.13: add the --add-missing --copy flags
+# also add --force-missing to get aarch64 support (#925029/#925627)
+Patch302: kde3-automake-add-missing.patch
+
+
 # Vine patches (700-)
 Patch703: kdebase-3.5.5-pamd.patch
 Patch705: konsole-3.5.8-final.diff
@@ -71,35 +86,22 @@ Patch706: kdebase-3.5.8-fix_ftbfs_ucred_redefinition.patch
 # KDE.gr.jp patches (800-)
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: automake libtool
 BuildRequires: kdelibs3-devel >= %{version}
 BuildRequires: libxslt-devel libxml2-devel
+BuildRequires: libsmbclient-devel
 BuildRequires: pam-devel
 BuildRequires: gettext
 BuildRequires: perl
 BuildRequires: sed
-%if %{make_cvs}
-BuildRequires: automake libtool
-%endif
 BuildRequires: pkgconfig
 BuildRequires: doxygen
 
-BuildRequires: arts-devel
-BuildRequires: dbus-devel dbus-qt3-devel hal-devel
 BuildRequires: bzip2-devel
 BuildRequires: freetype2-devel
 BuildRequires: openldap-devel 
 BuildRequires: cyrus-sasl-devel
 BuildRequires: libart_lgpl-devel
-BuildRequires: libraw1394-devel
-BuildRequires: libusb-devel
-BuildRequires: OpenEXR-devel
-BuildRequires: gtk2-devel
-BuildRequires: openssl-devel
-%if %{?_dist_release} == "vl4"
-BuildRequires: samba-libsmbclient-devel >= 3.0.4 
-BuildRequires: XOrg-devel XOrg-gl-devel
-%else
-BuildRequires: libsmbclient-devel >= 3.0.4 
 ## X11 support details (xmkmf, bdftopcf)
 BuildRequires: xorg-x11-font-utils
 BuildRequires: imake
@@ -116,9 +118,12 @@ BuildRequires: libXext-devel
 BuildRequires: libXtst-devel
 BuildRequires: libXxf86misc-devel
 BuildRequires: libxkbfile-devel
-BuildRequires: mesa-libGL-devel mesa-libGLU-devel
-%endif
-BuildRequires: cdparanoia cdparanoia-devel
+
+BuildRequires: libraw1394-devel
+BuildRequires: libusb-devel
+BuildRequires: OpenEXR-devel
+BuildRequires: gtk2-devel
+
 
 Requires: qt >= 3.3.2
 Requires: kdelibs3 >= %{version}
@@ -129,14 +134,8 @@ Requires: hicolor-icon-theme
 Requires: pm-utils
 %endif
 
-%if %{?_dist_release} == "vl4"
-Requires: XOrg-libs XOrg-xfs xinitrc 
-Requires: samba-libsmbclient
-Prereq: XOrg-font-utils
-%else
 Requires: xorg-x11-xinit
 Requires(post): xorg-x11-font-utils
-%endif
 
 Obsoletes: kdpms kapm kapmd kcmlaptop
 Obsoletes: kdebase < %{version}-%{release}
@@ -172,7 +171,7 @@ Kate plugins or KWin styles.
 %patch8 -p1 -b .logo
 %patch10 -p1 -b .kdestop-konsole
 %patch11 -p1 -b .xdg
-%patch13 -p1 -b .dbus
+#patch13 -p1 -b .dbus
 %patch14 -p1 -b .kdm-readme
 %patch15 -p1 -b .konsole-fonts
 %patch18 -p1 -b .klipper
@@ -188,19 +187,17 @@ Kate plugins or KWin styles.
 %patch31 -p1 -b .konsolesu-kdesu
 %patch36 -p1 -b .userdiskmount
 %patch37 -p1 -b .libkrdb_dep
+%patch39 -p1 -b .samba4
+%patch40 -p1 -b .printmanager-desktop
+
 %patch100 -p1 -b .minicli-decimal-comma
 %patch101 -p1 -b .ossl-1.x
-%patch102 -p1 -b .autoconf
 
 # Vine patches
 %patch703 -p1 -b .pamd
 %patch705 -p0
 %patch706 -p1 -b .ucred
 
-#tar xjf %{SOURCE100}
-#%patch100 -p0 -b .toc
-#%patch101 -p1 -b .build
-
 # security fixes
 
 # hacks to omit stuff that doesn't support DO_NOT_COMPILE
@@ -220,11 +217,11 @@ perl -pi -e "s,^#define.*KONQUEROR_VERSION.*,#define KONQUEROR_VERSION \"%{versi
 # add missing icons for package_games_kids
 install -p -m644 %{SOURCE9} %{SOURCE10} %{SOURCE11} pics/crystalsvg/
 
-%if %{make_cvs}
-# hack/fix for newer automake
-  sed -iautomake -e 's|automake\*1.10\*|automake\*1.1[0-5]\*|' admin/cvs.sh
-  make -f admin/Makefile.common cvs
-%endif
+%patch300 -p1 -b .acinclude
+%patch301 -p1 -b .automake-version
+%patch302 -p1 -b .automake-add-missing
+make -f admin/Makefile.common cvs
+
 
 %build
 # set some default enviroments
@@ -241,9 +238,10 @@ export DO_NOT_COMPILE="$DO_NOT_COMPILE khotkeys kdepasswd kcheckpass drkonqi"
 %configure \
     --with-qt-libraries=$QTDIR/lib \
     --enable-new-ldflags \
+    --enable-silent-rules \
     --disable-dependency-tracking \
     --with-pam=yes \
-    --with-kde-pam=kdm \
+    --with-kdm-pam=kdm \
     --with-kcp-pam=kcheckpass \
     --with-kss-pam=kscreensaver \
     --with-libraw1394 \
@@ -256,6 +254,8 @@ export DO_NOT_COMPILE="$DO_NOT_COMPILE khotkeys kdepasswd kcheckpass drkonqi"
     --sysconfdir=%{_sysconfdir} \
     --enable-final \
     --disable-debug \
+    --disable-warnings \
+    --without-hal \
     --includedir=%{_includedir}/kde 
 
 make %{?_smp_mflags}
@@ -467,6 +467,11 @@ fi
 %exclude %{_libdir}/libkdeinit_*.so
 
 %changelog
+* Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.5.10-5
+- dropt Patch13 not to built with dbus
+- added Patch39 and 40
+- added Patch300-302 instead of Patch102
+
 * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.10-4
 - rebuild with libraw1394-2.1.0
 - add BuildRequires: openssl-devel

+ 23 - 18
k/kdepim3/kdepim3-vl.spec

@@ -1,35 +1,35 @@
-%define beta 0
-%define vine4 %(grep -c 4. /etc/vine-release)
-
 Name: kdepim3
 Summary: Compatibility support for kdepim3 
 Version: 3.5.10
-Release: 1%{?_dist_release}
-Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdepim-%{version}.tar.bz2
-# KDE.org patches
-# KDE.gr.jp patches
+Release: 3%{?_dist_release}
 
 URL: http://www.kde.org/
 Group: Applications/Productivity
 License: GPLv2
 
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdepim-%{version}.tar.bz2
+Patch0: kdepim-3.5.10-gcc.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: bison flex
+BuildRequires: bison
 BuildRequires: desktop-file-utils
+BuildRequires: flex
 BuildRequires: kdelibs3-devel >= %{version}
-BuildRequires: zlib-devel
 BuildRequires: libart_lgpl-devel
 BuildRequires: cyrus-sasl-devel
 BuildRequires: gpgme-devel
 BuildRequires: libXpm-devel libXScrnSaver-devel
-BuildRequires: libmal-devel
-BuildRequires: pilot-link-devel >= 0.9.5
+BuildRequires: zlib-devel
+BuildRequires: python-devel
+#BuildRequires: libmal-devel
+#BuildRequires: pilot-link-devel >= 0.9.5
 
 %description
 %{summary}, including libkcal.
 
 %package libs
 Summary: Runtime files for %{name}
+Summary(ja): %{name} のランタイムライブラリ
 Group: System Environment/Libraries
 Requires: kdelibs3 >= %{version} 
 
@@ -38,6 +38,7 @@ Requires: kdelibs3 >= %{version}
 
 %package devel
 Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
 Group: Development/Libraries
 Requires: %{name}-libs = %{version}-%{release}
 Requires: kdelibs3-devel
@@ -48,10 +49,7 @@ Install %{name}-devel if you want to write or compile %{name} plugins.
 
 %prep
 %setup -q -n kdepim-%{version}
-
-%ifarch ia64 s390 s390x
-rm -rf kpilot doc/kpilot
-%endif
+%patch0 -p1 -b .gcc47
 
 %build
 unset QTDIR || : ; . /etc/profile.d/qt.sh
@@ -68,8 +66,8 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh
     --with-gpgsm=%{_bindir}/gpgsm \
     --with-sasl \
     --without-gnokii \
-    --with-mal \
-    --with-pilot-link
+    --without-mal \
+    --without-pilot-link
 
 for lib in ktnef libkmime libemailfunctions libkcal libkdepim; do
 make %{?_smp_mflags} -C ${lib}
@@ -95,7 +93,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/mimelnk
 rm -rf $RPM_BUILD_ROOT%{_datadir}/apps/ktnef
 rm -f  $RPM_BUILD_ROOT%{_bindir}/ktnef
 
-#cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/config/
 
 %post libs -p /sbin/ldconfig
 
@@ -123,6 +120,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libkcal.so
 
 %changelog
+* Fri Oct 24 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-3
+- added Patch0 from fc
+- not link to libmal and pilot-link
+
+* Sat May 26 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-2
+- rebuilt with rpm-4.8.1-3
+- added BR: arts-devel
+
 * Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-1
 - updated to 3.5.10
 - built with new toolchain

+ 36 - 16
k/kdewebdev/kdewebdev-vl.spec

@@ -1,14 +1,12 @@
-%define make_cvs 1
-
 Name: kdewebdev
 Summary: KDE Web development applications
 Summary(ja): KDE Web 開発アプリケーション集
 Version: 3.5.10
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 
 License: GPLv2
 URL: http://kdewebdev.org/
-Group: Applications/Development
+Group: Applications/Editors
 
 Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
 Source1: http://download.sourceforge.net/quanta/css.tar.bz2
@@ -19,18 +17,33 @@ Source5: hi48-app-kxsldbg.png
 
 Patch0: javascript.patch
 Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
-Patch2: arts-acinclude.patch
+##Patch2: arts-acinclude.patch
+# fixes crash in kimagemapeditor when using freehand tool
+Patch3: kdewebdev-3.5.10-fix-freehand-crash.patch
+# fixes using a temporary as a lvalue in KafkaPart (FTBFS with g++ 4.6, probably
+# silently did the wrong thing before)
+Patch4: kdewebdev-3.5.10-gcc46.patch
+# docbParseFile is dropped in libxml2-2.9 amd later
+Patch6: kdewebdev-3.5.10-docbParseFile.patch
+
+# fixes to common KDE 3 autotools machinery
+# tweak autoconfigury so that it builds with autoconf 2.64 or 2.65
+Patch300: kde3-acinclude.patch
+# remove flawed and obsolete automake version check in admin/cvs.sh
+Patch301: kde3-automake-version.patch
+# fix build failure with automake 1.13: add the --add-missing --copy flags
+# also add --force-missing to get aarch64 support (#925029/#925627)
+Patch302: kde3-automake-add-missing.patch
+
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-%if %{make_cvs}
 BuildRequires: automake libtool
-%endif
 BuildRequires: desktop-file-utils
 BuildRequires: kdelibs3-devel >= %{version}
-BuildRequires: arts-devel
 BuildRequires: libxslt-devel >= 1.0.18
 BuildRequires: libxml2-devel >= 2.6.0
 BuildRequires: perl
+Requires: tidy
 
 Provides: kdewebdev3 = %{version}-%{release}
 
@@ -66,19 +79,22 @@ Provides: kdewebdev3-devel = %{version}-%{release}
 %description devel
 Development files for kdewebdev.
 
+
 %prep
 %setup -q -a 1 -a 2 -a 3 -a 4
 %patch0 -p0 -b .javascript
 %patch1 -p1 -b .kxsldbg-icons
-%patch2 -p1 -b .autoconf
+##patch2 -p1 -b .autoconf
+%patch3 -p1 -b .fix-freehand-crash
+%patch4 -p1 -b .gcc46
+%patch6 -p1 -b .docbParseFile
 
 install -m644 -p %{SOURCE5} kxsldbg/
 
-%if %{make_cvs}
-# hack/fix for newer automake
-  sed -iautomake -e 's|automake\*1.10\*|automake\*1.1[0-5]\*|' admin/cvs.sh
-  make -f admin/Makefile.common cvs
-%endif
+%patch300 -p1 -b .acinclude
+%patch301 -p1 -b .automake-version
+%patch302 -p1 -b .automake-add-missing
+make -f admin/Makefile.common cvs
 
 
 %build
@@ -158,8 +174,8 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 %defattr(-,root,root)
 %doc %{_datadir}/doc/HTML/en/*
 %{_bindir}/*
-%{_libdir}/*.so.*
-%{_libdir}/*.la
+%{_libdir}/lib*.so.*
+%{_libdir}/lib*.la
 %{_libdir}/kde3/*
 %{_datadir}/applications/*
 %{_datadir}/applnk
@@ -176,6 +192,10 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 %{_libdir}/*.so
 
 %changelog
+* Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.5.10-4
+- added Patch3, 4 and 6 from fc
+- added Patch300-302 from fc instead of Patch2
+
 * Thu Dec 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-3
 - fixed summary