pkgsrc/x11/kdebase2/patches/patch-ai
skrll a100f5d455 Update to KDE 2.2.2
Closes pkg/14728 from Mark Davies <mark@mcs.vuw.ac.nz>. Changes from him
with updates from myself.

From www.kde.org... The principal improvements over KDE 2.2.1, release two
months ago, include:

o security-related
	- SSL certificate loading
	- symlink vulnerability in .wmrc access by KDM introduced in 2.2
	- security problem with eFax (used by klprfax)
	- potential problem in PAM invocation by KDM
	- potential harmful side-effect of failed KDM session starts

o new features
	- added support for CodeWeavers' CrossOver plug-in (provides support
	  for QuickTime, etc.)
	- added support for the wheelmouse for scrolling through the
	  KGhostview PS/PDF viewer component
	- ability to search for multiple patterns at a time in the file
	  search dialog
	- debugging multi-threaded applications with KDevelop

o improvements/fixes
	- handling of HTTP links that redirect to FTP
	- POST using SSL through a proxy and sending headers through proxies
	- saving of recently-selected files in the file dialog
	- handling of non-ASCII characters over SMB
	- toolbar button captions with certain styles
	- selecting items with the mouse in Konqueror
	- sorting in Konqueror's textview
	- saving current settings as a theme in the theme manager
	- crashes in KMail with certain mails
	- crash on invoking the KDM chooser
	- non-Latin languages with KDevelop

performance
	- icon loading optimized
	- file dialog speedups
	- stop spinning SMB client processes
	- handling of large files in Kate
2001-12-03 15:37:14 +00:00

202 lines
9.4 KiB
Text

$NetBSD: patch-ai,v 1.4 2001/12/03 15:37:19 skrll Exp $
--- kcontrol/access/Makefile.in.orig Sat Nov 10 07:58:17 2001
+++ kcontrol/access/Makefile.in
@@ -277,15 +277,19 @@
bin_PROGRAMS = kaccess
-kaccess_SOURCES = dummy.cpp
+kaccess_SOURCES = kaccess_main.cpp
kaccess_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-kaccess_LDADD = kaccess.la
+kaccess_LDADD = libkaccess_sl.la
-kde_module_LTLIBRARIES = libkcm_access.la kaccess.la
+kde_module_LTLIBRARIES = libkcm_access.la libkaccess_sl.la kaccess.la
-kaccess_la_SOURCES = kaccess.cpp main.cpp
+libkaccess_sl_la_SOURCES = kaccess.cpp main.cpp
+libkaccess_sl_la_LDFLAGS = $(all_libraries)
+libkaccess_sl_la_LIBADD = $(LIB_KDEUI)
+
+kaccess_la_SOURCES = kaccess_main.cpp
kaccess_la_LDFLAGS = $(all_libraries) -module -avoid-version
-kaccess_la_LIBADD = $(LIB_KDEUI)
+kaccess_la_LIBADD = libkaccess_sl.la $(LIB_KDEUI)
libkcm_access_la_SOURCES = kcmaccess.cpp
libkcm_access_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
@@ -318,21 +322,25 @@
libkcm_access_la_meta_unload.lo
@KDE_USE_FINAL_FALSE@libkcm_access_la_OBJECTS = $(libkcm_access_la_nofinal_OBJECTS)
@KDE_USE_FINAL_TRUE@libkcm_access_la_OBJECTS = $(libkcm_access_la_final_OBJECTS)
-kaccess_la_DEPENDENCIES =
-#>- kaccess_la_OBJECTS = kaccess.lo main.lo
+libkaccess_sl_la_DEPENDENCIES =
+#>- libkaccess_sl_la_OBJECTS = kaccess.lo main.lo
#>+ 5
-kaccess_la_final_OBJECTS = kaccess_la.all_cpp.lo
-kaccess_la_nofinal_OBJECTS = kaccess.lo main.lo \
- kaccess_la_meta_unload.lo
-@KDE_USE_FINAL_FALSE@kaccess_la_OBJECTS = $(kaccess_la_nofinal_OBJECTS)
-@KDE_USE_FINAL_TRUE@kaccess_la_OBJECTS = $(kaccess_la_final_OBJECTS)
+libkaccess_sl_la_final_OBJECTS = libkaccess_sl_la.all_cpp.lo
+libkaccess_sl_la_nofinal_OBJECTS = kaccess.lo main.lo \
+ libkaccess_sl_la_meta_unload.lo
+@KDE_USE_FINAL_FALSE@libkaccess_sl_la_OBJECTS = $(libkaccess_sl_la_nofinal_OBJECTS)
+@KDE_USE_FINAL_TRUE@libkaccess_sl_la_OBJECTS = $(libkaccess_sl_la_final_OBJECTS)
+kaccess_la_DEPENDENCIES = libkaccess_sl.la
+#>- kaccess_la_OBJECTS = kaccess_main.lo
+#>+ 1
+kaccess_la_OBJECTS = kaccess_main.lo
bin_PROGRAMS = kaccess$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
-#>- kaccess_OBJECTS = dummy.$(OBJEXT)
+#>- kaccess_OBJECTS = kaccess_main.$(OBJEXT)
#>+ 1
-kaccess_OBJECTS = dummy.$(OBJEXT)
-kaccess_DEPENDENCIES = kaccess.la
+kaccess_OBJECTS = kaccess_main.$(OBJEXT)
+kaccess_DEPENDENCIES = libkaccess_sl.la
CXXFLAGS = @CXXFLAGS@
#>- CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 1
@@ -353,15 +361,15 @@
#>- DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
#>+ 4
-KDE_DIST=kaccess.desktop configure.in.in kaccess.h kcmaccess.desktop
+KDE_DIST=configure.in.in kcmaccess.desktop kaccess.desktop kaccess.h
DISTFILES= $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
TAR = tar
GZIP_ENV = --best
-SOURCES = $(libkcm_access_la_SOURCES) $(kaccess_la_SOURCES) $(kaccess_SOURCES)
-OBJECTS = $(libkcm_access_la_OBJECTS) $(kaccess_la_OBJECTS) $(kaccess_OBJECTS)
+SOURCES = $(libkcm_access_la_SOURCES) $(libkaccess_sl_la_SOURCES) $(kaccess_la_SOURCES) $(kaccess_SOURCES)
+OBJECTS = $(libkcm_access_la_OBJECTS) $(libkaccess_sl_la_OBJECTS) $(kaccess_la_OBJECTS) $(kaccess_OBJECTS)
#>- all: all-redirect
#>+ 1
@@ -454,6 +462,9 @@
@KDE_USE_CLOSURE_FALSE@libkcm_access.la: $(libkcm_access_la_OBJECTS) $(libkcm_access_la_DEPENDENCIES)
$(CXXLINK) -rpath $(kde_moduledir) $(libkcm_access_la_LDFLAGS) $(libkcm_access_la_OBJECTS) $(libkcm_access_la_LIBADD) $(LIBS)
+libkaccess_sl.la: $(libkaccess_sl_la_OBJECTS) $(libkaccess_sl_la_DEPENDENCIES)
+ $(CXXLINK) -rpath $(kde_moduledir) $(libkaccess_sl_la_LDFLAGS) $(libkaccess_sl_la_OBJECTS) $(libkaccess_sl_la_LIBADD) $(LIBS)
+
kaccess.la: $(kaccess_la_OBJECTS) $(kaccess_la_DEPENDENCIES)
$(CXXLINK) -rpath $(kde_moduledir) $(kaccess_la_LDFLAGS) $(kaccess_la_OBJECTS) $(kaccess_la_LIBADD) $(LIBS)
@@ -676,9 +687,6 @@
$(XGETTEXT) $(kaccess_la_SOURCES) -o $(podir)/kaccess.pot
$(XGETTEXT) $(libkcm_access_la_SOURCES) -o $(podir)/kcmaccess.pot
-dummy.cpp:
- echo > dummy.cpp
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
@@ -731,21 +739,21 @@
#>+ 12
-kaccess_la_meta_unload.cpp: kaccess.moc
- @echo 'creating kaccess_la_meta_unload.cpp'
- @-rm -f kaccess_la_meta_unload.cpp
+libkaccess_sl_la_meta_unload.cpp: kaccess.moc
+ @echo 'creating libkaccess_sl_la_meta_unload.cpp'
+ @-rm -f libkaccess_sl_la_meta_unload.cpp
@if test ${kde_qtver} = 2; then \
- echo 'static const char * _metalist_kaccess_la[] = {' > kaccess_la_meta_unload.cpp ;\
- cat kaccess.moc | grep 'char.*className' | sed -e 's/.*[^A-Za-z0-9_:]\([A-Za-z0-9_:]*\)::className.*$$/\"\1\",/' | sort | uniq >> kaccess_la_meta_unload.cpp ;\
- echo '0};' >> kaccess_la_meta_unload.cpp ;\
- echo '#include <kunload.h>' >> kaccess_la_meta_unload.cpp ;\
- echo '_UNLOAD(kaccess_la)' >> kaccess_la_meta_unload.cpp ;\
- else echo > kaccess_la_meta_unload.cpp; fi
+ echo 'static const char * _metalist_libkaccess_sl_la[] = {' > libkaccess_sl_la_meta_unload.cpp ;\
+ cat kaccess.moc | grep 'char.*className' | sed -e 's/.*[^A-Za-z0-9_:]\([A-Za-z0-9_:]*\)::className.*$$/\"\1\",/' | sort | uniq >> libkaccess_sl_la_meta_unload.cpp ;\
+ echo '0};' >> libkaccess_sl_la_meta_unload.cpp ;\
+ echo '#include <kunload.h>' >> libkaccess_sl_la_meta_unload.cpp ;\
+ echo '_UNLOAD(libkaccess_sl_la)' >> libkaccess_sl_la_meta_unload.cpp ;\
+ else echo > libkaccess_sl_la_meta_unload.cpp; fi
#>+ 3
clean-moc-classes:
- -rm -f libkcm_access_la_meta_unload.cpp kaccess_la_meta_unload.cpp
+ -rm -f libkcm_access_la_meta_unload.cpp libkaccess_sl_la_meta_unload.cpp
#>+ 11
libkcm_access_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/kcmaccess.cpp libkcm_access_la_meta_unload.cpp kcmaccess.moc kaccess.moc
@@ -760,11 +768,23 @@
rm -f libkcm_access_la.all_cpp.final libkcm_access_la.all_cpp.files
#>+ 11
-kaccess_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/kaccess.cpp $(srcdir)/main.cpp kaccess_la_meta_unload.cpp
+libkaccess_sl_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/kaccess.cpp $(srcdir)/main.cpp libkaccess_sl_la_meta_unload.cpp
+ @echo 'creating libkaccess_sl_la.all_cpp.cpp ...'; \
+ rm -f libkaccess_sl_la.all_cpp.files libkaccess_sl_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> libkaccess_sl_la.all_cpp.final; \
+ for file in kaccess.cpp main.cpp libkaccess_sl_la_meta_unload.cpp ; do \
+ echo "#include \"$$file\"" >> libkaccess_sl_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libkaccess_sl_la.all_cpp.final; \
+ done; \
+ cat libkaccess_sl_la.all_cpp.final libkaccess_sl_la.all_cpp.files > libkaccess_sl_la.all_cpp.cpp; \
+ rm -f libkaccess_sl_la.all_cpp.final libkaccess_sl_la.all_cpp.files
+
+#>+ 11
+kaccess_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/kaccess_main.cpp
@echo 'creating kaccess_la.all_cpp.cpp ...'; \
rm -f kaccess_la.all_cpp.files kaccess_la.all_cpp.final; \
echo "#define KDE_USE_FINAL 1" >> kaccess_la.all_cpp.final; \
- for file in kaccess.cpp main.cpp kaccess_la_meta_unload.cpp ; do \
+ for file in kaccess_main.cpp ; do \
echo "#include \"$$file\"" >> kaccess_la.all_cpp.files; \
test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kaccess_la.all_cpp.final; \
done; \
@@ -772,11 +792,11 @@
rm -f kaccess_la.all_cpp.final kaccess_la.all_cpp.files
#>+ 11
-kaccess.all_cpp.cpp: $(srcdir)/Makefile.in dummy.cpp
+kaccess.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/kaccess_main.cpp
@echo 'creating kaccess.all_cpp.cpp ...'; \
rm -f kaccess.all_cpp.files kaccess.all_cpp.final; \
echo "#define KDE_USE_FINAL 1" >> kaccess.all_cpp.final; \
- for file in dummy.cpp ; do \
+ for file in kaccess_main.cpp ; do \
echo "#include \"$$file\"" >> kaccess.all_cpp.files; \
test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kaccess.all_cpp.final; \
done; \
@@ -785,20 +805,20 @@
#>+ 3
clean-final:
- -rm -f libkcm_access_la.all_cpp.cpp kaccess_la.all_cpp.cpp kaccess.all_cpp.cpp
+ -rm -f libkcm_access_la.all_cpp.cpp libkaccess_sl_la.all_cpp.cpp kaccess_la.all_cpp.cpp kaccess.all_cpp.cpp
#>+ 2
final:
- $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_final_OBJECTS)" kaccess_la_OBJECTS="$(kaccess_la_final_OBJECTS)" all-am
+ $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_final_OBJECTS)" libkaccess_sl_la_OBJECTS="$(libkaccess_sl_la_final_OBJECTS)" all-am
#>+ 2
final-install:
- $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_final_OBJECTS)" kaccess_la_OBJECTS="$(kaccess_la_final_OBJECTS)" install-am
+ $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_final_OBJECTS)" libkaccess_sl_la_OBJECTS="$(libkaccess_sl_la_final_OBJECTS)" install-am
#>+ 2
no-final:
- $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_nofinal_OBJECTS)" kaccess_la_OBJECTS="$(kaccess_la_nofinal_OBJECTS)" all-am
+ $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_nofinal_OBJECTS)" libkaccess_sl_la_OBJECTS="$(libkaccess_sl_la_nofinal_OBJECTS)" all-am
#>+ 2
no-final-install:
- $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_nofinal_OBJECTS)" kaccess_la_OBJECTS="$(kaccess_la_nofinal_OBJECTS)" install-am
+ $(MAKE) libkcm_access_la_OBJECTS="$(libkcm_access_la_nofinal_OBJECTS)" libkaccess_sl_la_OBJECTS="$(libkaccess_sl_la_nofinal_OBJECTS)" install-am
#>+ 3
cvs-clean:
$(MAKE) -f $(top_srcdir)/admin/Makefile.common cvs-clean