diff options
author | lofi <lofi@FreeBSD.org> | 2005-02-06 20:38:43 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-02-06 20:38:43 +0800 |
commit | 33c2beb83aa0df3d105b9fc45cde17e73b4e21c5 (patch) | |
tree | 81d6dad0a700106fad1761ccc37d84123434cc50 /x11/kdebase4 | |
parent | ac5d4c996a884747bc855ea4986c3f5b0512dbe2 (diff) | |
download | freebsd-ports-gnome-33c2beb83aa0df3d105b9fc45cde17e73b4e21c5.tar.gz freebsd-ports-gnome-33c2beb83aa0df3d105b9fc45cde17e73b4e21c5.tar.zst freebsd-ports-gnome-33c2beb83aa0df3d105b9fc45cde17e73b4e21c5.zip |
More cups-fixes and a patch that prevents konqueror from resetting
preview settings when changing icon-sizes.
Diffstat (limited to 'x11/kdebase4')
-rw-r--r-- | x11/kdebase4/Makefile | 5 | ||||
-rw-r--r-- | x11/kdebase4/files/patch-kcontrol_konq_previews.cpp | 14 | ||||
-rw-r--r-- | x11/kdebase4/files/patch-kdeprint_descriptions_Makefile.in | 13 |
3 files changed, 32 insertions, 0 deletions
diff --git a/x11/kdebase4/Makefile b/x11/kdebase4/Makefile index 6ced36a3bd56..464fa91c76f1 100644 --- a/x11/kdebase4/Makefile +++ b/x11/kdebase4/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/kdebase4/files/patch-kcontrol_konq_previews.cpp b/x11/kdebase4/files/patch-kcontrol_konq_previews.cpp new file mode 100644 index 000000000000..7fe3246c2149 --- /dev/null +++ b/x11/kdebase4/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/kdebase4/files/patch-kdeprint_descriptions_Makefile.in b/x11/kdebase4/files/patch-kdeprint_descriptions_Makefile.in new file mode 100644 index 000000000000..5cf57be2d1c7 --- /dev/null +++ b/x11/kdebase4/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 |