summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/other/kdmtheme
diff options
context:
space:
mode:
Diffstat (limited to 'mandriva/2010.2/other/kdmtheme')
-rw-r--r--mandriva/2010.2/other/kdmtheme/kde-3.5.10-acinclude.patch66
-rw-r--r--mandriva/2010.2/other/kdmtheme/kde3-kdmtheme.spec174
-rw-r--r--mandriva/2010.2/other/kdmtheme/kdmtheme-0.8.2-use-kdesu.patch10
-rw-r--r--mandriva/2010.2/other/kdmtheme/kdmtheme-1.2.2-new-autotools.patch29
4 files changed, 279 insertions, 0 deletions
diff --git a/mandriva/2010.2/other/kdmtheme/kde-3.5.10-acinclude.patch b/mandriva/2010.2/other/kdmtheme/kde-3.5.10-acinclude.patch
new file mode 100644
index 000000000..0610d6df5
--- /dev/null
+++ b/mandriva/2010.2/other/kdmtheme/kde-3.5.10-acinclude.patch
@@ -0,0 +1,66 @@
+2009-12-10 Stepan Kasal <skasal@redhat.com>
+
+The change of implementation of AC_REQUIRE in 2.64 caused a regression
+in the arts project.
+This can be fixed by shuffling some macro calls.
+
+I suppose that most of this patch will not be needed with a future
+release of Autoconf.
+But the last chunk of this patch is a real bug in this source and
+should go upstream.
+
+--- arts-1.5.10/admin/acinclude.m4.in 2008-08-20 18:07:05.000000000 +0200
++++ arts-1.5.10/admin/acinclude.m4.in 2009-12-09 17:30:57.000000000 +0100
+@@ -3081,8 +3081,18 @@
+ fi
+ ])
+
++AC_DEFUN([AC_CHECK_COMPILERS_CC],
++[
++ dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
++ CFLAGS=" $CFLAGS"
++ AC_PROG_CC
++ CXXFLAGS=" $CXXFLAGS"
++ AC_PROG_CXX
++])
++
+ AC_DEFUN([AC_CHECK_COMPILERS],
+ [
++ AC_REQUIRE([AC_CHECK_COMPILERS_CC])
+ AC_ARG_ENABLE(debug,
+ AC_HELP_STRING([--enable-debug=ARG],[enables debug symbols (yes|no|full) [default=no]]),
+ [
+@@ -3141,11 +3151,6 @@
+ [kde_use_profiling="no"]
+ )
+
+- dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
+- CFLAGS=" $CFLAGS"
+-
+- AC_PROG_CC
+-
+ AC_PROG_CPP
+
+ if test "$GCC" = "yes"; then
+@@ -3174,10 +3179,6 @@
+ LDFLAGS=""
+ fi
+
+- CXXFLAGS=" $CXXFLAGS"
+-
+- AC_PROG_CXX
+-
+ KDE_CHECK_FOR_BAD_COMPILER
+
+ if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
+@@ -3503,8 +3504,8 @@
+ AC_REQUIRE([AC_LIBTOOL_DLOPEN])
+ AC_REQUIRE([KDE_CHECK_LIB64])
+
+-AC_OBJEXT
+-AC_EXEEXT
++AC_REQUIRE([AC_OBJEXT])
++AC_REQUIRE([AC_EXEEXT])
+
+ AM_PROG_LIBTOOL
+ AC_LIBTOOL_CXX
diff --git a/mandriva/2010.2/other/kdmtheme/kde3-kdmtheme.spec b/mandriva/2010.2/other/kdmtheme/kde3-kdmtheme.spec
new file mode 100644
index 000000000..15c51d1d6
--- /dev/null
+++ b/mandriva/2010.2/other/kdmtheme/kde3-kdmtheme.spec
@@ -0,0 +1,174 @@
+%define __libtoolize /bin/true
+%define oname kdmtheme
+%define name kde3-%{oname}
+
+Name: %{name}
+Summary: Kdmtheme allow to change kdm theme
+Version: 1.2.2
+Release: %mkrel 4
+Source: http://beta.smileaf.org/files/kdmtheme/%{oname}-%{version}.tar.bz2
+URL: http://smileaf.org/
+Group: Graphical desktop/KDE3
+BuildRoot: %_tmppath/%oname-buildroot
+License: GPLv2+
+BuildRequires: kde3-macros
+BuildRequires: kdelibs-devel
+BuildRequires: desktop-file-utils
+Requires: kdebase-session-plugins
+Patch0: kdmtheme-0.8.2-use-kdesu.patch
+Patch1: kde-3.5.10-acinclude.patch
+Patch2: kdmtheme-1.2.2-new-autotools.patch
+
+%description
+Kdmtheme allow to change theme in kdm when we used gdm theme
+
+%prep
+%setup -q -n %{oname}-%{version}
+%patch0 -p1 -b .fix_use_kdmtheme
+%patch1 -p1
+%patch2 -p1 -b .autotools
+
+%build
+make -f Makefile.cvs
+%configure_kde3
+
+%make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall_std
+
+desktop-file-install --vendor='' \
+ --dir %buildroot%_kde3_datadir/applications/kde/ \
+ --remove-key='Encoding' \
+ --add-category='DesktopSettings;Settings' \
+ %buildroot%_kde3_datadir/applications/kde/*.desktop
+
+%find_lang %oname --with-html
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %mdkversion < 200900
+%post
+%{update_menus}
+
+%postun
+%{clean_menus}
+%endif
+
+%files -f %oname.lang
+%defattr(-,root,root,0755)
+%_kde3_libdir/kde3/kcm_kdmtheme.la
+%_kde3_libdir/kde3/kcm_kdmtheme.so
+%_kde3_datadir/applications/kde/*
+
+
+%changelog
+* Wed Jul 18 2011 Tim Williams <tim@my-place.org.uk> 1.2.2-3mvt2010.2
++ Rebuild for Trinity
+
+* Wed Jul 21 2010 Tim Williams <tim@my-place.org.uk> 1.2.2-3mvt2010.0
++ Repackage for MDV 2010.1
+
+* Tue Feb 09 2010 Atilla ÖNTAŞ <atilla_ontas@mandriva.org> 1.2.2-2mvt2010.0
+- Fix built with autoconf 2.65 and automake 1.11
+- Fix SPEC according to filetriggers policy
+- Change package group
+
+* Fri Nov 20 2009 Atilla ÖNTAŞ <atilla_ontas@mandriva.org> 1.2.2-1mvt2010.0
++ Rebuild for 2010.0
+
+* Fri Feb 08 2008 Funda Wang <fundawang@mandriva.org> 1.2.2-1mdv2008.1
++ Revision: 163969
+- add more categories for desktop entry
+- New version 1.2.
+
+ + Thierry Vignaud <tvignaud@mandriva.com>
+ - rebuild
+ - kill re-definition of %%buildroot on Pixel's request
+ - buildrequires X11-devel instead of XFree86-devel
+
+ + Olivier Blin <oblin@mandriva.com>
+ - restore BuildRoot
+
+* Mon May 07 2007 Laurent Montel <lmontel@mandriva.org> 1.1.3-1mdv2008.0
++ Revision: 23970
+- 1.1.3
+
+
+* Wed Jan 17 2007 Laurent Montel <lmontel@mandriva.com> 1.1.2-2mdv2007.0
++ Revision: 109749
+- Fix autoconf detect
+- Fix requires
+- Import kdmtheme
+
+* Sat Jun 24 2006 Laurent MONTEL <lmontel@mandriva.com> 1.1.2-1mdk
+- 1.1.2
+
+* Tue May 09 2006 Laurent MONTEL <lmontel@mandriva.com> 1.1-2mdk
+- Rebuild to generate category
+
+* Fri Mar 24 2006 Laurent MONTEL <lmontel@mandriva.com> 1.1-1mdk
+- 1.1
+
+* Tue Jan 31 2006 Laurent MONTEL <lmontel@mandriva.com> 1.0.1-1mdk
+- 1.0.1
+
+* Fri Dec 30 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-1mdk
+- 0.9.2
+
+* Thu Jul 21 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.1-1mdk
+- 0.9.1
+
+* Sat Jul 09 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9-4mdk
+- Rebuild
+
+* Fri Apr 08 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9-3mdk
+- Fix compile on x86_64 (copy/paste is bad !!!)
+
+* Thu Apr 07 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9-2mdk
+- Add patch2: fix disable widget
+
+* Thu Apr 07 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9-1mdk
+- 0.9
+
+* Tue Apr 05 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.8.2-3mdk
+- Patch1: Fix use kdesu
+
+* Fri Mar 25 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.8.2-2mdk
+- Fix build on x86_64
+
+* Fri Mar 25 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.8.2-1mdk
+- 0.8.2
+
+* Thu Mar 24 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.6-1mdk
+- 0.6
+- Integrate my other patchs
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.5-1mdk
+- 0.5
+- Remove all my patch (all was add into release 0.5)
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-7mdk
+- Add patch7: disable action when is not root
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-6mdk
+- Add patch6: fix rootonly
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-5mdk
+- Fix menu entry
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-4mdk
+- Add patch5: fix reference
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-3mdk
+- Add patch4: fix crash when "themes" doesn't exist
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-2mdk
+- Add patch3: fix mem leak
+- Fix url
+
+* Wed Mar 23 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.3-1mdk
+- First package
+
diff --git a/mandriva/2010.2/other/kdmtheme/kdmtheme-0.8.2-use-kdesu.patch b/mandriva/2010.2/other/kdmtheme/kdmtheme-0.8.2-use-kdesu.patch
new file mode 100644
index 000000000..823f23436
--- /dev/null
+++ b/mandriva/2010.2/other/kdmtheme/kdmtheme-0.8.2-use-kdesu.patch
@@ -0,0 +1,10 @@
+--- kdmtheme-0.8.2/src/kdmtheme.desktop-- 2005-04-04 15:40:46.372622342 +0200
++++ kdmtheme-0.8.2/src/kdmtheme.desktop 2005-04-04 15:40:58.752867432 +0200
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+ Encoding=UTF-8
+-Exec=kcmshell kdmtheme
++Exec=kdesu kcmshell kdmtheme
+ Icon=kdmconfig
+ Type=Application
+
diff --git a/mandriva/2010.2/other/kdmtheme/kdmtheme-1.2.2-new-autotools.patch b/mandriva/2010.2/other/kdmtheme/kdmtheme-1.2.2-new-autotools.patch
new file mode 100644
index 000000000..c5f794bb3
--- /dev/null
+++ b/mandriva/2010.2/other/kdmtheme/kdmtheme-1.2.2-new-autotools.patch
@@ -0,0 +1,29 @@
+--- kdmtheme-1.2.2/admin/cvs.sh.autotools 2006-11-09 23:42:52.000000000 +0100
++++ kdmtheme-1.2.2/admin/cvs.sh 2008-02-08 08:24:11.000000000 +0100
+@@ -32,7 +32,7 @@
+ required_autoconf_version="2.53 or newer"
+ AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
+ case $AUTOCONF_VERSION in
+- Autoconf*2.5* | autoconf*2.5* ) : ;;
++ Autoconf*2.5* | autoconf*2.5* | autoconf*2.6* ) : ;;
+ "" )
+ echo "*** AUTOCONF NOT FOUND!."
+ echo "*** KDE requires autoconf $required_autoconf_version"
+@@ -47,7 +47,7 @@
+
+ AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
+ case $AUTOHEADER_VERSION in
+- Autoconf*2.5* | autoheader*2.5* ) : ;;
++ Autoconf*2.5* | autoheader*2.5* | autoheader*2.6* ) : ;;
+ "" )
+ echo "*** AUTOHEADER NOT FOUND!."
+ echo "*** KDE requires autoheader $required_autoconf_version"
+@@ -68,7 +68,7 @@
+ echo "*** KDE requires automake $required_automake_version"
+ exit 1
+ ;;
+- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9*)
++ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11* )
+ echo "*** $AUTOMAKE_STRING found."
+ UNSERMAKE=no
+ ;;