mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Add some more icon paths, [LOCALBASE|X11BASE]/share/pixmaps
- Use X11BASE/etc/xdg for xdg path for now. LOCALBASE/etc/xdg will be readded later. - Bump PORTREVISION Submitted by: mezz
This commit is contained in:
parent
73b75ad884
commit
b09e5eed7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136851
2 changed files with 7 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= xdg
|
PORTNAME= xdg
|
||||||
PORTVERSION= 0.14
|
PORTVERSION= 0.14
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
MASTER_SITES= http://www.freedesktop.org/~lanius/
|
MASTER_SITES= http://www.freedesktop.org/~lanius/
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -21,7 +22,7 @@ USE_REINPLACE= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|/etc|${PREFIX}/etc|g ; \
|
's|/etc|${X11BASE}/etc|g ; \
|
||||||
s|%%X11BASE%%|${X11BASE}|g ; \
|
s|%%X11BASE%%|${X11BASE}|g ; \
|
||||||
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||||
${WRKSRC}/xdg/BaseDirectory.py \
|
${WRKSRC}/xdg/BaseDirectory.py \
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
--- xdg/IconTheme.py.orig Mon Mar 29 13:37:54 2004
|
--- xdg/IconTheme.py.orig Sun Jun 5 14:20:19 2005
|
||||||
+++ xdg/IconTheme.py Fri Jun 25 17:04:04 2004
|
+++ xdg/IconTheme.py Sun Jun 5 14:21:07 2005
|
||||||
@@ -212,7 +212,9 @@
|
@@ -215,7 +215,11 @@
|
||||||
icondirs = []
|
icondirs = []
|
||||||
for basedir in xdg_data_dirs:
|
for basedir in xdg_data_dirs:
|
||||||
icondirs.append(os.path.join(basedir, "icons"))
|
icondirs.append(os.path.join(basedir, "icons"))
|
||||||
-icondirs.append("/usr/share/pixmaps")
|
-icondirs.append("/usr/share/pixmaps")
|
||||||
|
+icondirs.append("%%X11BASE%%/share/pixmaps")
|
||||||
|
+icondirs.append("%%LOCALBASE%%/share/pixmaps")
|
||||||
+icondirs.append("%%X11BASE%%/share/gnome/pixmaps")
|
+icondirs.append("%%X11BASE%%/share/gnome/pixmaps")
|
||||||
+icondirs.append("%%X11BASE%%/share/icons")
|
+icondirs.append("%%X11BASE%%/share/icons")
|
||||||
+icondirs.append("%%LOCALBASE%%/share/icons")
|
+icondirs.append("%%LOCALBASE%%/share/icons")
|
||||||
|
|
Loading…
Add table
Reference in a new issue