summaryrefslogtreecommitdiff
path: root/x11/kde4-workspace/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-02-06 12:38:43 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-02-06 12:38:43 +0000
commitd50619c6d2a51b3ab355e72f8a877aa5dc6af3a7 (patch)
treef961e38b9b398fb23bf914f933ef7512ed9a9ebd /x11/kde4-workspace/files
parentAdd kdelibs-nocups, a cups-disabled version of kdelibs. This port/package (diff)
More cups-fixes and a patch that prevents konqueror from resetting
preview settings when changing icon-sizes.
Diffstat (limited to 'x11/kde4-workspace/files')
-rw-r--r--x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp14
-rw-r--r--x11/kde4-workspace/files/patch-kdeprint_descriptions_Makefile.in13
2 files changed, 27 insertions, 0 deletions
diff --git a/x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp b/x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp
new file mode 100644
index 000000000000..7fe3246c2149
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-kcontrol_konq_previews.cpp
@@ -0,0 +1,14 @@
+--- kcontrol/konq/previews.cpp.orig Sun Oct 26 11:46:25 2003
++++ kcontrol/konq/previews.cpp Thu Jan 27 10:16:32 2005
+@@ -153,6 +153,11 @@
+
+ for ( ; it.current() ; ++it ) {
+ QString protocol( it.current()->text() );
++ if ( ( protocol == "file" ) && ( !group.hasKey ( protocol ) ) )
++ // file should be enabled in case is not defined because if not so
++ // than preview's lost when size is changed from default one
++ it.current()->setOn( true );
++ else
+ it.current()->setOn( group.readBoolEntry( protocol, false ) );
+ }
+ // config key is in bytes (default value 1MB), numinput is in MB
diff --git a/x11/kde4-workspace/files/patch-kdeprint_descriptions_Makefile.in b/x11/kde4-workspace/files/patch-kdeprint_descriptions_Makefile.in
new file mode 100644
index 000000000000..5cf57be2d1c7
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-kdeprint_descriptions_Makefile.in
@@ -0,0 +1,13 @@
+--- kdeprint/descriptions/Makefile.in.orig Wed Jan 26 12:17:44 2005
++++ kdeprint/descriptions/Makefile.in Wed Jan 26 12:19:25 2005
+@@ -773,8 +773,8 @@
+
+ printers.cpp: sortthem
+ : > printers.cpp
+- for i in `find /usr/share/cups/model -type f ! -name '*.gz'`; do perl $(srcdir)/readppd < $$i >> printers.cpp; done
+- for i in `find /usr/share/cups/model -type f -name '*.gz'`; do \
++ for i in `find %%LOCALBASE%%/share/cups/model -type f ! -name '*.gz'`; do perl $(srcdir)/readppd < $$i >> printers.cpp; done
++ for i in `find %%LOCALBASE%%/share/cups/model -type f -name '*.gz'`; do \
+ gzip -cd $$i | perl $(srcdir)/readppd >> printers.cpp; done
+ iconv -flatin1 -tutf-8 printers.cpp > printers.new
+ mv printers.new printers.cpp