summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-01-07 14:22:28 +0000
committerAlin Năstac <mrness@gentoo.org>2008-01-07 14:22:28 +0000
commitecbfed304a2062d09fca1c21077b7fd065c7c0dd (patch)
treecd260a6153871d21caa3e0e088541034f1d7fdca /net-dialup
parentRemove private Glib::KeyFile usage as >=glibmm-2.14 provides an alternative, ... (diff)
downloadgentoo-2-ecbfed304a2062d09fca1c21077b7fd065c7c0dd.tar.gz
gentoo-2-ecbfed304a2062d09fca1c21077b7fd065c7c0dd.tar.bz2
gentoo-2-ecbfed304a2062d09fca1c21077b7fd065c7c0dd.zip
Change provider file URL; reduce font size to 8 pt in order to better cope with Gnome's default Sans font (#204304).
(Portage version: 2.1.3.19, RepoMan options: --force)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/qlcr/ChangeLog12
-rw-r--r--net-dialup/qlcr/files/digest-qlcr-0.4.1-r1 (renamed from net-dialup/qlcr/files/digest-qlcr-0.4.1)0
-rw-r--r--net-dialup/qlcr/files/qlcr-0.4.1-providerfileurl.patch30
-rw-r--r--net-dialup/qlcr/qlcr-0.4.1-r1.ebuild (renamed from net-dialup/qlcr/qlcr-0.4.1.ebuild)17
4 files changed, 54 insertions, 5 deletions
diff --git a/net-dialup/qlcr/ChangeLog b/net-dialup/qlcr/ChangeLog
index be75444b4116..4875a8983bea 100644
--- a/net-dialup/qlcr/ChangeLog
+++ b/net-dialup/qlcr/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-dialup/qlcr
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/qlcr/ChangeLog,v 1.9 2007/07/18 08:00:03 mrness Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/qlcr/ChangeLog,v 1.10 2008/01/07 14:22:28 mrness Exp $
+
+*qlcr-0.4.1-r1 (07 Jan 2008)
+
+ 07 Jan 2008; Alin Năstac <mrness@gentoo.org>
+ +files/qlcr-0.4.1-providerfileurl.patch, -qlcr-0.4.1.ebuild,
+ +qlcr-0.4.1-r1.ebuild:
+ Change provider file URL; reduce font size to 8 pt in order to better cope
+ with Gnome's default Sans font (#204304).
18 Jul 2007; Alin Năstac <mrness@gentoo.org> qlcr-0.4.1.ebuild:
Update HOMEPAGE.
diff --git a/net-dialup/qlcr/files/digest-qlcr-0.4.1 b/net-dialup/qlcr/files/digest-qlcr-0.4.1-r1
index f4c1b947095f..f4c1b947095f 100644
--- a/net-dialup/qlcr/files/digest-qlcr-0.4.1
+++ b/net-dialup/qlcr/files/digest-qlcr-0.4.1-r1
diff --git a/net-dialup/qlcr/files/qlcr-0.4.1-providerfileurl.patch b/net-dialup/qlcr/files/qlcr-0.4.1-providerfileurl.patch
new file mode 100644
index 000000000000..262cfa20f207
--- /dev/null
+++ b/net-dialup/qlcr/files/qlcr-0.4.1-providerfileurl.patch
@@ -0,0 +1,30 @@
+--- org/lcr.ui.h 2008-01-04 16:15:50.000000000 +0100
++++ src/lcr.ui.h 2008-01-04 16:31:17.000000000 +0100
+@@ -43,7 +43,8 @@
+ static QString debugfile=confdir+"debug.log";
+ static QString connectionfile=confdir+"connections.xml";
+ static QString connectionoutputfile=confdir+"connections.html";
+-static QString providerfileurl="http://zippedprovider.webhop.org";
++//static QString providerfileurl="http://zippedprovider.webhop.org";
++static QString providerfileurl="http://home.arcor.de/cubical/provider.xml.bz2";
+
+ static QString unknown="???";
+
+@@ -313,7 +314,7 @@
+ QRegExp wv("(Username|Password|Phone|Dialer LCR|Dialer Defaults|Modem|Init1|Init2|Init3|Baud|Dial Prefix|Dial Command)");
+
+ QStringList lines;
+- //lines+="[Dialer Defaults]";
++ lines+="[Dialer Defaults]";
+ lines+="Modem = "+ModemDevice->text();
+ lines+="Baud = "+ModemBaud->text();
+ lines+="Dial Command = "+DialString->text();
+@@ -365,7 +366,7 @@
+ if ( conffile.open( IO_WriteOnly ) ) {
+ QTextStream confstream( &conffile );
+ for ( QStringList::Iterator it = lines.begin(); it != lines.end(); ++it )
+- confstream << *it << "\n";
++ confstream << *it << "\n";
+ conffile.close();
+ }
+
diff --git a/net-dialup/qlcr/qlcr-0.4.1.ebuild b/net-dialup/qlcr/qlcr-0.4.1-r1.ebuild
index 9ff9ebaeca52..0b2d6ebbc6d8 100644
--- a/net-dialup/qlcr/qlcr-0.4.1.ebuild
+++ b/net-dialup/qlcr/qlcr-0.4.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/qlcr/qlcr-0.4.1.ebuild,v 1.9 2007/07/18 08:00:03 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/qlcr/qlcr-0.4.1-r1.ebuild,v 1.1 2008/01/07 14:22:28 mrness Exp $
inherit eutils kde-functions
@@ -17,6 +17,17 @@ DEPEND="$(qt_min_version 3.3)
>=net-dialup/wvdial-1.54.0
net-misc/ntp
net-misc/wget"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ # use a different provider file since the original one is no longer available
+ epatch "${FILESDIR}/${P}-providerfileurl.patch"
+ # reduce font size to 8 pts
+ sed --in-place "s:<pointsize>9:<pointsize>8:" ${S}/src/lcr.ui || die "sed failed"
+}
src_compile() {
cd src
@@ -25,7 +36,7 @@ src_compile() {
}
src_install() {
- dobin bin/qlcr
+ dobin src/qlcr
domenu qlcr.desktop
doicon qlcr.png