#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=libgphoto2
-PKG_VERSION:=2.4.9
-PKG_RELEASE:=2
+PKG_VERSION:=2.4.12
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/gphoto
-PKG_MD5SUM:=32b233189e3df7e5e67d2a81163682b8
+PKG_MD5SUM:=735c50ebb15cb8be61bac400ee4afb1e
PKG_FIXUP:=libtool
PKG_LIBTOOL_PATHS:=. libgphoto2_port
LIBUSB_LIBS="$$$$LDFLAGS -lusb" \
LIBS="-lltdl" \
-# If OpenWrt is using the iconv stub, we disable iconv support
+# If OpenWrt is using the iconv stub, we disable iconv support
# in libgphoto2 entirely since the stub lacks some essential
# conversions like UCS-2 to UTF-8 which will let certain drivers
# fail with "Failed to create iconv converter" .
--- a/configure.ac
+++ b/configure.ac
-@@ -227,7 +227,6 @@ ALL_LINGUAS="da de es eu fr hu it ja nl
+@@ -227,7 +227,6 @@ ALL_LINGUAS="da de es eu fr hu it ja nl
GP_GETTEXT_HACK([${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}],[The gPhoto Team],[${MAIL_GPHOTO_TRANSLATION}])
AM_GNU_GETTEXT_VERSION([0.14.1])
AM_GNU_GETTEXT([external])
--- a/libgphoto2_port/libgphoto2_port/Makefile.in
+++ b/libgphoto2_port/libgphoto2_port/Makefile.in
-@@ -14,6 +14,8 @@
+@@ -15,6 +15,8 @@
@SET_MAKE@
+
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
--- a/libgphoto2_port/Makefile.in
+++ b/libgphoto2_port/Makefile.in
-@@ -14,7 +14,7 @@
+@@ -15,7 +15,7 @@
@SET_MAKE@
pkgdatadir = $(datadir)/@PACKAGE@
--- a/Makefile.in
+++ b/Makefile.in
-@@ -19,7 +19,7 @@
+@@ -20,7 +20,7 @@
########################################################################
# put file lists and special compile rules here
--- a/configure.ac
+++ b/configure.ac
-@@ -628,20 +628,11 @@ camlibs/konica/localization/Makefile
+@@ -637,20 +637,11 @@ camlibs/konica/localization/Makefile
libgphoto2/Makefile
libgphoto2.pc
libgphoto2-uninstalled.pc
dnl with ac_file set to the filename.
--- a/libgphoto2_port/configure.ac
+++ b/libgphoto2_port/configure.ac
-@@ -483,7 +483,6 @@ AC_SUBST([AM_LDFLAGS])
+@@ -485,7 +485,6 @@ AC_SUBST([AM_LDFLAGS])
# ---------------------------------------------------------------------------
AC_CONFIG_FILES([
Makefile
libgphoto2_port/Makefile
libgphoto2_port.pc
libgphoto2_port-uninstalled.pc
-@@ -494,8 +493,6 @@ usbscsi/Makefile
+@@ -497,8 +496,6 @@ usbscsi/Makefile
disk/Makefile
ptpip/Makefile
gphoto2-port-config
AUTHORS \
--- a/libgphoto2_port/Makefile.in
+++ b/libgphoto2_port/Makefile.in
-@@ -271,7 +271,7 @@ VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@L
+@@ -325,7 +325,7 @@ VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@L
bin_SCRIPTS = gphoto2-port-config
# Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
pkgconfig_DATA = libgphoto2.pc
--- a/Makefile.in
+++ b/Makefile.in
-@@ -302,7 +302,7 @@ EXTRA_DIST = HACKING MAINTAINERS TESTERS
+@@ -357,7 +357,7 @@ EXTRA_DIST = HACKING MAINTAINERS TESTERS
ChangeLog INSTALL README.in README README.packaging
# Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()