hwoarang    15/05/17 10:21:50

  Modified:             pcmanfm-1.2.3.ebuild pcmanfm-9999.ebuild ChangeLog
  Log:
  Add l10n eclass support to drop unwanted locales. Add epatch_user. bug 
#548330. Sync live ebuild as well
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
09BF4F54C2BA7F3C!)

Revision  Changes    Path
1.8                  x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild?rev=1.8&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild?rev=1.8&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild?r1=1.7&r2=1.8

Index: pcmanfm-1.2.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- pcmanfm-1.2.3.ebuild        2 Apr 2015 20:04:40 -0000       1.7
+++ pcmanfm-1.2.3.ebuild        17 May 2015 10:21:50 -0000      1.8
@@ -1,9 +1,14 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild,v 1.7 
2015/04/02 20:04:40 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-1.2.3.ebuild,v 1.8 
2015/05/17 10:21:50 hwoarang Exp $
 
 EAPI="5"
-inherit eutils fdo-mime readme.gentoo
+PLOCALES="ar be bg bn ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id
+is it ja kk km ko lg lt lv ms nl pa pl pt pt_BR ro ru si sk sl sr sr@latin sv
+te th tr tt_RU ug uk vi zh_CN zh_TW"
+PLOCALE_BACKUP="en_GB"
+
+inherit eutils fdo-mime l10n readme.gentoo
 
 MY_PV="${PV/_/}"
 MY_P="${PN}-${MY_PV}"
@@ -37,8 +42,12 @@
 DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
        location. You should install lxde-base/lxmenu-data for that 
functionality."
 
+src_prepare() {
+       l10n_get_locales > ${S}/po/LINGUAS
+       epatch_user
+}
+
 src_configure() {
-       strip-linguas -i "${S}/po"
        econf --sysconfdir=/etc $(use_enable debug)
 }
 



1.21                 x11-misc/pcmanfm/pcmanfm-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild?rev=1.21&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild?rev=1.21&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild?r1=1.20&r2=1.21

Index: pcmanfm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- pcmanfm-9999.ebuild 1 Feb 2015 13:00:58 -0000       1.20
+++ pcmanfm-9999.ebuild 17 May 2015 10:21:50 -0000      1.21
@@ -1,12 +1,26 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild,v 1.20 
2015/02/01 13:00:58 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/pcmanfm-9999.ebuild,v 1.21 
2015/05/17 10:21:50 hwoarang Exp $
 
-EAPI=5
+EAPI="5"
+PLOCALES="ar be bg bn ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id
+is it ja kk km ko lg lt lv ms nl pa pl pt pt_BR ro ru si sk sl sr sr@latin sv
+te th tr tt_RU ug uk vi zh_CN zh_TW"
+PLOCALE_BACKUP="en_GB"
+
+inherit autotools eutils fdo-mime l10n readme.gentoo
+
+if [[ ${PV} == *9999* ]]; then
+       EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}"
+       inherit git-r3
+       KEYWORDS=""
+else
+       SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+fi
 
-EGIT_REPO_URI="git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/${PN}"
-
-inherit autotools git-2 fdo-mime
+MY_PV="${PV/_/}"
+MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="Fast lightweight tabbed filemanager"
 HOMEPAGE="http://pcmanfm.sourceforge.net/";
@@ -14,21 +28,26 @@
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug"
-KEYWORDS=""
 
-COMMON_DEPEND=">=dev-libs/glib-2.18:2
-       >=x11-libs/gtk+-2.22.1:2
+RDEPEND=">=dev-libs/glib-2.18:2
+       >=x11-libs/gtk+-2.16:2
        >=lxde-base/menu-cache-0.3.2
-       >=x11-libs/libfm-9999:="
-RDEPEND="${COMMON_DEPEND}
+       x11-misc/shared-mime-info
+       >=x11-libs/libfm-${PV}:=[gtk(+)]
        virtual/eject
        virtual/freedesktop-icon-theme"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
+       app-arch/xz-utils
        >=dev-util/intltool-0.40
        virtual/pkgconfig
        sys-devel/gettext"
 
-RESTRICT="test"
+S="${WORKDIR}"/${MY_P}
+
+DOCS=( AUTHORS )
+
+DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
+       location. You should install lxde-base/lxmenu-data for that 
functionality."
 
 src_prepare() {
        intltoolize --force --copy --automake || die
@@ -37,26 +56,21 @@
        #Remove -Werror for automake-1.12. Bug #421101
        sed -i "s:-Werror::" configure.ac || die
        eautoreconf
+       l10n_get_locales > ${S}/po/LINGUAS
+       epatch_user
 }
 
 src_configure() {
-       econf \
-               --sysconfdir="${EPREFIX}/etc" \
-               $(use_enable debug)
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc AUTHORS
+       econf --sysconfdir="${EPREFIX}/etc" $(use_enable debug)
 }
 
 pkg_postinst() {
        fdo-mime_desktop_database_update
-
-       elog 'PCmanFM can optionally support the menu://applications/ location.'
-       elog 'You should install lxde-base/lxmenu-data for that functionality.'
+       fdo-mime_mime_database_update
+       readme.gentoo_print_elog
 }
 
 pkg_postrm() {
        fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
 }



1.108                x11-misc/pcmanfm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/ChangeLog?rev=1.108&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/ChangeLog?rev=1.108&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pcmanfm/ChangeLog?r1=1.107&r2=1.108

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/ChangeLog,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- ChangeLog   2 Apr 2015 20:04:40 -0000       1.107
+++ ChangeLog   17 May 2015 10:21:50 -0000      1.108
@@ -1,6 +1,11 @@
 # ChangeLog for x11-misc/pcmanfm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/ChangeLog,v 1.107 
2015/04/02 20:04:40 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/pcmanfm/ChangeLog,v 1.108 
2015/05/17 10:21:50 hwoarang Exp $
+
+  17 May 2015; Markos Chandras <hwoar...@gentoo.org> pcmanfm-1.2.3.ebuild,
+  pcmanfm-9999.ebuild:
+  Add l10n eclass support to drop unwanted locales. Add epatch_user. bug
+  #548330. Sync live ebuild as well
 
   02 Apr 2015; Markus Meier <mae...@gentoo.org> pcmanfm-1.2.3.ebuild:
   arm stable, bug #542042




Reply via email to