Hi. One of the best dockbars is this one of Elementary OS. His name is Plank. Is there anyone who could try to port it? It is similar with this of Mac OS and it's amazing!
sk8harddiefast said:When you made it, tell me. Isn't just the best dock ever made? Also can you create a port of plank?
[INFO 21:26:18.757151] [AbstractMain] Plank version: 0.5.0
[INFO 21:26:18.757304] [AbstractMain] Kernel version: 10.0-RELEASE
[INFO 21:26:18.757350] [AbstractMain] GLib version: 2.39.91
[INFO 21:26:18.757436] [AbstractMain] GTK+ version: 3.11.8
[INFO 21:26:18.757478] [AbstractMain] Wnck version: 3.4.7
[INFO 21:26:18.757524] [AbstractMain] Cairo version: 1.12.16
[INFO 21:26:18.757569] [AbstractMain] Pango version: 1.34.1
[WARN 21:26:18.757809] [Gtk] GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
[WARN 21:26:18.757809] [Gtk] GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
It's not clear which program you are trying to execute, but ldd(1) will show the shared libraries used by a given program/executable. Can you pastebin more of the build output? And also post your Makefile(s)?NuSkooler said:The problem being of course:
Obviously I have something goofed up where GTK+2.x and GTK+3.x are being used. Any tips appreciated!Code:[WARN 21:26:18.757809] [Gtk] GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
trh411 said:
ldd
on plank.NuSkooler said:Here is Plank in my repo. Warning: It's still a bit messy with some hardcoded paths :beergrin
Let me know if you need anything else to offer clues.
I have ported/installed everything you listed, but perhaps one of them is messed up. AFAIK the only issue right now is the double link of GTK+ (2 and 3).
NuSkooler said:Here is Plank in my repo. Warning: It's still a bit messy with some hardcoded paths :beergrin
Let me know if you need anything else to offer clues.
I have ported/installed everything you listed, but perhaps one of them is messed up. AFAIK the only issue right now is the double link of GTK+ (2 and 3).
ember@Unix /usr/olivier-freebsd-ports/x11-wm/plank $ sudo make install clean
===> License GPLv3 accepted by the user
===> Found saved configuration for plank-0.5.0
===> plank-0.5.0 depends on file: /usr/local/sbin/pkg - found
=> plank-0.5.0.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://launchpadlibrarian.net/156777764/plank-0.5.0.tar.xz
plank-0.5.0.tar.xz 100% of 878 kB 461 kBps 00m02s
===> Fetching all distfiles required by plank-0.5.0 for building
===> Extracting for plank-0.5.0
=> SHA256 Checksum OK for plank-0.5.0.tar.xz.
===> Patching for plank-0.5.0
===> Applying FreeBSD patches for plank-0.5.0
2 out of 2 hunks failed--saving rejects to lib/Factories/AbstractMain.vala.rej
=> Patch patch-lib_Factories_AbstractMain.vala failed to apply cleanly.
=> Patch(es) patch-data__Makefile.in applied cleanly.
*** Error code 1
Stop.
make[1]: stopped in /usr/olivier-freebsd-ports/x11-wm/plank
*** Error code 1
Stop.
make: stopped in /usr/olivier-freebsd-ports/x11-wm/plank
ember@Unix ~/Desktop/nu-bsd-read-only/ports/x11-wm/plank $ sudo make install clean
===> plank-0.5.0 depends on executable: valac - found
===> plank-0.5.0 depends on executable: gmake - found
===> plank-0.5.0 depends on executable: update-desktop-database - found
===> plank-0.5.0 depends on executable: gtk-update-icon-cache - found
===> plank-0.5.0 depends on file: /usr/local/bin/intltool-extract - found
===> plank-0.5.0 depends on shared library: libintl.so - found
===> plank-0.5.0 depends on shared library: libatk-1.0.so - found
===> plank-0.5.0 depends on shared library: libgdk_pixbuf-2.0.so - found
===> plank-0.5.0 depends on shared library: libglib-2.0.so - found
===> plank-0.5.0 depends on shared library: libpcre.so - found
===> plank-0.5.0 depends on shared library: libgtk-3.so - found
===> plank-0.5.0 depends on shared library: libpango-1.0.so - found
===> plank-0.5.0 depends on shared library: bamf.0 - not found
===> Verifying install for bamf.0 in /usr/ports/sysutils/bamf
=> No directory for bamf.0. Skipping..
===> plank-0.5.0 depends on shared library: unique-1.0.2 - found
===> plank-0.5.0 depends on shared library: gee.2 - not found
===> Verifying install for gee.2 in /usr/ports/devel/libgee
===> Returning to build of plank-0.5.0
Error: shared library "gee.2" does not exist
*** Error code 1
Stop.
make: stopped in /usr/home/ember/Desktop/nu-bsd-read-only/ports/x11-wm/plank
FreeBSD Unix 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Sun Mar 2 20:47:34 EET 2014 root@Unix:/usr/obj/usr/src/sys/MYKERNEL amd64
sk8harddiefast said:Hi. On Olivier's port I get this error:
Code:ember@Unix /usr/olivier-freebsd-ports/x11-wm/plank $ sudo make install clean ===> License GPLv3 accepted by the user ===> Found saved configuration for plank-0.5.0 ===> plank-0.5.0 depends on file: /usr/local/sbin/pkg - found => plank-0.5.0.tar.xz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://launchpadlibrarian.net/156777764/plank-0.5.0.tar.xz plank-0.5.0.tar.xz 100% of 878 kB 461 kBps 00m02s ===> Fetching all distfiles required by plank-0.5.0 for building ===> Extracting for plank-0.5.0 => SHA256 Checksum OK for plank-0.5.0.tar.xz. ===> Patching for plank-0.5.0 ===> Applying FreeBSD patches for plank-0.5.0 2 out of 2 hunks failed--saving rejects to lib/Factories/AbstractMain.vala.rej => Patch patch-lib_Factories_AbstractMain.vala failed to apply cleanly. => Patch(es) patch-data__Makefile.in applied cleanly. *** Error code 1 Stop. make[1]: stopped in /usr/olivier-freebsd-ports/x11-wm/plank *** Error code 1 Stop. make: stopped in /usr/olivier-freebsd-ports/x11-wm/plank
I've just uploaded right patch, sorry.
Now on @NuSkooler port I take this error:
Code:ember@Unix ~/Desktop/nu-bsd-read-only/ports/x11-wm/plank $ sudo make install clean ===> plank-0.5.0 depends on executable: valac - found ===> plank-0.5.0 depends on executable: gmake - found ===> plank-0.5.0 depends on executable: update-desktop-database - found ===> plank-0.5.0 depends on executable: gtk-update-icon-cache - found ===> plank-0.5.0 depends on file: /usr/local/bin/intltool-extract - found ===> plank-0.5.0 depends on shared library: libintl.so - found ===> plank-0.5.0 depends on shared library: libatk-1.0.so - found ===> plank-0.5.0 depends on shared library: libgdk_pixbuf-2.0.so - found ===> plank-0.5.0 depends on shared library: libglib-2.0.so - found ===> plank-0.5.0 depends on shared library: libpcre.so - found ===> plank-0.5.0 depends on shared library: libgtk-3.so - found ===> plank-0.5.0 depends on shared library: libpango-1.0.so - found ===> plank-0.5.0 depends on shared library: bamf.0 - not found ===> Verifying install for bamf.0 in /usr/ports/sysutils/bamf => No directory for bamf.0. Skipping.. ===> plank-0.5.0 depends on shared library: unique-1.0.2 - found ===> plank-0.5.0 depends on shared library: gee.2 - not found ===> Verifying install for gee.2 in /usr/ports/devel/libgee ===> Returning to build of plank-0.5.0 Error: shared library "gee.2" does not exist *** Error code 1 Stop. make: stopped in /usr/home/ember/Desktop/nu-bsd-read-only/ports/x11-wm/plank
Don't use port, hosted by @NuSkooler, it's obsolete.
My uname -a
Code:FreeBSD Unix 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Sun Mar 2 20:47:34 EET 2014 root@Unix:/usr/obj/usr/src/sys/MYKERNEL amd64
lddtree
does not show any others. Yet, my Makefile does not mention GTK+2.NuSkooler said:@olivier: Which portion of my port is obsolete? It's essentially the latest Plank with patches. Since you have a working copy, I'll probably re-do mine based on your work, but that was the original starting point for me anyway.
ls /usr/local/lib | grep libgee
libgee-0.8.la
libgee-0.8.so
libgee-0.8.so.5
ldconfig -r | grep gee
513:-lgee-0.8.5 => /usr/local/lib/libgee-0.8.so.5
PLANK_CORE_LIBS
but it still manages to find and link the GTK+ 2.0 library... which ultimately warns with the message mentioned before and exits:[WARN 21:26:18.757809] [Gtk] GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported