From 8cf7f9a187a926415120fb5893271dbdfa9fb652 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 10 May 2009 13:55:07 +0200 Subject: initial import --- x11-themes/gtk-engines-nodoka/Manifest | 2 + .../gtk-engines-nodoka-0.7.2.ebuild | 30 ++++++++++ .../notification-daemon-engine-nodoka/Manifest | 5 ++ ...cation-daemon-engine-nodoka-0.1.0-fromgit.patch | 65 ++++++++++++++++++++++ .../notification-daemon-engine-nodoka-0.1.0.ebuild | 36 ++++++++++++ 5 files changed, 138 insertions(+) create mode 100644 x11-themes/gtk-engines-nodoka/Manifest create mode 100644 x11-themes/gtk-engines-nodoka/gtk-engines-nodoka-0.7.2.ebuild create mode 100644 x11-themes/notification-daemon-engine-nodoka/Manifest create mode 100644 x11-themes/notification-daemon-engine-nodoka/files/notification-daemon-engine-nodoka-0.1.0-fromgit.patch create mode 100644 x11-themes/notification-daemon-engine-nodoka/notification-daemon-engine-nodoka-0.1.0.ebuild (limited to 'x11-themes') diff --git a/x11-themes/gtk-engines-nodoka/Manifest b/x11-themes/gtk-engines-nodoka/Manifest new file mode 100644 index 0000000..4867c14 --- /dev/null +++ b/x11-themes/gtk-engines-nodoka/Manifest @@ -0,0 +1,2 @@ +DIST gtk-nodoka-engine-0.7.2.tar.gz 362217 RMD160 d22899ed36a795e1aa0482a68205063df1695614 SHA1 7bc8c778cfb76717a2881b7524daa4a7acf3a16b SHA256 e4e6952c954e7d1226d759b1a79e3fbc41a3b9c27e106ea05db5172e3dceb768 +EBUILD gtk-engines-nodoka-0.7.2.ebuild 744 RMD160 dbd90b3c4472a222b7dbc9fe8d4f10b5cebf8a74 SHA1 28a9dd182711251d687d57d5fd7ca94f310a1ca3 SHA256 b18bd71cfb28a0b5a7910d196edeb794a704c955d07281c619b611039b45c471 diff --git a/x11-themes/gtk-engines-nodoka/gtk-engines-nodoka-0.7.2.ebuild b/x11-themes/gtk-engines-nodoka/gtk-engines-nodoka-0.7.2.ebuild new file mode 100644 index 0000000..30800c3 --- /dev/null +++ b/x11-themes/gtk-engines-nodoka/gtk-engines-nodoka-0.7.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_P="gtk-nodoka-engine-${PV}" + +DESCRIPTION="GTK+ engine and themes developed by the Fedora Project" +HOMEPAGE="https://fedorahosted.org/nodoka/" +SRC_URI="https://fedorahosted.org/releases/n/o/nodoka/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.8.0" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf --disable-dependency-tracking --enable-animation + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS CREDITS ChangeLog NEWS README TODO || die "dodoc failed" +} diff --git a/x11-themes/notification-daemon-engine-nodoka/Manifest b/x11-themes/notification-daemon-engine-nodoka/Manifest new file mode 100644 index 0000000..b013ecd --- /dev/null +++ b/x11-themes/notification-daemon-engine-nodoka/Manifest @@ -0,0 +1,5 @@ +AUX notification-daemon-engine-nodoka-0.1.0-fromgit.patch 1968 RMD160 278729073e844e250313be0c9e00f58493f72d07 SHA1 74719d943777c130a8b1a87f826e6a6df5e748fa SHA256 a6a7f7a7162a7e4efd6fdc3d7b71c774c461394395fc2577ca783a34170eac94 +AUX notification-daemon-engine-nodoka-0.1.0-fromgit.patch~ 2391 RMD160 0578250919d6cee722d43224f1aaa547cec71d1f SHA1 19c5f57fd35cf2a25bc4eecff5b7191cb347043d SHA256 90a1be437882a21329e1d87932443452f19957a4fbaa7f4f9949deb1fcf51e71 +DIST notification-daemon-engine-nodoka-0.1.0.tar.gz 335260 RMD160 acd21c6049c3c9ecd20d9ee77cad5e4dbf2a3b27 SHA1 57030a6b85c16bebdb319593923b8dd4b747e84b SHA256 887359a3cdf48b4fe67a2b2697f5f22b0e42cce6f41bf61c912cd1b0412913af +EBUILD notification-daemon-engine-nodoka-0.1.0.ebuild 801 RMD160 a26982795f1f2aa93cfb045ac21e61343bbadea0 SHA1 5a3788c0e82258b2f97b05cbce56ea304a5b4ffa SHA256 d0c50b57b1034d1b58a46a46ea9f6c9552e79f554af10d90e3f5180eaa124b45 +MISC notification-daemon-engine-nodoka-0.1.0.ebuild~ 677 RMD160 1e9b93302cc06a05483adb3d899f92c6497830c2 SHA1 404b5cdfd292288a9c1b32a56feb048b051a49b0 SHA256 d5cdfbb4f33a838415a01f25f5b869cb9ff6bcf99a089efda9a7065d27d286c4 diff --git a/x11-themes/notification-daemon-engine-nodoka/files/notification-daemon-engine-nodoka-0.1.0-fromgit.patch b/x11-themes/notification-daemon-engine-nodoka/files/notification-daemon-engine-nodoka-0.1.0-fromgit.patch new file mode 100644 index 0000000..675d496 --- /dev/null +++ b/x11-themes/notification-daemon-engine-nodoka/files/notification-daemon-engine-nodoka-0.1.0-fromgit.patch @@ -0,0 +1,65 @@ +--- notification-daemon-engine-nodoka-0.1.0/src/nodoka-theme.c 2008-04-20 11:50:24.000000000 +0200 ++++ /tmp/nodoka/notification-daemon-engine-nodoka/src/nodoka-theme.c 2009-05-10 13:09:13.000000000 +0200 +@@ -41,7 +41,6 @@ + + int offset; + GdkPoint position; +- + } ArrowParameters; + + typedef struct +@@ -73,6 +72,7 @@ + + UrlClickedCb url_clicked; + ++ GtkTextDirection rtl; + } WindowData; + + +@@ -367,7 +367,9 @@ + draw_stripe(GtkWidget *widget, WindowData *windata, cairo_t *cr) + { + cairo_save (cr); +- cairo_rectangle (cr, 0, 0, STRIPE_WIDTH, windata->height); ++ cairo_rectangle (cr, (windata->rtl == GTK_TEXT_DIR_RTL) ? ++ windata->width-STRIPE_WIDTH : 0, 0, ++ STRIPE_WIDTH, windata->height); + cairo_clip (cr); + + GdkColor top_color; +@@ -614,8 +616,7 @@ + unsigned int micro_ver) + { + return major_ver == 0 && +- minor_ver == 3 && +- micro_ver >= 2; ++ (minor_ver > 3 || (minor_ver == 3 && micro_ver >= 2)); + } + + /* Sending theme info to the notification daemon */ +@@ -658,6 +659,7 @@ + win = gtk_window_new(GTK_WINDOW_POPUP); + windata->win = win; + ++ windata->rtl = gtk_widget_get_default_direction(); + windata->enable_transparency = FALSE; + screen = gtk_window_get_screen(GTK_WINDOW(win)); + colormap = gdk_screen_get_rgba_colormap(screen); +@@ -672,7 +674,7 @@ + gtk_window_set_title(GTK_WINDOW(win), "Notification"); + gtk_widget_add_events(win, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + gtk_widget_realize(win); +- gtk_widget_set_size_request(win, WIDTH, -1); ++// gtk_widget_set_size_request(win, WIDTH, -1); + + g_object_set_data_full(G_OBJECT(win), "windata", windata, + (GDestroyNotify)destroy_windata); +@@ -819,7 +821,7 @@ + update_content_hbox_visibility(windata); + + gtk_widget_set_size_request( +- ((body != NULL && *body == '\0') ++ ((body != NULL && *body != '\0') + ? windata->body_label : windata->summary_label), + WIDTH - (IMAGE_SIZE + IMAGE_PADDING) - 10, + -1); diff --git a/x11-themes/notification-daemon-engine-nodoka/notification-daemon-engine-nodoka-0.1.0.ebuild b/x11-themes/notification-daemon-engine-nodoka/notification-daemon-engine-nodoka-0.1.0.ebuild new file mode 100644 index 0000000..47869e2 --- /dev/null +++ b/x11-themes/notification-daemon-engine-nodoka/notification-daemon-engine-nodoka-0.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="notification-daemon theme developed by the Fedora Project" +HOMEPAGE="https://fedorahosted.org/nodoka/" +SRC_URI="https://fedorahosted.org/releases/n/o/nodoka/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.8.0" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${P}" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}"/"${P}"-fromgit.patch +} + +src_compile() { + econf --disable-dependency-tracking + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" +} -- cgit v1.2.3