aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-baseapps
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-baseapps
parentf584266c3efbbe0e2b22faeb342fc96ec9e4219e (diff)
downloadports-d50619c6d2a51b3ab355e72f8a877aa5dc6af3a7.tar.gz
ports-d50619c6d2a51b3ab355e72f8a877aa5dc6af3a7.zip
Notes
Diffstat (limited to 'x11/kde4-baseapps')
-rw-r--r--x11/kde4-baseapps/Makefile5
-rw-r--r--x11/kde4-baseapps/files/patch-kcontrol_konq_previews.cpp14
-rw-r--r--x11/kde4-baseapps/files/patch-kdeprint_descriptions_Makefile.in13
3 files changed, 32 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index 6ced36a3bd56..464fa91c76f1 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdebase
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -60,6 +61,10 @@ post-extract:
@${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv
@${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv
+pre-configure:
+ ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
+ ${WRKSRC}/kdeprint/descriptions/Makefile.in
+
post-configure:
${REINPLACE_CMD} -e "s@^\s*Exec=.*\$$@Exec=ElectricEyes@" \
${WRKSRC}/kappfinder/apps/Graphics/ElectricEyes.desktop
diff --git a/x11/kde4-baseapps/files/patch-kcontrol_konq_previews.cpp b/x11/kde4-baseapps/files/patch-kcontrol_konq_previews.cpp
new file mode 100644
index 000000000000..7fe3246c2149
--- /dev/null
+++ b/x11/kde4-baseapps/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-baseapps/files/patch-kdeprint_descriptions_Makefile.in b/x11/kde4-baseapps/files/patch-kdeprint_descriptions_Makefile.in
new file mode 100644
index 000000000000..5cf57be2d1c7
--- /dev/null
+++ b/x11/kde4-baseapps/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