[Bug 1623666] Re: iOS device contents not displayed in Ubuntu

2017-07-20 Thread John Cupitt
This worked for me on 17.04 with an iphone 6s and ios 10.3.3:

1. git clone https://github.com/libimobiledevice/libimobiledevice.git
2. cd libimobiledevice
3. sudo apt-get install libusbmuxd-dev libplist-dev libplist++-dev

I then had to add a number of packages to get libimobiledevice to
configure cleanly, you might need more than this.

4. ./autogen.sh --prefix=/home/john/libimobiledevice

Check the output of autogen carefully and add any missing packages. I'm
building to a directory in my home directory, you'll want to substitute
"john" for your username.

5. make
6. make install
7. export LD_LIBRARY_PATH="/home/john/libimobiledevice/lib:$LD_LIBRARY_PATH"

Here I added that directory to my library path, so subsequent commands
in this shell will use the new libimobiledevice.

8. ~/libimobiledevice/bin/idevicepair pair

This will fail first time and ask you to tap "Trust" on the phone
screen. Try again and you should see a SUCCESS message.

9. mkdir x
10. ifuse x
11. ls x

And I see lots of directories, including DCIM with all my photos in.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623666

Title:
  iOS device contents not displayed in Ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnutls28/+bug/1623666/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1670036] Re: Misapplied patches in 4.0.6-2ubuntu01 break reading and writing JPEG compressed files

2017-03-14 Thread John Cupitt
Looks like this is broken on 16.04 as well as 16.10, I'm getting reports
there too:

https://github.com/jcupitt/libvips/issues/621

** Bug watch added: github.com/jcupitt/libvips/issues #621
   https://github.com/jcupitt/libvips/issues/621

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1670036

Title:
  Misapplied patches in 4.0.6-2ubuntu01 break reading and writing JPEG
  compressed files

To manage notifications about this bug go to:
https://bugs.launchpad.net/libtiff/+bug/1670036/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1670036] Re: Misapplied patches in 4.0.6-2ubuntu01 break reading and writing JPEG compressed files

2017-03-09 Thread John Cupitt
The libtiff mailing list index has now updated, so here's the thread
discussing this issue:

http://www.asmail.be/msg0055405792.html

** Summary changed:

- 4.0.6-2ubuntu01 has problems reading and writing JPEG compressed images
+ Misapplied patches in 4.0.6-2ubuntu01 break reading and writing JPEG 
compressed files

** Bug watch added: github.com/openslide/openslide/issues #190
   https://github.com/openslide/openslide/issues/190

** Also affects: libtiff via
   https://github.com/openslide/openslide/issues/190
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1670036

Title:
  Misapplied patches in 4.0.6-2ubuntu01 break reading and writing JPEG
  compressed files

To manage notifications about this bug go to:
https://bugs.launchpad.net/libtiff/+bug/1670036/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1670036] Re: 4.0.6-2ubuntu01 has problems reading and writing JPEG compressed images

2017-03-05 Thread John Cupitt
Even Rouault on the libtiff mailing list has looked into this as well --
he says the cause is a misapplied patch.

Unfortunately i can't link to his mail as the libtiff mailing list
archive index has stopped being updated, but I copy-paste his mail
below:

---
Even Rouault 
to tiff, me

On samedi 4 mars 2017 18:51:20 CET jcup...@gmail.com wrote:
> tar xf tiff_4.0.6-2ubuntu0.1.debian.tar.xz
> tar xf tiff_4.0.6.orig.tar.gz
> cd tiff-4.0.6
> for i in ../debian/patches/*.patch; do patch -p1 < $i; done

Actually to reproduce, you need to apply the patches in a precise order
with

for i in `cat ../debian/patches/series`; do \
patch -p1 <../debian/patches/$i; done

I've then compared the patched libtiff/tif_dirread.c with the official
one from CVS, and I understand now what happens in Debian/Ubuntu.

It appears that the following snippet

  if( dp->tdir_count > 0 && data[dp->tdir_count-1] !=
'\0' )

{

TIFFWarningExt(tif->tif_clientdata,module,"ASCII value for tag \"%s\"
does not end in null byte. Forcing it to be null",fip->field_name);

data[dp->tdir_count-1] = '\0';

}

that in official libtiff is applied in the TIFF_SETGET_C16_ASCII cases
(line 5017 in HEAD) and in the TIFF_SETGET_C32_ASCII cases (line 5194 in
CVS HEAD) has been wrongly applied in Debian in the
TIFF_SETGET_C16_UINT8 case (line 5008) and TIFF_SETGET_C32_UINT8 case
(line 5180)...

This explains the warning about the JPEGTables...

Unfortunately "make check" in the Debian patched libtiff still passes,
so they have some excuse. Not so surprised since the test suite is
rather small.

Even
-- 
Spatialys - Geospatial professional services
http://www.spatialys.com

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1670036

Title:
  4.0.6-2ubuntu01 has problems reading and writing JPEG compressed
  images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tiff/+bug/1670036/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1670036] [NEW] 4.0.6-2ubuntu01 has problems reading and writing JPEG compressed images

2017-03-04 Thread John Cupitt
Public bug reported:

The patches applied to libtiff 4.0.6 in 4.0.6-2ubuntu01 seem to break
JPEG tiff read and write.

To reproduce:

$ tiffcp -c jpeg k2a.tif x.tif

(where k2a.tif is a simple uncompressed RGB strip tiff) appears to work.
However, x.tif, the output, will now not read without warnings:

$ tiffcp x.tif y.tif
TIFFFetchNormalTag: Warning, ASCII value for tag "JPEGTables" does not end in 
null byte. Forcing it to be null.
JPEGLib: Warning, Premature end of JPEG file.

This was working fine until a couple of days ago, so I guess it's one of
the most recent patches.

Some packages using libtiff seem to be broken too. For example,
openslide, which uses libtiff to load jp2k-compressed slide images, is
no longer working:

$ openslide-write-png CMU-1-Small-Region.svs 0 0 0 100 100 x.png
TIFFFetchNormalTag: Warning, ASCII value for tag "JPEGTables" does not end in 
null byte. Forcing it to be null.
TIFFFetchNormalTag: Warning, ASCII value for tag "JPEGTables" does not end in 
null byte. Forcing it ... repeats 8 more times
openslide-write-png: Premature end of JPEG file

and x.png is not a valid PNG image.  The test .svs image may be
downloaded here:

http://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/

** Affects: tiff (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1670036

Title:
  4.0.6-2ubuntu01 has problems reading and writing JPEG compressed
  images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tiff/+bug/1670036/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1580376] Re: Update giflib Xenial Package to 5.1.4

2016-06-19 Thread John Cupitt
I can confirm that `sudo apt-get install libgif-dev/xenial-proposed`
fixes the libvips test suite failures for me. Previously I saw errors
from direct gif load, and load via imagemagick. I now see a clean run.

Thank you for updating this library.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580376

Title:
  Update giflib Xenial Package to 5.1.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1580376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1530651] [NEW] octave-image has link errors on 15.10

2016-01-03 Thread John Cupitt
Public bug reported:

octave-image will not load on 15.10 due to link errors. I see:

>> pkg list
Package Name  | Version | Installation directory
--+-+---
   image  |   2.4.0 | /usr/share/octave/packages/image-2.4.0
>> pkg load image
error: __which__: 
/usr/lib/x86_64-linux-gnu/octave/packages/image-2.4.0/x86_64-pc-linux-gnu-api-v50+/bwconncomp.oct:
 failed to load: 
/usr/lib/x86_64-linux-gnu/octave/packages/image-2.4.0/x86_64-pc-linux-gnu-api-v50+/bwconncomp.oct:
 undefined symbol: _ZNK5ArrayISsE17resize_fill_valueEv
error: called from
which at line 31 column 7

/usr/lib/x86_64-linux-gnu/octave/packages/image-2.4.0/x86_64-pc-linux-gnu-api-v50+/PKG_ADD
 at line 2 column 1
load_packages_and_dependencies at line 47 column 5
load_packages at line 60 column 3
pkg at line 422 column 7
error: evaluating argument list element number 2
error: called from

/usr/lib/x86_64-linux-gnu/octave/packages/image-2.4.0/x86_64-pc-linux-gnu-api-v50+/PKG_ADD
 at line 2 column 1
load_packages_and_dependencies at line 47 column 5
load_packages at line 60 column 3
pkg at line 422 column 7

I've tried on a couple of 15.10 installs, no PPAs except google chrome.

** Affects: octave-image (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530651

Title:
  octave-image has link errors on 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave-image/+bug/1530651/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1462359] Re: wine currently can not be installed in wily - 15.10

2015-12-02 Thread John Cupitt
@vertago1 's suggestion works. This Dockerfile:

FROM ubuntu:wily
RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y wine

is fine. Thank you vertago, hope I've not created too much noise.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1462359

Title:
  wine currently can not be installed in wily - 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wine1.6/+bug/1462359/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1462359] Re: wine currently can not be installed in wily - 15.10

2015-12-02 Thread John Cupitt
I'm seeing this bug in a fresh wily install in docker. Try this
Dockerfile:

FROM ubuntu:wily
RUN apt-get update && apt-get upgrade -y && apt-get install -y wine

Then:

$ sudo docker build -t test2 x
[trim]
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
INFO[0008] The command [/bin/sh -c apt-get update && apt-get upgrade -y && 
apt-get install -y wine] returned a non-zero code: 100

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1462359

Title:
  wine currently can not be installed in wily - 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wine1.6/+bug/1462359/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1134202] Re: Removing overlay-scrollbar causes lots of noise

2014-05-12 Thread John Cupitt
I have a solution!

In synaptic: search for overlay-scrollbar, right click and instead of
selecting "Mark for removal", select "Mark for complete removal". Now
click apply and /etc/X11/Xsession.d/81overlay-scrollbar will be removed
as well as the overlay scrollbar library.

You need to log out and in again for the change to take effect.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1134202

Title:
  Removing overlay-scrollbar causes lots of noise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/overlay-scrollbar/+bug/1134202/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 600615] Re: mingw32 g++ is unable to create DLLs

2010-12-15 Thread John Cupitt
I just tried on 10.10 and the mingw32 there works fine, so I guess this
bug can be closed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/600615

Title:
  mingw32 g++ is unable to create DLLs 

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 600615] [NEW] mingw32 g++ is unable to create DLLs

2010-07-01 Thread John Cupitt
Public bug reported:

Binary package hint: mingw32

I have a C++ DLL which uses stdc++ features. Mingw32 on Ubuntu lucid is
unable to link this. Compilation fails with:

libtool: link: /usr/bin/i586-mingw32msvc-g++ -shared -nostdlib 
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/lib/dllcrt2.o
 /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/crtbegin.o  .libs/VImage.o 
.libs/VError.o .libs/VDisplay.o .libs/VMask.o   -L/home/john/windows/win/lib 
../libvips/.libs/libvips.dll.a -lMagickWand -lMagickCore -lpng12 -ltiff -lz 
-ljpeg -lgthread-2.0 -lxml2 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lfftw3 -llcms -lexif 
-L/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj 
-L/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/lib 
-lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 
-ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt 
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/crtend.o  -mno-cygwin -mms-bitfields 
-march=i686 -Wl,--enable-auto-import -mno-cygwin -mms-bitfields -march=i686 
-mno-cygwin   -o .libs/libvipsCC-15.dll -Wl,--enable-auto-image-base -Xlinker 
--out-implib -Xlinker .libs/libvipsCC.dll.a
Creating library file: .libs/libvipsCC.dll.a
.libs/VError.o:VError.cc:(.text+0x21): undefined reference to 
`__imp___ZNSt8ios_base4InitC1Ev'
[... snip ... more undefined references follow, about half are errors linking 
to ios init, half to exception init]

It builds C DLLs correctly.

If I make my own mingw32 cross-compiler following the instructions at
http://www.mingw.org/wiki/LinuxCrossMinGW everything works perfectly.

This process also worked well in karmic. It seems to be only the lucid
package which has this problem.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mingw32 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Jul  1 12:53:12 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: mingw32

** Affects: mingw32 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug lucid

-- 
mingw32 g++ is unable to create DLLs 
https://bugs.launchpad.net/bugs/600615
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 495658] Re: nip2 (7.14.1 on karmic amd64) crashes when opening an image-file

2010-05-03 Thread John Cupitt
Hi, I'm the upstream maintainer. This is fixed in Lucid, where nip2 and
vips are both on 7.20.something. I suggest this bug should be closed.

(Background: gtk+ changes broke the spreadsheet widget that nip2 uses,
so while the library was updated, the GUI was not. Hopefully all
resolved now)

-- 
nip2 (7.14.1 on karmic amd64) crashes when opening an image-file
https://bugs.launchpad.net/bugs/495658
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 525783] [NEW] Please sync nip2-7.20.7-1 (universe) from Debian unstable

2010-02-22 Thread John Cupitt
Public bug reported:

Binary package hint: nip2

nip2-7.20.7-1 in Debian unstable (and its associated library
vips-7.20.7-1) has several very useful bugfixes over the versions
currently in lucid (nip2 (7.20.6-1ubuntu2) [universe] and libvips15
(7.20.4-1) [universe]). It's been in unstable for over a month now, I'm
not sure why.

Bug fixes are:

- generate C++/Python wrappers for deprecated operations by default to improve 
compatibility with older versions
- support YCbCr JPEG and JPEG TIFF
- read TIFF images in strips rather than scanlines, helps load subsampled YCbCr
- large reduction in VM usage when working with many small images
- "make check" passes on more platforms
- better compatibility with nip2-7.16 workspaces

It would be very nice to get these improvements into Lucid.

** Affects: nip2 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Please sync nip2-7.20.7-1 (universe) from Debian unstable
https://bugs.launchpad.net/bugs/525783
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 407339] Re: FTBFS because of private GtkEntry fields

2009-10-27 Thread John Cupitt
Hi, I'm the upstream maintainer. We've just fixed this in SVN head, so
the next stable version should work with gtk+ 2.17+. This new version
ought to be done in time for 10.04, hopefully.

-- 
FTBFS because of private GtkEntry fields
https://bugs.launchpad.net/bugs/407339
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 130664] Re: please sync package nip2 from debian unstable (about to transition to testing)

2007-08-11 Thread John Cupitt
Yes, I guess you're right Barry, the delta should stay. Please tag as
merge instead.

-- 
please sync package nip2 from debian unstable (about to transition to testing)
https://bugs.launchpad.net/bugs/130664
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 130664] please sync package nip2 from debian unstable (about to transition to testing)

2007-08-06 Thread John Cupitt
Public bug reported:

Hi, gutsy currently has version 7.10 of this package. 7.12 was released
just after the last sync with debian and just missed the boat. Would it
be possible to update gutsy to the newer version?

The package is currently in unstable but should transition to testing in
a day or two.

http://packages.debian.org/unstable/graphics/nip2

It has many significant improvements over the old 7.10.

Trying to follow the instructions from

http://ubuntuforums.org/showthread.php?t=414355

** Affects: Ubuntu
 Importance: Undecided
 Status: New


** Tags: needs-packaging

-- 
please sync package nip2 from debian unstable (about to transition to testing)
https://bugs.launchpad.net/bugs/130664
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs