media-gfx/gnome-screenshot: Fix colon in output filename so that it can be synched...
authorkristianf <devnull@localhost>
Mon, 1 Dec 2014 12:46:12 +0000 (13:46 +0100)
committerkristianf <devnull@localhost>
Mon, 1 Dec 2014 12:46:12 +0000 (13:46 +0100)
app-crypt/gnupg/Manifest
app-crypt/gnupg/gnupg-9999.ebuild
media-gfx/gnome-screenshot/Manifest [new file with mode: 0644]
media-gfx/gnome-screenshot/files/gnome-screenshot-3.12.0-remove-space-and-colon-from-time.patch [new file with mode: 0644]
media-gfx/gnome-screenshot/gnome-screenshot-3.12.0-r1.ebuild [new file with mode: 0644]

index b016143..08093b2 100644 (file)
@@ -1,3 +1,4 @@
 AUX gnupg-2.0.17-gpgsm-gencert.patch 1121 SHA256 fa8369a4466b3cce54215a348940422f46f4d359f9e9b3c7029a1138870888df SHA512 ecde032b205cc16c33ff21ded55b93e74058cd804d68e4a0738ac70d54b5b388b6f709d21719a5e418c662b7ee74bc4aef7a0c59de106e2d4bd06b7bc1a11138 WHIRLPOOL 5dc4d3de29290e8e274a0f4fef871cea7f49553846254d819ca776000978a72c694212559d9ad03312f94f71f406de4641c0575188d340017a7937b01753b8a0
+AUX gnupg-2.1-hkps-schema.patch 829 SHA256 4bc10c412cacba07b8ffc5aa3f376d3a0a46fef41dc842a602344c6fe41218c9 SHA512 c3b85a51728eec7c837f609c0a41b354121e9db02c66cb462be375806f5be4e53d606272492985b03c47160247dd75698bcc48d4b40f1b0b725407bd45a70db5 WHIRLPOOL 2b43aa0447a9ac3a63ead6f8bc8cbd44bc8c7fea6406360c11d16e16f4af9f67d61e5536c10e3d764046e502429075c1bb48cc5e2f9eb76fde19c1f6df06bfd8
 AUX gnupg_master_0002-Fix-building-with-GNU-Automake-1.13.patch 2143 SHA256 2413ac5c9607450c7792c52754d4500249ab5e07ded649c752f89f243cf43b4e SHA512 adf90513afd9b3c7384b53e3b5b95c305567b6707ed9a60d76e49b28744e358da4b4412b0df266e9a214e3c4fbcf9ebe8523584436143b7e57aca620a0db422e WHIRLPOOL f2d2f59656caf1abfaf0066383deb1d27aab43c2b25bd3a9fa27cf3c4a0357e875058ef138b7a5237526fece6c3910604deac5fec6af01ada97e88f7b44b54bf
-EBUILD gnupg-9999.ebuild 4839 SHA256 f4871925784d5fab10b361dcf2a57b688a5775822d6d51dcc06899de9c2f7ee5 SHA512 e1a024e223620cc89e2e3a7f33c808f1a4797c6a0a32c9fff2f65f9e3cb0eb66f15047fbb5c39fe4f966abfd0b98ab7214c7c6d3d18658895ed981ae34b90a67 WHIRLPOOL 4f390398fdd753c60059d8872045547050d46ede951bcb448750cb18404f7e45b89c0aadfe7e4692a5792067366162122e5755489982ad49ea9a88411534823a
+EBUILD gnupg-9999.ebuild 4890 SHA256 94a65f0e3fb8179e42b5b4cf89507e6b9663e031d2e5ebc3378d055bd5911ae3 SHA512 6f1474647d6e41b0212a7ed2f29976ebc80cd5553f96b1bda4c5da9d5e28fbe627c93dda3ee609cb27ed90ff82856d00d003cb2e5267bf6967ccbebb3cbe17c4 WHIRLPOOL e3f7fb59dcd002da3a078e6549567618652e053fa7bf5e29bb21827a0131a39ca28d7587fdb8c467d13659d73d4d365de2c4569c02d7a36e46a8af0f67f85e9f
index 9c6a204..547021e 100644 (file)
@@ -63,6 +63,7 @@ S="${WORKDIR}/${MY_P}"
 src_prepare() {
        epatch "${FILESDIR}/gnupg_master_0002-Fix-building-with-GNU-Automake-1.13.patch"
        epatch "${FILESDIR}/${PN}-2.0.17-gpgsm-gencert.patch"
+#      epatch "${FILESDIR}/${PN}-2.1-hkps-schema.patch"
        epatch_user
        autoreconf || die "Autoreconf fail"
        ./autogen.sh || die "Autgen script failed"
diff --git a/media-gfx/gnome-screenshot/Manifest b/media-gfx/gnome-screenshot/Manifest
new file mode 100644 (file)
index 0000000..3f408a7
--- /dev/null
@@ -0,0 +1,3 @@
+AUX gnome-screenshot-3.12.0-remove-space-and-colon-from-time.patch 448 SHA256 3d34e973e2264daefd4f3c1c1cc8f310a7af5168fd49c16b824c620ce7728470 SHA512 2132a871a5ce0f46d5bdc5ad665d4ec2cad1edf1aaf8dcbe4f4b981bfdd35babe72dd060b6d8788a736976648d0af1717c866d8a0136005d1fb3ef09a24a718e WHIRLPOOL ea66204c5cb9a362c4cb1d5cc1a1a9ad4e2b6131bf206d7bea9e4c386a25bd895440cf511ccf88a69d8e6704659125b25b6c998e84e7c7ad0ea16ac65a3b940c
+DIST gnome-screenshot-3.12.0.tar.xz 258112 SHA256 ae4bf706652ae9b28c7930d22c2c37469a78d7f6656d312960b3c75ee5c36eb1 SHA512 0b150aba057eae041c35c76f8b1ed2e630ca7d5a59d3a9c7d2307b261530de7194113382085f580f58eaa657ec545df572e5c2ecd7e19184e3247f07814025dc WHIRLPOOL cf60b21d657d23b0d29dd87c5b8e2f0a2b7abb64db134bbb3ebd0813aa846f5804e459ab486e3bdf99b8aa7193e8c9ea54ffeffc404e4ea3a6c56e951357d12e
+EBUILD gnome-screenshot-3.12.0-r1.ebuild 1437 SHA256 1d8e48ee3cdf25963afd97f3a811ae5c015b1b08e40fe583085f23c80dd07991 SHA512 4e19d4fba2c6c168b3d35310fa547fe98ce1334199c434c67f15d2d263b0ac90eab225d2bb6044d59d15c0f4f4607fd10caf3da6839aa82b2acb5035636f4db4 WHIRLPOOL b539b93d2ea27aae5c7b697d0c4a86bb74133f50d685eed34bb08282afe332bd41242c7519a9b53c424e1b5bdd39515401f8b74a26cfe4c8021fa18e723d8a0b
diff --git a/media-gfx/gnome-screenshot/files/gnome-screenshot-3.12.0-remove-space-and-colon-from-time.patch b/media-gfx/gnome-screenshot/files/gnome-screenshot-3.12.0-remove-space-and-colon-from-time.patch
new file mode 100644 (file)
index 0000000..5e9f6ad
--- /dev/null
@@ -0,0 +1,12 @@
+diff -r 984d935e1ab9 src/screenshot-filename-builder.c
+--- a/src/screenshot-filename-builder.c        Mon Dec 01 13:32:02 2014 +0100
++++ b/src/screenshot-filename-builder.c        Mon Dec 01 13:33:00 2014 +0100
+@@ -132,7 +132,7 @@
+       GDateTime *d;
+       d = g_date_time_new_now_local ();
+-      origin = g_date_time_format (d, "%Y-%m-%d %H:%M:%S");
++      origin = g_date_time_format (d, "%Y-%m-%d-%H-%M-%S");
+       g_date_time_unref (d);
+     }
+   else
diff --git a/media-gfx/gnome-screenshot/gnome-screenshot-3.12.0-r1.ebuild b/media-gfx/gnome-screenshot/gnome-screenshot-3.12.0-r1.ebuild
new file mode 100644 (file)
index 0000000..5dfef94
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-screenshot/gnome-screenshot-3.12.0.ebuild,v 1.3 2014/07/23 15:18:55 ago Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2 readme.gentoo
+
+DESCRIPTION="Screenshot utility for GNOME"
+HOMEPAGE="https://live.gnome.org/GnomeUtils"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+
+# libcanberra 0.26-r2 is needed for gtk+:3 fixes
+COMMON_DEPEND="
+       >=dev-libs/glib-2.35.1:2
+       >=media-libs/libcanberra-0.26-r2[gtk3]
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf
+       >=x11-libs/gtk+-3.0.3:3
+       x11-libs/libX11
+       x11-libs/libXext
+"
+RDEPEND="${COMMON_DEPEND}
+       >=gnome-base/gsettings-desktop-schemas-0.1.0
+       !<gnome-extra/gnome-utils-3.4
+"
+# ${PN} was part of gnome-utils before 3.4
+DEPEND="${COMMON_DEPEND}
+       x11-proto/xextproto
+       >=dev-util/intltool-0.40
+       virtual/pkgconfig
+"
+
+DOC_CONTENTS="${P} saves screenshots in ~/Pictures/ and defaults to
+       non-interactive mode when launched from a terminal. If you want to choose
+       where to save the screenshot, run 'gnome-screenshot --interactive'"
+
+src_prepare()
+{
+       default
+       epatch "${FILESDIR}/${P}-remove-space-and-colon-from-time.patch"
+}
+
+src_install() {
+       gnome2_src_install
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       readme.gentoo_print_elog
+}