diff options
author | Thomas Sachau <tommy@gentoo.org> | 2009-06-26 20:04:35 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2009-06-26 20:04:35 +0000 |
commit | e24921aa1f7dac227cfac9d36bf8c00d228a2d1c (patch) | |
tree | f5147b31eab74ee2d9a7293b7982e3bed9429dbb /x11-themes/fvwm-crystal | |
parent | Stable on alpha, bug #270261 (diff) | |
download | historical-e24921aa1f7dac227cfac9d36bf8c00d228a2d1c.tar.gz historical-e24921aa1f7dac227cfac9d36bf8c00d228a2d1c.tar.bz2 historical-e24921aa1f7dac227cfac9d36bf8c00d228a2d1c.zip |
Misc fixes (bug 254360, bug 71033 and bug 272945), ebuild and patch from Naohiro Aota (naota@elisp.net)
Package-Manager: portage-13596-svn/cvs/Linux x86_64
Diffstat (limited to 'x11-themes/fvwm-crystal')
-rw-r--r-- | x11-themes/fvwm-crystal/ChangeLog | 12 | ||||
-rw-r--r-- | x11-themes/fvwm-crystal/Manifest | 17 | ||||
-rw-r--r-- | x11-themes/fvwm-crystal/files/fvwm-crystal.apps.patch | 74 | ||||
-rw-r--r-- | x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild | 52 | ||||
-rw-r--r-- | x11-themes/fvwm-crystal/fvwm-crystal-3.0.6.ebuild | 59 |
5 files changed, 151 insertions, 63 deletions
diff --git a/x11-themes/fvwm-crystal/ChangeLog b/x11-themes/fvwm-crystal/ChangeLog index c63a562a79d1..468519ab7a42 100644 --- a/x11-themes/fvwm-crystal/ChangeLog +++ b/x11-themes/fvwm-crystal/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for x11-themes/fvwm-crystal -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/ChangeLog,v 1.58 2008/12/07 22:01:35 patrick Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/ChangeLog,v 1.59 2009/06/26 20:04:35 tommy Exp $ + +*fvwm-crystal-3.0.6-r1 (26 Jun 2009) + + 26 Jun 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + -fvwm-crystal-3.0.6.ebuild, +fvwm-crystal-3.0.6-r1.ebuild, + +files/fvwm-crystal.apps.patch: + Misc fixes (bug 254360, bug 71033 and bug 272945), ebuild and patch from + Naohiro Aota (naota@elisp.net) *fvwm-crystal-3.0.6 (07 Dec 2008) diff --git a/x11-themes/fvwm-crystal/Manifest b/x11-themes/fvwm-crystal/Manifest index 52aef1db7b86..c2b16b72e608 100644 --- a/x11-themes/fvwm-crystal/Manifest +++ b/x11-themes/fvwm-crystal/Manifest @@ -1,8 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX fvwm-crystal 25 RMD160 d0c78fa2b6c0f80bd452bc381fbdc91cb5986ec8 SHA1 24deaa87267d7c6f0beb09eee790c0ef90055bbe SHA256 27345a70a0f0a1aadefcb8fe23ca1761fbe44a088f66d0c5e9db154db3c36962 +AUX fvwm-crystal.apps.patch 4448 RMD160 4d1bf1271eae1dfcc1dbe065fee2b1cf1d56c9fd SHA1 be018cef13df0e6166ae2f862800d14bd20607f4 SHA256 425a5c01eda53611fee86b454cbeb7cf482c08496ea78cf4909f3cd817f3c7aa DIST fvwm-crystal-3.0.5-envfix.patch.bz2 22680 RMD160 935dd1eecc5707b405618ab5882383ce9bafd6ed SHA1 5b57747ae6ea3d876965179c191dd3135e655fe4 SHA256 d3f2e115f11902837cea4b43dbf490a20be014616e05bbe20f7dea923057e6ce DIST fvwm-crystal-3.0.5.tar.gz 3805580 RMD160 bf34e8fa0e96b750a372ce81d761703eec36cf11 SHA1 be22bdbfab5135dc427d26390791e0315ed7435f SHA256 bcbbfa1fe68fd4ea4168c4a8042a2696236a020da9ab11b922dfa4066e0c9baf DIST fvwm-crystal-3.0.6.tar.gz 7857363 RMD160 38ea8475750f9f8f315d9357bf8ddd6daf9876ed SHA1 965e521f64b8a89994f5afee25c8b1c88239bff0 SHA256 9a325f07929e2b4ab2cc8f3e82eab0219d97dd9111c103309711dab324f17fe9 EBUILD fvwm-crystal-3.0.5-r1.ebuild 1719 RMD160 0c75d43a726bdea7f3f1dd946fe273703f342c5a SHA1 0c79c366b2c933dcf7c63b810c433d0d24e365d3 SHA256 1befe5040b1f2da425df1ddb0a2833d63a0fa58c8f4a9120418ee289a3acdfe0 -EBUILD fvwm-crystal-3.0.6.ebuild 1737 RMD160 58b3b72fa19c82401cafe36f6471b0f0d5b5017b SHA1 d23df42ef177167bebe5b42b91d572242e39eb92 SHA256 fdb134ce4ff8970c0a0b8aafd68691bd3fbea9d7ba0a80c0dadfbec98a52b4f3 -MISC ChangeLog 9420 RMD160 9b0b69b7a68f7a3abdd42c7d8768eeb3b77eae61 SHA1 46986922f76355217476d199dac5a87f193e6837 SHA256 d5aeb44ca10e94e18727e3e1d148b6e1729edb5b6cbd51fdc81bbc593c4f5b55 +EBUILD fvwm-crystal-3.0.6-r1.ebuild 1571 RMD160 2526b3046212f844a55adfad3467c6c526bfe947 SHA1 9cdf7bd45feacb9c302c43e9b996801a604ceafa SHA256 82b161b77f4c04bbf540c66620f04b3ee91df410a29241fa5e17bddb49cfdcf7 +MISC ChangeLog 9719 RMD160 1cf1f124bd6e9df05a33194070b54424674a4ed1 SHA1 5f8df7a192464fe57c2b200c3721b66ca379c6e4 SHA256 cec987d876cdcf775c92808b8b966fc821cec9ec4f382c321d84653d0cb5eecd MISC metadata.xml 895 RMD160 c4120d913142649f879f53fb642ea9e1e40fd586 SHA1 c07c9048931b275ec03f454c26de814947f63826 SHA256 00c3905e9e59cac71111745fbf8ed41ff8e6ab6c9f6cb474b95e44b2ec8fa9e3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iJwEAQECAAYFAkpFKdkACgkQG7kqcTWJkGdXuQP+OD0nbGm1BaG+b8PUMdWgg7Ln +meM1GVneVmcY9alChISAMcdxYT0LPkoEVa6UX6cm+BfbndnpFoCjiRu1di5Rw+k1 +iG0kiRs+zZxJuZp+GAziC0CcZQ+sWZGfbagxDIwP75OJ+NqkRLdDP1lhbvabrOsL +t0dDC8y/fz7L/tW+Adk= +=g+Ij +-----END PGP SIGNATURE----- diff --git a/x11-themes/fvwm-crystal/files/fvwm-crystal.apps.patch b/x11-themes/fvwm-crystal/files/fvwm-crystal.apps.patch new file mode 100644 index 000000000000..19f34237be9e --- /dev/null +++ b/x11-themes/fvwm-crystal/files/fvwm-crystal.apps.patch @@ -0,0 +1,74 @@ +--- bin/fvwm-crystal.apps~ 2009-05-24 17:38:56.000000000 +0900 ++++ bin/fvwm-crystal.apps 2009-05-24 17:49:44.000000000 +0900 +@@ -102,7 +102,7 @@ + group = OptionGroup(parser, "General creation options", "Options definig what should be generated") + # group.add_option('-g', '--generate', action = 'store', choices=['all','menus','panel','topapps'], dest='generate', default='all', metavar='WHAT', + # help = "what should be generated. aviable options are: all, menus, panel, topapps. default is all.") +- group.add_option('--with', action = 'append', type='string', dest='with', metavar='DIRECTORY', ++ group.add_option('--with', action = 'append', type='string', dest='with_only', metavar='DIRECTORY', + help = 'generate entries only for defined entries (directories or files)') + group.add_option('--without', action = 'append', type='string', dest='without', metavar='DIRECTORY', + help = 'do NOT use defined entries (directories or files) for generating output.') +@@ -206,12 +206,12 @@ + #end of parseArgv + + +-def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'): ++def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with_only=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'): + """Read application databases from directories. + if checkExecs is True then use exec_field from file name to check access before adding it to database + if searchIconsIn is provided then use this path to check icons existence + sortOrder defines sorting order for entries +- with is a list of entries (relative to the database root) that should be read ++ with_only is a list of entries (relative to the database root) that should be read + without is a list of entries (relative to the database root or absolute targets for symlinks) that should be left out + """ + +@@ -235,7 +235,7 @@ + return True + return False + +- def get_entry(root,dir,cat,sort,check,with,without,realcat): ++ def get_entry(root,dir,cat,sort,check,with_only,without,realcat): + if not os.path.isdir(os.path.join(root,dir)) or not os.access(os.path.join(root,dir),os.R_OK): + yield None + for entry in os.listdir(os.path.join(root,dir)): +@@ -268,9 +268,9 @@ + if not checkFileAccess(test): + continue + +- if with and len(with)>0: ++ if with_only and len(with_only)>0: + cont=False +- for i,v in enumerate(with): ++ for i,v in enumerate(with_only): + if not (os.path.join(cat,name).startswith(v) or os.path.join(cat,name.replace('_',' ')).startswith(v)): + cont=True + break +@@ -305,7 +305,7 @@ + x = realcat[:] + x.extend([prio,name]) + if access: +- for sub in get_entry(root,os.path.join(dir,entry),os.path.join(cat,name).replace(' ','_'),sort,check,with,without,x): ++ for sub in get_entry(root,os.path.join(dir,entry),os.path.join(cat,name).replace(' ','_'),sort,check,with_only,without,x): + yield sub + elif os.path.isfile(file): + if sort=='name' or sort=='rname': +@@ -327,7 +327,7 @@ + db=os.path.abspath(os.path.expanduser(databases[i])) + if not os.path.isdir(db) or not os.access(db,os.R_OK): + continue +- for entry in get_entry(db,'',os.path.join('/',rootName),sortOrder,checkExecs,with,without,[0,rootName]): ++ for entry in get_entry(db,'',os.path.join('/',rootName),sortOrder,checkExecs,with_only,without,[0,rootName]): + if not entry: + continue + if not entry[5]: +@@ -850,7 +850,7 @@ + if params[0].database and len(params[0].database)>0: + database=params[0].database + +-apps=getAppsData(database,checkExecs=params[0].checkExecs,searchIconsIn=params[0].iconPath,sortOrder=params[0].sortOrder,minLength=params[0].subLength,with=params[0].with,without=params[0].without,rootName=params[0].rootCat,topInSub=params[0].topInSub,fileIcon=params[0].fileDefault,dirIcon=params[0].dirDefault) ++apps=getAppsData(database,checkExecs=params[0].checkExecs,searchIconsIn=params[0].iconPath,sortOrder=params[0].sortOrder,minLength=params[0].subLength,with_only=params[0].with_only,without=params[0].without,rootName=params[0].rootCat,topInSub=params[0].topInSub,fileIcon=params[0].fileDefault,dirIcon=params[0].dirDefault) + + ########################## DEBUG ################################ + if params[0].verbosity > 1: diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild new file mode 100644 index 000000000000..481fe530204b --- /dev/null +++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild,v 1.1 2009/06/26 20:04:35 tommy Exp $ + +inherit eutils + +DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency" +HOMEPAGE="http://fvwm-crystal.org/" +SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +RDEPEND=">=x11-wm/fvwm-2.5.13 + dev-lang/python + media-gfx/imagemagick + || ( x11-misc/stalonetray x11-misc/trayer ) + || ( x11-misc/habak x11-misc/hsetroot )" + +src_unpack() { + unpack ${A} + cd "${S}" + find . -type d -name '.svn' -prune -exec rm -rf {} ';' || die + epatch "${FILESDIR}/fvwm-crystal.apps.patch" +} + +src_install() { + einstall || die "einstall failed" + + dodoc AUTHORS README INSTALL NEWS ChangeLog doc/* || die + + docinto examples + dodoc addons/* || die + + exeinto /etc/X11/Sessions + doexe "${FILESDIR}"/fvwm-crystal || die + + insinto /usr/share/xsessions + doins addons/fvwm-crystal.desktop || die +} + +pkg_postinst() { + einfo + einfo "Configuration examples can be found in ${ROOT}usr/share/doc/${PF}/examples/" + einfo + einfo "Many applications can extend functionality of fvwm-crystal." + einfo "They are listed in the INSTALL file in ${ROOT}usr/share/doc/${PF}." + einfo + ewarn "In this release, all hyphens (-) in names of env variables" + ewarn "used by FVWM-Crystal have been replaced by underscores (_)." + ewarn "You may need to update your configuration." +} diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6.ebuild deleted file mode 100644 index 4a92b9dc605c..000000000000 --- a/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6.ebuild,v 1.1 2008/12/07 22:01:35 patrick Exp $ - -inherit eutils - -DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency." -HOMEPAGE="http://fvwm-crystal.org/" -SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.gz - mirror://gentoo/${PN}-3.0.5-envfix.patch.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" -RDEPEND=">=x11-wm/fvwm-2.5.13 - media-gfx/imagemagick - || ( x11-misc/stalonetray x11-misc/trayer ) - || ( x11-misc/habak x11-misc/hsetroot )" - -src_unpack() { - unpack ${A} - cd "${S}" - #epatch "${WORKDIR}/${PN}-3.0.5-envfix.patch" - sed -e 's/MenuPosition-/MenuPosition_/g' \ - -i bin/fvwm-crystal.apps -} - -src_compile() { - einfo "There is nothing to compile." -} - -src_install() { - einstall || die "einstall failed" - - dodoc AUTHORS README INSTALL NEWS ChangeLog doc/* - - insinto /usr/share/doc/${PF} - doins -r addons - - exeinto /etc/X11/Sessions - doexe "${FILESDIR}"/fvwm-crystal - - insinto /usr/share/xsessions - doins addons/fvwm-crystal.desktop -} - -pkg_postinst() { - elog - elog "After installation, execute following commands:" - elog " $ cp -r /usr/share/doc/${PF}/addons/Xresources ~/.Xresources" - elog " $ cp -r /usr/share/doc/${PF}/addons/Xsession ~/.xinitrc" - elog - elog "Many applications can extend functionality of fvwm-crystal." - elog "They are listed in /usr/share/doc/${PF}/INSTALL.gz." - elog - ewarn "In this release, all hyphens (-) in names of env variables" - ewarn "used by FVWM-Crystal have been replaced by underscores (_)." - ewarn "You may need to update your configuration." -} |