From 6d295e8367586562da8849bbb136ce38a2452628 Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 30 Apr 2015 07:07:12 +0200 Subject: [PATCH 1/4] New package: scantailor-0.9.11.1 --- srcpkgs/scantailor/files/scantailor.desktop | 51 +++++++++++++++++++++ srcpkgs/scantailor/template | 27 +++++++++++ 2 files changed, 78 insertions(+) create mode 100644 srcpkgs/scantailor/files/scantailor.desktop create mode 100644 srcpkgs/scantailor/template diff --git a/srcpkgs/scantailor/files/scantailor.desktop b/srcpkgs/scantailor/files/scantailor.desktop new file mode 100644 index 00000000000..e51d881748b --- /dev/null +++ b/srcpkgs/scantailor/files/scantailor.desktop @@ -0,0 +1,51 @@ +[Desktop Entry] +Name=ScanTailor +GenericName=Scan processing software +GenericName[ru]=Постобработка отсканированных страниц +Comment=Interactive post-processing tool for scanned pages +Comment[af]=Interaktiewe post-verwerkings hulpmiddel vir geskandeerde bladsye +Comment[sq]=Mjet interaktiv pas përpunimi për faqet e skanuara +Comment[ast]=Ferramienta interactiva de postprocesamientu pa páxines escaneaes +Comment[bn]=স্ক্যানকৃত পৃষ্ঠার জন্য মিথস্ক্রিয় পোস্ট-প্রসেসিং টুল +Comment[bs]=Interaktivni alat za naknadnu obradu optički skeniranih stranica +Comment[pt_BR]=Ferramenta interativa de pós processamento para páginas digitalizadas +Comment[bg]=Инструмент за интерактивна пост обработка на сканирани страници +Comment[ca]=Eina interactiva de postprocessament de pàgines escanejades +Comment[ca@valencia]=Eina interactiva de postprocessament de pàgines escanejades +Comment[zh_HK]=掃描紙張的互動式後製工具 +Comment[zh_TW]=掃描紙張的互動式後製工具 +Comment[zh_CN]=用于扫描页面的交互式后期处理工具 +Comment[crh]=Taranmış sayfalar için etkileşimli son işlem aracı +Comment[cs]=Interaktivní nástroj pro zpracování naskenovaných stránek +Comment[et]=Skaneeritud lehekülgede interaktiivne järeltöötlus vahend +Comment[da]=Interaktivt efterbehandlingsværktøj til skannede sider +Comment[nl]=Interactief, post-processing hulpmiddel voor gescande pagina"s +Comment[fi]=Interaktiivinen jälkikäsittelytyökalu skannatuille sivuille +Comment[fr]=Interactive outil de post-traitement pour des pages numérisées +Comment[gl]=Ferramenta interactiva de postprocesamento de imaxes dixitalizadas +Comment[el]=Διαδραστικό εργαλείο post-processing για σελίδες που έχουν σαρωθεί +Comment[de]=Interaktives Nachbearbeitungswerkzeug für gescannte Seiten +Comment[hu]=Beolvasott képek interaktív utófeldolgozása +Comment[ja]=スキャンされたページを対話式に後処理するツール +Comment[it]=Strumento interattivo per il post processamento di pagine acquisite con lo scanner +Comment[ky]=Сканерленген баракчаларды кайра иштетүү үчүн интерактивдүү шайман +Comment[ms]=Alat post-pemprosesan berinteraktif untuk halaman terimbas +Comment[nb]=Interaktivt verktøy for etterbehandling av skannede sider +Comment[oc]=Aisina interactiva de tractament de document aprèp numerizacion +Comment[pl]=Program do obróbki i przetwarzana zeskanowanych dokumentów tekstowych +Comment[pt]=Ferramenta de pós-processamento interactivo de páginas scaneadas +Comment[ro]=Utilitar interactiv pentru post-procesare pagini scanate +Comment[ru]=Интерактивный инструмент постобработки для отсканированных страниц +Comment[sl]=Vzajemno orodje za poopravilo optično prebranih strani +Comment[es]=Herramienta interactiva de postprocesamiento para páginas escaneadas +Comment[sv]=Interaktivt vektyg för efterbearbetning av inlästa sidor +Comment[vi]=Công cụ tương tác xử lý trước các trang được quét +Comment[uk]=Інтерактивний інструмент пост-обробки відсканованих сторінок +Comment[tr]=Taranmış sayfalar için etkileşimli son işlem aracı +TryExec=/usr/bin/scantailor +Exec=/usr/bin/scantailor %f +Type=Application +Icon=scantailor +Terminal=false +MimeType=application/x-scantailor; +Categories=Graphics;2DGraphics;RasterGraphics; diff --git a/srcpkgs/scantailor/template b/srcpkgs/scantailor/template new file mode 100644 index 00000000000..be4e8e14620 --- /dev/null +++ b/srcpkgs/scantailor/template @@ -0,0 +1,27 @@ +# Template file for 'scantailor' +pkgname=scantailor +version=0.9.11.1 +revision=1 +wrksrc=${pkgname}-RELEASE_${version//./_} +build_style=cmake +hostmakedepends="cmake pkg-config" +makedepends="libpng-devel tiff-devel boost-devel qt-devel libXrender-devel" +depends="libGL" +short_desc="Interactive post-processing for scans" +maintainer="Jürgen Buchmüller " +license="GPL-3" +homepage="http://scantailor.org/" +distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./_}.tar.gz>${pkgname}-${version}_${revision}.tar.gz" +checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc + +pre_configure() { + # Hint cmake where to the the qmake + configure_args+=" -DQT_QMAKE_EXECUTABLE=${XBPS_CROSS_BASE}/usr/lib/qt/bin/qmake" + echo "configure_args: ${configure_args}" +} +post_install() { + vinstall resources/icons/appicon-about.png 644 \ + usr/share/pixmaps ${pkgname}.png + vinstall ${FILESDIR}/${pkgname}.desktop 644 \ + usr/share/applications +} From 8a56a32513c18d10197cb33bf1ddf6be8bd4ed8d Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 30 Apr 2015 07:13:52 +0200 Subject: [PATCH 2/4] scantailor: template cosmetics --- srcpkgs/scantailor/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/scantailor/template b/srcpkgs/scantailor/template index be4e8e14620..af244799720 100644 --- a/srcpkgs/scantailor/template +++ b/srcpkgs/scantailor/template @@ -15,9 +15,8 @@ distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./ checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc pre_configure() { - # Hint cmake where to the the qmake + # Hint cmake where to the find qmake configure_args+=" -DQT_QMAKE_EXECUTABLE=${XBPS_CROSS_BASE}/usr/lib/qt/bin/qmake" - echo "configure_args: ${configure_args}" } post_install() { vinstall resources/icons/appicon-about.png 644 \ From 532ee841416a281bda2e5f51a5a766772dd180c5 Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 30 Apr 2015 11:35:05 +0200 Subject: [PATCH 3/4] scantailor: remove ligGL depends and do_configure() --- srcpkgs/scantailor/template | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/srcpkgs/scantailor/template b/srcpkgs/scantailor/template index af244799720..01a4561527e 100644 --- a/srcpkgs/scantailor/template +++ b/srcpkgs/scantailor/template @@ -5,8 +5,7 @@ revision=1 wrksrc=${pkgname}-RELEASE_${version//./_} build_style=cmake hostmakedepends="cmake pkg-config" -makedepends="libpng-devel tiff-devel boost-devel qt-devel libXrender-devel" -depends="libGL" +makedepends="libpng-devel tiff-devel boost-devel qt-devel qt-qmake libXrender-devel" short_desc="Interactive post-processing for scans" maintainer="Jürgen Buchmüller " license="GPL-3" @@ -14,10 +13,6 @@ homepage="http://scantailor.org/" distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./_}.tar.gz>${pkgname}-${version}_${revision}.tar.gz" checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc -pre_configure() { - # Hint cmake where to the find qmake - configure_args+=" -DQT_QMAKE_EXECUTABLE=${XBPS_CROSS_BASE}/usr/lib/qt/bin/qmake" -} post_install() { vinstall resources/icons/appicon-about.png 644 \ usr/share/pixmaps ${pkgname}.png From 54e7bc94d99235747fe0c1c389fe75af0af2a6e5 Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 30 Apr 2015 12:05:16 +0200 Subject: [PATCH 4/4] scantailor: fixes to make it build with -a i686 --- srcpkgs/scantailor/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/scantailor/template b/srcpkgs/scantailor/template index 01a4561527e..af7a0f0138a 100644 --- a/srcpkgs/scantailor/template +++ b/srcpkgs/scantailor/template @@ -4,8 +4,8 @@ version=0.9.11.1 revision=1 wrksrc=${pkgname}-RELEASE_${version//./_} build_style=cmake -hostmakedepends="cmake pkg-config" -makedepends="libpng-devel tiff-devel boost-devel qt-devel qt-qmake libXrender-devel" +hostmakedepends="cmake qt-devel qt-qmake pkg-config" +makedepends="libpng-devel tiff-devel boost-devel qt-devel libXrender-devel" short_desc="Interactive post-processing for scans" maintainer="Jürgen Buchmüller " license="GPL-3"