summaryrefslogtreecommitdiff
path: root/manualPorts/gtkimageview
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /manualPorts/gtkimageview
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'manualPorts/gtkimageview')
-rw-r--r--manualPorts/gtkimageview/.footprint25
-rw-r--r--manualPorts/gtkimageview/.md5sum2
-rw-r--r--manualPorts/gtkimageview/.signature6
-rw-r--r--manualPorts/gtkimageview/Pkgfile22
-rw-r--r--manualPorts/gtkimageview/disable-Werror.patch11
-rwxr-xr-xmanualPorts/gtkimageview/lastVersion.sh8
6 files changed, 74 insertions, 0 deletions
diff --git a/manualPorts/gtkimageview/.footprint b/manualPorts/gtkimageview/.footprint
new file mode 100644
index 0000000..2ea0b5c
--- /dev/null
+++ b/manualPorts/gtkimageview/.footprint
@@ -0,0 +1,25 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/gtkimageview/
+-rw-r--r-- root/root usr/include/gtkimageview/cursors.h
+-rw-r--r-- root/root usr/include/gtkimageview/gdkpixbufdrawcache.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkanimview.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkiimagetool.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimagenav.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimagescrollwin.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimagetooldragger.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimagetoolpainter.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimagetoolselector.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimageview-typebuiltins.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkimageview.h
+-rw-r--r-- root/root usr/include/gtkimageview/gtkzooms.h
+-rw-r--r-- root/root usr/include/gtkimageview/mouse_handler.h
+-rw-r--r-- root/root usr/include/gtkimageview/utils.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libgtkimageview.a
+-rwxr-xr-x root/root usr/lib/libgtkimageview.la
+lrwxrwxrwx root/root usr/lib/libgtkimageview.so -> libgtkimageview.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libgtkimageview.so.0 -> libgtkimageview.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libgtkimageview.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/gtkimageview.pc
diff --git a/manualPorts/gtkimageview/.md5sum b/manualPorts/gtkimageview/.md5sum
new file mode 100644
index 0000000..1fca221
--- /dev/null
+++ b/manualPorts/gtkimageview/.md5sum
@@ -0,0 +1,2 @@
+8346b42012a82d5fe6f1c151bae346c3 gtkimageview-1.6.4.tar.gz
+414c3f5fa01f0ff64051b0eaa9aeb131 disable-Werror.patch
diff --git a/manualPorts/gtkimageview/.signature b/manualPorts/gtkimageview/.signature
new file mode 100644
index 0000000..0a528d7
--- /dev/null
+++ b/manualPorts/gtkimageview/.signature
@@ -0,0 +1,6 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGj0t/sIMrXMim2fSiPDJAD+87ppydriB57I+vwqzeK0NzOP7wGQZZGPjS+6GLR27gb6h3x1u3t/P48fcn6V35AY=
+SHA256 (Pkgfile) = 0aa1526171b3c23bc23058cdbb53b5001e7dc0fadb77615b67c0d0018a61a6a4
+SHA256 (.footprint) = 5b7ecfb5263bc35f2e2581c9d790554c88edd4c09439d59bc3dd84e0bc68b383
+SHA256 (gtkimageview-1.6.4.tar.gz) = 67e4c734be69c879101e62ba8573b17b80396ff21e83392d2f7b5af30bf4c3c5
+SHA256 (disable-Werror.patch) = 0ab0a3ea56c5c8293dfda9a6ca3e7d3b0bfc2b58f9ab22d5c89e6a839e6c2180
diff --git a/manualPorts/gtkimageview/Pkgfile b/manualPorts/gtkimageview/Pkgfile
new file mode 100644
index 0000000..c939159
--- /dev/null
+++ b/manualPorts/gtkimageview/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Simple image viewer widget for GTK2
+# URL: http://trac.bjourne.webfactional.com
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Packager: Oleksii Tkachuk, oleksii dot tkachuk at gmail dot com
+# Depends on: gtk
+
+name=gtkimageview
+version=1.6.4
+release=1
+source=("http://ponce.cc/slackware/sources/repo/$name-$version.tar.gz"
+ disable-Werror.patch)
+
+build() {
+ cd $name-$version
+
+ patch -p0 < $SRC/disable-Werror.patch
+ ./configure --prefix=/usr \
+ --without-html-dir
+ make
+ make DESTDIR=$PKG install
+
+}
diff --git a/manualPorts/gtkimageview/disable-Werror.patch b/manualPorts/gtkimageview/disable-Werror.patch
new file mode 100644
index 0000000..379daa8
--- /dev/null
+++ b/manualPorts/gtkimageview/disable-Werror.patch
@@ -0,0 +1,11 @@
+--- configure 2009-04-05 22:04:32.000000000 +0200
++++ configure2 2015-11-10 09:58:14.109508610 +0100
+@@ -20740,7 +20740,7 @@
+ ######################################################################
+ ##### Twiddle CFLAGS #################################################
+ ######################################################################
+-CFLAGS="${CFLAGS} -Wall -Werror -std=c99 -Wmissing-prototypes"
++CFLAGS="${CFLAGS} -Wall -std=c99 -Wmissing-prototypes"
+
+
+ ######################################################################
diff --git a/manualPorts/gtkimageview/lastVersion.sh b/manualPorts/gtkimageview/lastVersion.sh
new file mode 100755
index 0000000..5699222
--- /dev/null
+++ b/manualPorts/gtkimageview/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+curl "https://sources.archlinux.org/other/packages/gtkimageview/" 2> /dev/null | \
+ tr "\"" "\n" | \
+ grep "^gtkimageview-.*\.tar\.gz\$" | \
+ sed "s|^gtkimageview-\(.*\)\.tar\.gz\$|\1|" | \
+ sort -V | \
+ tail -n1