diff options
author | bapt <bapt@FreeBSD.org> | 2014-12-25 09:10:19 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-12-25 09:10:19 +0800 |
commit | 9b7f2ac62ee3fd5dd354a647be688334c7eb9941 (patch) | |
tree | 9dd3cec639a44a369363990f78b83a0bdad37f56 | |
parent | 923e88fcbb1cc54bc13813d1ff28c71b73f313a1 (diff) | |
download | freebsd-ports-gnome-9b7f2ac62ee3fd5dd354a647be688334c7eb9941.tar.gz freebsd-ports-gnome-9b7f2ac62ee3fd5dd354a647be688334c7eb9941.tar.zst freebsd-ports-gnome-9b7f2ac62ee3fd5dd354a647be688334c7eb9941.zip |
Remove now useless gnomehier, pkg handles automatically the directories where
needed making gnomehier entirely useless now.
Differential Revision: https://reviews.freebsd.org/D1355
Reviewed by: antoine, kwm
Approved by: gnome (kwm)
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 8 | ||||
-rw-r--r-- | Mk/bsd.gnome.mk | 11 | ||||
-rw-r--r-- | Mk/bsd.port.mk | 1 | ||||
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/gnomehier/Makefile | 49 | ||||
-rw-r--r-- | misc/gnomehier/files/dirlist | 128 | ||||
-rw-r--r-- | misc/gnomehier/files/pkg-install.in | 8 | ||||
-rw-r--r-- | misc/gnomehier/pkg-descr | 3 |
9 files changed, 5 insertions, 205 deletions
@@ -7329,3 +7329,4 @@ www/drupal7-jailadmin||2014-12-20|Removed per author's request; unmaintained www/drupal7-vulnscan||2014-12-20|Removed per author's request; unmaintained www/neon29|www/neon|2014-12-24|Rename to reflect upstream graphics/pornview||2014-12-24|No more upstream, no more public distfile, no proper support for modern png +misc/gnomehier||2014-12-25|Uneeded anymore diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index a726246877b0..7a250e59de2a 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -173,11 +173,7 @@ parse_mtree() { fi listmtree "${PORTSDIR}/Templates/BSD.local.dist" "${LOCALBASE}" - if [ -n "${GNOME_MTREE_FILE}" ] && \ - [ -f "${GNOME_MTREE_FILE}" ]; then - listmtree "${GNOME_MTREE_FILE}" "${PREFIX}" - fi - unset MTREE_FILE GNOME_MTREE_FILE + unset MTREE_FILE # Add LOCALBASE a=${LOCALBASE} @@ -361,7 +357,7 @@ esac # validate environment envfault= -for i in STAGEDIR PREFIX LOCALBASE WRKDIR WRKSRC MTREE_FILE GNOME_MTREE_FILE \ +for i in STAGEDIR PREFIX LOCALBASE WRKDIR WRKSRC MTREE_FILE \ TMPPLIST PLIST_SUB_SED SCRIPTSDIR \ PORT_OPTIONS NO_PREFIX_RMDIR do diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index a10754dd3555..f189fd2436e5 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -69,7 +69,7 @@ Gnome_Pre_Include= bsd.gnome.mk # non-version specific components _USE_GNOME_ALL= esound intlhack intltool introspection \ - gnomehack referencehack gnomehier gnomemimedata \ + gnomehack referencehack gnomemimedata \ gnomeprefix # GNOME 1 components @@ -118,10 +118,6 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "${GNOME_MAKEFILEIN}*" -type f | ${ referencehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \ "s|test \"\$$\$$installfiles\" = '\$$(srcdir)/html/\*'|:|" -GNOME_MTREE_FILE?= ${LOCALBASE}/etc/mtree/BSD.gnome.dist -gnomehier_DETECT= ${GNOME_MTREE_FILE} -gnomehier_RUN_DEPENDS= ${gnomehier_DETECT}:${PORTSDIR}/misc/gnomehier - GNOME_HTML_DIR?= ${PREFIX}/share/doc GCONF_CONFIG_OPTIONS?= merged GCONF_CONFIG_DIRECTORY?=etc/gconf/gconf.xml.defaults @@ -754,14 +750,11 @@ CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http:// .if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \ - || defined(GLIB_SCHEMAS) || (defined(_USE_GNOME) && ${_USE_GNOME:Mgnomehier}!="") + || defined(GLIB_SCHEMAS) pre-su-install: gnome-pre-su-install post-install: gnome-post-install gnome-pre-su-install: -.if defined(_USE_GNOME) && ${_USE_GNOME:Mgnomehier}!="" && !defined(NO_MTREE) - @${MTREE_CMD} ${MTREE_ARGS:S/${MTREE_FILE}/${GNOME_MTREE_FILE}/} ${STAGEDIR}${PREFIX}/ >/dev/null -.endif .if defined(GCONF_SCHEMAS) @${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/gconf.xml.defaults/ .else diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 216271b378e5..1782512ab8bf 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1085,7 +1085,6 @@ CO_ENV+= STAGEDIR=${STAGEDIR} \ WRKDIR=${WRKDIR} \ WRKSRC=${WRKSRC} \ MTREE_FILE=${MTREE_FILE} \ - GNOME_MTREE_FILE=${GNOME_MTREE_FILE} \ TMPPLIST=${TMPPLIST} \ SCRIPTSDIR=${SCRIPTSDIR} \ PLIST_SUB_SED="${PLIST_SUB_SED}" \ diff --git a/misc/Makefile b/misc/Makefile index d94c63c85a96..2065c0118b36 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -147,7 +147,6 @@ SUBDIR += gnome-mime-data SUBDIR += gnome-osd SUBDIR += gnome-user-docs - SUBDIR += gnomehier SUBDIR += gnu-watch SUBDIR += gnuit SUBDIR += gnuls diff --git a/misc/gnomehier/Makefile b/misc/gnomehier/Makefile deleted file mode 100644 index a64162604c44..000000000000 --- a/misc/gnomehier/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# Created by: Maxim Sobolev <sobomax@FreeBSD.org> -# $FreeBSD$ -# $MCom: ports/misc/gnomehier/Makefile,v 1.39 2012/12/10 10:58:06 kwm Exp $ - -PORTNAME= gnomehier -PORTVERSION= 3.0 -CATEGORIES= misc gnome -MASTER_SITES= # none -DISTFILES= # none - -MAINTAINER= gnome@FreeBSD.org -COMMENT= Utility port that creates the GNOME directory tree - -NO_BUILD= yes -PLIST= ${WRKDIR}/pkg-plist -PKGINSTALL= ${WRKDIR}/pkg-install - -GNOME_MTREE= BSD.gnome.dist -GNOME_MTREE_ARGS=${MTREE_ARGS:S|${MTREE_FILE}|${PREFIX}/etc/mtree/${GNOME_MTREE}|} - -pre-install: - @${CP} -f ${FILESDIR}/dirlist ${WRKDIR} - @${RM} -f ${PLIST} ${WRKDIR}/${GNOME_MTREE} - @${TOUCH} -f ${PLIST} - @${ECHO_CMD} etc/mtree/${GNOME_MTREE} >> ${PLIST} - @${MKDIR} ${WRKSRC} - @${CAT} ${FILESDIR}/dirlist | ${SORT} -r | ${SED} -e \ - 's|^|@dirrm |' >> ${PLIST} - @${ECHO_CMD} "@unexec ${RMDIR} %D/etc/mtree 2>/dev/null || ${TRUE}" >> ${PLIST} - @for dir in `${CAT} ${WRKDIR}/dirlist`; \ - do \ - ${MKDIR} ${WRKSRC}/$${dir}; \ - done - @${SED} -e 's|%%MTREE_ARGS%%|${GNOME_MTREE_ARGS}|' \ - < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} - -pre-su-install: - cd ${WRKSRC} && \ - ${MTREE_CMD} -U -d -n -i -c -k "uname, gname, mode" | \ - ${SED} -e 's|uname=[A-Za-z0-9_]*|uname=root|' \ - -e 's|gname=[A-Za-z0-9_]*|gname=wheel|' \ - > ${WRKDIR}/${GNOME_MTREE} - -do-install: - cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX} - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree - ${INSTALL_DATA} ${WRKDIR}/${GNOME_MTREE} ${STAGEDIR}${PREFIX}/etc/mtree - -.include <bsd.port.mk> diff --git a/misc/gnomehier/files/dirlist b/misc/gnomehier/files/dirlist deleted file mode 100644 index 1e48a75d2eec..000000000000 --- a/misc/gnomehier/files/dirlist +++ /dev/null @@ -1,128 +0,0 @@ -etc/CORBA -etc/CORBA/servers -etc/X11 -etc/X11/serverconfig -etc/X11/starthere -etc/X11/sysconfig -etc/dconf -etc/dconf/db -etc/dconf/profile -etc/gconf -etc/gconf/gconf.xml.defaults -etc/gconf/gconf.xml.mandatory -etc/gconf/gconf.xml.system -etc/gconf/schemas -etc/gnome -etc/gnome-vfs-2.0 -etc/gnome-vfs-2.0/modules -etc/gnome/config -etc/mateconf -etc/mateconf/mateconf.xml.defaults -etc/mateconf/mateconf.xml.mandatory -etc/mateconf/mateconf.xml.system -etc/mateconf/schemas -etc/sound -etc/sound/events -etc/vfs -etc/vfs/modules -etc/xdg -etc/xdg/autostart -include/gconf -include/gdkcardimage -include/gnome-1.0 -lib/GConf -lib/bonobo -lib/bonobo/monikers -lib/bonobo/plugin -lib/girepository-1.0 -lib/gnome-vfs-2.0 -lib/gnome-vfs-2.0/modules -lib/mate-vfs-2.0 -lib/mate-vfs-2.0/modules -lib/matecomponent -lib/matecomponent-2.0 -lib/matecomponent-2.0/samples -lib/matecomponent/monikers -lib/vfs -lib/vfs/modules -libdata/bonobo -libdata/bonobo/servers -libdata/matecomponent -libdata/matecomponent/servers -share/MateConf -share/MateConf/gsettings -share/applets -share/applets/Amusements -share/applets/Clocks -share/applets/Monitors -share/applets/Multimedia -share/applets/Network -share/applets/Utility -share/application-registry -share/capplets -share/control-center -share/control-center-2.0 -share/control-center-2.0/capplets -share/control-center/Desktop -share/control-center/Documents -share/control-center/Peripherals -share/control-center/Session -share/control-center/capplets -share/control-center/keybindings -share/control-center/keybindings/gtk-modules -share/doc/libgda -share/gir-1.0 -share/gnome -share/gnome-2.0 -share/gnome-2.0/ui -share/gnome-about -share/gnome-control-center -share/gnome-control-center/keybindings -share/gnome-settings-daemon-3.0 -share/gnome/apps -share/gnome/apps/Applications -share/gnome/apps/Audio -share/gnome/apps/Development -share/gnome/apps/Games -share/gnome/apps/Graphics -share/gnome/apps/Internet -share/gnome/apps/Multimedia -share/gnome/apps/Settings -share/gnome/apps/Settings/Desktop -share/gnome/apps/Settings/Documents -share/gnome/apps/Settings/Peripherals -share/gnome/apps/Settings/Session -share/gnome/apps/System -share/gnome/apps/Utilities -share/gnome/autostart -share/gnome/help -share/gnome/help/fdl -share/gnome/help/fdl/C -share/gnome/help/gpl -share/gnome/help/gpl/C -share/gnome/help/lgpl -share/gnome/help/lgpl/C -share/gnome/panel -share/gnome/ui -share/gnome/wm-properties -share/images -share/mate -share/mate-2.0 -share/mate-2.0/ui -share/mate-control-center -share/mate-control-center/keybindings -share/mate/help -share/mc -share/mc/templates -share/mime-info -share/oaf -share/omf -share/pixmaps/document-icons -share/pixmaps/splash -share/sgml/docbook -share/sgml/docbook/gnome-customization-0.1 -share/sounds -share/vala -share/vala/vapi -share/vfolders -share/xmodmap diff --git a/misc/gnomehier/files/pkg-install.in b/misc/gnomehier/files/pkg-install.in deleted file mode 100644 index 20e30328e7c2..000000000000 --- a/misc/gnomehier/files/pkg-install.in +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - /usr/sbin/mtree %%MTREE_ARGS%% ${PKG_PREFIX} - exit 0 - ;; -esac diff --git a/misc/gnomehier/pkg-descr b/misc/gnomehier/pkg-descr deleted file mode 100644 index ec27b1ee2281..000000000000 --- a/misc/gnomehier/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -This is a utility port that creates the common GNOME directory -structure. This way, the existence of the directories can be -ensured before applications attempt to install into them. |