summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-08 22:23:36 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-08 22:23:36 +0000
commit42dd1be7c5be05611674385fafb84a7ce443cfb2 (patch)
tree4324ddd86634f7236c7152b7cffa00035f267fbf /app-misc/gcstar
parentBump to 0.4.4 (diff)
downloadhistorical-42dd1be7c5be05611674385fafb84a7ce443cfb2.tar.gz
historical-42dd1be7c5be05611674385fafb84a7ce443cfb2.tar.bz2
historical-42dd1be7c5be05611674385fafb84a7ce443cfb2.zip
Version bump with bug fixes and UI improvements.
Package-Manager: portage-2.2.0_alpha124/cvs/Linux x86_64
Diffstat (limited to 'app-misc/gcstar')
-rw-r--r--app-misc/gcstar/ChangeLog8
-rw-r--r--app-misc/gcstar/Manifest19
-rw-r--r--app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch23
-rw-r--r--app-misc/gcstar/gcstar-1.7.0.ebuild114
4 files changed, 162 insertions, 2 deletions
diff --git a/app-misc/gcstar/ChangeLog b/app-misc/gcstar/ChangeLog
index 70e3a3ad6897..9c964d55cd16 100644
--- a/app-misc/gcstar/ChangeLog
+++ b/app-misc/gcstar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/gcstar
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gcstar/ChangeLog,v 1.3 2012/04/05 08:43:22 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gcstar/ChangeLog,v 1.4 2012/09/08 22:23:36 tetromino Exp $
+
+*gcstar-1.7.0 (08 Sep 2012)
+
+ 08 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +gcstar-1.7.0.ebuild, +files/gcstar-1.7.0-gcstar.desktop.patch:
+ Version bump with bug fixes and UI improvements.
05 Apr 2012; Jeff Horelick <jdhore@gentoo.org> gcstar-1.6.2.ebuild:
marked x86 per bug 397727
diff --git a/app-misc/gcstar/Manifest b/app-misc/gcstar/Manifest
index 87d0335b081c..1f64f21e380b 100644
--- a/app-misc/gcstar/Manifest
+++ b/app-misc/gcstar/Manifest
@@ -1,5 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX gcstar-1.4.0-man.patch 902 SHA256 f75e4e4c38d8979963c760491aafc7668042fefff35a8b5c894eb9ab8f6ea0e1 SHA512 eb1f1ec1822927b5885350fd69f26e599afebe240cfdc01adde27894f37ebdfa2fe14fd0e5cda3e0f12acea622d852d5442fef1f08b4ab8e8238b9d1d5b56482 WHIRLPOOL b5117d201c9e262cc6502e6a0b3343263108e8919f461a8652255938cc2fe37aa09147d0c2eb2531675a35152db2ae912695f98b7645fd4e94d64f10a0771544
+AUX gcstar-1.7.0-gcstar.desktop.patch 796 SHA256 dd9cd1575bcbe97146b85e9ef48029267b577807cc0207a460b695d42bc457e9 SHA512 59ef9e55ffd607723b0cf833bf666ea4661db3af14b45425ba4b55de1d6144714eddf4cdbe17caddfa5a2876772c5c387a0fd06354c44fc8f3b26b83bba56150 WHIRLPOOL 441c6b9b12229b5624f62a1f423dd4eec2300df92c0888b9c220f8ba18b73dfff0f8675eed1d89d87464df8f80f6a28ee0b2875b4a720d4c28327c6c43ca85c7
DIST gcstar-1.6.2.tar.gz 4499704 SHA256 eca5ac91ae88125f8441007ee4db84828bf0c41f6f9de8f20ffe163c9a112741 SHA512 0d44f55dafe080efe0fdd9c3aae22dde6f682c1379ed1444cc203cea0b92866cda0bf30b32b7d7419577734b3ce64bc61c903f68b38f323b014e81b87ff1553c WHIRLPOOL 1f6bcd2902490f0e3040a8f1d30ccef4d30aa39bb875d5788747db71e50a0f90890889de0b845f34310f72276584d282bc4bbfc0099073bf3f527e2b987379e1
+DIST gcstar-1.7.0.tar.gz 4506937 SHA256 3cd76231c5410653b241c5aa37dc8120f4f94c3bccb3290f97ac0347acad7039 SHA512 9cb22a7ee38bbeae67ffc6f649ef6e988da43a1f353b027bacbf14ffcca8a4c12ef28d64876b2171396315eae95f76708a1307255eabc3eed6776137e2ae7090 WHIRLPOOL 6ce65af3395f9319d1123446e616f6b983170f14736ed47e5b20184d8dccd57f858758393dcf384bf5f7df46dac200945e21c9303c71a1f280d11939bf21daa4
EBUILD gcstar-1.6.2.ebuild 2849 SHA256 949269770985c690197b69501c9d0839117fcd8ad0a565a1b563a24fc1c45413 SHA512 8f9d02891c321712e7f58e9f258f26addd13e1088958cac236ed1d887bbe4072b4c3036d014a8caeb8d5e046260c70cb43803b88f10b069f1170092387070799 WHIRLPOOL 1bc7c4e44cd99d7f197fb0bc7dbe09142fe37a66c952c10ac15f8081c1894873ad6889dba15a803f70fb79709cd041edb112e2e8bcf33a883481f5ebfb03e262
-MISC ChangeLog 830 SHA256 1520970fdd562aa0c6391d8320650c9052f816e14ca9302b15ebe7ebb4a62228 SHA512 5168bc0cd754fd9f8112dae536ac636423ada3716b804de68e48fcf4f1b0ff7b2b5c61857c9b7c41c8147ca69fff88c99883f05cc05acc8d9ca65c8f55277171 WHIRLPOOL 7d041077e7448a9c4476935062e7e7e8132c88fc98f350bbb22459e72c8efb03f57cadff9618e8366454f3491ecd3c794bee4a9d6047a6c2958d37c0d40e657e
+EBUILD gcstar-1.7.0.ebuild 2978 SHA256 772d94bac2da116a2e1a5d158af279b44ac2a0326684f2f9dd97ef9d71dfbea9 SHA512 9e896114d19bba09e36aa935e75cbf0fdb4e9cb32a280d6c36e6938ddfe3b85d6c69e6512e18b992e4efeaa2d0f02f348e20706138d67feae98586955eb83c08 WHIRLPOOL 73d6bba3be4e922bddc78a2e1d06077d548ba6d6ccee4403fbf6c1ef0ea1ab16d0569c830f91a49713f7508b91e522185cc249da4a7c8ad8428023b8265821f7
+MISC ChangeLog 1039 SHA256 93fc3a6e304cb155f3821f3aec3e4d6b2a57e2ada0584e25efb482ac3e092d9e SHA512 4b61e7e02e5a3a7205d0067817e0c03332dec2d0daa6396ddd4b0e96f0b8858e62e488e9fa55bc183153118efb9a50403d48f66a0cf8410e7b3cf6f8206378f5 WHIRLPOOL a0ba4a3528e455eb5681971259973063f2a9be23076ed6e4defd898d4cae3306a1f3bc7966e340434911c8ef548af7946b802ec8373fabcf24ad24c0b5365834
MISC metadata.xml 953 SHA256 7a239f83a52feb23020d4d390796589b75ce557402e5fd1bc97f0a8203112424 SHA512 c69350dbe8f07cda4db9d14beca02791c65c1dc023d4f22c2d34612313b6e52bf9a81a85dc46a180cc5008fbd29b29247c612e2dbcec18cbe54ee067477f81a0 WHIRLPOOL b6bf4023c0932ee52db801c35377b26d36d28f94fc6cb4c68f39f9bcf9f647473f6ac85046335a5ecb2b7146f6f96871c198a315bde991b92bbb8d7fe6ee65ef
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQS8VtAAoJEJ0WA1zPCt1hmnUH/i0E3mcf7GES6FXqB7fSeaEv
+jGK81d5dhuA+sCxOC/q6CrxUCi4EynmtiyT228Z5fNKTzbKhZAHZV5FvDcXJ/KKm
+qUXQjWscNEar1y4tN1RQGCE4IKnK6VT1cVsB5wqjpdJ0i0sjbMyjdHstPrDTi73U
+bnaA4wNed/YJYeQQjRz5IKKzHOJlzqySF+h5mvV/42sjox3TrG3U0OXSoRW9IIJe
+HRQe1qO85lc2trnqnmgamGOcucQNe1oADlzgY2/Pu6QZYlXVh3jhD357lz+e4Ky9
+mr4qSW6hvWWtwXZiZlJzcstbRVLsX0FtMRw9ELoPFnCxE9532BsKQQXRgkU6hY0=
+=qHWo
+-----END PGP SIGNATURE-----
diff --git a/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch b/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch
new file mode 100644
index 000000000000..62b6a7b47401
--- /dev/null
+++ b/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch
@@ -0,0 +1,23 @@
+From e78617436de63141cd4ff6e42fc0391a9a00d80a Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Sat, 8 Sep 2012 18:14:40 -0400
+Subject: [PATCH] gcstar.desktop: MimeType list must be terminated with ';'
+
+Needed for gcstar.desktop to pass validation with desktop-file-utils-0.20
+---
+ gcstar/share/applications/gcstar.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gcstar/share/applications/gcstar.desktop b/gcstar/share/applications/gcstar.desktop
+index aa6a46d..c7a146e 100644
+--- a/gcstar/share/applications/gcstar.desktop
++++ b/gcstar/share/applications/gcstar.desktop
+@@ -15,4 +15,4 @@ Terminal=false
+ StartupNotify=true
+ Type=Application
+ Categories=Office;
+-MimeType=application/x-gcstar
++MimeType=application/x-gcstar;
+--
+1.7.12
+
diff --git a/app-misc/gcstar/gcstar-1.7.0.ebuild b/app-misc/gcstar/gcstar-1.7.0.ebuild
new file mode 100644
index 000000000000..a66de7a56fcb
--- /dev/null
+++ b/app-misc/gcstar/gcstar-1.7.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gcstar/gcstar-1.7.0.ebuild,v 1.1 2012/09/08 22:23:36 tetromino Exp $
+
+EAPI="4"
+
+inherit eutils fdo-mime gnome2-utils
+
+DESCRIPTION="Manage your collections of movies, games, books, music and more"
+HOMEPAGE="http://www.gcstar.org/"
+SRC_URI="http://download.gna.org/gcstar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cddb gnome mp3 spell stats tellico vorbis"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Archive-Zip
+ dev-perl/DateTime-Format-Strptime
+ dev-perl/gtk2-perl
+ dev-perl/HTML-Parser
+ dev-perl/libwww-perl
+ dev-perl/URI
+ dev-perl/XML-Parser
+ dev-perl/XML-Simple
+ virtual/perl-Archive-Tar
+ virtual/perl-Encode
+ virtual/perl-Getopt-Long
+ virtual/perl-File-Path
+ virtual/perl-File-Spec
+ virtual/perl-File-Temp
+ virtual/perl-IO-Compress
+ virtual/perl-libnet
+ virtual/perl-Storable
+ virtual/perl-Time-Piece
+
+ cddb? ( dev-perl/Net-FreeDB )
+ gnome? ( dev-perl/gnome2-vfs-perl )
+ mp3? ( dev-perl/MP3-Info dev-perl/MP3-Tag )
+ spell? ( dev-perl/gtk2-spell )
+ stats? ( dev-perl/Date-Calc
+ dev-perl/GD[png,truetype] )
+ tellico? ( virtual/perl-Digest-MD5
+ virtual/perl-MIME-Base64 )
+ vorbis? ( dev-perl/Ogg-Vorbis-Header-PurePerl )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.4.0-man.patch"
+ epatch "${FILESDIR}/${P}-gcstar.desktop.patch"
+}
+
+src_install() {
+ if [[ -n ${LINGUAS+set} ]]; then
+ # LINGUAS is set, let's try to respect it.
+ pushd lib/gcstar/GCLang > /dev/null
+
+ mkdir tmp || die "mkdir failed"
+ mv ?? ZH_CN tmp || die "mv 1 failed"
+ # English version should be always available so we will keep it
+ mv tmp/EN . || die "mv 2 failed"
+
+ for x in ${LINGUAS}; do
+ if [[ ${x} = "zh_CN" ]]; then
+ mv "tmp/ZH_CN" . || die "mv 3 failed"
+ else
+ # GCstar uses upper-case, 2-letter language codes
+ d=$(echo ${x} | tr '[:lower:]' '[:upper:]' | sed -e 's:_.*::')
+ if [[ -d "tmp/${d}" ]]; then
+ mv "tmp/${d}" . || die "mv 5 failed"
+ fi
+ fi
+ done
+
+ rm -rf tmp
+ popd > /dev/null
+ fi
+
+ # Yes, ED *is* needed here. gcstar's install lacks any concept of DESTDIR.
+ ./install --prefix="${ED}usr" \
+ --noclean --nomenu || die "install script failed"
+
+ domenu share/applications/gcstar.desktop
+ for size in 16 22 24 32 36 48 64 72 96 128 256
+ do
+ insinto /usr/share/icons/hicolor/${size}x${size}/apps
+ newins share/gcstar/icons/gcstar_${size}x${size}.png gcstar.png
+ done
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins share/gcstar/icons/gcstar_scalable.svg gcstar.svg
+ insinto /usr/share/mime/packages
+ doins share/applications/gcstar.xml
+
+ dodoc CHANGELOG README README.fr
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}