|
#1
|
||||
|
||||
|
I have the source code for the Nimbus theme. I need to compile it for my 64 bit Ubuntu installation. Could somebody please give me a step-by-step guide to doing this?
Thanks Peddy |
|
#2
|
||||
|
||||
|
Checkout this article. It contains the following script that appears to be working (tested using Ubuntu 7.04 in a virtual environment).
Code:
sudo apt-get install fakeroot dpkg-dev devscripts wget -c http://dlc.sun.com/osol/jds/download...-0.0.8.tar.bz2 wget -c http://zap.tartarus.org/~ds/debian/dists/sid/main/source/nimbus_0.0.6-1.diff.gz tar xf nimbus-0.0.8.tar.bz2 cd nimbus-0.0.8 zcat ../nimbus_0.0.6-1.diff.gz | patch -p1 chmod +x debian/rules debchange -v 0.0.8-1 sudo apt-get build-dep fakeroot dpkg-buildpackage -us -uc |
|
#3
|
||||
|
||||
|
Thanks Kage for the reply, but still doesn't seem to be working. Shows some output that it doesn't support my architecture, AMD64. Any ideas?
|
|
#4
|
||||
|
||||
|
Ah, sorry, I missed the part where you're using 64-bit Ubuntu. I'll try some stuff later tonight and report back.
|
|
#5
|
||||
|
||||
|
Thanks kage
|
|
#6
|
||||
|
||||
|
Alright, keep in mind this probably won't work, but it'll be fun to test it. Download the first tarball, http://dlc.sun.com/osol/jds/download...-0.0.8.tar.bz2
Open a terminal, and cd to the directory in which you downloaded it. Run "tar -jxvpf nimbus-0.0.8.tar.bz2". This will create a folder called nimbus-0.0.8. Now cd to this directory, and run "./configure". Once it finishes, run "make", followed by "make check" and then "make install". If at any point you get an error message, please post the full message here. We'll move on to step two after this. |
|
#7
|
||||
|
||||
|
It shows a list of all the files (many) and then gives me:
Code:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for intltool >= 0.23... 0.35.0 0.35.0 0.35.0 0.35.0 found ./configure: line 3649: test: 3500 3500 3500 3500: integer expression expected configure: error: Your intltool is too old. You need intltool 0.23 or later. Should I roll back? Thanks Peddy EDIT OK I used intltoolize --force to make all the files. Then I used make to make them, make install afterward. Here is the output Quote:
Last edited by Peddy; September 17th, 2007 at 07:17 AM. |
|
#8
|
||||
|
||||
|
After that when I do './configure' it gives me
Code:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for intltool >= 0.23... 0.35.5 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource checking for ANSI C header files... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK2... yes /home/arno/nimbus-0.0.8 checking icon-naming-utils >= 0.8.1... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext configure: creating ./config.status config.status: creating Makefile config.status: creating gtk-engine/Makefile config.status: creating gtk-engine/gtk-2.0/Makefile config.status: creating gtk-engine/gtk-2.0/iconrc config.status: creating gtk-engine/images/Makefile config.status: creating metacity/Makefile config.status: creating icons/Makefile config.status: creating icons/index.theme config.status: creating icons/12x12/Makefile config.status: creating icons/12x12/actions/Makefile config.status: creating icons/12x12/emblems/Makefile config.status: creating icons/12x12/places/Makefile config.status: creating icons/16x16/Makefile config.status: creating icons/16x16/actions/Makefile config.status: creating icons/16x16/apps/Makefile config.status: creating icons/16x16/categories/Makefile config.status: creating icons/16x16/devices/Makefile config.status: creating icons/16x16/emblems/Makefile config.status: creating icons/16x16/places/Makefile config.status: creating icons/16x16/mimetypes/Makefile config.status: creating icons/16x16/status/Makefile config.status: creating icons/192x192/Makefile config.status: creating icons/192x192/apps/Makefile config.status: creating icons/192x192/categories/Makefile config.status: creating icons/192x192/devices/Makefile config.status: creating icons/192x192/places/Makefile config.status: creating icons/192x192/mimetypes/Makefile config.status: creating icons/20x20/Makefile config.status: creating icons/20x20/status/Makefile config.status: creating icons/24x24/Makefile config.status: creating icons/24x24/actions/Makefile config.status: creating icons/24x24/apps/Makefile config.status: creating icons/24x24/categories/Makefile config.status: creating icons/24x24/devices/Makefile config.status: creating icons/24x24/emblems/Makefile config.status: creating icons/24x24/places/Makefile config.status: creating icons/24x24/mimetypes/Makefile config.status: creating icons/24x24/status/Makefile config.status: creating icons/32x32/Makefile config.status: creating icons/32x32/actions/Makefile config.status: creating icons/32x32/apps/Makefile config.status: creating icons/32x32/categories/Makefile config.status: creating icons/32x32/devices/Makefile config.status: creating icons/32x32/emblems/Makefile config.status: creating icons/32x32/places/Makefile config.status: creating icons/32x32/mimetypes/Makefile config.status: creating icons/32x32/status/Makefile config.status: creating icons/36x36/Makefile config.status: creating icons/36x36/actions/Makefile config.status: creating icons/36x36/apps/Makefile config.status: creating icons/36x36/categories/Makefile config.status: creating icons/36x36/devices/Makefile config.status: creating icons/36x36/places/Makefile config.status: creating icons/36x36/mimetypes/Makefile config.status: creating icons/48x48/actions/Makefile config.status: creating icons/48x48/apps/Makefile config.status: creating icons/48x48/categories/Makefile config.status: creating icons/48x48/devices/Makefile config.status: creating icons/48x48/places/Makefile config.status: creating icons/48x48/mimetypes/Makefile config.status: creating icons/48x48/status/Makefile config.status: creating icons/48x48/emblems/Makefile config.status: creating icons/48x48/Makefile config.status: creating icons/72x72/Makefile config.status: creating icons/72x72/apps/Makefile config.status: creating icons/72x72/categories/Makefile config.status: creating icons/72x72/places/Makefile config.status: creating icons/72x72/mimetypes/Makefile config.status: creating icons/96x96/Makefile config.status: creating icons/96x96/apps/Makefile config.status: creating icons/96x96/categories/Makefile config.status: creating icons/96x96/devices/Makefile config.status: creating icons/96x96/places/Makefile config.status: creating icons/96x96/mimetypes/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing intltool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands |
|
#9
|
||||
|
||||
|
./configure gives you a solid output. What happens when you run "make" and "make install" (both as root)?
|
|
#10
|
||||
|
||||
|
Please see 3 posts up. That is only for 'make install'. For make, it just gives me a long list of all the files. I guess its installed, now how to I set it? Its not in the themes menu. Any ideas?
|
|
#11
|
||||
|
||||
|
Ah, then its installed. Download and install this package now, using the same "./configure; make; make install"
http://zap.tartarus.org/%7Eds/debian....0.6-1.diff.gz To unpack that archive, use "gzip -d nimbus-0.0.6-1.diff.gz". |
|
#12
|
||||
|
||||
|
w00000t
I did it What did the trick was, that I needed to make a symbolic link between the original file, and where the file needs to be (so that the GNOME theme manager can read it.) Awesome, I am so happy. Just if anyone wants to know, this is what I did The first one is where it is. The first one is the correct place. The second one is where it is installed by default. Code:
/usr/share/themes/nimbus -> /usr/local/share/themes/nimbus /usr/share/icons/nimbus -> /usr/local/share/icons/nimbus /usr/lib/gtk-2.0/2.10.0/engines/libnimbus.so -> /usr/local/lib/gtk-2.0/2.10.0/engines/libnimbus.so /usr/lib32/gtk-2.0/2.10.0/engines/libnimbus.so -> /usr/local/lib32/gtk-2.0/2.10.0/engines/libnimbus.so Last edited by Peddy; September 19th, 2007 at 07:18 AM. |
|
#13
|
||||
|
||||
|
And of course thanks to kage for spending time with me to do this. I would have probably lost hope if it wasn't for him.
|
|
#14
|
||||
|
||||
|
I'm glad you got it working.
Most mailing lists and forums atm are assuming it just doesn't work on 64-bit.
|
|
#15
|
||||
|
||||
|
Then I'm special.
All the buttons, etc. are working perfectly. And this page comes up on Google Search when you search 'nimbus theme'.
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 04:53 AM.




All the buttons, etc. are working perfectly. And this page comes up on Google Search when you search 'nimbus theme'.




