New upstream version 0.3.2 available

Bug #1291092 reported by Fran Diéguez
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gitg
Fix Released
Unknown
gitg (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

A new gitg version is available, please consider packaging it.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gitg 0.2.7-2
ProcVersionSignature: Ubuntu 3.13.0-16.36-generic 3.13.5
Uname: Linux 3.13.0-16-generic x86_64
NonfreeKernelModules: wl fglrx
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Mar 11 23:55:33 2014
EcryptfsInUse: Yes
SourcePackage: gitg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fran Diéguez (frandieguez) wrote :
Tim Lunn (darkxst)
Changed in gitg (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Changed in gitg:
status: Unknown → New
Revision history for this message
fisadev (fisadev) wrote :

+1 to package the new gitg version, because it isn't just a bugfix release, this version has major UI improvements over the one on the ubuntu repos. And as a user it is *very* difficult to compile and install from source (missing files, missing git submodules, many other dependencies that have to be manually compiled, ...). I have already tried two times (ubuntu 13.10 and ubuntu 14.04), and wasn't able to compile it in both.

Revision history for this message
Tim Lunn (darkxst) wrote :

fisadev, sound like you are doing it all wrong ;) all the dependencies are on the gnome3-staging PPA, you just need to use the debian build system!
apt-get source gitg
uscan/uupdate
debuild -S/dpkg-buildpackage

Anyway since this requires GTK 3.12 it will have to live in gnome3-staging for trusty.

Revision history for this message
fisadev (fisadev) wrote :

Thanks for the info! I was following the instructions on the readme from gitg, but because I have almost no knowledge in packaging, I knew I must be doing something wrong.
And worth noting: that's true for most users too, so still it would be very nice to have it in the repos.

But again, thanks for the info, will try to build it again.

Revision history for this message
fisadev (fisadev) wrote :

Hmmm, I couldn't easily find what uscan, uupdate and debuild are.
Before I start reading the debian maintainers guide, do you know some quick intro to those tools?

Revision history for this message
Tim Lunn (darkxst) wrote :

uscan - downloads the upstream tarball, just run it from the source folder.

uupdate - updates the package to new upstream version use it like
uupdate -v 0.3.2 <../just.downloaded.tarball>

the goto the new folder created, you will need to make some minor edits to atleast the control file
- add a builddep on libgit2-glib-dev, update version on gtk+ dep to 3.12.0 (have a look in configure.ac for other changes that might be required.)

`debuild -S -us -uc` would create a source package, which you could then build with pbuilder or you can just run dpkg-buildpackge from the source folder (you may need to manually install build-depends on your system in this case though).

libgit2 and libgit2-glib updates are uploading to gnome3-staging/trusty PPA now.

Revision history for this message
Fran Diéguez (frandieguez) wrote :

Tim,

can you take a look at this packaging scripts [1] available from debian?

I'm almost able to compile gitg (from repo) using the latest libgit2-0 (GNOME 3 staging PPA) and this libgit2-glib packaging scripts for Trusty.

Some errors are raised in the gitg execution which are weird
/usr/local/bin/gitg: error while loading shared libraries: libgitg-1.0.so.0: cannot open shared object file: No such file or directory

[1] http://anonscm.debian.org/gitweb/?p=collab-maint/libgit2-glib.git

Revision history for this message
Fran Diéguez (frandieguez) wrote :

Sorry,

by running 'sudo ldconfig' now I have a function gitg 0.3.2

Revision history for this message
Tim Lunn (darkxst) wrote :

Fran, do you have packaging for gitg also? please attach a debdiff if so ;)

Revision history for this message
Fran Diéguez (frandieguez) wrote :

I have created packages for gitg 0.3.2, please check them out from https://www.dropbox.com/sh/exz6ytdmnxaybe4/NsCAcdUxPt

The file gitg-0.3.2-debian-packaging-files.tar.xz contains the debian/ folder required to create the package.

I've found that the installed package doesn't show the commit diffs whereas the ./configure && make && make install works perfectly.

Can the packaging team review the packages and upload them to the PPAs after that?

Revision history for this message
fisadev (fisadev) wrote :

Tim: thanks a lot for taking your time to explain that!

Fran: Great, I'll test it.

I still wasn't able to compile it, mostly because my ignorance with packaging, but I was getting close. I'll try to do it by myself even if Fran's package works, just to learn and be able to build packages in the future.

Revision history for this message
fisadev (fisadev) wrote :

Fran: tested your package, it runs, but it fails to display the commit diffs. Does this happen to you too?
(I'm using the gnome3 staging ppa)

Revision history for this message
Tim Lunn (darkxst) wrote :

This is now available on gnome3-staging.

Will look at getting it into Utopic once the GTK transition is done

Revision history for this message
Fran Diéguez (frandieguez) wrote :

Tim,

as reported above this compilation fails to display the commit diffs. If you compile gitg with "./configure.sh && make && make install" everything works perfectly.

I will report a new bug as it is a new one

Revision history for this message
Fran Diéguez (frandieguez) wrote :

I've just see that last update fixed the problem. Thanks Tim!

Changed in gitg (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
fisadev (fisadev) wrote :

Installed the one from the PPA, and it works perfectly.
Thanks a lot to both!

Revision history for this message
Pascal Mons (anton+) wrote :

Well thank you for all the good work, however one the package listed as Dependency is unknow to Ubuntu repository htt://packages.ubuntu.com ...

The package is : libgit2-glib-1.0-dev (>= 0.0.10)

Where can I get this one ?

Revision history for this message
Tim Lunn (darkxst) wrote :

Antonio19, its on the ppa

Revision history for this message
Selwyn Orren (selwyn) wrote :

Hi, I managed to get this new version installed and everything work well, except it seems I caanot push any coomits at all. Is this correct?

Revision history for this message
Tim Lunn (darkxst) wrote :

I would say so, see below from the release notes:

"Although the most prominent features of gitg are present in this release, there
are still some notable regressions which will be implemented in subsequent
releases and this release should therefore be considered unstable.

== Known regressions ==
  * Push, pull branch
  * Create/rename/delete branch
  * Create/rename/delete tag
  * Basic remote branch management"

Changed in gitg:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.