From 228bc2b3e50755cbce173e40afd67cc8863392cd Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 31 Jan 2021 17:13:01 +0100 Subject: [PATCH] scantailor: remove depends on qt4, and declared dead by upstream --- srcpkgs/scantailor/files/scantailor.desktop | 51 ------------------- .../patches/fix-pthread_check.patch | 31 ----------- srcpkgs/scantailor/template | 24 --------- srcpkgs/scantailor/update | 2 - 4 files changed, 108 deletions(-) delete mode 100644 srcpkgs/scantailor/files/scantailor.desktop delete mode 100644 srcpkgs/scantailor/patches/fix-pthread_check.patch delete mode 100644 srcpkgs/scantailor/template delete mode 100644 srcpkgs/scantailor/update diff --git a/srcpkgs/scantailor/files/scantailor.desktop b/srcpkgs/scantailor/files/scantailor.desktop deleted file mode 100644 index e51d881748b..00000000000 --- a/srcpkgs/scantailor/files/scantailor.desktop +++ /dev/null @@ -1,51 +0,0 @@ -[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/patches/fix-pthread_check.patch b/srcpkgs/scantailor/patches/fix-pthread_check.patch deleted file mode 100644 index 370774eb565..00000000000 --- a/srcpkgs/scantailor/patches/fix-pthread_check.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- cmake/FindPthreads.cmake 2012-02-27 21:11:05.000000000 +0100 -+++ cmake/FindPthreads.cmake 2016-03-08 04:46:38.516378187 +0100 -@@ -27,7 +27,7 @@ - SET(_aix_flags "-D_THREAD_SAFE:-lpthreads") - - # gcc on various OSes -- SET(_other_flags "-pthread:-pthread") -+ SET(_other_flags "-pthread -fPIC:-pthread") - - IF(CMAKE_SYSTEM_NAME MATCHES "AIX.*") - LIST(APPEND _available_flags ${_aix_flags}) -@@ -59,14 +59,17 @@ - - FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/TestPthreads.c - "#include \n" -+ "void* start_routine(void* arg) { return arg; }\n" - "int main()\n" - "{\n" - " pthread_t th;\n" -- " pthread_create(&th, 0, 0, 0);\n" -+ " pthread_attr_t att;\n" -+ " pthread_attr_init(&att);\n" -+ " pthread_create(&th, &att, start_routine, 0);\n" - " pthread_join(th, 0);\n" -- " pthread_attr_init(0);\n" - " pthread_cleanup_push(0, 0);\n" - " pthread_cleanup_pop(0);\n" -+ " return 0;\n" - "}\n" - ) - diff --git a/srcpkgs/scantailor/template b/srcpkgs/scantailor/template deleted file mode 100644 index 68af70833b2..00000000000 --- a/srcpkgs/scantailor/template +++ /dev/null @@ -1,24 +0,0 @@ -# Template file for 'scantailor' -pkgname=scantailor -version=0.9.12.1 -revision=2 -wrksrc=${pkgname}-RELEASE_${version//./_} -build_style=cmake -#configure_args="-DPTHREADS_CFLAGS=-pthread -DPTHREADS_LIBS=-pthread" -hostmakedepends="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" -homepage="http://scantailor.org/" -distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./_}.tar.gz" -checksum=ef5d5bdca207ab00701121a32e9b95c7c7353c642b9538b3f9ca040d8d1a5dde - -CFLAGS="-fPIC" - -post_install() { - vinstall resources/icons/appicon-about.png 644 \ - usr/share/pixmaps ${pkgname}.png - vinstall ${FILESDIR}/${pkgname}.desktop 644 \ - usr/share/applications -} diff --git a/srcpkgs/scantailor/update b/srcpkgs/scantailor/update deleted file mode 100644 index e7abd4e82b6..00000000000 --- a/srcpkgs/scantailor/update +++ /dev/null @@ -1,2 +0,0 @@ -site=https://github.com/scantailor/scantailor/releases -pattern='RELEASE_.*">\K[\d.]+'