summaryrefslogtreecommitdiff
path: root/gnome-base/libgnomeprintui
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /gnome-base/libgnomeprintui
reinit the tree, so we can have metadata
Diffstat (limited to 'gnome-base/libgnomeprintui')
-rw-r--r--gnome-base/libgnomeprintui/Manifest9
-rw-r--r--gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-adwaita-icon-theme.patch12
-rw-r--r--gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-intl.patch10
-rw-r--r--gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-orientation-for-preview.patch44
-rw-r--r--gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-system-config-printer.patch12
-rw-r--r--gnome-base/libgnomeprintui/libgnomeprintui-2.18.6-r2.ebuild46
-rw-r--r--gnome-base/libgnomeprintui/metadata.xml8
7 files changed, 141 insertions, 0 deletions
diff --git a/gnome-base/libgnomeprintui/Manifest b/gnome-base/libgnomeprintui/Manifest
new file mode 100644
index 000000000000..47e8f5a7d9c9
--- /dev/null
+++ b/gnome-base/libgnomeprintui/Manifest
@@ -0,0 +1,9 @@
+AUX libgnomeprintui-2.18.6-adwaita-icon-theme.patch 432 SHA256 1f5c6876d475ccc6a1f45cd5e9e3c5ee0e24313e9a3b8ef6241efa244f414938 SHA512 99af09eb081b419d126ac0bc664da16cfae67fede67190f67f48642efa1624cb49690601514ff77978c9577b76d9c9e79b775f96eab0961e890871be2a88681a WHIRLPOOL ffd63f88c02efdeb8f07fc3ffe4d0d5c18a25ea0edac441692662e1eda75eeab2ccc3fadbac559633bc92b4fe46e9508b383afdac3c49fc49797b4659227ac5d
+AUX libgnomeprintui-2.18.6-intl.patch 375 SHA256 7ebab4b8a220fdfa27bf04c26df4bdace7721cec257fee119120c21d30860dc6 SHA512 78f37aa03642d78eef38923b9b487748c275571ddba090ce96c52797f7166f8930f937c3b579fcd83255d9fa703c6fb5f718d734cfb9e2af289059ee482035ee WHIRLPOOL dfd58afa51f11ff885c5d5fea17570d67bf6ad3d69420db81d7f4649c5053abb2c6761991efe24e131d5cf0046307d8e421a8327090ece4587b2c0330468ca0b
+AUX libgnomeprintui-2.18.6-orientation-for-preview.patch 1660 SHA256 1e40ef8422abebfa0eacdcdfe60c154f0fcab35fb2216b5f5c799eafb56ed4c4 SHA512 aac905ee6e66367a36a2f2d1d256e3a97f1071fbd445e5d759a42ede3f0f59c3e80b4108b948de3b44ab24a0c2ae8cc32dbc72dbbbb3bde6c94d725741faa6b6 WHIRLPOOL e7f75319d339baab679dd1719e3cf81cdbacb47d3e3f518149eb4bb63f61a9ffdc4f5dd1f94886f8e937acaca31cbb0e72c9edee9b3bc38551744929bd0d3aff
+AUX libgnomeprintui-2.18.6-system-config-printer.patch 710 SHA256 bfc74fd9557f5740d2ae86f55395351f510a10f52bb50679b109939017b1d0d0 SHA512 35323ad7e829ce5dc0f607637e16cfeb5d88fe63685801887b2c295b5f81640722d9f25c1e85c9a346c6dd2c38bde5bcc9cb97c529a154dfd5d52a6b66452c70 WHIRLPOOL c484a30985d6d43005bc07fe4ceb65cb463464f23322db928093bb0f4a07164aff81205dc62d378638c1b9069b642713b424033a482b8772dd2de3a13777e689
+DIST libgnomeprintui-2.18.6.tar.bz2 681125 SHA256 156ae5b66e5dcc546efa2449048f792d76c55b30d93a9b67b0c69665e346f46a SHA512 acf44fd8b273f5e48c9c7224647704c1d45a66c8fb7279414028506fd6b8941126636499793c825a767f2f731fcddce78ce750670969d5ff9236e9ff75dca002 WHIRLPOOL 069b0985692838511b023eb6ee617855ed60cba4e0095f6ec1100a28aa5f6e541471599c647fcc51971e5f576a401f72fae5749b2a4071a4a6de5923879ec96f
+EBUILD libgnomeprintui-2.18.6-r2.ebuild 1143 SHA256 14dcc0ff11538de95061e8db5e9895174f0e4e9db2aaa7ec7304b43591901f69 SHA512 6a4e8afc4cba31086cce62d2602b3fde587e808035b5fa99c73420750e8dbd4f1f24c8401310f8f6c9705c0cf0e5cd0fbf1d3d94f56c4e4cb3b91aba069928eb WHIRLPOOL 06ba8c4726c2d344f63739236cf8cb83e4632f8c7e07fe4ba2d5018665317f1957b380321008eb3a59744bc8499453ad95b77f1c297510d718ca1457875e1d02
+MISC ChangeLog 3395 SHA256 820ac019a123b874567e200ce611fdda2232ffed3a63830f11b4935559fe9a12 SHA512 7b25b43c8f5a42e05ad1650bcfbaf79206346333b710b61151b3dc00564d5474a4f56bf3bc785c828423c9501194429e6e5cd0f411e52a048ba45ee100e07a5f WHIRLPOOL 106bd4e307fa643ac71980c4d11b576f61d4c394fc6cc292c72b46c9f3f4715fe2803b9788b3e78d407a4dc02f86f8bc26f45d6ac0678b84227ef1b7bd808718
+MISC ChangeLog-2015 22940 SHA256 a3b162bba9f9ae9ae068a2882006d1c3ec0b0dfb503e04e5f51e161ae87a7b0b SHA512 1c17fb06fc648de137a9406d7a9d4fbd3bdcb20d08ca40de6dc5418300494be65bc524240fbf6ca8cd5b51ef076a7db1da358bfd093f508a2693c84b785b5d76 WHIRLPOOL 9d345f71ecb29defd84d3b73da6f93a62c3343c5a3e5a5782da0bad66a654df1b5089e5244c189d1b6c2c41902e863a660919522671afc79cebe78574dda71bc
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-adwaita-icon-theme.patch b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-adwaita-icon-theme.patch
new file mode 100644
index 000000000000..f1fc4541db65
--- /dev/null
+++ b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-adwaita-icon-theme.patch
@@ -0,0 +1,12 @@
+diff -up ./configure.in.orig ./configure.in
+--- ./configure.in.orig 2014-05-04 11:07:55.308844477 +0300
++++ ./configure.in 2014-05-04 11:08:26.884571685 +0300
+@@ -64,7 +64,7 @@ PKG_CHECK_MODULES(LIBGNOMEPRINTUI, [
+ gtk+-2.0 >= 2.6.0
+ libgnomeprint-2.2 >= 2.12.1
+ libgnomecanvas-2.0 >= 1.117.0
+- gnome-icon-theme >= 1.1.92
++ adwaita-icon-theme >= 1.1.92
+ ])
+ AC_SUBST(LIBGNOMEPRINTUI_CFLAGS)
+ AC_SUBST(LIBGNOMEPRINTUI_LIBS)
diff --git a/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-intl.patch b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-intl.patch
new file mode 100644
index 000000000000..db206e6b13e8
--- /dev/null
+++ b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-intl.patch
@@ -0,0 +1,10 @@
+--- libgnomeprintui-2.18.6/libgnomeprintui/gpaui/Makefile.am~ 2010-02-09 12:33:13.000000000 +0000
++++ libgnomeprintui-2.18.6/libgnomeprintui/gpaui/Makefile.am 2015-11-03 23:16:49.625137517 +0000
+@@ -2,7 +2,6 @@
+
+ INCLUDES = \
+ -I$(top_srcdir) \
+- -I$(top_srcdir)/intl \
+ -I$(top_srcdir)/libgnomeprintui \
+ -DWE_ARE_LIBGNOMEPRINT_INTERNALS \
+ $(LIBGNOMEPRINTUI_CFLAGS) \
diff --git a/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-orientation-for-preview.patch b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-orientation-for-preview.patch
new file mode 100644
index 000000000000..3a6aa63fe356
--- /dev/null
+++ b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-orientation-for-preview.patch
@@ -0,0 +1,44 @@
+--- ./libgnomeprintui/gnome-print-job-preview.c.orig 2012-02-23 22:48:42.000000000 +0600
++++ ./libgnomeprintui/gnome-print-job-preview.c 2012-02-25 00:18:43.000000000 +0600
+@@ -152,6 +152,7 @@
+ GtkWidget *last;
+ GnomeCanvas *canvas;
+ GnomePrintConfig *config;
++ guchar *paper_orientation_save;
+
+ guint current_page, current_offset;
+
+@@ -2187,6 +2188,19 @@
+ if (jp->config)
+ g_object_unref (G_OBJECT (jp->config));
+ jp->config = config;
++ if( config ) {
++ guchar *txt = gnome_print_config_get( jp->config, (const guchar*)GNOME_PRINT_KEY_PAGE_ORIENTATION );
++ if( ( g_ascii_strcasecmp(( const gchar* )txt, "R90") == 0 ) ||
++ ( g_ascii_strcasecmp(( const gchar* )txt, "R270") == 0 ) ) {
++ jp->paper_orientation_save =
++ gnome_print_config_get( jp->config, (const guchar*)GNOME_PRINT_KEY_PAPER_ORIENTATION );
++ gnome_print_config_set( jp->config, (const guchar*)GNOME_PRINT_KEY_PAPER_ORIENTATION, txt );
++ g_free ( txt );
++ }
++ else {
++ jp->paper_orientation_save = NULL;
++ }
++ }
+ if (!jp->config)
+ return;
+ g_object_ref (G_OBJECT (jp->config));
+@@ -2389,6 +2403,13 @@
+ {
+ GnomePrintJobPreview *jp = GNOME_PRINT_JOB_PREVIEW (object);
+
++ if( jp->paper_orientation_save ) {
++ gnome_print_config_set( jp->config, (const guchar*)GNOME_PRINT_KEY_PAPER_ORIENTATION,
++ jp->paper_orientation_save );
++ g_free ( jp->paper_orientation_save );
++ jp->paper_orientation_save = NULL;
++ }
++
+ gnome_print_job_preview_set_config (jp, NULL);
+ gnome_print_job_preview_set_job (jp, NULL);
+
diff --git a/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-system-config-printer.patch b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-system-config-printer.patch
new file mode 100644
index 000000000000..57e188c863b7
--- /dev/null
+++ b/gnome-base/libgnomeprintui/files/libgnomeprintui-2.18.6-system-config-printer.patch
@@ -0,0 +1,12 @@
+diff -p -up libgnomeprintui-2.18.3/libgnomeprintui/gnome-printer-selector.c.system-config-printer libgnomeprintui-2.18.3/libgnomeprintui/gnome-printer-selector.c
+--- libgnomeprintui-2.18.3/libgnomeprintui/gnome-printer-selector.c.system-config-printer 2008-09-23 10:49:59.000000000 +0200
++++ libgnomeprintui-2.18.3/libgnomeprintui/gnome-printer-selector.c 2008-09-23 10:50:47.000000000 +0200
+@@ -47,7 +47,7 @@
+ #include "gpaui/gpa-transport-selector.h"
+
+ #define GPS_PAD 4
+-#define ADD_PRINTER_APP "gnome-cups-add"
++#define ADD_PRINTER_APP "system-config-printer"
+
+ static void gnome_printer_selector_class_init (GnomePrinterSelectorClass *klass);
+ static void gnome_printer_selector_init (GObject *object);
diff --git a/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6-r2.ebuild b/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6-r2.ebuild
new file mode 100644
index 000000000000..ab335f9a1373
--- /dev/null
+++ b/gnome-base/libgnomeprintui/libgnomeprintui-2.18.6-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit autotools gnome2 multilib-minimal
+
+DESCRIPTION="User interface libraries for gnome print"
+HOMEPAGE="https://www.gnome.org/"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="2.2"
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ >=gnome-base/libgnomeprint-2.12.1[${MULTILIB_USEDEP}]
+ >=gnome-base/libgnomecanvas-1.117[${MULTILIB_USEDEP}]
+ >=x11-libs/gtk+-2.6:2[${MULTILIB_USEDEP}]
+ x11-themes/adwaita-icon-theme
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+"
+
+src_prepare() {
+ # Patches from Mageia
+ eapply "${FILESDIR}"/${P}-adwaita-icon-theme.patch
+ eapply "${FILESDIR}"/${P}-intl.patch
+ eapply "${FILESDIR}"/${P}-orientation-for-preview.patch
+ eapply "${FILESDIR}"/${P}-system-config-printer.patch
+ eautoreconf
+ gnome2_src_prepare
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure \
+ --disable-static
+}
+
+multilib_src_install() {
+ gnome2_src_install
+}
diff --git a/gnome-base/libgnomeprintui/metadata.xml b/gnome-base/libgnomeprintui/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/gnome-base/libgnomeprintui/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>