diff options
author | lofi <lofi@FreeBSD.org> | 2005-06-26 23:38:58 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-06-26 23:38:58 +0800 |
commit | 8cd1837ecbc0bb30f0ee97e6b6f5886e8b02a92d (patch) | |
tree | 918c137aff4fc4dc13581cf186d5289f068e5c7c /x11/kde4-workspace | |
parent | 7967f86d817b4102f6553a035e7d163843188d8a (diff) | |
download | freebsd-ports-gnome-8cd1837ecbc0bb30f0ee97e6b6f5886e8b02a92d.tar.gz freebsd-ports-gnome-8cd1837ecbc0bb30f0ee97e6b6f5886e8b02a92d.tar.zst freebsd-ports-gnome-8cd1837ecbc0bb30f0ee97e6b6f5886e8b02a92d.zip |
Update to KDE 3.4.1
Diffstat (limited to 'x11/kde4-workspace')
-rw-r--r-- | x11/kde4-workspace/Makefile | 1 | ||||
-rw-r--r-- | x11/kde4-workspace/distinfo | 4 | ||||
-rw-r--r-- | x11/kde4-workspace/files/patch-kcontrol-info-info_fbsd.cpp | 60 | ||||
-rw-r--r-- | x11/kde4-workspace/files/patch-kcontrol-usbview-usbdevices.cpp | 26 | ||||
-rw-r--r-- | x11/kde4-workspace/files/patch-kdm-kfrontend-genkdmconf.c | 271 | ||||
-rw-r--r-- | x11/kde4-workspace/files/patch-nsplugins-pluginscan.cpp | 3 | ||||
-rw-r--r-- | x11/kde4-workspace/pkg-plist | 3 |
7 files changed, 7 insertions, 361 deletions
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile index 63a08d81dd56..46f5564266ee 100644 --- a/x11/kde4-workspace/Makefile +++ b/x11/kde4-workspace/Makefile @@ -8,7 +8,6 @@ PORTNAME= kdebase PORTVERSION= ${KDE_VERSION} -PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/x11/kde4-workspace/distinfo b/x11/kde4-workspace/distinfo index 7a5b5d02fcce..e34be3c99265 100644 --- a/x11/kde4-workspace/distinfo +++ b/x11/kde4-workspace/distinfo @@ -1,2 +1,2 @@ -MD5 (KDE/kdebase-3.4.0.tar.bz2) = c88659e558ca98dc45377bf8ddfc26c9 -SIZE (KDE/kdebase-3.4.0.tar.bz2) = 22670772 +MD5 (KDE/kdebase-3.4.1.tar.bz2) = 8fbe0b943721b79f2549064b580acdde +SIZE (KDE/kdebase-3.4.1.tar.bz2) = 22433034 diff --git a/x11/kde4-workspace/files/patch-kcontrol-info-info_fbsd.cpp b/x11/kde4-workspace/files/patch-kcontrol-info-info_fbsd.cpp deleted file mode 100644 index 6a166e336e35..000000000000 --- a/x11/kde4-workspace/files/patch-kcontrol-info-info_fbsd.cpp +++ /dev/null @@ -1,60 +0,0 @@ ---- kcontrol/info/info_fbsd.cpp.orig Tue Feb 24 12:30:07 2004 -+++ kcontrol/info/info_fbsd.cpp Thu Apr 14 22:37:54 2005 -@@ -226,18 +226,17 @@ - { - FILE *pipe; - QFile *pcicontrol; -- QTextStream *t; - QString s, cmd; - QListViewItem *olditem = 0; - -- pcicontrol = new QFile("/usr/X11R6/bin/scanpci"); -+ pcicontrol = new QFile("/usr/sbin/pciconf"); - - if (!pcicontrol->exists()) { - delete pcicontrol; -- pcicontrol = new QFile("/usr/X11R6/bin/pcitweak"); -+ pcicontrol = new QFile("/usr/X11R6/bin/scanpci"); - if (!pcicontrol->exists()) { - delete pcicontrol; -- pcicontrol = new QFile("/usr/sbin/pciconf"); -+ pcicontrol = new QFile("/usr/X11R6/bin/pcitweak"); - if (!pcicontrol->exists()) { - QString s; - s = i18n("Could not find any programs with which to query your system's PCI information"); -@@ -245,13 +244,13 @@ - delete pcicontrol; - return true; - } else { -- cmd = "/usr/sbin/pciconf -l"; -+ cmd = "/usr/X11R6/bin/pcitweak -l 2>&1"; - } - } else { -- cmd = "/usr/X11R6/bin/pcitweak -l 2>&1"; -+ cmd = "/usr/X11R6/bin/scanpci"; - } - } else { -- cmd = "/usr/X11R6/bin/scanpci"; -+ cmd = "/usr/sbin/pciconf -l -v 2>&1"; - } - delete pcicontrol; - -@@ -263,17 +262,8 @@ - /* This prints out a list of all the pci devies, perhaps eventually we could - parse it as opposed to schlepping it into a listbox */ - -- t = new QTextStream(pipe, IO_ReadOnly); -- -- while (true) { -- s = t->readLine(); -- if ( s.isEmpty() ) -- break; -- olditem = new QListViewItem(lbox, olditem, s); -- } -- -- delete t; - pclose(pipe); -+ GetInfo_ReadfromPipe(lbox, cmd.latin1(), true); - } - - if (!lbox->childCount()) { diff --git a/x11/kde4-workspace/files/patch-kcontrol-usbview-usbdevices.cpp b/x11/kde4-workspace/files/patch-kcontrol-usbview-usbdevices.cpp deleted file mode 100644 index d6fa405cdc18..000000000000 --- a/x11/kde4-workspace/files/patch-kcontrol-usbview-usbdevices.cpp +++ /dev/null @@ -1,26 +0,0 @@ ---- kcontrol/usbview/usbdevices.cpp.orig Thu May 5 17:21:17 2005 -+++ kcontrol/usbview/usbdevices.cpp Thu May 5 17:43:04 2005 -@@ -26,6 +26,7 @@ - - #ifdef Q_OS_FREEBSD - #include <sys/ioctl.h> -+#include <sys/param.h> - #endif - - QPtrList<USBDevice> USBDevice::_devices; -@@ -260,11 +261,15 @@ - _channels = di.udi_nports; - - // determine the speed -+#if __FreeBSD_version > 490102 - switch (di.udi_speed) { - case USB_SPEED_LOW: _speed = 1.5; break; - case USB_SPEED_FULL: _speed = 12.0; break; - case USB_SPEED_HIGH: _speed = 480.0; break; - } -+#else -+ _speed = di.udi_lowspeed ? 1.5 : 12.0; -+#endif - - // Get all attached devicenodes - for ( int i = 0; i < USB_MAX_DEVNAMES; ++i ) diff --git a/x11/kde4-workspace/files/patch-kdm-kfrontend-genkdmconf.c b/x11/kde4-workspace/files/patch-kdm-kfrontend-genkdmconf.c deleted file mode 100644 index a6126b314d8e..000000000000 --- a/x11/kde4-workspace/files/patch-kdm-kfrontend-genkdmconf.c +++ /dev/null @@ -1,271 +0,0 @@ ---- kdm/kfrontend/genkdmconf.c.orig Wed Feb 23 12:26:01 2005 -+++ kdm/kfrontend/genkdmconf.c Sat Mar 19 16:43:49 2005 -@@ -562,7 +562,7 @@ - "# by Xsetup usually.\n" - "# This is not required if you use PAM with the pam_console module.\n" - "#\n" --"#chown $USER /dev/console\n" -+"chown $USER /dev/console\n" - "\n" - #ifdef _AIX - "# We create a pseudodevice for finger. (host:0 becomes xdm/host_0)\n" -@@ -591,8 +591,8 @@ - "# Reassign ownership of the console to root, this should disallow\n" - "# assignment of console output to any random users's xterm. See Xstartup.\n" - "#\n" --"#chown root /dev/console\n" --"#chmod 622 /dev/console\n" -+"chown root /dev/console\n" -+/* "#chmod 622 /dev/console\n" */ - "\n" - #ifdef _AIX - "#devname=`echo $DISPLAY | cut -c1-8`\n" -@@ -609,6 +609,8 @@ - "#! /bin/sh\n" - "# Xsession - run as user\n" - "\n" -+"session=$1\n" -+"\n" - "# Note that the respective logout scripts are not sourced.\n" - "case $SHELL in\n" - " */bash)\n" -@@ -637,7 +639,9 @@ - " */csh|*/tcsh)\n" - " # [t]cshrc is always sourced automatically.\n" - " # Note that sourcing csh.login after .cshrc is non-standard.\n" --" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login > /dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c export'`\n" -+" set -a\n" -+" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login >& /dev/null; if (-f ~/.login) source ~/.login >& /dev/null; printenv | egrep -v \"^(TERM|SHLVL)=\"'`\n" -+" set +a\n" - " ;;\n" - " *) # Plain sh, ksh, and anything we don't know.\n" - " [ -f /etc/profile ] && . /etc/profile\n" -@@ -648,7 +652,7 @@ - "[ -f /etc/xprofile ] && . /etc/xprofile\n" - "[ -f $HOME/.xprofile ] && . $HOME/.xprofile\n" - "\n" --"case $1 in\n" -+"case $session in\n" - " \"\")\n" - " exec xmessage -center -buttons OK:0 -default OK \"Sorry, $DESKTOP_SESSION is no valid session.\"\n" - " ;;\n" -@@ -662,10 +666,10 @@ - " exec " KDE_BINDIR "/startkde\n" - " ;;\n" - " *)\n" --" eval exec \"$1\"\n" -+" eval exec \"$session\"\n" - " ;;\n" - "esac\n" --"exec xmessage -center -buttons OK:0 -default OK \"Sorry, cannot execute $1. Check $DESKTOP_SESSION.desktop.\"\n"; -+"exec xmessage -center -buttons OK:0 -default OK \"Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop.\"\n"; - - static const char def_background[] = - "[Desktop0]\n" -@@ -817,7 +821,7 @@ - * XXX this stuff is highly borked. it does not handle collisions at all. - */ - static int --copyfile( Entry *ce, const char *tname, int mode, int (*proc)( File *, char **, int * ) ) -+copyfile( Entry *ce, const char *tname, int mode, int (*proc)( File * ) ) - { - const char *tptr; - char *nname; -@@ -840,12 +844,7 @@ - fprintf( stderr, "Warning: cannot copy file %s\n", ce->value ); - rt = 0; - } else { -- char *nbuf; -- int nlen; -- -- if (!proc || !proc( &file, &nbuf, &nlen ) || -- (nlen == file.eof - file.buf && !memcmp( nbuf, file.buf, nlen ))) -- { -+ if (!proc || !proc( &file )) { - if (!use_destdir && !strcmp( ce->value, nname )) - linkedFile( nname ); - else { -@@ -855,7 +854,7 @@ - copiedFile( ce->value ); - } - } else { -- WriteOut( nname, mode, 0, nbuf, nlen ); -+ WriteOut( nname, mode, 0, file.buf, file.eof - file.buf ); - editedFile( ce->value ); - } - if (strcmp( ce->value, nname ) && inNewDir( ce->value ) && !use_destdir) -@@ -1378,7 +1377,7 @@ - - /* - static int --edit_resources(File *file, char **nbuf, int *nlen) -+edit_resources( File *file ) - { - // XXX remove any login*, chooser*, ... resources - return 0; -@@ -1415,15 +1414,14 @@ - paap = pap += 2; - while (!isspace( *pap )) - pap++; -- for (;;) { -- if (*pp++ != '/') -- goto no; -- for (bpp = pp; *pp != '/'; pp++) -- if (isspace( *pp )) -+ if (*pp != '/') -+ break; -+ for (;;) -+ for (bpp = ++pp; *pp != '/'; pp++) -+ if (!*pp || isspace( *pp )) - goto wbrk; -- } - wbrk: -- if (memcmp( bpp, paap, pap - paap )) -+ if ((pp - bpp != pap - paap) || memcmp( bpp, paap, pap - paap )) - break; - } else if (*pap == '\t') { - pap++; -@@ -1472,24 +1470,25 @@ - static int mod_usebg; - - static int --edit_setup( File *file, char **nbuf ATTR_UNUSED, int *nlen ATTR_UNUSED ) -+edit_setup( File *file ) - { -- putval( "UseBackground", -- (delstr( file, "\n" -- "(\n" -- " PIDFILE=/var/run/kdmdesktop-$DISPLAY.pid\n" -- " */kdmdesktop\t&\n" -- " echo $! >$PIDFILE\n" -- " wait $!\n" -- " rm $PIDFILE\n" -- ")\t&\n" ) || -- delstr( file, "\n" -- "*/kdmdesktop\t&\n" ) || -- delstr( file, "\n" -- "kdmdesktop\t&\n" ) || -- delstr( file, "\n" -- "kdmdesktop\n" )) ? "true" : "false" ); -- return 0; -+ int chg = -+ delstr( file, "\n" -+ "(\n" -+ " PIDFILE=/var/run/kdmdesktop-$DISPLAY.pid\n" -+ " */kdmdesktop\t&\n" -+ " echo $! >$PIDFILE\n" -+ " wait $!\n" -+ " rm $PIDFILE\n" -+ ")\t&\n" ) | -+ delstr( file, "\n" -+ "*/kdmdesktop\t&\n" ) | -+ delstr( file, "\n" -+ "kdmdesktop\t&\n" ) | -+ delstr( file, "\n" -+ "kdmdesktop\n" ); -+ putval( "UseBackground", chg ? "true" : "false" ); -+ return chg; - } - - static void -@@ -1515,19 +1514,22 @@ - } - - static int --edit_startup( File *file, char **nbuf ATTR_UNUSED, int *nlen ATTR_UNUSED ) -+edit_startup( File *file ) - { -+ int chg1 = 0, chg2 = 0; -+ - if (mod_usebg && -- !delstr( file, "\n" -+ (delstr( file, "\n" - "PIDFILE=/var/run/kdmdesktop-$DISPLAY.pid\n" - "if [[] -f $PIDFILE ] ; then\n" - " kill `cat $PIDFILE`\n" -- "fi\n" )) -- delstr( file, "\n" -- "PIDFILE=/var/run/kdmdesktop-$DISPLAY.pid\n" -- "test -f $PIDFILE && kill `cat $PIDFILE`\n" ); -- if (oldver < 0x0203) -- putval( "UseSessReg", ( -+ "fi\n" ) || -+ delstr( file, "\n" -+ "PIDFILE=/var/run/kdmdesktop-$DISPLAY.pid\n" -+ "test -f $PIDFILE && kill `cat $PIDFILE`\n" ))) -+ chg1 = 1; -+ if (oldver < 0x0203) { -+ chg2 = - #ifdef _AIX - delstr( file, "\n" - "# We create a pseudodevice for finger. (host:0 becomes [kx]dm/host_0)\n" ); -@@ -1552,11 +1554,11 @@ - " else\n" - " exec /usr/lib/X11/xdm/sessreg -a -l [kx]dm/$devname -h $hostname $USER\n" - " fi\n" --"fi\n") || -+"fi\n") | - #else - # ifdef BSD - delstr( file, "\n" --"exec sessreg -a -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) || -+"exec sessreg -a -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) | - # endif - #endif /* _AIX */ - delstr( file, "\n" -@@ -1564,11 +1566,12 @@ - #ifdef BSD - " -x */Xservers" - #endif --" $USER\n" ) || -+" $USER\n" ) | - delstr( file, "\n" --"exec sessreg -a -l $DISPLAY -u /var/run/utmp -x */Xservers $USER\n" ) -- ) ? "true" : "false"); -- return 0; -+"exec sessreg -a -l $DISPLAY -u /var/run/utmp -x */Xservers $USER\n" ); -+ putval( "UseSessReg", chg2 ? "true" : "false"); -+ } -+ return chg1 | chg2; - } - - static void -@@ -1592,29 +1595,29 @@ - } - - static int --edit_reset( File *file, char **nbuf ATTR_UNUSED, int *nlen ATTR_UNUSED ) -+edit_reset( File *file ) - { -+ return - #ifdef _AIX -- delstr( file, "\n" -+ delstr( file, "\n" - "if [[] -f /usr/lib/X11/xdm/sessreg ]; then\n" - " devname=`echo $DISPLAY | /usr/bin/sed -e 's/[[]:\\.]/_/g' | /usr/bin/cut -c1-8`\n" - " exec /usr/lib/X11/xdm/sessreg -d -l [kx]dm/$devname $USER\n" --"fi\n" ); -+"fi\n" ) | - #else - # ifdef BSD -- delstr( file, "\n" --"exec sessreg -d -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ); -+ delstr( file, "\n" -+"exec sessreg -d -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) | - # endif - #endif /* _AIX */ -- delstr( file, "\n" -+ delstr( file, "\n" - "exec sessreg -d -l $DISPLAY" - # ifdef BSD - " -x */Xservers" - # endif --" $USER\n" ); -- delstr( file, "\n" -+" $USER\n" ) | -+ delstr( file, "\n" - "exec sessreg -d -l $DISPLAY -u /var/run/utmp -x */Xservers $USER\n" ); -- return 0; - } - - static void diff --git a/x11/kde4-workspace/files/patch-nsplugins-pluginscan.cpp b/x11/kde4-workspace/files/patch-nsplugins-pluginscan.cpp index 55eed7247922..904ef5903342 100644 --- a/x11/kde4-workspace/files/patch-nsplugins-pluginscan.cpp +++ b/x11/kde4-workspace/files/patch-nsplugins-pluginscan.cpp @@ -1,10 +1,11 @@ --- nsplugins/pluginscan.cpp.orig Sat Mar 13 21:07:58 2004 +++ nsplugins/pluginscan.cpp Sat Mar 13 21:08:50 2004 -@@ -457,6 +457,7 @@ +@@ -457,6 +457,8 @@ paths.append("/usr/lib64/netscape/plugins"); paths.append("/usr/lib64/mozilla/plugins"); paths.append("$MOZILLA_HOME/plugins"); + paths.append("/usr/local/lib/linux-flashplugin6"); ++ paths.append("/usr/X11R6/lib/linux-flashplugin6"); config->writeEntry( "scanPaths", paths ); } diff --git a/x11/kde4-workspace/pkg-plist b/x11/kde4-workspace/pkg-plist index 1dabe06f9d62..bcadbd459f2b 100644 --- a/x11/kde4-workspace/pkg-plist +++ b/x11/kde4-workspace/pkg-plist @@ -1298,6 +1298,7 @@ share/apps/kfontview/kfontviewpart.rc share/apps/kfontview/kfontviewui.rc share/apps/khelpcenter/glossary.html.in share/apps/khelpcenter/glossary.xslt +share/apps/khelpcenter/index.html.in share/apps/khelpcenter/intro.html.in share/apps/khelpcenter/khelpcenterui.rc share/apps/khelpcenter/plugins/Applications/.directory @@ -1632,8 +1633,10 @@ share/apps/konsole/WhiteOnBlack.schema share/apps/konsole/XTerm.schema share/apps/konsole/eventsrc share/apps/konsole/freebsd.keytab +share/apps/konsole/icons/crystalsvg/16x16/actions/activity.png share/apps/konsole/icons/crystalsvg/16x16/actions/opentermblue.png share/apps/konsole/icons/crystalsvg/16x16/actions/opentermred.png +share/apps/konsole/icons/crystalsvg/16x16/actions/silence.png share/apps/konsole/icons/crystalsvg/22x22/actions/opentermblue.png share/apps/konsole/icons/crystalsvg/22x22/actions/opentermred.png share/apps/konsole/icons/crystalsvg/32x32/actions/opentermblue.png |