Package Details: granite-bzr r862-1

Git Clone URL: https://aur.archlinux.org/granite-bzr.git (read-only)
Package Base: granite-bzr
Description: An extension of GTK+ libraries
Upstream URL: https://launchpad.net/granite
Licenses: LGPL3
Groups: pantheon-unstable
Conflicts: granite
Provides: granite, libgranite.so
Submitter: dserban
Maintainer: alucryd
Last Packager: alucryd
Votes: 119
Popularity: 1.322557
First Submitted: 2011-08-18 15:41
Last Updated: 2015-07-16 08:50

Required by (77)

Sources (1)

Latest Comments

alucryd commented on 2014-07-15 14:49

The last commit changed the file name but they forgot to update their install script accordingly. This should be fixed upstream soon.

Chrissss commented on 2014-07-15 14:43

@lw4z, I get the same error...

lw4z commented on 2014-07-11 18:05

CMake Error at icons/cmake_install.cmake:36 (file):
file INSTALL cannot find
"/tmp/yaourt-tmp-root/aur-granite-bzr/src/granite/icons/16x16/application-menu.svg".
Call Stack (most recent call first):
cmake_install.cmake:41 (include)

halimbo commented on 2014-02-24 19:42

everybody wins :)

alucryd commented on 2014-02-24 08:31

Except that line does nothing... Had you checked your terminal, you'd have noticed granite checks for gee-0.8 since the last commit yesterday, there is no longer any reference to gee-1.0 anywhere. All the package needed was libgee instead of libgee06 in makedepends.

halimbo commented on 2014-02-24 05:59

adding the line worked for me, thanks

halimbo commented on 2014-02-24 05:50

compiles well with ner0's sed line thanks ner0.

Ner0 commented on 2013-04-11 17:01

Just add the 'sed' line in the PKGBUILD:

http://aur.pastebin.com/373KcegN

ivenvd commented on 2013-04-11 15:29

Seems incompatible with libgee-0.10:

-- package 'gee-1.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found

xircon commented on 2013-04-09 07:38

Getting this error:
==> ERROR: There is no agent set up to handle bzr+https URLs. Check /etc/makepkg.conf.
How do I fix?

Anonymous comment on 2012-11-10 16:06

Hi, I am getting the following error while building granite-bzr for slingshot. The last few lines are as follows :

Linking C executable granite-demo
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libgtk-3.so: undefined reference to `g_application_get_dbus_connection'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libgtk-3.so: undefined reference to `g_application_get_dbus_object_path'
collect2: error: ld returned 1 exit status
make[2]: *** [demo/granite-demo] Error 1
make[1]: *** [demo/CMakeFiles/granite-demo.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

What can I do to rectify this?

Szunti commented on 2012-10-06 11:00

cd to the directory where the PKGBUILD is and

wget http://metal.elte.hu/~vandrus/granite-bzr.diff #to download the patch

then

patch -p1 < granite-bzr.diff

But it shouldn't change much, just there is one less non-fatal error at build, which can be ignored anyway. And if some icons won't show after install it will fix that.

sistematico commented on 2012-10-05 21:38

How to apply?

Szunti commented on 2012-06-16 19:07

I made a patch, which handle gtk-update-icon-cache: http://metal.elte.hu/~vandrus/granite-bzr.diff

Ner0 commented on 2012-05-01 22:44

What are your gtk3 and glib2 versions?

Also try changing the cmake line in PKGBUILD to

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SHARED_LINKER_FLAGS="-fPIC"

paulbarbee commented on 2012-05-01 19:16

I get the following when I try to build this package:


Linking C shared library libgranite.so
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgtk-3.a(gtkaction.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgtk-3.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libgranite.so.0.1.5] Error 1
make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
make: *** [all] Error 2

Liquen commented on 2012-04-28 22:01

I believe libgee should be in the dependencies.

sasy360 commented on 2012-04-23 18:39

I get this error while trying to build it:
bzr: ERROR: Already a branch: "granite".

haawda commented on 2011-11-27 02:25

Please try to use the prototype for packaging bzr-packages (https://projects.archlinux.org/abs.git/tree/prototypes/PKGBUILD-bzr.proto).

See also http://paste.pocoo.org/show/513391

haawda commented on 2011-11-27 02:23

Please try to use the prototype for packaging bzr-packages (https://projects.archlinux.org/abs.git/tree/prototypes/PKGBUILD-bzr.proto).

See also http://paste.pocoo.org/show/513391

haawda commented on 2011-11-27 02:21

Please try to use the prototype for packaging bzr-packages (https://projects.archlinux.org/abs.git/tree/prototypes/PKGBUILD-bzr.proto).

See also http://paste.pocoo.org/show/513391

Anonymous comment on 2011-11-06 23:08

vala 0.14.0-1is enough for work
vala-git is madness

Anonymous comment on 2011-11-06 19:03

I'm going to throw my vote in to remove vala-git too, it's causing a dependency nightmare with other packages.

Thalskarth commented on 2011-10-31 14:57

It doesn't compile. It gives this error:

make[2]: *** [lib/CMakeFiles/granite.dir/Widgets/ToolButtonWithMenu.c.o] Error 1
make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
make: *** [all] Error 2

francoism commented on 2011-10-21 09:08

Is vala-git really needed? It works fine with vala.

Please let me know. :)

Unia commented on 2011-09-22 15:28

Orphaned. Applied my working PKGBUILD.

Unia commented on 2011-09-21 16:42

Here's another updated PKGBUILD so applications that require granite can find it:
http://pastebin.com/Rp3SiEyk

dserban commented on 2011-09-21 12:36

Disowning.

Unia commented on 2011-09-21 12:03

You need vala-git as a dependency. Here's my working PKGBUILD:

http://pastebin.com/7KSvuMPk

Unia commented on 2011-09-21 11:22

Here's an updated (and cleaner?) PKGBUILD that works. You need vala-git as dependency.

http://pastebin.com/R5sbifS6

Unia commented on 2011-09-20 21:47

Building fails with the following error message, can you help?


[ 0%] Generating Granite-0.1.typelib
[ 4%] Built target gir-typelibs
[ 8%] Generating Application.c, Drawing/Color.c, Drawing/BufferSurface.c, Drawing/Utilities.c, GtkPatch/AboutDialog.c, Services/Settings.c, Services/Logger.c, Services/Paths.c, Services/System.c, Widgets/AboutDialog.c, Widgets/ModeButton.c, Widgets/DatePicker.c, Widgets/Entries.c, Widgets/TimePicker.c, Widgets/CollapsiblePaned.c, Widgets/StaticNotebook.c, Widgets/CompositedWindow.c, Widgets/AppMenu.c, Widgets/Welcome.c, Widgets/ToolButtonWithMenu.c, config.vapi, granite.vapi, granite.h, granite_internal.h

** (valac:28115): CRITICAL **: vala_variable_get_variable_type: assertion `self != NULL' failed

** (valac:28115): CRITICAL **: vala_data_type_get_value_owned: assertion `self != NULL' failed
/tmp/packerbuild-1000/granite-bzr/granite-bzr/src/granite/lib/Widgets/ModeButton.vala:104.34-104.37: warning: Argument 2: Cannot pass null to non-null parameter type
mode_removed(number, null);
^^^^
/tmp/packerbuild-1000/granite-bzr/granite-bzr/src/granite/lib/Widgets/Entries.vala:32.19-32.70: error: invocation of void method not allowed as expression
normal_color = get_style_context().get_color(Gtk.StateFlags.NORMAL);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/tmp/packerbuild-1000/granite-bzr/granite-bzr/src/granite/lib/Widgets/Entries.vala:33.24-33.80: error: invocation of void method not allowed as expression
insensitive_color = get_style_context().get_color(Gtk.StateFlags.INSENSITIVE);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 1 warning(s)
make[2]: *** [lib/Application.c] Fout 1
make[1]: *** [lib/CMakeFiles/granite.dir/all] Fout 2
make: *** [all] Fout 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.