mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to 0.4 for KDE 4
Take maintainership
This commit is contained in:
parent
0daac9a63a
commit
c02c892e11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296259
8 changed files with 58 additions and 58 deletions
|
@ -5,24 +5,27 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= kbibtex
|
PORTNAME= kbibtex
|
||||||
PORTVERSION= 0.2.3
|
DISTVERSION= 0.4
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= databases kde
|
CATEGORIES= databases kde
|
||||||
MASTER_SITES= http://www.unix-ag.uni-kl.de/~fischer/${PORTNAME}/download/
|
MASTER_SITES= http://download.gna.org/${PORTNAME}/${PORTVERSION:C,(^[[:digit:]]\.[[:digit:]]).*,\1,}/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= makc@FreeBSD.org
|
||||||
COMMENT= BibTeX editor for KDE
|
COMMENT= Bibliography editor for KDE
|
||||||
|
|
||||||
LIB_DEPENDS= yaz.4:${PORTSDIR}/net/yaz
|
LIB_DEPENDS= poppler-qt4.3:${PORTSDIR}/graphics/poppler-qt4
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_KDELIBS_VER=3
|
USE_CMAKE= yes
|
||||||
USE_GMAKE= yes
|
USE_GNOME= libxml2 libxslt
|
||||||
USE_AUTOTOOLS= libtool
|
USE_KDE4= kdelibs kdeprefix automoc4 sharedmime
|
||||||
|
USE_QT_VER= 4
|
||||||
|
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build \
|
||||||
|
webkit
|
||||||
|
MAKE_JOBS_SAFE= yes
|
||||||
|
|
||||||
MAN1= kbibtex.1
|
MAN1= kbibtex.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/CMakeLists.txt
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (kbibtex-0.2.3.tar.bz2) = 2a2628564c2337d8cf94742c5231261655cf89ad59b6e3f3f1fabedc3a37d82b
|
SHA256 (kbibtex-0.4.tar.bz2) = 9a7f969d645cebb50b653db811b6bba734eb93e44e72237e49c1a4dbc05700c3
|
||||||
SIZE (kbibtex-0.2.3.tar.bz2) = 841523
|
SIZE (kbibtex-0.4.tar.bz2) = 191138
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/fileexporterbibtex.cpp.orig 2010-02-01 19:08:49.000000000 +0100
|
|
||||||
+++ src/fileexporterbibtex.cpp 2010-02-01 19:17:03.000000000 +0100
|
|
||||||
@@ -258,7 +258,7 @@
|
|
||||||
for ( i = 0; i < encodeMaxTries && utf8datasize != 0; ++i )
|
|
||||||
{
|
|
||||||
QCString utf8 = workingText.utf8();
|
|
||||||
- char *utf8data = utf8.data();
|
|
||||||
+ const char *utf8data = utf8.data();
|
|
||||||
utf8datasize = utf8.length();
|
|
||||||
char *outputdata = m_iconvBuffer;
|
|
||||||
size_t outputdatasize = m_iconvBufferSize;
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/fileimporterbibtex.cpp.orig 2010-02-01 19:17:54.000000000 +0100
|
|
||||||
+++ src/fileimporterbibtex.cpp 2010-02-01 19:18:23.000000000 +0100
|
|
||||||
@@ -67,7 +67,7 @@
|
|
||||||
{
|
|
||||||
evaluateParameterComments( iconvHandle, m_lineBuffer );
|
|
||||||
|
|
||||||
- char *raw = m_lineBuffer;
|
|
||||||
+ const char *raw = m_lineBuffer;
|
|
||||||
char *enc = convertedLine;
|
|
||||||
size_t encLen = m_lineBufferSize, rawLen = ( size_t )len;
|
|
||||||
size_t result = iconv( iconvHandle, &raw, &rawLen, &enc, &encLen );
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
--- ./src/gui/bibtex/bibtexfileview.h.orig 2012-05-05 10:50:42.000000000 +0000
|
||||||
|
+++ ./src/gui/bibtex/bibtexfileview.h 2012-05-06 00:53:34.029244696 +0000
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#define KBIBTEX_GUI_BIBTEXFILEVIEW_H
|
||||||
|
|
||||||
|
#include <QTreeView>
|
||||||
|
+#include <KMimeType>
|
||||||
|
|
||||||
|
#include <kbibtexgui_export.h>
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./src/libkbibtexio/iconvlatex.cpp.orig 2012-05-05 10:50:42.000000000 +0000
|
||||||
|
+++ ./src/libkbibtexio/iconvlatex.cpp 2012-05-06 00:53:04.285249457 +0000
|
||||||
|
@@ -58,7 +58,7 @@
|
||||||
|
QByteArray IConvLaTeX::encode(const QString &input)
|
||||||
|
{
|
||||||
|
QByteArray inputByteArray = input.toUtf8();
|
||||||
|
-#ifdef Q_WS_WIN
|
||||||
|
+#ifndef Q_OS_LINUX
|
||||||
|
/// iconv on Windows likes to have it as const char *
|
||||||
|
const char *inputBuffer = inputByteArray.data();
|
||||||
|
#else
|
|
@ -1,3 +1,3 @@
|
||||||
KBibTeX is a BibTeX editor for KDE.
|
KBibTeX is a bibliography editor for KDE.
|
||||||
|
|
||||||
WWW: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/
|
WWW: http://home.gna.org/kbibtex/
|
||||||
|
|
|
@ -1,31 +1,29 @@
|
||||||
bin/kbibtex
|
bin/kbibtex
|
||||||
lib/kde3/libkbibtexpart.a
|
lib/kde4/kbibtexpart.so
|
||||||
lib/kde3/libkbibtexpart.la
|
lib/libkbibtexgui.so
|
||||||
lib/kde3/libkbibtexpart.so
|
lib/libkbibtexio.so
|
||||||
share/applications/kde/kbibtex.desktop
|
lib/libkbibtexproc.so
|
||||||
share/apps/kbibtex/kbibtex_shell.rc
|
lib/libkbibtexws.so
|
||||||
share/apps/kbibtex/z3950-servers.cfg
|
share/applications/kde4/kbibtex.desktop
|
||||||
share/apps/kbibtexpart/kbibtex_part.rc
|
share/apps/kbibtex/abstractonly.xsl
|
||||||
share/apps/kbibtexpart/xslt/MARC21slim2MODS3.xsl
|
share/apps/kbibtex/arxiv2bibtex.xsl
|
||||||
share/apps/kbibtexpart/xslt/MARC21slimUtils.xsl
|
share/apps/kbibtex/fancy.xsl
|
||||||
share/apps/kbibtexpart/xslt/UNIMARC2MODS3.xsl
|
share/apps/kbibtex/findduplicatesui.rc
|
||||||
share/apps/kbibtexpart/xslt/html.xsl
|
share/apps/kbibtex/kbibtexui.rc
|
||||||
share/doc/HTML/en/kbibtex/common
|
share/apps/kbibtex/lyx.rc
|
||||||
share/doc/HTML/en/kbibtex/index.cache.bz2
|
share/apps/kbibtex/pubmed2bibtex.xsl
|
||||||
share/doc/HTML/en/kbibtex/index.docbook
|
share/apps/kbibtex/standard.xsl
|
||||||
|
share/apps/kbibtexpart/kbibtexpartui.rc
|
||||||
|
share/config/kbibtexrc
|
||||||
share/icons/hicolor/128x128/apps/kbibtex.png
|
share/icons/hicolor/128x128/apps/kbibtex.png
|
||||||
share/icons/hicolor/16x16/apps/kbibtex.png
|
share/icons/hicolor/16x16/apps/kbibtex.png
|
||||||
share/icons/hicolor/22x22/apps/kbibtex.png
|
share/icons/hicolor/22x22/apps/kbibtex.png
|
||||||
share/icons/hicolor/32x32/apps/kbibtex.png
|
share/icons/hicolor/32x32/apps/kbibtex.png
|
||||||
share/icons/hicolor/48x48/apps/kbibtex.png
|
share/icons/hicolor/48x48/apps/kbibtex.png
|
||||||
share/icons/hicolor/64x64/apps/kbibtex.png
|
share/icons/hicolor/64x64/apps/kbibtex.png
|
||||||
share/locale/de/LC_MESSAGES/kbibtex.mo
|
share/kde4/services/kbibtexpart.desktop
|
||||||
share/locale/fr/LC_MESSAGES/kbibtex.mo
|
share/mime/application/x-endnote-refer.xml
|
||||||
share/locale/it/LC_MESSAGES/kbibtex.mo
|
share/mime/application/x-research-info-systems.xml
|
||||||
share/locale/pl/LC_MESSAGES/kbibtex.mo
|
share/mime/packages/bibliography.xml
|
||||||
share/locale/ru/LC_MESSAGES/kbibtex.mo
|
|
||||||
share/services/kbibtex_part.desktop
|
|
||||||
@dirrm share/doc/HTML/en/kbibtex
|
|
||||||
@dirrm share/apps/kbibtexpart/xslt
|
|
||||||
@dirrm share/apps/kbibtexpart
|
@dirrm share/apps/kbibtexpart
|
||||||
@dirrm share/apps/kbibtex
|
@dirrm share/apps/kbibtex
|
||||||
|
|
Loading…
Add table
Reference in a new issue