summaryrefslogtreecommitdiff
path: root/community-testing/shotwell
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
commit28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch)
treeb5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /community-testing/shotwell
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'community-testing/shotwell')
-rw-r--r--community-testing/shotwell/PKGBUILD49
-rw-r--r--community-testing/shotwell/build-hack.patch81
-rw-r--r--community-testing/shotwell/fix-with-libraw-0.4.patch50
-rw-r--r--community-testing/shotwell/shotwell.install17
4 files changed, 0 insertions, 197 deletions
diff --git a/community-testing/shotwell/PKGBUILD b/community-testing/shotwell/PKGBUILD
deleted file mode 100644
index 6cc2a8038..000000000
--- a/community-testing/shotwell/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 58125 2011-11-06 18:16:39Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
-
-pkgname=shotwell
-pkgver=0.11.6
-pkgrel=1
-pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
-arch=('i686' 'x86_64')
-url="http://yorba.org/shotwell/"
-license=('LGPL2.1')
-depends=('gconf' 'libgee' 'libgphoto2' 'libunique' 'libwebkit' 'libgexiv2' 'libraw'
- 'librsvg' 'json-glib' 'desktop-file-utils' 'dconf')
-makedepends=('intltool')
-# 'vala'
-install=shotwell.install
-source=("http://yorba.org/download/shotwell/0.11/shotwell-${pkgver}.tar.bz2"
- "http://ftp.gnome.org/pub/gnome/sources/vala/0.12/vala-0.12.1.tar.bz2"
- "fix-with-libraw-0.4.patch")
-md5sums=('bbbf2843eb98b6f0ef1dfcfb934e15cf'
- 'bf35262cc611de447147d01cbac33767'
- '488787b6d2cbc7348bc88348b78b6005')
-
-build() {
- cd "${srcdir}/vala-0.12.1"
- ./configure --prefix=$srcdir/vala --enable-vapigen
- make
- make install
- export PATH=$srcdir/vala/bin:$PATH
-
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 -i ../fix-with-libraw-0.4.patch
-
- ./configure --prefix=/usr \
- --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- --disable-schemas-install \
- --disable-desktop-update \
- --disable-icon-update
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- rm -f $pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled
-}
diff --git a/community-testing/shotwell/build-hack.patch b/community-testing/shotwell/build-hack.patch
deleted file mode 100644
index 8c65f6a8f..000000000
--- a/community-testing/shotwell/build-hack.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -wbBur shotwell-0.11.4/src/photos/GRaw.c shotwell-0.11.4.my/src/photos/GRaw.c
---- shotwell-0.11.4/src/photos/GRaw.c 2011-10-28 12:44:04.000000000 +0400
-+++ shotwell-0.11.4.my/src/photos/GRaw.c 2011-10-28 12:41:48.000000000 +0400
-@@ -210,7 +210,7 @@
- };
- GRawProcessor* graw_processor_new (enum LibRaw_constructor_flags options);
- GRawProcessor* graw_processor_construct (GType object_type, enum LibRaw_constructor_flags options);
--void graw_processor_add_masked_borders_to_bitmap (GRawProcessor* self);
-+//void graw_processor_add_masked_borders_to_bitmap (GRawProcessor* self);
- void graw_processor_adjust_sizes_info_only (GRawProcessor* self, GError** error);
- void graw_processor_document_mode_processing (GRawProcessor* self, GError** error);
- libraw_imgother_t graw_processor_get_image_other (GRawProcessor* self);
-@@ -223,7 +223,7 @@
- void graw_processor_open_file (GRawProcessor* self, const gchar* filename, GError** error);
- void graw_processor_process (GRawProcessor* self, GError** error);
- void graw_processor_ppm_tiff_writer (GRawProcessor* self, const gchar* filename, GError** error);
--void graw_processor_rotate_fuji_raw (GRawProcessor* self, GError** error);
-+//void graw_processor_rotate_fuji_raw (GRawProcessor* self, GError** error);
- void graw_processor_thumb_writer (GRawProcessor* self, const gchar* filename, GError** error);
- void graw_processor_recycle (GRawProcessor* self);
- void graw_processor_unpack (GRawProcessor* self, GError** error);
-@@ -677,12 +677,12 @@
- return graw_processor_construct (GRAW_TYPE_PROCESSOR, options);
- }
-
--
-+#if 0
- void graw_processor_add_masked_borders_to_bitmap (GRawProcessor* self) {
- g_return_if_fail (GRAW_IS_PROCESSOR (self));
- libraw_add_masked_borders_to_bitmap (self->priv->proc);
- }
--
-+#endif
-
- void graw_processor_adjust_sizes_info_only (GRawProcessor* self, GError** error) {
- enum LibRaw_errors _tmp0_;
-@@ -909,7 +909,7 @@
- }
- }
-
--
-+#if 0
- void graw_processor_rotate_fuji_raw (GRawProcessor* self, GError** error) {
- enum LibRaw_errors _tmp0_;
- GError * _inner_error_ = NULL;
-@@ -927,7 +927,7 @@
- }
- }
- }
--
-+#endif
-
- void graw_processor_thumb_writer (GRawProcessor* self, const gchar* filename, GError** error) {
- enum LibRaw_errors _tmp0_;
-@@ -1044,8 +1044,8 @@
- (*_tmp8_).use_camera_matrix = TRUE;
- _tmp9_ = graw_processor_get_output_params (self);
- (*_tmp9_).output_color = (gint) GRAW_COLORSPACE_SRGB;
-- _tmp10_ = graw_processor_get_output_params (self);
-- (*_tmp10_).filtering_mode = LIBRAW_FILTERING_AUTOMATIC;
-+// _tmp10_ = graw_processor_get_output_params (self);
-+// (*_tmp10_).filtering_mode = LIBRAW_FILTERING_AUTOMATIC;
- _tmp11_ = graw_processor_get_output_params (self);
- (*_tmp11_).output_bps = 8;
- _tmp12_ = graw_processor_get_output_params (self);
-@@ -1356,6 +1356,7 @@
- return;
- }
- }
-+#if 0
- case LIBRAW_CANNOT_ADDMASK:
- {
- GError* _tmp10_ = NULL;
-@@ -1372,6 +1373,7 @@
- return;
- }
- }
-+#endif
- case LIBRAW_UNSUFFICIENT_MEMORY:
- {
- GError* _tmp11_ = NULL;
diff --git a/community-testing/shotwell/fix-with-libraw-0.4.patch b/community-testing/shotwell/fix-with-libraw-0.4.patch
deleted file mode 100644
index f6f021b61..000000000
--- a/community-testing/shotwell/fix-with-libraw-0.4.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Seulement dans shotwell-0.11.5-fixed/misc: gschemas.compiled
-diff -ru shotwell-0.11.5/src/photos/GRaw.vala shotwell-0.11.5-fixed/src/photos/GRaw.vala
---- shotwell-0.11.5/src/photos/GRaw.vala 2011-09-24 00:52:27.000000000 +0200
-+++ shotwell-0.11.5-fixed/src/photos/GRaw.vala 2011-11-01 00:25:05.976289495 +0100
-@@ -163,9 +163,9 @@
- proc = new LibRaw.Processor(options);
- }
-
-- public void add_masked_borders_to_bitmap() {
-- proc.add_masked_borders_to_bitmap();
-- }
-+// public void add_masked_borders_to_bitmap() {
-+// proc.add_masked_borders_to_bitmap();
-+// }
-
- public void adjust_sizes_info_only() throws Exception {
- throw_exception("adjust_sizes_info_only", proc.adjust_sizes_info_only());
-@@ -215,9 +215,9 @@
- throw_exception("ppm_tiff_writer", proc.ppm_tiff_writer(filename));
- }
-
-- public void rotate_fuji_raw() throws Exception {
-- throw_exception("rotate_fuji_raw", proc.rotate_fuji_raw());
-- }
-+// public void rotate_fuji_raw() throws Exception {
-+// throw_exception("rotate_fuji_raw", proc.rotate_fuji_raw());
-+// }
-
- public void thumb_writer(string filename) throws Exception {
- throw_exception("thumb_writer", proc.thumb_writer(filename));
-@@ -262,7 +262,7 @@
- // camera_profile
- // bad_pixels
- // dark_frame
-- output_params->filtering_mode = LibRaw.Filtering.AUTOMATIC;
-+ // output_params->filtering_mode = LibRaw.Filtering.AUTOMATIC;
- output_params->output_bps = 8;
- // output_tiff
- output_params->user_flip = GRaw.Flip.FROM_SOURCE;
-@@ -303,8 +303,8 @@
- case LibRaw.Result.UNSUPPORTED_THUMBNAIL:
- throw new Exception.UNSUPPORTED_THUMBNAIL(msg);
-
-- case LibRaw.Result.CANNOT_ADDMASK:
-- throw new Exception.CANNOT_ADDMASK(msg);
-+// case LibRaw.Result.CANNOT_ADDMASK:
-+// throw new Exception.CANNOT_ADDMASK(msg);
-
- case LibRaw.Result.UNSUFFICIENT_MEMORY:
- throw new Exception.OUT_OF_MEMORY(msg);
diff --git a/community-testing/shotwell/shotwell.install b/community-testing/shotwell/shotwell.install
deleted file mode 100644
index bab8ecd29..000000000
--- a/community-testing/shotwell/shotwell.install
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgname=shotwell
-
-post_install() {
- gtk-update-icon-cache -fq -t usr/share/icons/hicolor
- update-desktop-database -q
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -fq -t usr/share/icons/hicolor
- glib-compile-schemas usr/share/glib-2.0/schemas
-}