mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- Work around KDE bug 128757.
- Finally support GNOME/XFCE icons/menus by default by depending on kde-xdg-env.
This commit is contained in:
parent
dd7088c434
commit
7c6729fa08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164724
@ -6,7 +6,8 @@
|
||||
#
|
||||
|
||||
PORTNAME= xdg
|
||||
PORTVERSION= ${KDE_VERSION}
|
||||
PORTVERSION= 1.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= misc kde
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= kde-
|
||||
@ -17,8 +18,9 @@ EXTRACT_SUFX= # none
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus
|
||||
|
||||
USE_KDEBASE_VER=3
|
||||
.if defined(KDE_PREFIX)
|
||||
PREFIX= ${KDE_PREFIX}
|
||||
.endif
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
|
@ -6,7 +6,8 @@
|
||||
#
|
||||
|
||||
PORTNAME= xdg
|
||||
PORTVERSION= ${KDE_VERSION}
|
||||
PORTVERSION= 1.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= misc kde
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= kde-
|
||||
@ -17,8 +18,9 @@ EXTRACT_SUFX= # none
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus
|
||||
|
||||
USE_KDEBASE_VER=3
|
||||
.if defined(KDE_PREFIX)
|
||||
PREFIX= ${KDE_PREFIX}
|
||||
.endif
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
@ -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
|
||||
@ -16,6 +17,7 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Basic applications for the KDE system
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env
|
||||
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
||||
xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- kioslave/media/mediamanager/fstabbackend.cpp Mon May 22 20:12:42 2006
|
||||
+++ kioslave/media/mediamanager/fstabbackend.cpp Fri Mar 17 11:17:33 2006
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
void FstabBackend::handleMtabChange(bool allowNotification)
|
||||
{
|
||||
- QStringList new_mtabIds, new_mtabEntries;
|
||||
+ QStringList new_mtabIds;
|
||||
KMountPoint::List mtab = KMountPoint::currentMountPoints();
|
||||
|
||||
KMountPoint::List::iterator it = mtab.begin();
|
||||
@@ -158,14 +158,6 @@
|
||||
|
||||
if ( ::inExclusionPattern(*it, m_networkSharesOnly) ) continue;
|
||||
|
||||
- /* Did we know this already before ? If yes, then
|
||||
- nothing has changed, do not stat the mount point. Avoids
|
||||
- hang if network shares are stalling */
|
||||
- QString mtabEntry = dev + "*" + mp + "*" + fs;
|
||||
- bool isOldEntry = m_mtabEntries.contains(mtabEntry);
|
||||
- new_mtabEntries+=mtabEntry;
|
||||
- if (isOldEntry) continue;
|
||||
-
|
||||
QString id = generateId(dev, mp);
|
||||
new_mtabIds+=id;
|
||||
|
||||
@@ -226,7 +218,6 @@
|
||||
}
|
||||
|
||||
m_mtabIds = new_mtabIds;
|
||||
- m_mtabEntries = new_mtabEntries;
|
||||
}
|
||||
|
||||
void FstabBackend::handleFstabChange(bool allowNotification)
|
Loading…
Reference in New Issue
Block a user