app-editors/bluefish: fdo-mime->xdg-utils
authorMarty E. Plummer <hanetzer@startmail.com>
Tue, 3 Apr 2018 23:04:08 +0000 (18:04 -0500)
committerAaron Bauman <bman@gentoo.org>
Sat, 14 Apr 2018 00:49:23 +0000 (20:49 -0400)
Also added gnome2-utils.

Package-Manager: Portage-2.3.27, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7794

app-editors/bluefish/bluefish-2.2.10.ebuild
app-editors/bluefish/bluefish-2.2.6.ebuild
app-editors/bluefish/bluefish-2.2.8.ebuild
app-editors/bluefish/bluefish-2.2.9.ebuild

index edf1fbd4866eabffaf990713a59b1efb00011fdf..83184d2f47e1bb001657477bba3a09c79b3432ce 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit autotools eutils fdo-mime python-single-r1
+inherit autotools eutils gnome2-utils python-single-r1 xdg-utils
 
 MY_P=${P/_/-}
 
@@ -80,9 +80,14 @@ src_install() {
        prune_libtool_files
 }
 
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 
        einfo "Adding XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
@@ -94,8 +99,9 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        einfo "Removing XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
                --del 'Bluefish/DTD/Bflang' \
index 2c420dafef140f2d2abd6d2c38441171bb5b3d58..ff25f887a720df34630f2ca483d9797f5d79b309 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit eutils fdo-mime python-single-r1
+inherit eutils gnome2-utils python-single-r1 xdg-utils
 
 MY_P=${P/_/-}
 
@@ -63,9 +63,14 @@ src_install() {
        find "${ED}" -name '*.la' -exec rm -f {} +
 }
 
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 
        einfo "Adding XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
@@ -77,8 +82,9 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        einfo "Removing XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
                --del 'Bluefish/DTD/Bflang' \
index bf84c0859b2eb9fb412836bcbf794d1e76e8763f..4e07508bb106ca55b8c5846d9cbb742c06fe4f01 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit eutils fdo-mime python-single-r1
+inherit eutils gnome2-utils python-single-r1 xdg-utils
 
 MY_P=${P/_/-}
 
@@ -74,9 +74,14 @@ src_install() {
        prune_libtool_files
 }
 
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 
        einfo "Adding XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
@@ -88,8 +93,9 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        einfo "Removing XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
                --del 'Bluefish/DTD/Bflang' \
index edf1fbd4866eabffaf990713a59b1efb00011fdf..83184d2f47e1bb001657477bba3a09c79b3432ce 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit autotools eutils fdo-mime python-single-r1
+inherit autotools eutils gnome2-utils python-single-r1 xdg-utils
 
 MY_P=${P/_/-}
 
@@ -80,9 +80,14 @@ src_install() {
        prune_libtool_files
 }
 
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 
        einfo "Adding XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
@@ -94,8 +99,9 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
        einfo "Removing XML catalog entries..."
        /usr/bin/xmlcatalog  --noout \
                --del 'Bluefish/DTD/Bflang' \