Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=445e97fbf842fa52090cf7bb74ff516c5e2d850f
commit 445e97fbf842fa52090cf7bb74ff516c5e2d850f Author: crazy <[email protected]> Date: Sat Oct 1 02:30:37 2016 +0200 scribus-1.5.2-1-x86_64 * Version bump to devel version for now ( while Qt5 support ) * fix for near everything :)) see commit diff :) diff --git a/source/xapps-extra/scribus/FrugalBuild b/source/xapps-extra/scribus/FrugalBuild index b0392f1..f0123cc 100644 --- a/source/xapps-extra/scribus/FrugalBuild +++ b/source/xapps-extra/scribus/FrugalBuild @@ -3,30 +3,55 @@ # Contributor: Bence Nagy <[email protected]> pkgname=scribus -pkgver=1.4.5 -pkgrel=2 +pkgver=1.5.2 +pkgrel=1 pkgdesc="A professional desktop publishing application." url="http://www.scribus.net" -depends=('libqtgui>=4.8.7-2' 'libqtxml>=4.8.7-2' 'python>=2.7.11-4' 'cairo>=1.14.6-2' \ - 'libqtnetwork>=4.8.7-2' 'libcups>=2.1.2-2') -makedepends=('qt4-linguist' 'cups') +depends=('qt5-declarative>=5.7.0-2' 'libcdr' 'cairo' 'libfreehand' 'poppler>=0.47.0-3' \ + 'libpagemaker' 'libmspub' 'libvisio' 'python' 'librevenge' 'hunspell' 'glib2' \ + 'freetype2' 'fontconfig' 'podofo' 'hyphen') +makedepends=('cups' 'qt5-tools>=5.7.0-2' 'boost>=1.61.0' 'x11-protos') +rodepends=('ghostscript') groups=('xapps-extra') archs=('i686' 'x86_64') -_F_sourceforge_ext=".tar.bz2" -_F_kde_defaults=0 +_F_sourceforge_ext=".tar.xz" _F_sourceforge_rss_limit=100 -Finclude kde sourceforge cmake +Finclude sourceforge cmake build() { + Fcd - Fsed "scribusicon" "/usr/share/pixmaps/scribusicon.png" scribus.desktop - Ffilerel /usr/share/applications/scribus.desktop + ## lots depreceted warnings + CXXFLAGS+=" -Wno-deprecated -Wno-deprecated-declarations" + + ## detect newer hunspell + Fsed 'hunspell-1.3' 'hunspell-1.4' cmake/modules/FindHUNSPELL.cmake + Fsed '(Development)' '' scribus.desktop + CMake_build + + ## some workarounds + local i _broken_icons + + ## pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/XXX.png: File not found + ## check that on each bump by starting scribus in console -- crazy -- + _broken_icons=(AppIcon.png AllCaps.png Kapital.xpm Strike.xpm outlined.png shadow.png shade.png Revers.png) + + for i in "${_broken_icons[@]}" + do + Fln /usr/share/scribus/icons/1_5_0/${i} /usr/share/scribus/icons/1_5_1/${i} + done + + ## Desktop -- FIXME -- what a mess + Ffilerel $Fsrcdir/$pkgname-$pkgver/scribus.desktop /usr/share/applications/scribus.desktop + Fmkdir usr/share/pixmaps + Fln /usr/share/scribus/icons/1_5_1/scribus.png /usr/share/pixmaps/scribus.png + # for Huhyphn Frm /usr/lib/scribus/dicts/hyph_hu.dic } -sha1sums=('70685aeb66d1f8f4984125c56f8f6e059af267c3') +sha1sums=('87f426863be8057d83e73b58649ccc2a3266c73b') # optimization OK diff --git a/source/xapps-extra/scribus/hyphenation-symlink.patch b/source/xapps-extra/scribus/hyphenation-symlink.patch deleted file mode 100644 index f8071b8..0000000 --- a/source/xapps-extra/scribus/hyphenation-symlink.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur scribus-1.3.3.orig/scribus/scribus.cpp scribus-1.3.3/scribus/scribus.cpp ---- scribus-1.3.3.orig/scribus/scribus.cpp 2006-03-27 11:59:14.000000000 +0200 -+++ scribus-1.3.3/scribus/scribus.cpp 2006-03-31 12:20:48.000000000 +0200 -@@ -8129,7 +8129,7 @@ - //Grab the language abbreviation from it, get the full language text - //Insert the name as key and a new string list into the map - QString hyphDirName = QDir::convertSeparators(ScPaths::instance().libDir() + "dicts/"); -- QDir hyphDir(hyphDirName, "*.dic", QDir::Name, QDir::Files | QDir::NoSymLinks); -+ QDir hyphDir(hyphDirName, "*.dic", QDir::Name, QDir::Files); - if ((hyphDir.exists()) && (hyphDir.count() != 0)) - { - LanguageManager langmgr; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
