-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kartashev Andrey
committed
Dec 8, 2014
1 parent
cf9bf2d
commit 4747d1a
Showing
32 changed files
with
516 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# ChangeLog for app-dicts/myspell-ru_en | ||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ | ||
|
||
*myspell-ru_en-20070129 (26 Sep 2013) | ||
|
||
26 Sep 2013; Alatar <[email protected]> +myspell-ru_en-20070129.ebuild, | ||
+metadata.xml: | ||
Add mixed Ru-En dictonary for myspell/hunspell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DIST ru-en_spell_dictionary.xpi 1781570 SHA256 a6bfd1eec5a05684ecfa01cbe5d0cf8159b63658124e2f1e244841aa2da40dbf SHA512 7d03c1bc5429d58adb37160544e66dbdc74df9fd90cc6b41c9adafe2400f73d4ac07cf2628dfbbf8f0cbdb29cf5d5503831562e459df9164eb7410c5931fd635 WHIRLPOOL 430276859c03505756e518a901921243f0e0bb14c55dc8b0dfdba5124175eb8438c5575c1cc01296e70fa4c06d11c064d6c0c2d334139d38117c1dc3fe77ec46 | ||
EBUILD myspell-ru_en-20070129.ebuild 861 SHA256 0898b0dce268a25439fc1cf4c94d3e392f86c232f17bd4950c7e8a0c2af467fb SHA512 435e4fa8ecab3f90ac5c8caaace7f139e2b467a34728d54c819280e9e245043f90e4d9b2141ff87cf5e7d4514b1162fbe761327719aec3a92be179fd525619d7 WHIRLPOOL 65d092a121c4d62fadcd3b43d39375d20e7e511542afcdb33a9a376b36ab76d1bf2c6ed4cc637badf8f5a8d74b72fe2acb08d4a45b7e2fda0814b697cb57ac5f | ||
MISC ChangeLog 302 SHA256 fdcdd932a5f7c425b8c8ab319ba3d001eaa6bfaaacd2ff100276d9b7bab9d4e6 SHA512 a1ca8690280862ed19144ac7530ad4516ef836f58875b432b7be23e387f76aaf233b291c83d169f894bd3ce3e6bfc283e9c8fea5809b149c7099dc917d98ef8d WHIRLPOOL ce598f1a4386cf03874048ca6c7bf69b972f7546736d3130e4b0a9756f49cfc72600ce56e83297270131790edace156fd47bcd231dd56efefac10e7aba86e6c0 | ||
MISC metadata.xml 163 SHA256 2a83bf864655c5acb5d551aeb9b060d57545fb7cf1dd9d7fcdc16fbca221cabb SHA512 d8edefa125f81b05e1a1cc9917a2ff6c1618970f9b26b02fe37dbb7b82c466e50168f690c2f629103b199989b4f79d9e10a1af410530e9ca23dada148db91a12 WHIRLPOOL b02df903aeb78e797fd5cb86d14cc93bff3495ec7ca20aab8bca9e5d6f2b545d31972cb7f1b831c5215ee9ea75bf89df20e3c1a80b47ef9cdf1ef47271e9d2bd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>app-dicts</herd> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 1999-2013 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=4 | ||
|
||
MYSPELL_DICT=( | ||
"Russian-English.aff" | ||
"Russian-English.dic" | ||
) | ||
|
||
MYSPELL_HYPH=( | ||
) | ||
|
||
MYSPELL_THES=( | ||
) | ||
|
||
inherit myspell-r2 | ||
|
||
DESCRIPTION="Russian English mixed dictionaries for myspell/hunspell" | ||
HOMEPAGE="http://ftp.mozilla-russia.org/dictionaries" | ||
SRC_URI="http://ftp.mozilla-russia.org/dictionaries/ru-en_spell_dictionary.xpi" | ||
|
||
SLOT="0" | ||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" | ||
IUSE="" | ||
RESTRICT="mirror" | ||
|
||
src_unpack() { | ||
debug-print-function ${FUNCNAME} "$@" | ||
|
||
local f | ||
for f in ${A}; do | ||
case ${f} in | ||
*.xpi) | ||
echo ">>> Unpacking "${DISTDIR}/${f}" to ${PWD}" | ||
unzip -qoj ${DISTDIR}/${f} | ||
assert "failed unpacking ${DISTDIR}/${f}" | ||
;; | ||
*) unpack ${f} ;; | ||
esac | ||
done | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ChangeLog for dev-embedded/stm32flash | ||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ | ||
|
||
*stmflasher-9999 (08 Dec 2014) | ||
08 Dec 2014; Alatar <[email protected]> stmflasher-9999.ebuild: | ||
Update project location. | ||
|
||
*stmflasher-9999 (21 Feb 2013) | ||
|
||
21 Feb 2013; Alatar <[email protected]> +stmflasher-9999.ebuild: | ||
Initial import. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EBUILD stmflasher-9999.ebuild 537 SHA256 0f8796a0dd1a6393306c85f132ede933685d63332fecee397e5c5043be286d1e SHA512 7cd13d6a7a5da0de71aec884743bdf0b32e18a5a33a69b6e47f0bda5b52a679ededa68a1141b51af0995597bb88609384b1a318aa82255cfcc679547c03bee2f WHIRLPOOL 0f7aad2172689e8c3c0d7526beb92eb4c10daad69dfc398e1e693bccdd89f8809d1f9918a549ceff0d395c6718b2ffb44e5e47a65d96fa701b04916fefd602b2 | ||
MISC ChangeLog 364 SHA256 667774a361dbe2ed7a9215beba0a1d8236f242ed468022d7eae4207ef2b4b653 SHA512 8ab83f5d702e04590e9557ac49b20e819a1155d8c1ef378fd4ab35356218e93241672db15c66ffe6befd91f3c19826ae6741502747afeaa90e4b40dc5c765c53 WHIRLPOOL 7e9b49a7a9821626c8f5cb8ecc2694806db036e132424fea5e26c0142f2b50fc0452b2c314534a271ef2b570520116a6670a5c8beb1cebb5e1f89cc72272bb35 | ||
MISC metadata.xml 807 SHA256 aba991860aa8bc8277e355489f9d26265ba52c7f8803a96b26a620d9ef34df87 SHA512 a37a42ca34bb9c09b67d41df637ac87b4486adad57f4aaaaa086afba454b9708bdbf21882b3d5a557ae94760bf4934885e2c69201462c75198355eb11a818593 WHIRLPOOL f0d3c0180cecafd50a721c9cbb8d22bdd55973f18aa5d0a4684e94b8b0bb3e85453ea75908b87ed27a9c1096e9938f570bcc83809c80e504ff14d4c41c401064 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
Open source flash program for the STM32 ARM processors using the ST bootloader. | ||
|
||
Features | ||
* device identification | ||
* write to flash/ram at specified address | ||
* read from flash/ram at specified address | ||
* auto-detect Intel HEX or raw binary input format with option to force binary | ||
* flash from binary file | ||
* save flash to binary file | ||
* verify & retry up to N times on failed writes | ||
* start execution at specified address | ||
* software reset the device when finished if -g not specified | ||
* resume already initialized connection (for when reset fails) | ||
</longdescription> | ||
</pkgmetadata> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright 1999-2012 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=4 | ||
|
||
inherit flag-o-matic git-r3 cmake-utils | ||
|
||
DESCRIPTION="Open source cross platform flash program for the STM factory preprogrammed bootloader" | ||
HOMEPAGE="https://github.com/alatarum/stmflasher" | ||
ESVN_REPO_URI="https://github.com/alatarum/${PN}" | ||
EGIT_BRANCH="master" | ||
SRC_URI="" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="" | ||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_unpack(){ | ||
git_src_unpack || "src_unpack failed!" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ChangeLog for dev-libs/libctb | ||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ | ||
|
||
*libctb-0.16 (05 Oct 2012) | ||
|
||
05 Oct 2012; Alatar <[email protected]> +libctb-0.16.ebuild: | ||
Initial import. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DIST libctb-0.16.tar.gz 604741 SHA256 1cb0026a66cfbf8e26988f76cb861f1fbfd04f272f9b9adaf0d463d01282fc08 SHA512 42e79b04896f1f07d4243ef73b7ff69cedf11639409126329c43b30d0648dea3783f9fc900c9d758363806850f9da4448cf7b4cc67002c5ed8d7a0e62763e67c WHIRLPOOL b9e7789d94892bc1667deedade4a2853fa95f89d1e1d2d9075c39dceb9c3b3ec135c0e64aae06556ee1e7f21fc8e687e43001cd3e8e22ce5f132af92b8dd9c9f | ||
EBUILD libctb-0.16.ebuild 553 SHA256 a54a7b7ec8cc51e3c2dd5324b327f2ee4936687e46093db8184e9b1f62cef7a3 SHA512 7ebbb17e0128ceaa87b8aaf93b7de7414497cc5b950f663ee4703d494fb5c7d113f58400130138fe8752d7a3058551227714fcab346b9ac66d76f5349790e978 WHIRLPOOL 1d618e44a8432167213ddf7d688835507429a2a77596a1bf3e64d83ebe30f4b71490fadcc112bbcebcdff9859011a9bc0a2bf6482dc5f2b6f05ec6cb7da19806 | ||
MISC ChangeLog 225 SHA256 b98e879d067b33e4b897fa711067cce944d3575f03680e2b49f81c26f1516141 SHA512 cfcc0a12efbe7ddf14ff56a185f87b9ee4709b78be5d6c0b585c060fbe3d3b305299def04725de0039b4ad21ebc934389762ff6fc0afa818a3cc7bb78e1facc1 WHIRLPOOL cbd046a14670e3aa677ab81534004272f9eb077248e9fcff9a897cc5db4f69df35d235444b0294ba2e92efc6095ae5d2ae9dc6cd45a2d263b959ab9c7a3364af | ||
MISC metadata.xml 267 SHA256 49dbe76c8a6cacdc875c81f342c5ec571300197896fb8a6bdee43b3267a20d16 SHA512 0a10f692d2b12b267a94f10227d68d3d785a8ffd9c037f6a5520e146d11c3a9ba0c64812c87dc8452a0b93717905d0deab8ed3154e156abf1ab30ce0af80337a WHIRLPOOL 9333a0d81a6bd7994f9c54e16b60687be8d04b22278424d037eed741ea326cb4a01caffeb4a4330d814a78dc7f8e7b25f1a8a387a3c8b2929ad199422a781787 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 1999-2012 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=4 | ||
|
||
DESCRIPTION="Communication toolbox library" | ||
HOMEPAGE="https://iftools.com/opensource/ctb.en.php" | ||
SRC_URI="https://iftools.com/download/ctb/${PV}/${P}.tar.gz" | ||
|
||
LICENSE="wxWidgets licence" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_compile() { | ||
cd "${S}/build" | ||
emake || die "emake failed" | ||
} | ||
|
||
src_install() { | ||
cd "${S}/build" | ||
emake DESTDIR="${D}" install || die "Install failed" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>Alatar</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
</longdescription> | ||
</pkgmetadata> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ChangeLog for media-fonts/opengostfont | ||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ | ||
|
||
*opengostfont-0.3 (05 Oct 2012) | ||
|
||
05 Oct 2012; Alatar <[email protected]> +opengostfont-0.3.ebuild: | ||
Initial import. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DIST opengostfont-ttf-0.3.zip 66850 SHA256 977aa6d92fecc45215c63e929badc03d692ac04b05b83f84f56b9caea282e615 SHA512 6a68886a456d22e2b60bb94d8466dbacd3b99615f9082bced873c1c6e29af068b4703b204c7a8d527ed8b1b92f0a0c26479cac4b1d5bb07654206b36ca8865ab WHIRLPOOL d4ecc51510ba0d45a7e458902faa898e08840f986b0638a59431bf70c197b7c6f79106f1ff85f4aadf10c81b6d4f3227db58b7ef4fa3ed6340b925d802676768 | ||
EBUILD opengostfont-0.3.ebuild 531 SHA256 15013f54e9e832cae0925bd738debb4ef323564b0343c8b8e485fbf4f4da8056 SHA512 a0f1f0895caa922aab9e2cf89f6a0b38aa8cd34f3a287342616c7f7590f336bec9ffae077ab6892ef7d6a2cc19d8590774bdbb68b30f90747b47dbd727158ef3 WHIRLPOOL 5ce64bb960c938dd2bacd3fbf7e7abe72e7d5056377f7ca0a1b12a1c7efd9724ab2b012cf87325059f9b1a79d326b06af20309c8449326a45fbac5b4e43f0c57 | ||
MISC ChangeLog 244 SHA256 e379dbf26287334ba9a2b963c89ac5770a346615719857bd97e234ba6ef77e27 SHA512 f49acb00fd47971e6c0eb718d62d1378e0ec5976cfea8d1cd9f41109f4c8f9b8c61ab8c03cdcfa97cc0fe51f7411338bdfe271aac7829afa495ce1054c084b69 WHIRLPOOL b8411181445e348adcbab0656e323e3d747c41367463056f42087b336c1d2c6a7c0b4f75d3892a1a149bb6dc25630828dded03c0b9217304c829a9e2336db456 | ||
MISC metadata.xml 267 SHA256 49dbe76c8a6cacdc875c81f342c5ec571300197896fb8a6bdee43b3267a20d16 SHA512 0a10f692d2b12b267a94f10227d68d3d785a8ffd9c037f6a5520e146d11c3a9ba0c64812c87dc8452a0b93717905d0deab8ed3154e156abf1ab30ce0af80337a WHIRLPOOL 9333a0d81a6bd7994f9c54e16b60687be8d04b22278424d037eed741ea326cb4a01caffeb4a4330d814a78dc7f8e7b25f1a8a387a3c8b2929ad199422a781787 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>Alatar</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
</longdescription> | ||
</pkgmetadata> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 1999-2011 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
inherit font | ||
|
||
DESCRIPTION="Open-source version of the fonts by Russian standard GOST 2.304-81 Letters for drawings" | ||
HOMEPAGE="https://bitbucket.org/fat_angel/opengostfont" | ||
SRC_URI="http://cdn.bitbucket.org/fat_angel/${PN}/downloads/${PN}-ttf-${PV}.zip" | ||
|
||
LICENSE="OFL-1.1" | ||
SLOT="0" | ||
KEYWORDS="amd64 x86" | ||
IUSE="" | ||
|
||
DEPEND="app-arch/unzip" | ||
RDEPEND="" | ||
|
||
S="${WORKDIR}/${PN}-ttf-${PV}" | ||
FONT_S="${S}" | ||
FONT_SUFFIX="ttf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
masters = gentoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alatar-lay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# ChangeLog for x11-libs/plotctrl | ||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ | ||
|
||
*plotctrl-9999 (08 Dec 2014) | ||
|
||
08 Dec 2014; Alatar <[email protected]> plotctrl-9999.ebuild: | ||
Update to build with fixed revision (temporary). | ||
|
||
*plotctrl-9999 (05 Oct 2012) | ||
|
||
05 Oct 2012; Alatar <[email protected]> +plotctrl-9999.ebuild: | ||
Initial import. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
AUX mouse_usabil.patch 3659 SHA256 2e790db1f847e842ef2a186edbbc98864f47c6bba48c7a62dc70222740579335 SHA512 1719441ba7e40c34f935980742e7c72e8b58f8505f08f9ac050edcd911cae11995ddf14ffdcf90ee0f0abdbece44383b6a2b15157ad346f0ef30e7083f65b4fe WHIRLPOOL 7b9fd895a5b30d127745d1d1dd6b69b7959f249d86eebff936c540906ac07e6fedbe2ddda3fc40ad84f5676c2ddece6f35b5436d6f11544681522d1ae7a33c83 | ||
EBUILD plotctrl-9999.ebuild 796 SHA256 344625f52644ddf541e0116f4880fbd0cfcc7cb316dac5db63fe0af2cb7d9678 SHA512 ad5a2285eeb1542aea5f3078844b6dae8b14ffe24d9fa85172df2d1b7ddca345bc9e0452d86c998760fbee4ebed1ce5e23a2e1d5792ff03441be984464141b29 WHIRLPOOL 62ca64a5646d2fafc5dec2da2545d27f43a1ee61d270bc332f8cf4fdd56cc41463f019158092eab0dfee3a5e241e64f9040597adcafffdb25d20add147faf871 | ||
MISC ChangeLog 375 SHA256 849779b19ca5b1709eda0bf5dea1263679a6affe7774b9c4b1babeaac03a8921 SHA512 87c0dde850076c1e55dcd669c8b397c777c5a4ebba02a7f1587b561522d2a405f7bc34602efac7bbdc39514d046618a8342a3648a9a176f9ffe1299f3e8f62ab WHIRLPOOL a03e14021303de06077ad19eb4e0b7f633fc8cb42e0c33101536a4478ac7b268110c5571c4d579bac26c347495276700347509434332f5e002adef14035577df | ||
MISC metadata.xml 267 SHA256 49dbe76c8a6cacdc875c81f342c5ec571300197896fb8a6bdee43b3267a20d16 SHA512 0a10f692d2b12b267a94f10227d68d3d785a8ffd9c037f6a5520e146d11c3a9ba0c64812c87dc8452a0b93717905d0deab8ed3154e156abf1ab30ce0af80337a WHIRLPOOL 9333a0d81a6bd7994f9c54e16b60687be8d04b22278424d037eed741ea326cb4a01caffeb4a4330d814a78dc7f8e7b25f1a8a387a3c8b2929ad199422a781787 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Index: include/wx/plotctrl/plotctrl.h | ||
=================================================================== | ||
--- include/wx/plotctrl/plotctrl.h (revision 3034) | ||
+++ include/wx/plotctrl/plotctrl.h (working copy) | ||
@@ -462,6 +462,7 @@ | ||
|
||
// Zoom, if zoom_x or zoom_y <= 0 then fit that axis to window and center it | ||
bool SetZoom( const wxPoint2DDouble &zoom, bool around_center=true, bool send_event=false ); | ||
+ bool SetZoom( const wxPoint2DDouble &zoom, const wxPoint2DDouble &zoom_center, bool send_event ); | ||
virtual bool SetZoom( double zoom_x, double zoom_y, | ||
double origin_x, double origin_y, bool send_event=false ); | ||
|
||
@@ -514,6 +515,10 @@ | ||
void SetAreaMouseFunction(wxPlotCtrlMouse_Type func, bool send_event=false); | ||
wxPlotCtrlMouse_Type GetAreaMouseFunction() const { return m_area_mouse_func; } | ||
|
||
+ // Set default mouse action | ||
+ void SetDefaultAreaMouseFunction(wxPlotCtrlMouse_Type func) { m_default_area_mouse_func = func; SetAreaMouseFunction(func, true); } | ||
+ wxPlotCtrlMouse_Type GetDefaultAreaMouseFunction() const { return m_default_area_mouse_func; } | ||
+ | ||
// Set what sort of marker should be drawn when dragging mouse | ||
void SetAreaMouseMarker(wxPlotCtrlMarker_Type type); | ||
wxPlotCtrlMarker_Type GetAreaMouseMarker() const { return m_area_mouse_marker; } | ||
@@ -957,6 +962,7 @@ | ||
wxWindow *m_winCapture; // don't use, see accessor functions | ||
|
||
wxPlotCtrlMouse_Type m_area_mouse_func; | ||
+ wxPlotCtrlMouse_Type m_default_area_mouse_func; | ||
wxPlotCtrlMarker_Type m_area_mouse_marker; | ||
int m_area_mouse_cursorid; | ||
|
||
Index: src/plotctrl.cpp | ||
=================================================================== | ||
--- src/plotctrl.cpp (revision 3034) | ||
+++ src/plotctrl.cpp (working copy) | ||
@@ -1930,6 +1930,18 @@ | ||
return SetZoom( zoom.m_x, zoom.m_y, m_viewRect.GetLeft(), m_viewRect.GetTop(), send_event ); | ||
} | ||
|
||
+bool wxPlotCtrl::SetZoom( const wxPoint2DDouble &zoom, const wxPoint2DDouble &zoom_center, bool send_event ) | ||
+{ | ||
+ if ((zoom.m_x > 0) && (zoom.m_y > 0)) | ||
+ { | ||
+ double origin_x = zoom_center.m_x - (zoom_center.m_x - m_viewRect.GetLeft())*m_zoom.m_x/zoom.m_x; | ||
+ double origin_y = zoom_center.m_y - (zoom_center.m_y - m_viewRect.GetTop() )*m_zoom.m_y/zoom.m_y; | ||
+ return SetZoom( zoom.m_x, zoom.m_y, origin_x, origin_y, send_event ); | ||
+ } | ||
+ else | ||
+ return SetZoom( zoom.m_x, zoom.m_y, m_viewRect.GetLeft(), m_viewRect.GetTop(), send_event ); | ||
+} | ||
+ | ||
bool wxPlotCtrl::SetZoom( const wxRect &window, bool send_event ) | ||
{ | ||
if ((window.GetHeight()<1) || (window.GetWidth()<1)) return false; | ||
@@ -3090,7 +3102,7 @@ | ||
|
||
double dir = event.GetWheelRotation() > 0 ? 1.25 : 0.75; | ||
wxPoint2DDouble z = GetZoom(); | ||
- SetZoom( z * dir, true, true); | ||
+ SetZoom( z * dir, wxPoint2DDouble(plotX, plotY), true); | ||
} | ||
|
||
int active_index = GetActiveIndex(); | ||
@@ -3383,7 +3395,7 @@ | ||
else if (ctrl && shift && !alt) | ||
SetAreaMouseFunction(wxPLOTCTRL_MOUSE_ZOOM, true); | ||
else // if (!ctrl || !shift || !alt) | ||
- SetAreaMouseFunction(wxPLOTCTRL_MOUSE_NOTHING, true); | ||
+ SetAreaMouseFunction(m_default_area_mouse_func, true); | ||
} | ||
|
||
void wxPlotCtrl::ProcessAreaEVT_KEY_UP( wxKeyEvent &event ) | ||
@@ -3405,7 +3417,7 @@ | ||
else if (ctrl && shift && !alt) | ||
SetAreaMouseFunction(wxPLOTCTRL_MOUSE_ZOOM, true); | ||
else // if (!ctrl || !shift || !alt) | ||
- SetAreaMouseFunction(wxPLOTCTRL_MOUSE_NOTHING, true); | ||
+ SetAreaMouseFunction(m_default_area_mouse_func, true); | ||
} | ||
|
||
void wxPlotCtrl::ProcessAreaEVT_PAINT( wxPaintEvent& WXUNUSED(event), wxPaintDC& dc, wxPlotCtrlArea* areaWin ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>Alatar</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
</longdescription> | ||
</pkgmetadata> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2012 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=4 | ||
WX_GTK_VER="3.0" | ||
|
||
inherit autotools flag-o-matic subversion wxwidgets | ||
|
||
DESCRIPTION="wxPlotCtrl is a interactive xy data plotting widgets" | ||
HOMEPAGE="http://wxcode.sourceforge.net/" | ||
ESVN_REPO_URI="https://svn.code.sf.net/p/wxcode/code/trunk/wxCode/components/${PN}" | ||
ESVN_REVISION="3131" | ||
ESVN_PATCHES="${FILESDIR}/*.patch" | ||
SRC_URI="" | ||
|
||
LICENSE="wxWidgets licence" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
DEPEND="x11-libs/wxGTK:3.0[X] | ||
x11-libs/wxthings" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_configure() { | ||
append-flags -fPIC -DwxPLOTCTRL_FAST_GRAPHICS=0 | ||
|
||
econf \ | ||
--with-wx-config="${WX_CONFIG}" | ||
} | ||
|
||
src_install() { | ||
emake DESTDIR="${D}" install || die "Install failed" | ||
} | ||
|
Oops, something went wrong.