From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: WIP pgmodeler Date: Tue, 16 May 2017 10:09:28 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="f403045c2486dec8d1054f9fb0f5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAXXv-0002Lz-Vf for guix-devel@gnu.org; Tue, 16 May 2017 04:09:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAXXu-0001dx-IT for guix-devel@gnu.org; Tue, 16 May 2017 04:09:31 -0400 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:33070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAXXu-0001cn-C1 for guix-devel@gnu.org; Tue, 16 May 2017 04:09:30 -0400 Received: by mail-qk0-x22c.google.com with SMTP id y201so120544843qka.0 for ; Tue, 16 May 2017 01:09:30 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel --f403045c2486dec8d1054f9fb0f5 Content-Type: multipart/alternative; boundary="f403045c2486dec8cc054f9fb0f3" --f403045c2486dec8cc054f9fb0f3 Content-Type: text/plain; charset="UTF-8" I have this patch for pgmodeler https://www.pgmodeler.com.br/ It builds. I would say that 20% of the work is done, now the remaining 80% is integration work It has some somewhat bizarre runtime requirements and procedures, it probably needs some search paths to be set and probably a desktop file should be written I'm not keen to see after this stuff So, I post it here, I'd be glad if anyone is willing to chip in some bits and pieces Thanks P.S. I'm not sure if Potluck could cover this use case, but I was thinking that maybe a guix-wip mailing list like the guix-patches one could be useful for half baked things like this --f403045c2486dec8cc054f9fb0f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --f403045c2486dec8cc054f9fb0f3-- --f403045c2486dec8d1054f9fb0f5 Content-Type: text/x-patch; charset="US-ASCII"; name="pgmodeler.patch" Content-Disposition: attachment; filename="pgmodeler.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j2r9je4y0 RnJvbSA2MWQ4NDdkYzk1YzBhMjhmYmJiZjU5ODFkZWIxZDYzN2Q5ZjZkOWZkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBZHJpYW5vIFBlbHVzbyA8Y2F0b25hbm9AZ21haWwuY29tPgpE YXRlOiBGcmksIDI4IEFwciAyMDE3IDA5OjUwOjA3ICswMjAwClN1YmplY3Q6IFtQQVRDSCAxLzFd IGdudTogQWRkIHBnbW9kZWxlci4KCiogZ251L3BhY2thZ2VzL2RhdGFiYXNlcy5zY20gKHBnbW9k ZWxlcikgTmV3IHZhcmlhYmxlLgotLS0KIGdudS9wYWNrYWdlcy9kYXRhYmFzZXMuc2NtIHwgNjEg KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKwogMSBmaWxlIGNo YW5nZWQsIDYxIGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvZGF0YWJh c2VzLnNjbSBiL2dudS9wYWNrYWdlcy9kYXRhYmFzZXMuc2NtCmluZGV4IDI2NzA2YjgyNy4uNGJk MmYyZjMzIDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvZGF0YWJhc2VzLnNjbQorKysgYi9nbnUv cGFja2FnZXMvZGF0YWJhc2VzLnNjbQpAQCAtNjEsMTEgKzYxLDEzIEBACiAgICM6dXNlLW1vZHVs ZSAoZ251IHBhY2thZ2VzIHBrZy1jb25maWcpCiAgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2Vz IHBvcHQpCiAgICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIHB5dGhvbikKKyAgIzp1c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20vcGdtb2RlbGVyL3BnbW9kZWxlci9hcmNoaXZlL3YiCisgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICB2ZXJzaW9uCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAiLnppcCIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICkpCisg ICAgICAgICAgICAgKGZpbGUtbmFtZSAoc3RyaW5nLWFwcGVuZCBuYW1lICItIiB2ZXJzaW9uICIu emlwIikpCisgICAgICAgICAgICAgKHNoYTI1NgorICAgICAgICAgICAgICAoYmFzZTMyCisgICAg ICAgICAgICAgICAiMXF5aDU2ZHhoN2p3bnJxeTYxcWNtYXkzOGlmczdzOW4yYjN5MnA5aWE5MmZr MDFnZDc4ayIpKSkpCisgICAgKG5hdGl2ZS1pbnB1dHMKKyAgICAgYCgKKyAgICAgICA7OygicXRi YXNlIiAscXRiYXNlKQorICAgICAgIDs7KCJ6bGliIiAsemxpYikKKyAgICAgICAoInVuemlwIiAs dW56aXApCisgICAgICAgKCJwa2ctY29uZmlnIiAscGtnLWNvbmZpZykgICAgICAgCisgICAgICAg KSkKKyAgICAoaW5wdXRzCisgICAgIGAoKCJxdGJhc2UiICxxdGJhc2UpCisgICAgICAgKCJwb3N0 Z3Jlc3FsIiAscG9zdGdyZXNxbCkKKyAgICAgICAoImxpYnhsbSIgLGxpYnhtbDIpCisgICAgICAg KCJxdHN2ZyIgLHF0c3ZnKSkpCisgICAgKGJ1aWxkLXN5c3RlbSBnbnUtYnVpbGQtc3lzdGVtKQor ICAgIChhcmd1bWVudHMKKyAgICAgYCgjOnBoYXNlcworICAgICAgIChtb2RpZnktcGhhc2VzICVz dGFuZGFyZC1waGFzZXMKKyAgICAgICAgIChyZXBsYWNlICdjb25maWd1cmUKKyAgICAgICAgICAg KGxhbWJkYSogKCM6a2V5IGlucHV0cyBvdXRwdXRzICM6YWxsb3ctb3RoZXIta2V5cykKKyAgICAg ICAgICAgICAobGV0ICgob3V0IChhc3NvYy1yZWYgb3V0cHV0cyAib3V0IikpCisgICAgICAgICAg ICAgICAgICAgKHBvc3RncmVzIChhc3NvYy1yZWYgaW5wdXRzICJwb3N0Z3Jlc3FsIikpKQorICAg ICAgICAgICAgICAgKHplcm8/IChzeXN0ZW0qICJxbWFrZSIgInBnbW9kZWxlci5wcm8iCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQgIkxJQlMgKz0gLUwiIHBv c3RncmVzICIvbGliIiAiLWxwcSIpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0 cmluZy1hcHBlbmQgIklOQ0xVREVQQVRIICArPSAiIHBvc3RncmVzICIvaW5jbHVkZSIpKSkpKSkK KyAgICAgICAgIChhZGQtYmVmb3JlICdjb25maWd1cmUgJ2ZpeC1wcm9qZWN0LWZpbGVzCisgICAg ICAgICAgICAgICAgICAgICAobGFtYmRhKiAoIzprZXkgaW5wdXRzIG91dHB1dHMgIzphbGxvdy1v dGhlci1rZXlzKQorICAgICAgICAgICAgICAgICAgICAgICAobGV0ICgob3V0ICAgIChhc3NvYy1y ZWYgb3V0cHV0cyAib3V0IikpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChxdGJhc2Ug KGFzc29jLXJlZiBpbnB1dHMgInF0YmFzZSIpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAo c3Vic3RpdHV0ZSogInBnbW9kZWxlci5wcmkiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAo KCJQUkVGSVggPSAvdXNyL2xvY2FsIikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc3Ry aW5nLWFwcGVuZCAiUFJFRklYID0gIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIG91dCAiL3Vzci9sb2NhbCIpKSkpKSkgICAgICAgICAgICAgICAgICAgICAgICAg ICAgCisgICAgICAgICAoYWRkLWJlZm9yZSAnY2hlY2sgJ3NldC1kaXNwbGF5CisgICAgICAgICAg ICAgICAgICAgICAobGFtYmRhIF8KKyAgICAgICAgICAgICAgICAgICAgICAgOzsgbWFrZSBRdCBy ZW5kZXIgIm9mZnNjcmVlbiIsIHJlcXVpcmVkIGZvciB0ZXN0cworICAgICAgICAgICAgICAgICAg ICAgICAoc2V0ZW52ICJRVF9RUEFfUExBVEZPUk0iICJvZmZzY3JlZW4iKQorICAgICAgICAgICAg ICAgICAgICAgICAjdCkpKSkpCisgICAgKHN5bm9wc2lzICJHcmFwaGljYWwgbW9kZWxlciBmb3Ig UG9zdGdyZXNxbCIpCisgICAgKGRlc2NyaXB0aW9uICJFYXNpbHkgY3JlYXRlIGFuZCBlZGl0IGRh dGFiYXNlIG1vZGVscword2l0aCBzaW1wbGUgYW5kIGludHVpdGl2ZSBpbnRlcmZhY2UuCitUaGUg c29mdHdhcmUncyBmb3JtcyBpbmRpY2F0ZSB3aGljaCBmaWVsZHMKK211c3QgYmUgZmlsbGVkIGlu IG9yZGVyIHRvIHByb3ZpZGUKK3RoZSBjb3JyZWN0IGdlbmVyYXRpb24gb2YgU1FMIGNvZGUuIikK KyAgICAoaG9tZS1wYWdlICJodHRwczovL3d3dy5wZ21vZGVsZXIuY29tLmJyIikKKyAgICAobGlj ZW5zZSBsaWNlbnNlOmdwbDMpKSkKLS0gCjIuMTMuMAoK --f403045c2486dec8d1054f9fb0f5--