Changeset 3035


Ignore:
Timestamp:
Oct 19, 2008, 3:13:59 PM (15 years ago)
Author:
Sam Hocevar
Message:

Improve "make install", especially for .NET assemblies.

Location:
libpipi/trunk
Files:
4 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/NOTES

    r2724 r3035  
    1 Nothing really exciting in this document, just a few notes about cool
    2 stuff already in the library and the accompanying examples.
    31
    4 Having fun with pipi
    5 ====================
     2printf("%i,%i[%i] %g -> %i + %g\n", x, y, i, p, (int)d, e);
    63
    7 Convert a picture to black and white using the best available algorithm:
    8   $ pipi source.png --dither dbs -o image.png
     4----
     5perfs for pipi random:256x256 --wrap --median X:
    96
    10 Generate a brushed metal, tileable pattern:
    11   $ pipi pipi:random512x512 --wrap --blur 15x0r15 -o image.png
     7X = 1  X = 2  X = 3  X = 4  X = 5   X = 6
     80.133  0.458  1.288  3.066  6.370  11.931
     90.127  0.435  1.289  3.062  6.355  11.944
     100.128  0.445  1.282  3.053  6.354  11.916
     110.120  0.432  1.264  3.089  6.362  11.938
     120.120  0.436  1.292  3.048  6.366  11.911
    1213
     14after switching to qsort:
     15X = 1  X = 2  X = 3  X = 4  X = 5  X = 6  X = 7   X = 8
     160.257  0.733  1.519  2.704  4.192  6.143  8.193  10.880
     170.241  0.731  1.541  2.709  4.179  6.172  8.194  10.889
     180.243  0.736  1.540  2.728  4.174  6.123  8.221  10.824
     190.241  0.725  1.530  2.706  4.161  6.135  8.288  10.791
     200.241  0.725  1.528  2.733  4.168  6.142  8.208  10.805
     21
     22my qsort:
     23X = 1  X = 2  X = 3  X = 4  X = 5  X = 6  X = 7   X = 8
     240.161  0.438  0.974  1.856  3.155  5.041  7.637  11.191
     250.157  0.427  0.971  1.840  3.138  5.047  7.641  11.170
     260.156  0.438  0.972  1.845  3.146  5.040  7.650  11.165
     270.164  0.437  0.969  1.839  3.150  5.025  7.647  11.119
     280.164  0.450  0.968  1.834  3.152  5.043  7.651  11.097
     29
  • libpipi/trunk/ThePimp/.gitignore

    r2893 r3035  
    44pipi-sharp.dll
    55pipi-sharp.dll.*
     6pimp
  • libpipi/trunk/ThePimp/Makefile.am

    r2954 r3035  
    11# $Id: $
     2
     3pkglibdir = $(libdir)/ThePimp
    24
    35pimp_sources = \
     
    3133
    3234if USE_CSHARP
    33 bin_SCRIPTS = ThePimp.exe
     35pkglib_DATA = ThePimp.exe
     36bin_SCRIPTS = pimp
    3437endif
    3538
  • libpipi/trunk/configure.ac

    r3016 r3035  
    177177# Build pipi-sharp?
    178178AC_PATH_PROG(GMCS, gmcs, no)
    179 AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no")
     179AC_PATH_PROG(GACUTIL, gacutil, no)
     180AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no" -a "${GACUTIL}" != "no")
    180181
    181182# Build The Pimp?
     
    203204  pipi-sharp/pipi-sharp.dll.config
    204205])
     206AC_CONFIG_FILES([ThePimp/pimp], [chmod +x ThePimp/pimp])
    205207
    206208AC_OUTPUT
  • libpipi/trunk/pipi-sharp/AssemblyInfo.cs

    r2914 r3035  
    3737
    3838[assembly: AssemblyDelaySign(false)]
    39 [assembly: AssemblyKeyFile("")]
     39[assembly: AssemblyKeyFile("pipi-sharp.snk")]
  • libpipi/trunk/pipi-sharp/Makefile.am

    r2912 r3035  
    11# $Id: $
    22
    3 pipidir = $(libdir)/pipi-sharp
     3# We need to install the .config file ourselves because of a gacutil
     4# bug (https://bugzilla.novell.com/show_bug.cgi?id=363341)
     5monodir = $(libdir)/mono/pipi-sharp-0.0
     6if USE_CSHARP
     7noinst_DATA = pipi-sharp.dll pipi-sharp.dll.config test.exe
     8endif
    49
    510pipi_sources = \
     
    1116        $(srcdir)/test.cs
    1217
    13 if USE_CSHARP
    14 pipi_DATA = pipi-sharp.dll pipi-sharp.dll.config
    15 noinst_DATA = test.exe
    16 endif
    17 
    1818EXTRA_DIST = $(pipi_sources) $(test_sources) \
    19         pipi-sharp.pc.in pipi-sharp.dll.config.in
     19        pipi-sharp.snk pipi-sharp.pc.in pipi-sharp.dll.config.in
    2020
    2121pipi-sharp.dll: $(pipi_sources)
     
    2626          -r:./pipi-sharp.dll
    2727
     28if USE_CSHARP
     29install-data-local:
     30        MONO_SHARED_DIR=$$HOME $(GACUTIL) -i pipi-sharp.dll \
     31          -package pipi-sharp-0.0 -f -root $(DESTDIR)$(libdir)
     32        $(mkinstalldirs) $(DESTDIR)$(monodir)
     33        sed -e 's@target="[^"]*/@target="@' < pipi-sharp.dll.config > $(DESTDIR)$(monodir)/pipi-sharp.dll.config
     34
     35uninstall-local:
     36        MONO_SHARED_DIR=$$HOME $(GACUTIL) -u pipi-sharp.dll, Version=0.0 \
     37          -package pipi-sharp-0.0 || true
     38        rm -f $(DESTDIR)$(monodir)/pipi-sharp.dll.config
     39        rmdir $(DESTDIR)$(monodir) 2>/dev/null || true
     40endif
     41
    2842clean-local:
    2943        rm -f *.exe *.dll *.mdb
Note: See TracChangeset for help on using the changeset viewer.