summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2008-03-30 09:30:01 +0000
committerCarsten Lohrke <carlo@gentoo.org>2008-03-30 09:30:01 +0000
commita53b3cb7f5dc3a3fda799de976d23ae978ff7e58 (patch)
tree3b3434c7336db85e3cc0d54db4650bf0b0a134e9 /app-text
parentQA corrections; cleanup. (diff)
downloadgentoo-2-a53b3cb7f5dc3a3fda799de976d23ae978ff7e58.tar.gz
gentoo-2-a53b3cb7f5dc3a3fda799de976d23ae978ff7e58.tar.bz2
gentoo-2-a53b3cb7f5dc3a3fda799de976d23ae978ff7e58.zip
Version bump.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/kbarcode/ChangeLog10
-rw-r--r--app-text/kbarcode/files/kbarcode-2.0.6-desktop-entry-fixes.diff76
-rw-r--r--app-text/kbarcode/kbarcode-2.0.6.ebuild43
3 files changed, 127 insertions, 2 deletions
diff --git a/app-text/kbarcode/ChangeLog b/app-text/kbarcode/ChangeLog
index 1f1b539647ca..b41d9d589d02 100644
--- a/app-text/kbarcode/ChangeLog
+++ b/app-text/kbarcode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/kbarcode
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/kbarcode/ChangeLog,v 1.44 2007/02/21 23:32:41 peper Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kbarcode/ChangeLog,v 1.45 2008/03/30 09:30:00 carlo Exp $
+
+*kbarcode-2.0.6 (30 Mar 2008)
+
+ 30 Mar 2008; Carsten Lohrke <carlo@gentoo.org>
+ +files/kbarcode-2.0.6-desktop-entry-fixes.diff, +kbarcode-2.0.6.ebuild:
+ Version bump.
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/app-text/kbarcode/files/kbarcode-2.0.6-desktop-entry-fixes.diff b/app-text/kbarcode/files/kbarcode-2.0.6-desktop-entry-fixes.diff
new file mode 100644
index 000000000000..41383aef1ad1
--- /dev/null
+++ b/app-text/kbarcode/files/kbarcode-2.0.6-desktop-entry-fixes.diff
@@ -0,0 +1,76 @@
+--- ./kbarcode/kbarcode-batch.desktop.orig 2008-03-30 10:31:03.000000000 +0200
++++ ./kbarcode/kbarcode-batch.desktop 2008-03-30 10:31:32.000000000 +0200
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=Application
+ Exec=kbarcode --batch
+-Icon=kbarcode.png
+-DocPath=kbarcode/index.html
++Icon=kbarcode
++X-DocPath=kbarcode/index.html
+ Comment=Barcode and label printing tool (batch printing mode)
+ Comment[de]=Werkzeug zum Barcode und Etiketten Druck (Stapelverarbeitung)
+ Terminal=false
+--- ./kbarcode/kbarcode-editor.desktop.orig 2008-03-30 10:23:10.000000000 +0200
++++ ./kbarcode/kbarcode-editor.desktop 2008-03-30 10:23:32.000000000 +0200
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=Application
+ Exec=kbarcode --label
+-Icon=kbarcode.png
+-DocPath=kbarcode/index.html
++Icon=kbarcode
++X-DocPath=kbarcode/index.html
+ Comment=Barcode and label printing tool (editor)
+ Comment[de]=Werkzeug zum Barcode und Etiketten Druck (Editor)
+ Terminal=false
+--- ./kbarcode/kbarcode-single.desktop.orig 2008-03-30 10:32:30.000000000 +0200
++++ ./kbarcode/kbarcode-single.desktop 2008-03-30 10:52:42.000000000 +0200
+@@ -1,12 +1,11 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=Application
+ Exec=kbarcode --barcode
+-Icon=kbarcode.png
+-DocPath=kbarcode/index.html
++Icon=kbarcode
++X-DocPath=kbarcode/index.html
+ Comment=Barcode generation tool
+ Comment[de]=Barcode Erstellung
+-Terminal=0
++Terminal=false
+ Name=KBarcode Barcode Generator
+ Name[de]=KBarcode Barcode Generator
+ Categories=Qt;KDE;Office;
+--- ./kbarcode/kbarcode.desktop.orig 2008-03-30 11:00:33.000000000 +0200
++++ ./kbarcode/kbarcode.desktop 2008-03-30 11:05:47.000000000 +0200
+@@ -1,13 +1,11 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=Application
+ Exec=kbarcode -caption "%c" %i %m %f
+-Icon=kbarcode.png
+-MimeType=application/kbarcode-label
+-DocPath=kbarcode/index.html
++Icon=kbarcode
++MimeType=application/kbarcode-label;
++X-DocPath=kbarcode/index.html
+ Comment=Barcode and label printing tool
+ Comment[de]=Werkzeug zum Barcode und Etiketten Druck
+-Terminal=0
+ Name=KBarcode
+ Name[de]=KBarcode
+ Categories=Qt;KDE;Office;
+--- kbarcode/Makefile.am.orig 2008-03-30 10:28:22.000000000 +0200
++++ kbarcode/Makefile.am 2008-03-30 11:09:04.000000000 +0200
+@@ -52,7 +52,7 @@
+ csvfile.cpp referencecounted.cpp dstextedit.cpp encodingcombo.cpp purepostscript.cpp tbarcode2.cpp \
+ kactionmap.cpp
+
+-xdg_apps_DATA = kbarcode.desktop kbarcode-batch.desktop kbarcode-editor.desktop kbarcode-label.desktop kbarcode-single.desktop
++xdg_apps_DATA = kbarcode.desktop kbarcode-batch.desktop kbarcode-editor.desktop kbarcode-single.desktop
+
+ datafiles_DATA = logo.png barcodes.html exampledata.sql labeldefinitions.sql barcode.ps rules.xml
+ datafilesdir = $(kde_datadir)/kbarcode
diff --git a/app-text/kbarcode/kbarcode-2.0.6.ebuild b/app-text/kbarcode/kbarcode-2.0.6.ebuild
new file mode 100644
index 000000000000..47716678a72c
--- /dev/null
+++ b/app-text/kbarcode/kbarcode-2.0.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/kbarcode/kbarcode-2.0.6.ebuild,v 1.1 2008/03/30 09:30:00 carlo Exp $
+
+inherit kde
+
+MY_P="${P/_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="KBarcode is a barcode and label printing application for KDE."
+HOMEPAGE="http://www.kbarcode.net/"
+SRC_URI="mirror://sourceforge/kbarcode/${MY_P}.tar.gz
+ doc? ( mirror://sourceforge/kbarcode/kbarcode-2.0.0.pdf )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+DEPEND=">=app-text/barcode-0.98
+ dev-libs/libpcre"
+
+RDEPEND=">=app-text/barcode-0.98
+ dev-libs/libpcre
+ virtual/ghostscript"
+
+need-kde 3.5
+
+PATCHES="${FILESDIR}/kbarcode-2.0.6-desktop-entry-fixes.diff"
+
+src_unpack() {
+ kde_src_unpack
+ # does call unsermake...
+ rm configure
+}
+
+src_install() {
+ kde_src_install
+ use doc && cp "${DISTDIR}/kbarcode-2.0.0.pdf" "${D}/usr/share/doc/${PF}"
+ # Application installs mime entry in the wrong place.
+ dodir /usr/share/mimelnk/application/
+ cp "${S}"/kbarcode/kbarcode-label.desktop "${D}"/usr/share/mimelnk/application/
+}