x11-misc/gwhere-0.2.3-r1.ebuild: New ebuild for 'gwhere'. Reproducible: Always Steps to Reproduce:
Created attachment 207129 [details] New ebuild
Please be sure that those things are fixed # Samuli Suominen <[EMAIL PROTECTED]> (01 Jul 2007) # Large amount of TEXTRELS, installs shared ELF libraries # into /usr/share, large amount of invalid declaration of functions, # autotools usage is completely wrong, installs desktop files into # deprecated locations, installs invalid patch conditionally, upstream is # likely dead plus there is open bug 152864. Unless you're willing # to fix *all* this. Package will be removed in 30 days.
Created attachment 207168 [details] gwhere-0.2.3.ebuild Corrected header and filename
I tried it under amd64 : x86_64-pc-linux-gnu-ranlib .libs/libgwplugindescriptionavi.a creating libgwplugindescriptionavi.la (cd .libs && rm -f libgwplugindescriptionavi.la && ln -s ../libgwplugindescriptionavi.la libgwplugindescriptionavi.la) /bin/sh ../../../libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fno-strict-aliasing -DGTK_ENABLE_BROKEN -Wall -Wl,-O1 -Wl,--as-needed -o libgwplugindescriptiondescript_ion.la -rpath /usr/share/gwhere/plugins/descr 'glib-config --cflags gmodule' -fPIC -version-info 1:0:0 descript_ion.lo ../../../src/tools/libgwtools.a -lz *** Warning: Linking the shared library libgwplugindescriptiondescript_ion.la against the *** static library ../../../src/tools/libgwtools.a is not portable! x86_64-pc-linux-gnu-gcc -shared .libs/descript_ion.o ../../../src/tools/libgwtools.a -lz -march=native -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libgwplugindescriptiondescript_ion.so.1 -o .libs/libgwplugindescriptiondescript_ion.so.1.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/tools/libgwtools.a(gwstring.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../../../src/tools/libgwtools.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgwplugindescriptiondescript_ion.la] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.3/work/gwhere-0.2.3/src/plugins/descr' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.3/work/gwhere-0.2.3/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.3/work/gwhere-0.2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.3/work/gwhere-0.2.3' make: *** [all-recursive-am] Error 2
Created attachment 232167 [details] gwhere-0.2.3.ebuild * Fixed error on amd64 * Add GWhere to desktop menu
Created attachment 232187 [details, diff] gwhere-0.2.3.diff
Created attachment 232189 [details] gwhere-0.2.3.ebuild
It should work now :)